Bug 361351

Summary: Assertion failure analyzing SDL_Init()
Product: [Developer tools] valgrind Reporter: Wes <wwaugh>
Component: generalAssignee: Julian Seward <jseward>
Status: RESOLVED DUPLICATE    
Severity: crash CC: Per.Mildner, rhyskidd
Priority: NOR    
Version: 3.11.0   
Target Milestone: ---   
Platform: Other   
OS: macOS   
Latest Commit: Version Fixed In:
Attachments: terminal session
output of valgrind -v echo (works)
Same behavior with simple cocoa application

Description Wes 2016-04-03 17:15:53 UTC
Created attachment 98219 [details]
terminal session

valgrind: m_syswrap/syswrap-amd64-darwin.c:507 (void wqthread_hijack(Addr, Addr, Addr, Addr, Int, Addr)): Assertion 'tst->os_state.pthread - magic_delta == self' failed.
Comment 1 Wes 2016-04-03 17:20:26 UTC
wes@picard ~/projects % cc --version
Apple LLVM version 7.3.0 (clang-703.0.29)
Target: x86_64-apple-darwin15.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Comment 2 Wes 2016-04-03 17:23:12 UTC
wes@picard ~/projects % brew info valgrind
valgrind: stable 3.11.0 (bottled), HEAD
Dynamic analysis tools (memory, debug, profiling)
http://www.valgrind.org/
/usr/local/Cellar/valgrind/3.11.0 (328 files, 46.7M) *
  Poured from bottle
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/valgrind.rb
Comment 3 Wes 2016-04-03 17:33:13 UTC
Created attachment 98220 [details]
output of valgrind -v echo (works)
Comment 4 Wes 2016-04-03 17:40:45 UTC
Created attachment 98221 [details]
Same behavior with simple cocoa application
Comment 5 Rhys Kidd 2016-04-06 02:48:45 UTC
Hello Wes,
This is a duplicate of the tracked bug #354883. Refer there for updates.

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