Bug 363123

Summary: SIGSEGV on Mac OS with very simple threaded code
Product: [Developer tools] valgrind Reporter: Kevin Dixon <kevin.dixon>
Component: generalAssignee: Rhys Kidd <rhyskidd>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rhyskidd
Priority: NOR    
Version: 3.11.0   
Target Milestone: ---   
Platform: Homebrew (macOS)   
OS: macOS   
URL: http://stackoverflow.com/questions/36576251/stdthread-join-sigsegv-on-mac-os-under-valgrind
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kevin Dixon 2016-05-16 09:05:12 UTC
On Mac OS, some very simple threaded code that runs normally, without error, when not wrapped in Valgrind fails when wrapped. Two examples:
http://stackoverflow.com/questions/36576251/stdthread-join-sigsegv-on-mac-os-under-valgrind
http://stackoverflow.com/questions/35592228/pthread-join-always-causes-sigsegv



Reproducible: Always

Steps to Reproduce:
See attached stackoverflow links

Actual Results:  
SIGSEGV 11
Comment 1 Kevin Dixon 2016-05-16 09:12:14 UTC
Note: this was reported for OS X 10.11.3 (El Capitan)
Comment 2 Rhys Kidd 2016-05-27 20:20:38 UTC
Hell Kevin,
Thanks for the report. This is a known bug. Closing and adding a reference to the main bug report tracking this #349128

*** This bug has been marked as a duplicate of bug 349128 ***