-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#4014 dr$sim phys: Fix 2 crashes (#5541)
Fixes two bugs causing crashes with -use_physical: + Records the drcontext used for hashtable creation to ensure the same one is used at destruction as a different thread can call the exit event. + Orders the drmemtrace thread exit event before the drmodtrack one to ensure drmodtrack access during the final thread buffer output is safe. These fixes were manually tested on large multi-threaded applications where these two crashes showed up before and disappear with the fixes. Issue: #4014
- Loading branch information
1 parent
1152e64
commit 4be6b6d
Showing
4 changed files
with
16 additions
and
5 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