-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#5458: Switch suspend signal to SIGSTKFLT/SIGFPE (#5461)
Changes the signal that DR uses to suspend a thread from SIGUSR2, which is sometimes blocked by the app at attach time, to SIGSTKFLT on Linux and SIGFPE on Mac. (SIGFPE was the first choice on Linux but QEMU crashes when we use it.) These are fatal normally-synchronous signals and so are less likely to be blocked. Manually tested on an attach to mysqld which failed with SIGUSR2 but succeeds now. Fixes #5458
- Loading branch information
1 parent
de027cf
commit 7795027
Showing
5 changed files
with
41 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters