charm icon indicating copy to clipboard operation
charm copied to clipboard

CmiDestroyLocks destroys a lock that the thread (or another) is holding

Open PhilMiller opened this issue 11 years ago • 2 comments

Original issue: https://charm.cs.illinois.edu/redmine/issues/540


// machine-smp.c machine_exit calling CmiDestroyLocks
SUMMARY: ThreadSanitizer: destroy of a locked mutex ??:0 pthread_mutex_destroy

PhilMiller avatar Jul 28 '14 22:07 PhilMiller

Original date: 2014-10-21 18:11:37


I think this is called explicitly when we are aborting either due to handing some signal or if explicit die is called. Not sure of what to do to or if we need to prevent race condition.

nikhil-jain avatar Apr 24 '19 22:04 nikhil-jain

Original date: 2014-11-09 16:47:53


As with #539, this can probably be deferred past 6.6.1.

PhilMiller avatar Apr 24 '19 22:04 PhilMiller