Merge lp:~linuxjedi/drizzle/drizzle-bug-625335 into lp:~drizzle-trunk/drizzle/development
Proposed by
Andrew Hutchings
Status: | Merged |
---|---|
Approved by: | Monty Taylor |
Approved revision: | 1735 |
Merged at revision: | 1739 |
Proposed branch: | lp:~linuxjedi/drizzle/drizzle-bug-625335 |
Merge into: | lp:~drizzle-trunk/drizzle/development |
Diff against target: |
45 lines (+4/-7) 2 files modified
drizzled/signal_handler.h (+1/-1) plugin/signal_handler/signal_handler.cc (+3/-6) |
To merge this branch: | bzr merge lp:~linuxjedi/drizzle/drizzle-bug-625335 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Monty Taylor | Approve | ||
Review via email: mp+33987@code.launchpad.net |
Description of the change
The signal handler thread executed the shutdown code rather than the main thread. This means the signal handler thread was exited then the main thread unloaded the plugin which again tried to kill the signal handler thread causing a segfault in pthread_kill.
This moves the shutdown back to the main thread.
To post a comment you must log in.
Good catch.