launchApplicationAtURL: crash - macos

crash message:
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff203c9f2a fileport_makeport + 10
1 libxpc.dylib 0x00007fff20147373 _xpc_fileport_makeport + 9
2 libxpc.dylib 0x00007fff20147334 xpc_fd_create + 27
3 libxpc.dylib 0x00007fff201486cf xpc_dictionary_set_fd + 23
4 com.apple.LaunchServices 0x00007fff209ea050 _CASNotifyServerSideAboutLaunchedApplication(LSSessionID, __CFDictionary const*, int, __CFDictionary const*, int, bool, __CFDictionary const**) + 550
5 com.apple.LaunchServices 0x00007fff209ffe4c _LSLaunchWithRunningboard(LSContext*, FSNode*, unsigned int, void*, __CFArray const*, AEDesc const*, AEDesc const*, NSArray<LSSliceInfo*>*, __CFDictionary const*, unsigned int, audit_token_t const*, _LSOpen2Options const*, ProcessSerialNumber*, NSError* __autoreleasing*) + 24181
6 com.apple.LaunchServices 0x00007fff209f9e8e _LSLaunch + 171
7 com.apple.LaunchServices 0x00007fff2096f690 _LSOpenApp(LSOpenState*, unsigned int, FSNode*, unsigned int, unsigned char*, ProcessSerialNumber*) + 1135
8 com.apple.LaunchServices 0x00007fff2096d273 _LSOpenItemsWithHandler_CFDictionaryApplier(void const*, void const*, void*) + 1442
9 com.apple.CoreFoundation 0x00007fff204f3902 __CFDictionaryApplyFunction_block_invoke + 22
10 com.apple.CoreFoundation 0x00007fff204bbeae CFBasicHashApply + 110
11 com.apple.CoreFoundation 0x00007fff204ae71f CFDictionaryApplyFunction + 131
12 com.apple.LaunchServices 0x00007fff2096bce0 _LSOpenStuffCallLocal + 9322
13 com.apple.LaunchServices 0x00007fff20967dd1 _LSOpenStuff + 1641
14 com.apple.LaunchServices 0x00007fff20a22898 _LSOpenApplication_Common(LSApplicationParameters_V1 const*, AEKeyDesc const*, ProcessSerialNumber*, __CFURL const**) + 168
15 com.apple.LaunchServices 0x00007fff20a229a3 _LSOpenApplicationURL + 174
16 com.apple.AppKit 0x00007fff235c73d5 -[NSWorkspace launchApplicationAtURL:options:configuration:error:] + 330
17 libApplication.dylib 0x000000010c1e90fa Tools::os_create_process(char const*, char const*, char*) + 394
18 libApplication.dylib 0x000000010c1cd0b4 std::__1::__bind_return<Application::ExePluginProcessHost::Create(char const*, char const*, std::__1::function<void (int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>)::$_1, std::__1::tuple<>, std::__1::tuple<>, __is_valid_bind_return<Application::ExePluginProcessHost::Create(char const*, char const*, std::__1::function<void (int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>)::$_1, std::__1::tuple<>, std::__1::tuple<> >::value>::type std::__1::__bind<Application::ExePluginProcessHost::Create(char const*, char const*, std::__1::function<void (int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>)::$_1&>::operator()<>() + 84
19 libApplication.dylib 0x000000010c1d1123 Application::ThreadTaskMgr::ProcessMainThreadTask() + 627
20 org.qt-project.QtCore 0x000000010d2d385f QObject::event(QEvent*) + 111
21 org.qt-project.QtWidgets 0x000000010c4ee9ea QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266
22 org.qt-project.QtWidgets 0x000000010c4efe11 QApplication::notify(QObject*, QEvent*) + 497
23 org.qt-project.QtCore 0x000000010d2a8a34 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
24 org.qt-project.QtCore 0x000000010d30e35f QTimerInfoList::activateTimers() + 991
25 libqcocoa.dylib 0x0000000110a348f2 0x1109fc000 + 231666
26 com.apple.CoreFoundation 0x00007fff204f22bc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
27 com.apple.CoreFoundation 0x00007fff204f2224 __CFRunLoopDoSource0 + 180
28 com.apple.CoreFoundation 0x00007fff204f1fa4 __CFRunLoopDoSources0 + 242
29 com.apple.CoreFoundation 0x00007fff204f09cc __CFRunLoopRun + 893
30 com.apple.CoreFoundation 0x00007fff204eff8c CFRunLoopRunSpecific + 563
31 com.apple.HIToolbox 0x00007fff28737a83 RunCurrentEventLoopInMode + 292
32 com.apple.HIToolbox 0x00007fff287376b6 ReceiveNextEventCommon + 284
33 com.apple.HIToolbox 0x00007fff28737583 _BlockUntilNextEventMatchingListInModeWithFilter + 70
34 com.apple.AppKit 0x00007fff22cf9172 _DPSNextEvent + 864
35 com.apple.AppKit 0x00007fff22cf7945 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364
36 com.apple.AppKit 0x00007fff22ce9c69 -[NSApplication run] + 586
37 libqcocoa.dylib 0x0000000110a3562f 0x1109fc000 + 235055
38 org.qt-project.QtCore 0x000000010d2a4acf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
39 org.qt-project.QtCore 0x000000010d2a9042 QCoreApplication::exec() + 130
40 cn.xdf.gkroombox 0x000000010c166a60 main + 896
41 libdyld.dylib 0x00007fff20415f3d start + 1
I create some subApp from hostApp ,sometimes cause crash like it!!
I cant't find what's reason about it.
I konw GUARD_TYPE_FD and from 0x4000001000000000 I konw it's subtype kGUARD_EXC_DUP , however I did't understand it

Process: Roombox [5679]
Path: /Applications/Roombox.app/Contents/Developer/Roombox.app/Contents/MacOS/Roombox
Identifier: Roombox
Version: 2.7.0 (540)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
Responsible: Roombox [5679]
User ID: 501
Date/Time: 2022-03-17 14:37:52.630 +0800
OS Version: macOS 11.6.1 (20G224)
Report Version: 12
Anonymous UUID: 91C26615-6D4C-81F1-B66C-D1315045ADE0
Sleep/Wake UUID: FB29320A-F382-488C-B83F-490E94CAC8FE
Time Awake Since Boot: 16000 seconds
Time Since Wake: 1300 seconds
System Integrity Protection: enabled
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_GUARD
Exception Codes: 0x4000001000000000, 0x08fd4dbfade2dead
Exception Subtype: GUARD_TYPE_FD, id=0x08fd4dbfade2dead, fd=0, flavor=0x00000010 (FILEPORT)

Related

MySQL Workbench 8.0 quit unexpectedly on MacOS 11.1

I'm taking a database management course next semester, and I would like to get ahead of the game and gain an understanding of SQL. So far, I've downloaded MySQL and was able to access my database using the terminal. I'm having an issue opening MySQL Workbench as it states, "MySQL Workbench quit unexpectedly." I've restarted my OS and re-installed the app to no avail.
Below is the Problem Details and System Configuration
Process: MySQLWorkbench [2942]
Path: /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
Identifier: com.oracle.workbench.MySQLWorkbench
Version: 8.0.23.CE (1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: MySQLWorkbench [2942]
User ID: 501
Date/Time: 2021-01-19 15:31:30.159 -0500
OS Version: macOS 11.1 (20C69)
Report Version: 12
Anonymous UUID: DE32212B-B203-A97E-3794-4A4256956BDF
Sleep/Wake UUID: FF2D9163-B595-4492-8644-46BB41F52FD3
Time Awake Since Boot: 12000 seconds
Time Since Wake: 2400 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Abort trap: 6
Termination Reason: Namespace SIGNAL, Code 0x6
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff20326792 __abort_with_payload + 10
1 libsystem_kernel.dylib 0x00007fff203281d9 abort_with_payload_wrapper_internal + 80
2 libsystem_kernel.dylib 0x00007fff20328189 abort_with_reason + 19
3 Python3 0x000000010f4b1f05 fatal_error.cold.1 + 21
4 Python3 0x000000010f434f78 fatal_error + 536
5 Python3 0x000000010f43441a Py_InitializeEx + 138
6 libgrt.dylib 0x000000010bf70422 grt::PythonContextHelper::InitPython() + 16
7 libgrt.dylib 0x000000010bf7065e grt::PythonContext::PythonContext(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 412
8 libgrt.dylib 0x000000010bf59549 grt::init_python_support(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 38
9 libwbpublic.be.dylib 0x000000010c2cc71e bec::GRTManager::init_loaders(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) + 28
10 libwbpublic.be.dylib 0x000000010c2cc6d4 bec::GRTManager::init_module_loaders(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) + 102
11 libwbpublic.be.dylib 0x000000010c2cb635 bec::GRTManager::initialize(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 55
12 libwbprivate.be.dylib 0x000000010cbe6c55 wb::WBContext::init_(wb::WBFrontendCallbacks*, wb::WBOptions*) + 3517
13 libwbprivate.be.dylib 0x000000010cc124b5 wb::WBContextUI::init(wb::WBFrontendCallbacks*, wb::WBOptions*) + 435
14 com.oracle.workbench.MySQLWorkbench 0x000000010bd5612a -[WBMainController setupBackend] + 1263
15 com.oracle.workbench.MySQLWorkbench 0x000000010bd597b0 -[WBMainController awakeFromNib] + 428
16 com.apple.CoreFoundation 0x00007fff204264c9 -[NSSet makeObjectsPerformSelector:] + 231
17 com.apple.AppKit 0x00007fff22c2ba48 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 1368
18 com.apple.AppKit 0x00007fff22c20128 loadNib + 392
19 com.apple.AppKit 0x00007fff22c1f730 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 693
20 com.apple.AppKit 0x00007fff22c1f386 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 201
21 com.apple.AppKit 0x00007fff22c1f164 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 394
22 com.apple.AppKit 0x00007fff22c11cf8 NSApplicationMain + 566
23 libdyld.dylib 0x00007fff20354621 start + 1
Thread 1:
0 libsystem_pthread.dylib 0x00007fff20335458 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00007fff20335458 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x00007fff20335458 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x00007fff20335458 start_wqthread + 0
Thread 5:
0 libc++.1.dylib 0x00007fff202a4d84 std::__1::basic_istream<char, std::__1::char_traits<char> >::get() + 70
1 libwbprivate.be.dylib 0x000000010ce8b399 void rapidjson::GenericReader<rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>::ParseStringToStream<0u, rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >, rapidjson::GenericReader<rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>::StackStream<char> >(rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >&, rapidjson::GenericReader<rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>::StackStream<char>&) + 107
2 libwbprivate.be.dylib 0x000000010ce8a19f void rapidjson::GenericReader<rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>::ParseString<0u, rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator> >(rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >&, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>&, bool) + 83
3 libwbprivate.be.dylib 0x000000010ce8a327 void rapidjson::GenericReader<rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>::ParseObject<0u, rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator> >(rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >&, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>&) + 301
4 libwbprivate.be.dylib 0x000000010ce8a4da void rapidjson::GenericReader<rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>::ParseArray<0u, rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator> >(rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >&, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>&) + 178
5 libwbprivate.be.dylib 0x000000010ce8a327 void rapidjson::GenericReader<rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>::ParseObject<0u, rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator> >(rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >&, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>&) + 301
6 libwbprivate.be.dylib 0x000000010ce8a4da void rapidjson::GenericReader<rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>::ParseArray<0u, rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator> >(rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >&, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>&) + 178
7 libwbprivate.be.dylib 0x000000010ce8a327 void rapidjson::GenericReader<rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>::ParseObject<0u, rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator> >(rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >&, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>&) + 301
8 libwbprivate.be.dylib 0x000000010ce89c86 rapidjson::ParseResult rapidjson::GenericReader<rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>::Parse<0u, rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator> >(rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >&, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>&) + 80
9 libwbprivate.be.dylib 0x000000010ce89b90 rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>& rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>::ParseStream<0u, rapidjson::UTF8<char>, rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > > >(rapidjson::BasicIStreamWrapper<std::__1::basic_istream<char, std::__1::char_traits<char> > >&) + 72
10 libwbprivate.be.dylib 0x000000010ce88ffa void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, help::DbSqlEditorContextHelp::DbSqlEditorContextHelp()::$_0> >(void*) + 1165
11 libsystem_pthread.dylib 0x00007fff20339950 _pthread_start + 224
12 libsystem_pthread.dylib 0x00007fff2033547b thread_start + 15
Thread 6:: GRTDispatcher
0 libsystem_kernel.dylib 0x00007fff203078e2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff20339ea2 _pthread_cond_wait + 1305
2 libglib-2.0.0.dylib 0x000000010f2267c1 g_cond_wait_until + 129
3 libglib-2.0.0.dylib 0x000000010f1ac964 g_async_queue_pop_intern_unlocked + 100
4 libglib-2.0.0.dylib 0x000000010f1acafe g_async_queue_timeout_pop + 46
5 libwbpublic.be.dylib 0x000000010c2c08d5 bec::GRTDispatcher::worker_thread(void*) + 455
6 libglib-2.0.0.dylib 0x000000010f2052ba g_thread_proxy + 90
7 libsystem_pthread.dylib 0x00007fff20339950 _pthread_start + 224
8 libsystem_pthread.dylib 0x00007fff2033547b thread_start + 15
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000002000209 rbx: 0x0000000000000002 rcx: 0x00007ffee3ebc9d8 rdx: 0x0000000000000000
rdi: 0x0000000000000002 rsi: 0x0000000000000006 rbp: 0x00007ffee3ebca20 rsp: 0x00007ffee3ebc9d8
r8: 0x00007fd17ae44b40 r9: 0x0000000000000002 r10: 0x0000000000000000 r11: 0x0000000000000246
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000006 r15: 0x0000000000000002
rip: 0x00007fff20326792 rfl: 0x0000000000000246 cr2: 0x000000010f44bf00
Logical CPU: 0
Error Code: 0x02000209
Trap Number: 133
Thread 0 instruction stream not available.
Thread 0 last branch register state not available.
MySQL Workbench v8.23 seems to not work for devices running macOS Big Sur 11.1. This may be fixed in the future.
For now, you can get this to work by downloading an older version of workbench. v8.22 worked well for me on Big Sur.
You can find the archive here: https://downloads.mysql.com/archives/workbench/
Same proble try to install previous version, for me worked :)

Unity 2017 crashing when during Debug Step Over

Using Unity 2017.4.
When I run a debug build the process stops at the breakpoint correctly. However, regardless of the breakpoint location, as soon as I press 'Step Over' just once, Unity crashes. This happens when using Visual Studio or MonoDevelop on my MacBook.
Here is the crash report. Anyone know how to fix this?
Process: Unity [10361]
Path: /Applications/Unity/Unity.app/Contents/MacOS/Unity
Identifier: com.unity3d.UnityEditor5.x
Version: Unity version 2017.4.1f1 (2017.4.1f1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Unity [10361]
User ID: 501
Date/Time: 2018-04-23 21:52:42.170 +0100
OS Version: Mac OS X 10.13.2 (17C88)
Report Version: 12
Anonymous UUID: 20D2D061-772F-2854-358E-8FF265CBA8E1
Sleep/Wake UUID: 2DDAD6D8-94F7-4D42-80BB-503704CCFC8D
Time Awake Since Boot: 44000 seconds
Time Since Wake: 2200 seconds
System Integrity Protection: enabled
Crashed Thread: 64
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
abort() called
Thread 0:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff7baec7fe semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff7b97c82e _dispatch_sema4_wait + 16
2 libdispatch.dylib 0x00007fff7b974911 _dispatch_semaphore_wait_slow + 101
3 com.unity3d.UnityEditor5.x 0x00000001025eb018 PlatformSemaphore::WaitForSignal() + 24
4 com.unity3d.UnityEditor5.x 0x00000001025f3bae GfxDeviceClient::CreateGpuProgram(ShaderGpuProgramType, dynamic_array<unsigned char, 1ul> const&, CreateGpuProgramOutput&) + 382
5 com.unity3d.UnityEditor5.x 0x0000000100df8378 ShaderLab::SubProgram::Compile() + 600
6 com.unity3d.UnityEditor5.x 0x0000000100dceb17 GetSubProgramForShaderSnippet(Shader*, ShaderLab::Pass*, ShaderSnippet const&, ShaderType, unsigned int, ShaderKeywordSet const&, fixed_bitset<27, unsigned int> const&, dynamic_array<ShaderKeywordSet, 8ul> const*, ShaderCompilerPlatform, ShaderSnippetResult&, ShaderChannelMask&, ShaderRequirements) + 295
7 com.unity3d.UnityEditor5.x 0x0000000100dfa1a9 ShaderLab::Program::CompileShaderSubProgram(Shader*, ShaderLab::Pass*, ShaderSnippet const&, unsigned int, ShaderKeywordSet&, ShaderSnippetResult&, ShaderChannelMask&, ShaderRequirements) + 601
8 com.unity3d.UnityEditor5.x 0x0000000100dfa94c ShaderLab::Program::CompileMatchingSubProgram(Shader*, ShaderLab::Pass*, ShaderKeywordSet const&, unsigned int, ShaderKeywordSet*, ShaderSnippetResult&) + 1484
9 com.unity3d.UnityEditor5.x 0x0000000100df7af9 ShaderLab::Program::GetMatchingSubProgram(Shader const*, ShaderLab::Pass const*, ShaderKeywordSet const&, unsigned int, ShaderKeywordSet*, ShaderSnippetResult&) const + 569
10 com.unity3d.UnityEditor5.x 0x0000000100df77b9 ShaderLab::Pass::ComputePassValuesHash(ShaderKeywordSet const&, ShaderPropertySheet const*, Shader*) const + 393
11 com.unity3d.UnityEditor5.x 0x0000000100d77d91 Material::UpdateHashes() + 305
12 com.unity3d.UnityEditor5.x 0x0000000100d77bf4 Material::BuildProperties() + 516
13 com.unity3d.UnityEditor5.x 0x0000000100d7ae7a Material::GetInstantiatedMaterial(Material*, Object&, bool) + 330
14 com.unity3d.UnityEditor5.x 0x0000000100a4f1d5 Renderer::GetAndAssignInstantiatedMaterial(int, bool) + 85
15 com.unity3d.UnityEditor5.x 0x000000010265105a Renderer_CUSTOM_GetMaterial(MonoObject*) + 186
16 ??? 0x000000011fe93202 0 + 4830343682
17 ??? 0x000000011fe930bf 0 + 4830343359
18 ??? 0x000000011fe92da3 0 + 4830342563
19 ??? 0x000000011e5657ea 0 + 4803942378
20 libmono.0.dylib 0x000000013770c08e 0x137702000 + 41102
21 libmono.0.dylib 0x00000001378389ca mono_runtime_invoke + 117
22 com.unity3d.UnityEditor5.x 0x000000010100ba9a ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool) + 106
23 com.unity3d.UnityEditor5.x 0x000000010100b97b ScriptingInvocation::InvokeChecked(ScriptingExceptionPtr*) + 59
24 com.unity3d.UnityEditor5.x 0x0000000100fbc5f8 MonoBehaviour::CallMethodInactive(ScriptingMethodPtr) + 344
25 com.unity3d.UnityEditor5.x 0x0000000100fc02b5 MonoBehaviour::CallAwake() + 101
26 com.unity3d.UnityEditor5.x 0x0000000100fc080a MonoBehaviour::AddToManager() + 282
27 com.unity3d.UnityEditor5.x 0x00000001010871ec AwakeFromLoadQueue::InvokePersistentManagerAwake(AwakeFromLoadQueue::Item*, unsigned int, AwakeFromLoadMode) + 380
28 com.unity3d.UnityEditor5.x 0x0000000100d3243f LoadSceneOperation::CompleteAwakeSequence() + 255
29 com.unity3d.UnityEditor5.x 0x0000000100d31ba2 LoadSceneOperation::PlayerLoadSceneFromThread() + 546
30 com.unity3d.UnityEditor5.x 0x0000000100d31712 LoadSceneOperation::IntegrateMainThread() + 802
31 com.unity3d.UnityEditor5.x 0x0000000100d337d6 PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int) + 470
32 com.unity3d.UnityEditor5.x 0x0000000100d341a2 PreloadManager::WaitForAllAsyncOperationsToComplete() + 114
33 com.unity3d.UnityEditor5.x 0x00000001012eb607 EditorSceneManager::RestoreSceneBackups(std::vector<EditorSceneManager::SceneBackup, stl_allocator<EditorSceneManager::SceneBackup, (MemLabelIdentifier)105, 16> >&, EditorSceneManager::PlayModeChange, bool) + 1815
34 com.unity3d.UnityEditor5.x 0x00000001019a7395 PlayerLoopController::EnterPlayMode(bool) + 533
35 com.unity3d.UnityEditor5.x 0x00000001019a21e6 PlayerLoopController::SetIsPlaying(bool) + 278
36 com.unity3d.UnityEditor5.x 0x00000001019a1a35 Application::TickTimer() + 4069
37 com.apple.Foundation 0x00007fff562ad5b9 __NSFireTimer + 83
38 com.apple.CoreFoundation 0x00007fff5415fbb4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
39 com.apple.CoreFoundation 0x00007fff5415f827 __CFRunLoopDoTimer + 1095
40 com.apple.CoreFoundation 0x00007fff5415f32a __CFRunLoopDoTimers + 346
41 com.apple.CoreFoundation 0x00007fff5415692b __CFRunLoopRun + 2427
42 com.apple.CoreFoundation 0x00007fff54155d23 CFRunLoopRunSpecific + 483
43 com.apple.HIToolbox 0x00007fff5346de26 RunCurrentEventLoopInMode + 286
44 com.apple.HIToolbox 0x00007fff5346da9f ReceiveNextEventCommon + 366
45 com.apple.HIToolbox 0x00007fff5346d914 _BlockUntilNextEventMatchingListInModeWithFilter + 64
46 com.apple.AppKit 0x00007fff51738f5f _DPSNextEvent + 2085
47 com.apple.AppKit 0x00007fff51eceb4c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
48 com.apple.AppKit 0x00007fff5172dd6d -[NSApplication run] + 764
49 com.apple.AppKit 0x00007fff516fcf1a NSApplicationMain + 804
50 com.unity3d.UnityEditor5.x 0x00000001006d3e07 EditorMain(int, char const**) + 839
51 com.unity3d.UnityEditor5.x 0x00000001006d4289 main + 9
52 libdyld.dylib 0x00007fff7b9a6115 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff7baec7fe semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff7b97c82e _dispatch_sema4_wait + 16
2 libdispatch.dylib 0x00007fff7b974911 _dispatch_semaphore_wait_slow + 101
3 com.unity3d.UnityEditor5.x 0x00000001025eb018 PlatformSemaphore::WaitForSignal() + 24
4 com.unity3d.UnityEditor5.x 0x0000000100eecc06 profiling::Dispatcher::ThreadFunc(void*) + 70
5 com.unity3d.UnityEditor5.x 0x0000000100e2783c Thread::RunThreadWrapper(void*) + 60
6 libsystem_pthread.dylib 0x00007fff7bc316c1 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff7bc3156d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff7bc30c5d thread_start + 13
Thread 2:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff7baec7c2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff7baebcdc mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff54157355 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff541566a7 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff54155d23 CFRunLoopRunSpecific + 483
5 com.apple.AppKit 0x00007fff518763c8 _NSEventThread + 184
6 libsystem_pthread.dylib 0x00007fff7bc316c1 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff7bc3156d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff7bc30c5d thread_start + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff7baf605a __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff7ba7175c nanosleep + 199
2 com.unity3d.UnityEditor5.x 0x0000000100e2f5f2 ThreadHelper::SleepInSeconds(double) + 98
3 com.unity3d.UnityEditor5.x 0x0000000100328ead CurlRequest::MessageThread() + 1565
4 com.unity3d.UnityEditor5.x 0x0000000100328829 CurlRequest::_ThreadEntryPoint(void*) + 9
5 com.unity3d.UnityEditor5.x 0x0000000100e2783c Thread::RunThreadWrapper(void*) + 60
6 libsystem_pthread.dylib 0x00007fff7bc316c1 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff7bc3156d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff7bc30c5d thread_start + 13
Thread 4:: NetworkConfigWatcher
0 libsystem_kernel.dylib 0x00007fff7baec7c2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff7baebcdc mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff54157355 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff541566a7 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff54155d23 CFRunLoopRunSpecific + 483
5 com.apple.Foundation 0x00007fff56235b76 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
6 org.chromium.ContentShell.framework 0x0000000108511f84 0x10842f000 + 929668
7 org.chromium.ContentShell.framework 0x000000010851185c 0x10842f000 + 927836
8 org.chromium.ContentShell.framework 0x0000000108566b46 0x10842f000 + 1276742
9 org.chromium.ContentShell.framework 0x0000000108552b2d 0x10842f000 + 1194797
10 org.chromium.ContentShell.framework 0x000000010857cb85 0x10842f000 + 1366917
11 org.chromium.ContentShell.framework 0x000000010857865b 0x10842f000 + 1349211
12 libsystem_pthread.dylib 0x00007fff7bc316c1 _pthread_body + 340
13 libsystem_pthread.dylib 0x00007fff7bc3156d _pthread_start + 377
14 libsystem_pthread.dylib 0x00007fff7bc30c5d thread_start + 13
Thread 5:: DnsConfigService
0 libsystem_kernel.dylib 0x00007fff7baf5fca __select + 10
1 org.chromium.ContentShell.framework 0x0000000108710aa0 0x10842f000 + 3021472
2 org.chromium.ContentShell.framework 0x0000000108589a1c 0x10842f000 + 1419804
3 org.chromium.ContentShell.framework 0x00000001085888bd 0x10842f000 + 1415357
4 org.chromium.ContentShell.framework 0x0000000108510960 0x10842f000 + 924000
5 org.chromium.ContentShell.framework 0x0000000108566b46 0x10842f000 + 1276742
6 org.chromium.ContentShell.framework 0x0000000108552b2d 0x10842f000 + 1194797
7 org.chromium.ContentShell.framework 0x000000010857cb85 0x10842f000 + 1366917
8 org.chromium.ContentShell.framework 0x000000010857865b 0x10842f000 + 1349211
9 libsystem_pthread.dylib 0x00007fff7bc316c1 _pthread_body + 340
10 libsystem_pthread.dylib 0x00007fff7bc3156d _pthread_start + 377
11 libsystem_pthread.dylib 0x00007fff7bc30c5d thread_start + 13
Thread 6:: WorkerPool/150579
0 libsystem_kernel.dylib 0x00007fff7baf5cee __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff7bc3269b _pthread_cond_wait + 789
2 org.chromium.ContentShell.framework 0x00000001085740fb 0x10842f000 + 1331451
3 org.chromium.ContentShell.framework 0x000000010857f062 0x10842f000 + 1376354
4 org.chromium.ContentShell.framework 0x000000010857f5b0 0x10842f000 + 1377712
5 org.chromium.ContentShell.framework 0x000000010857865b 0x10842f000 + 1349211
6 libsystem_pthread.dylib 0x00007fff7bc316c1 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff7bc3156d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff7bc30c5d thread_start + 13
Thread 7:: WorkerPool/210951
0 libsystem_kernel.dylib 0x00007fff7baf5cee __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff7bc3269b _pthread_cond_wait + 789
2 org.chromium.ContentShell.framework 0x00000001085740fb 0x10842f000 + 1331451
3 org.chromium.ContentShell.framework 0x000000010857f062 0x10842f000 + 1376354
4 org.chromium.ContentShell.framework 0x000000010857f5b0 0x10842f000 + 1377712
5 org.chromium.ContentShell.framework 0x000000010857865b 0x10842f000 + 1349211
6 libsystem_pthread.dylib 0x00007fff7bc316c1 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff7bc3156d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff7bc30c5d thread_start + 13
Thread 8:: OptimizingCompi
0 libsystem_kernel.dylib 0x00007fff7baec7fe semaphore_wait_trap + 10
1 org.chromium.ContentShell.framework 0x0000000109a15e87 0x10842f000 + 22965895
2 org.chromium.ContentShell.framework 0x00000001099fab75 0x10842f000 + 22854517
3 org.chromium.ContentShell.framework 0x0000000109b1a497 0x10842f000 + 24032407
4 libsystem_pthread.dylib 0x00007fff7bc316c1 _pthread_body + 340
5 libsystem_pthread.dylib 0x00007fff7bc3156d _pthread_start + 377
6 libsystem_pthread.dylib 0x00007fff7bc30c5d thread_start + 13
Thread 9:: v8:SweeperThrea
0 libsystem_kernel.dylib 0x00007fff7baec7fe semaphore_wait_trap + 10
1 org.chromium.ContentShell.framework 0x0000000109a15e87 0x10842f000 + 22965895
2 org.chromium.ContentShell.framework 0x0000000109a93f17 0x10842f000 + 23482135
3 org.chromium.ContentShell.framework 0x0000000109b1a497 0x10842f000 + 24032407
4 libsystem_pthread.dylib 0x00007fff7bc316c1 _pthread_body + 340
5 libsystem_pthread.dylib 0x00007fff7bc3156d _pthread_start + 377
6 libsystem_pthread.dylib 0x00007fff7bc30c5d thread_start + 13
Thread 10:: v8:SweeperThrea
0 libsystem_kernel.dylib 0x00007fff7baec7fe semaphore_wait_trap + 10
1 org.chromium.ContentShell.framework 0x0000000109a15e87 0x10842f000 + 22965895
2 org.chromium.ContentShell.framework 0x0000000109a93f17 0x10842f000 + 23482135
3 org.chromium.ContentShell.framework 0x0000000109b1a497 0x10842f000 + 24032407
4 libsystem_pthread.dylib 0x00007fff7bc316c1 _pthread_body + 340
5 libsystem_pthread.dylib 0x00007fff7bc3156d _pthread_start + 377
6 libsystem_pthread.dylib 0x00007fff7bc30c5d thread_start + 13
Thread 11:: v8:SweeperThrea
0 libsystem_kernel.dylib 0x00007fff7baec7fe semaphore_wait_trap + 10
1 org.chromium.ContentShell.framework 0x0000000109a15e87 0x10842f000 + 22965895
2 org.chromium.ContentShell.framework 0x0000000109a93f17 0x10842f000 + 23482135
3 org.chromium.ContentShell.framework 0x0000000109b1a497 0x10842f000 + 24032407
4 libsystem_pthread.dylib 0x00007fff7bc316c1 _pthread_body + 340
5 libsystem_pthread.dylib 0x00007fff7bc3156d _pthread_start + 377
6 libsystem_pthread.dylib 0x00007fff7bc30c5d thread_start + 13
Thread 12:: Chrome_DBThread
0 libsystem_kernel.dylib 0x00007fff7baf5cee __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff7bc32662 _pthread_cond_wait + 732
2 org.chromium.ContentShell.framework 0x0000000108574538 0x10842f000 + 1332536
3 org.chromium.ContentShell.framework 0x00000001085743e9 0x10842f000 + 1332201
4 org.chromium.ContentShell.framework 0x0000000108556216 0x10842f000 + 1208854
5 org.chromium.ContentShell.framework 0x0000000108566b46 0x10842f000 + 1276742
6 org.chromium.ContentShell.framework 0x0000000108552b2d 0x10842f000 + 1194797
7 org.chromium.ContentShell.framework 0x0000000108f78188 0x10842f000 + 11833736
8 org.chromium.ContentShell.framework 0x000000010857cb85 0x10842f000 + 1366917
9 org.chromium.ContentShell.framework 0x000000010857865b 0x10842f000 + 1349211
10 libsystem_pthread.dylib 0x00007fff7bc316c1 _pthread_body + 340
11 libsystem_pthread.dylib 0x00007fff7bc3156d _pthread_start + 377
12 libsystem_pthread.dylib 0x00007fff7bc30c5d thread_start + 13
...
...
0x7fff7bc48000 - 0x7fff7bc5bff7 libsystem_trace.dylib (829.30.14) <69EBF017-D40F-30D7-9B0B-BFC862D761A5> /usr/lib/system/libsystem_trace.dylib
0x7fff7bc5d000 - 0x7fff7bc62ff7 libunwind.dylib (35.3) <6D4FCD49-D2A9-3233-95C7-A7635CE265F2> /usr/lib/system/libunwind.dylib
0x7fff7bc63000 - 0x7fff7bc8fff7 libxpc.dylib (1205.30.29) <F7E5F1BC-614B-39CB-B6CE-92A9C7B7EC0B> /usr/lib/system/libxpc.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 3
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 23495
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=579.8M resident=0K(0%) swapped_out_or_unallocated=579.8M(100%)
Writable regions: Total=1.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.2G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 384K 4
Activity Tracing 256K 2
CG backing stores 19.7M 4
CG image 72K 5
CoreAnimation 48K 8
CoreGraphics 8K 2
CoreImage 24K 3
CoreUI image data 3088K 22
CoreUI image file 180K 3
Foundation 4K 2
IOKit 7940K 2
Image IO 256K 2
Kernel Alloc Once 8K 2
MALLOC 720.8M 138
MALLOC guard page 64K 15
MALLOC_LARGE (reserved) 69.0M 8 reserved VM address space (unallocated)
Memory Tag 242 12K 2
Memory Tag 255 547.5M 26
Memory Tag 255 (reserved) 140K 5 reserved VM address space (unallocated)
OpenGL GLSL 512K 7
STACK GUARD 56.3M 86
Stack 194.4M 87
VM_ALLOCATE 87.1M 102
VM_ALLOCATE (reserved) 128.0M 3 reserved VM address space (unallocated)
__DATA 41.5M 317
__FONT_DATA 4K 2
__GLSLBUILTINS 2588K 2
__LINKEDIT 236.4M 33
__TEXT 343.5M 303
__UNICODE 560K 2
mapped file 94.0M 162
shared memory 2848K 17
=========== ======= =======
TOTAL 2.5G 1346
TOTAL, minus reserved VM space 2.3G 1346
Model: MacBookPro12,1, BootROM MBP121.0171.B00, 2 processors, Intel Core i5, 2.9 GHz, 8 GB, SMC 2.28f7
Graphics: Intel Iris Graphics 6100, Intel Iris Graphics 6100, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80CE, 0x4B3445364533303445452D45474346000000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80CE, 0x4B3445364533303445452D45474346000000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.77.37.5.1a3)
Bluetooth: Version 6.0.2f2, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0512G, 500.28 GB
USB Device: USB 3.0 Bus
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1
Find this path with terminal :
/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.Unity
-Then you will find a subfolder "MonoDevelop.Unity"
-You need move all the files and subfolders in MonoDevelop.Unity/MonoDevelop.Unity to the first MonoDevelop.Unity directory.
After all these steps,
-You can delete 2nd MonoDevelop.Unity folder.
Hope this will help.

Xcode 5 crashes when running an app with SDL 2

I tried to follow these two tutorials (or the applicable parts of them, due to version differences) to install SDL 2.0.2 to work with Xcode 5.1:
Tutorial 1
Tutorial 2
Running any program with the SDL 2 framework linked causes Xcode to crash with the following problem details:
Process: Xcode [1787]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.1 (5084)
Build Info: IDEFrameworks-5084000000000000~21
App Item ID: 497799835
App External ID: 444172641
Code Type: X86-64 (Native)
Parent Process: launchd [257]
Responsible: Xcode [1787]
User ID: 501
PlugIn Path: /Library/Frameworks/SDL2.framework/Versions/A/SDL2
PlugIn Identifier: org.libsdl.SDL2
PlugIn Version: 2.0.2 (2.0.2)
Date/Time: 2014-03-13 04:24:59.771 +0200
OS Version: Mac OS X 10.9.2 (13C64)
Report Version: 11
Anonymous UUID: EFECF2A0-A489-055E-0904-D3CD9E756EB0
Crashed Thread: 21 <lldb.process.internal-state(pid=1804)>
Exception Type: EXC_BAD_ACCESS (Code Signature Invalid)
Exception Codes: 0x0000000000000032, 0x0000000124718000
VM Regions Near 0x124718000:
Stack 0000000124696000-0000000124718000 [ 520K] rw-/rwx SM=COW thread 22
--> mapped file 0000000124718000-00000001247fd000 [ 916K] r--/rwx SM=COW /Library/Frameworks/SDL2.framework/Versions/A/SDL2
CG shared images 00000001c0003000-00000001c000b000 [ 32K] r--/r-- SM=SHM
Application Specific Information:
ProductBuildVersion: 5B130a
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8d1aca1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d1abd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff87ba8155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff87ba7779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff87ba70b5 CFRunLoopRunSpecific + 309
5 com.apple.HIToolbox 0x00007fff8e776a0d RunCurrentEventLoopInMode + 226
6 com.apple.HIToolbox 0x00007fff8e7767b7 ReceiveNextEventCommon + 479
7 com.apple.HIToolbox 0x00007fff8e7765bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
8 com.apple.AppKit 0x00007fff8145a3de _DPSNextEvent + 1434
9 com.apple.AppKit 0x00007fff81459a2b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
10 com.apple.dt.DVTKit 0x00000001067a3e31 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 84
11 com.apple.AppKit 0x00007fff8144db2c -[NSApplication run] + 553
12 com.apple.AppKit 0x00007fff81438913 NSApplicationMain + 940
13 libdyld.dylib 0x00007fff8dda55fd start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8d1b1662 kevent64 + 10
1 libdispatch.dylib 0x00007fff88b8543d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff88b85152 _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8d1b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ddccf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ddcffb9 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8d1b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ddccf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ddcffb9 start_wqthread + 13
Thread 4:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff8d1aca1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d1abd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff87ba8155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff87ba7779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff87ba70b5 CFRunLoopRunSpecific + 309
5 com.apple.Foundation 0x00007fff87db8967 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
6 com.apple.Foundation 0x00007fff87db876b __NSThread__main__ + 1318
7 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8d1aca1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d1abd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff87ba8155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff87ba7779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff87ba70b5 CFRunLoopRunSpecific + 309
5 com.apple.DTDeviceKitBase 0x00000001109fb40e -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 162
6 com.apple.Foundation 0x00007fff87db876b __NSThread__main__ + 1318
7 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 6:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8d1b09aa __select + 10
1 com.apple.CoreFoundation 0x00007fff87bf3b83 __CFSocketManager + 867
2 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
3 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
4 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 7:: DYMobileDeviceManager
0 libsystem_kernel.dylib 0x00007fff8d1aca1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d1abd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff87ba8155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff87ba7779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff87ba70b5 CFRunLoopRunSpecific + 309
5 com.apple.Foundation 0x00007fff87dbaadc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253
6 com.apple.Foundation 0x00007fff87ea34aa -[NSRunLoop(NSRunLoop) run] + 74
7 com.apple.GPUToolsMobileFoundation 0x0000000112ab0e0d -[DYMobileDeviceManager _deviceNotificationThread:] + 134
8 com.apple.Foundation 0x00007fff87db876b __NSThread__main__ + 1318
9 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
10 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
11 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 8:: CVDisplayLink
0 libsystem_kernel.dylib 0x00007fff8d1b0716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ddcdc3b _pthread_cond_wait + 727
2 com.apple.CoreVideo 0x00007fff8d2d1a38 CVDisplayLink::runIOThread() + 656
3 com.apple.CoreVideo 0x00007fff8d2d178f startIOThread(void*) + 147
4 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff8d1b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ddccf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ddcffb9 start_wqthread + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff8d1b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ddccf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ddcffb9 start_wqthread + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff8d1aca1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d1abd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff87ba8155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff87ba7779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff87ba70b5 CFRunLoopRunSpecific + 309
5 com.apple.AppKit 0x00007fff815fa16e _NSEventThread + 144
6 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff8d1b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ddccf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ddcffb9 start_wqthread + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff8d1b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ddccf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ddcffb9 start_wqthread + 13
Thread 14:
0 libsystem_kernel.dylib 0x00007fff8d1b0716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ddcdc3b _pthread_cond_wait + 727
2 com.apple.Xcode.DevToolsCore 0x000000010c476363 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 524
3 com.apple.Foundation 0x00007fff87db876b __NSThread__main__ + 1318
4 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff8d1b0716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ddcdc3b _pthread_cond_wait + 727
2 com.apple.Xcode.DevToolsCore 0x000000010c476363 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 524
3 com.apple.Foundation 0x00007fff87db876b __NSThread__main__ + 1318
4 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 16:
0 libsystem_kernel.dylib 0x00007fff8d1b0716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ddcdc3b _pthread_cond_wait + 727
2 com.apple.Xcode.DevToolsCore 0x000000010c476363 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 524
3 com.apple.Foundation 0x00007fff87db876b __NSThread__main__ + 1318
4 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 17:: <lldb.comm.debugger.input>
0 libsystem_kernel.dylib 0x00007fff8d1b09aa __select + 10
1 com.apple.LLDB.framework 0x0000000113d965f0 lldb_private::ConnectionFileDescriptor::BytesAvailable(unsigned int, lldb_private::Error*) + 888
2 com.apple.LLDB.framework 0x0000000113d96052 lldb_private::ConnectionFileDescriptor::Read(void*, unsigned long, unsigned int, lldb::ConnectionStatus&, lldb_private::Error*) + 170
3 com.apple.LLDB.framework 0x0000000113d94493 lldb_private::Communication::ReadFromConnection(void*, unsigned long, unsigned int, lldb::ConnectionStatus&, lldb_private::Error*) + 97
4 com.apple.LLDB.framework 0x0000000113d940f1 lldb_private::Communication::ReadThread(void*) + 147
5 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 18:: <lldb.comm.xcode.lldb.comm>
0 libsystem_kernel.dylib 0x00007fff8d1b09aa __select + 10
1 com.apple.LLDB.framework 0x0000000113d965f0 lldb_private::ConnectionFileDescriptor::BytesAvailable(unsigned int, lldb_private::Error*) + 888
2 com.apple.LLDB.framework 0x0000000113d96052 lldb_private::ConnectionFileDescriptor::Read(void*, unsigned long, unsigned int, lldb::ConnectionStatus&, lldb_private::Error*) + 170
3 com.apple.LLDB.framework 0x0000000113d94493 lldb_private::Communication::ReadFromConnection(void*, unsigned long, unsigned int, lldb::ConnectionStatus&, lldb_private::Error*) + 97
4 com.apple.LLDB.framework 0x0000000113d940f1 lldb_private::Communication::ReadThread(void*) + 147
5 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 19:
0 libsystem_kernel.dylib 0x00007fff8d1aca1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d1abd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff87ba8155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff87ba7779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff87ba70b5 CFRunLoopRunSpecific + 309
5 com.apple.CoreFoundation 0x00007fff87c5c811 CFRunLoopRun + 97
6 com.apple.DebugSymbols 0x00007fff834007e3 SpotlightQueryThread(void*) + 355
7 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 20:: <lldb.process.gdb-remote.async>
0 libsystem_kernel.dylib 0x00007fff8d1b0716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ddcdc3b _pthread_cond_wait + 727
2 com.apple.LLDB.framework 0x0000000113e37697 lldb_private::Condition::Wait(lldb_private::Mutex&, lldb_private::TimeValue const*, bool*) + 109
3 com.apple.LLDB.framework 0x0000000113e81752 lldb_private::Predicate<bool>::WaitForValueEqualTo(bool, lldb_private::TimeValue const*, bool*) + 90
4 com.apple.LLDB.framework 0x0000000113dadcb4 lldb_private::Listener::WaitForEventsInternal(lldb_private::TimeValue const*, lldb_private::Broadcaster*, lldb_private::ConstString const*, unsigned int, unsigned int, std::__1::shared_ptr<lldb_private::Event>&) + 324
5 com.apple.LLDB.framework 0x0000000113daddcb lldb_private::Listener::WaitForEvent(lldb_private::TimeValue const*, std::__1::shared_ptr<lldb_private::Event>&) + 27
6 com.apple.LLDB.framework 0x0000000113e8bb51 ProcessGDBRemote::AsyncThread(void*) + 1213
7 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 21 Crashed:: <lldb.process.internal-state(pid=1804)>
0 com.apple.LLDB.framework 0x0000000113d98990 lldb_private::DataExtractor::GetU32(unsigned long long*) const + 52
1 com.apple.LLDB.framework 0x0000000113e73045 ObjectFileMachO::ParseHeader() + 91
2 com.apple.LLDB.framework 0x0000000113e724fd ObjectFileMachO::CreateInstance(std::__1::shared_ptr<lldb_private::Module> const&, std::__1::shared_ptr<lldb_private::DataBuffer>&, unsigned long long, lldb_private::FileSpec const*, unsigned long long, unsigned long long) + 661
3 com.apple.LLDB.framework 0x0000000113ee9ac5 lldb_private::ObjectFile::FindPlugin(std::__1::shared_ptr<lldb_private::Module> const&, lldb_private::FileSpec const*, unsigned long long, unsigned long long, std::__1::shared_ptr<lldb_private::DataBuffer>&, unsigned long long&) + 1705
4 com.apple.LLDB.framework 0x0000000113e6bf43 ObjectContainerUniversalMachO::GetObjectFile(lldb_private::FileSpec const*) + 427
5 com.apple.LLDB.framework 0x0000000113ee9bd7 lldb_private::ObjectFile::FindPlugin(std::__1::shared_ptr<lldb_private::Module> const&, lldb_private::FileSpec const*, unsigned long long, unsigned long long, std::__1::shared_ptr<lldb_private::DataBuffer>&, unsigned long long&) + 1979
6 com.apple.LLDB.framework 0x0000000113ddafbc lldb_private::Module::GetObjectFile() + 210
7 com.apple.LLDB.framework 0x0000000113dde60f lldb_private::ModuleList::GetSharedModule(lldb_private::ModuleSpec const&, std::__1::shared_ptr<lldb_private::Module>&, lldb_private::FileSpecList const*, std::__1::shared_ptr<lldb_private::Module>*, bool*, bool) + 805
8 com.apple.LLDB.framework 0x0000000113f274d9 lldb_private::Target::GetSharedModule(lldb_private::ModuleSpec const&, lldb_private::Error*) + 543
9 com.apple.LLDB.framework 0x0000000113e64879 DynamicLoaderMacOSXDYLD::FindTargetModuleForDYLDImageInfo(DynamicLoaderMacOSXDYLD::DYLDImageInfo&, bool, bool*) + 391
10 com.apple.LLDB.framework 0x0000000113e6699f DynamicLoaderMacOSXDYLD::AddModulesUsingImageInfos(std::__1::vector<DynamicLoaderMacOSXDYLD::DYLDImageInfo, std::__1::allocator<DynamicLoaderMacOSXDYLD::DYLDImageInfo> >&) + 487
11 com.apple.LLDB.framework 0x0000000113e65d7b DynamicLoaderMacOSXDYLD::AddModulesUsingImageInfosAddress(unsigned long long, unsigned int) + 165
12 com.apple.LLDB.framework 0x0000000113e65612 DynamicLoaderMacOSXDYLD::InitializeFromAllImageInfos() + 154
13 com.apple.LLDB.framework 0x0000000113e65a0c DynamicLoaderMacOSXDYLD::NotifyBreakpointHit(void*, lldb_private::StoppointCallbackContext*, unsigned long long, unsigned long long) + 44
14 com.apple.LLDB.framework 0x0000000113d45d0f lldb_private::BreakpointOptions::InvokeCallback(lldb_private::StoppointCallbackContext*, unsigned long long, unsigned long long) + 43
15 com.apple.LLDB.framework 0x0000000113d43250 lldb_private::BreakpointLocation::InvokeCallback(lldb_private::StoppointCallbackContext*) + 82
16 com.apple.LLDB.framework 0x0000000113d43889 lldb_private::BreakpointLocation::ShouldStop(lldb_private::StoppointCallbackContext*) + 115
17 com.apple.LLDB.framework 0x0000000113d44386 lldb_private::BreakpointLocationCollection::ShouldStop(lldb_private::StoppointCallbackContext*) + 76
18 com.apple.LLDB.framework 0x0000000113f22748 lldb_private::StopInfoBreakpoint::ShouldStopSynchronous(lldb_private::Event*) + 232
19 com.apple.LLDB.framework 0x0000000113f319cf lldb_private::Thread::ShouldStop(lldb_private::Event*) + 653
20 com.apple.LLDB.framework 0x0000000113f365a3 lldb_private::ThreadList::ShouldStop(lldb_private::Event*) + 339
21 com.apple.LLDB.framework 0x0000000113f12485 lldb_private::Process::ShouldBroadcastEvent(lldb_private::Event*) + 375
22 com.apple.LLDB.framework 0x0000000113f1048c lldb_private::Process::HandlePrivateEvent(std::__1::shared_ptr<lldb_private::Event>&) + 356
23 com.apple.LLDB.framework 0x0000000113f12ae7 lldb_private::Process::RunPrivateStateThread() + 507
24 com.apple.LLDB.framework 0x0000000113f1262d lldb_private::Process::PrivateStateThread(void*) + 9
25 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
26 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
27 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 22:: DBGLLDBSessionThread
0 libsystem_kernel.dylib 0x00007fff8d1b0716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ddcdc3b _pthread_cond_wait + 727
2 com.apple.LLDB.framework 0x0000000113e37697 lldb_private::Condition::Wait(lldb_private::Mutex&, lldb_private::TimeValue const*, bool*) + 109
3 com.apple.LLDB.framework 0x0000000113e81752 lldb_private::Predicate<bool>::WaitForValueEqualTo(bool, lldb_private::TimeValue const*, bool*) + 90
4 com.apple.LLDB.framework 0x0000000113dadcb4 lldb_private::Listener::WaitForEventsInternal(lldb_private::TimeValue const*, lldb_private::Broadcaster*, lldb_private::ConstString const*, unsigned int, unsigned int, std::__1::shared_ptr<lldb_private::Event>&) + 324
5 com.apple.LLDB.framework 0x0000000113daddcb lldb_private::Listener::WaitForEvent(lldb_private::TimeValue const*, std::__1::shared_ptr<lldb_private::Event>&) + 27
6 com.apple.LLDB.framework 0x0000000112c6f995 lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&) + 203
7 com.apple.dt.dbg.DebuggerLLDB 0x000000010981aa22 DBGLLDBSessionThread(void*) + 813
8 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 21 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fe807c15fa0 rcx: 0x00000000000e4850 rdx: 0x00000000000e4850
rdi: 0x00007fe807c15ff8 rsi: 0x0000000124690310 rbp: 0x0000000124690290 rsp: 0x0000000124690290
r8: 0x0000000124718000 r9: 0x0000000000000004 r10: 0x0000000001555568 r11: 0x000000002fd20404
r12: 0x0000000000001000 r13: 0x00007fe807c15fa0 r14: 0x00007fe807c15ff8 r15: 0x00000000000e4850
rip: 0x0000000113d98990 rfl: 0x0000000000010246 cr2: 0x0000000124718000
Logical CPU: 2
Error Code: 0x00000004
Trap Number: 14
I've tried to repair permissions using the Disk Utility and also disabled Source Control in Xcode. The problem disappears if I simply delete the reference to SDL. For example the following program works initially, but crashes when I link the project to SDL:
// #include <SDL2/SDL.h>
#include <iostream>
int main()
{
std::cout << "Hello World!" << std::endl;
return 0;
}
Am I doing something wrong here?
It looks like the problem is that SDL2 isn't properly signed. There's a ticket to fix the issue at https://bugzilla.libsdl.org/show_bug.cgi?id=2058.
When you spawn an application from Xcode 5 with lldb, Xcode loads a plugin that will inspect modules your application loads, presumably to give you insight into your program. Xcode is set up to crash if it reads from a page that is backed by an invalid signature. Because SDL2 isn't properly signed, when Xcode 5 attempts to examine the SDL2 library, it will read from an invalid page, and crash. You get a clue that this is happening by the following line in your crash report above:
Exception Type: EXC_BAD_ACCESS (Code Signature Invalid)
To see for yourself that SDL isn't properly signed, execute the following command from the folder where SDL2 resides:
$ codesign -vvvv SDL2
SDL2: invalid signature (code or signature have been modified)
In architecture: x86_64
If you don't want to build your own version of SDL2 (the solution that's mentioned above), you can update the signature to make it correct:
$ codesign -f -s - SDL2
SDL2: replacing existing signature
And to verify that the new signature is good:
$ codesign -vvvv SDL2
SDL2: valid on disk
SDL2: satisfies its Designated Requirement
Note that doing this as a workaround is risky from a security standpoint, as I'm not sure why the signature is invalid.
I had the same problem using 2.0.2 (stable). I downloaded the latest code (as of 3/13) and compiled the framework manually and it worked.
hg clone http://hg.libsdl.org/SDL
Compile the "Framework" target in Xcode/SDL/SDL.xcodeproj
Copy framework to /Library/Frameworks

Random crashes in WaitNextEvent under 10.7.2

Our (legacy) app runs stable on a range of OS versions (10.4 - 10.7) since years and now randomly crashes at ONE customers computers (both of them, though) within WaitNextEvent.
All crashes occur deep inside Apple's code with random locations but always with WaitNextEvent somewhere in the call stack.
Examples are:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 dyld 0x8fe8a33d _ZN4dyldL10loadPhase5EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 716
1 dyld 0x8fe8a501 _ZN4dyldL10loadPhase4EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 179
2 dyld 0x8fe8ae31 _ZN4dyldL10loadPhase3EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 1429
3 dyld 0x8fe8b1f1 _ZN4dyldL10loadPhase1EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 166
4 dyld 0x8fe8b340 _ZN4dyldL10loadPhase0EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 240
5 dyld 0x8fe8b3fd dyld::load(char const*, dyld::LoadContext const&) + 132
6 dyld 0x8fe8e036 dlopen + 428
7 libdyld.dylib 0x977b9a95 dlopen + 70
8 com.apple.CoreServices.CarbonCore 0x90d467cf GetDYLDEntryPointWithImage + 43
9 com.apple.CoreServices.CarbonCore 0x90d50aed GetDYLDEntryPoint + 45
10 com.apple.AppKit 0x9c62cf2c _IsCarbonFullScreenInstanceWorkspace + 57
11 com.apple.AppKit 0x9c03231c -[NSApplication _updateFullScreenPresentationOptions] + 75
12 com.apple.AppKit 0x9bdc97d5 -[NSApplication sendEvent:] + 906
13 com.apple.AppKit 0x9c4d81e1 _appActivationHandler + 547
14 com.apple.AppKit 0x9c4d79b8 carbonAppApplicationHandler + 108
15 com.apple.HIToolbox 0x9bb9f920 _InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)) + 36
16 com.apple.HIToolbox 0x9ba1b803 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1602
17 com.apple.HIToolbox 0x9ba1ac80 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 482
18 com.apple.HIToolbox 0x9ba1aa98 SendEventToEventTargetWithOptions + 75
19 com.apple.HIToolbox 0x9ba306fe _ZL29ToolboxEventDispatcherHandlerP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 3152
20 com.apple.HIToolbox 0x9ba1bcbe _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 2813
21 com.apple.HIToolbox 0x9ba1ac80 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 482
22 com.apple.HIToolbox 0x9ba2faa9 SendEventToEventTarget + 76
23 com.apple.HIToolbox 0x9bb9f76c ToolboxEventDispatcher + 82
24 com.apple.HIToolbox 0x9bbb1e0f GetOrPeekEvent + 482
25 com.apple.HIToolbox 0x9bbb217f GetNextEventMatchingMask + 539
26 com.apple.HIToolbox 0x9bbb24b7 WNEInternal + 434
27 com.apple.HIToolbox 0x9bbb1784 WaitNextEvent + 53
28 com.ourStuff 0x000bebe5 LApplication::ProcessNextEvent() + 69
or
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x9c2dec22 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x9c2de1f6 mach_msg + 70
2 com.apple.CoreFoundation 0x98f370ea __CFRunLoopServiceMachPort + 170
3 com.apple.CoreFoundation 0x98f40214 __CFRunLoopRun + 1428
4 com.apple.CoreFoundation 0x98f3f8ec CFRunLoopRunSpecific + 332
5 com.apple.CoreFoundation 0x98f3f798 CFRunLoopRunInMode + 120
6 com.apple.HIToolbox 0x95b7fa7f RunCurrentEventLoopInMode + 318
7 com.apple.HIToolbox 0x95d1c151 GetNextEventMatchingMask + 493
8 com.apple.HIToolbox 0x95d1c4b7 WNEInternal + 434
9 com.apple.HIToolbox 0x95d1b784 WaitNextEvent + 53
10 com.apple.HIToolbox 0x95cfc136 ModalDialog + 1638
11 com.apple.HIToolbox 0x95d03ff5 RunStandardAlert + 741
12 com.apple.HIToolbox 0x95d028bf StandardAlert + 201
13 com.ourStuff 0x0007fbaa 0x1000 + 519082
Any hints are highly appreciated!
As of now we couldn't reproduce the bug locally.
FWIW - the crashes just disappeared after that particular customer deactivated DefaultFolderX (which kept showing up in every crash dump of our app on the customers system)..

Webview crash with Garbage Collector ON

I have a very specific web page that causes webview to crash with the Garnage Collector ON (does not crash when OFF).
Easy to reproduce: create a document base application, drop a webview, and have the following line (button perhaps).
- (void)connectSearch:(id)sender
{
[[webView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:#"http://apple.com"]]];
}
I guess this scenario is only valid while Apple advertises their new iPad. At the bottom of the page there is two video you can watch. Click on the one on the right. When it is playing, click on the Close button (link) top left - which sends #SwapViewPreviousSelection - and that's it, it crashes.
I'm just learning about the garbage collector but I suspect something is collected that should not.
Any idea what can prevent the crash, other than turning off the garbage collector?
Thank you.
Here is what I get:
Identifier: com.yourcompany.wb
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: launchd [163]
Date/Time: 2010-02-15 12:26:31.069 -0500
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6
Interval Since Last Report: 432447 sec
Crashes Since Last Report: 7
Per-App Interval Since Last Report: 2938 sec
Per-App Crashes Since Last Report: 5
Anonymous UUID: CC123A77-1407-444A-9081-8A2B7C15C2B6
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
objc[70635]: garbage collection is ON
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff82e0a788 CFRetain + 200
1 com.apple.QuartzCore 0x00007fff81677a98 -[CALayer setSublayers:] + 486
2 com.apple.WebCore 0x00007fff87c792a1 WebCore::GraphicsLayerCA::updateSublayerList() + 433
3 com.apple.WebCore 0x00007fff87c7ebd8 WebCore::GraphicsLayerCA::commitLayerChanges() + 840
4 com.apple.WebCore 0x00007fff87c7ed05 WebCore::GraphicsLayerCA::recursiveCommitChanges() + 21
5 com.apple.WebCore 0x00007fff87c7ed31 WebCore::GraphicsLayerCA::recursiveCommitChanges() + 65
6 com.apple.WebCore 0x00007fff87705296 WebCore::FrameView::paintContents(WebCore::GraphicsContext*, WebCore::IntRect const&) + 390
7 com.apple.WebKit 0x00007fff81b3d205 -[WebFrame(WebInternal) _drawRect:contentsOnly:] + 149
8 com.apple.WebKit 0x00007fff81b3ce77 -[WebHTMLView drawSingleRect:] + 455
9 com.apple.WebKit 0x00007fff81b3cc16 -[WebHTMLView drawRect:] + 566
10 com.apple.AppKit 0x00007fff8597b05e -[NSView _drawRect:clip:] + 3566
11 com.apple.AppKit 0x00007fff85978834 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 2112
12 com.apple.WebKit 0x00007fff81b3dd6b -[WebHTMLView(WebPrivate) _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 299
13 com.apple.AppKit 0x00007fff859791bf -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
14 com.apple.AppKit 0x00007fff859791bf -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
15 com.apple.AppKit 0x00007fff859791bf -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
16 com.apple.AppKit 0x00007fff859791bf -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
17 com.apple.AppKit 0x00007fff859791bf -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
18 com.apple.AppKit 0x00007fff859791bf -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
19 com.apple.AppKit 0x00007fff85977e17 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 254
20 com.apple.AppKit 0x00007fff859746bf -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2683
21 com.apple.AppKit 0x00007fff858edf37 -[NSView displayIfNeeded] + 969
22 com.apple.AppKit 0x00007fff858e8dde _handleWindowNeedsDisplay + 678
23 com.apple.CoreFoundation 0x00007fff82e74427 __CFRunLoopDoObservers + 519
24 com.apple.CoreFoundation 0x00007fff82e502d4 __CFRunLoopRun + 468
25 com.apple.CoreFoundation 0x00007fff82e4fc2f CFRunLoopRunSpecific + 575
26 com.apple.HIToolbox 0x00007fff88192a4e RunCurrentEventLoopInMode + 333
27 com.apple.HIToolbox 0x00007fff881927b1 ReceiveNextEventCommon + 148
28 com.apple.HIToolbox 0x00007fff8819270c BlockUntilNextEventMatchingListInMode + 59
29 com.apple.AppKit 0x00007fff858be1f2 _DPSNextEvent + 708
30 com.apple.AppKit 0x00007fff858bdb41 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
31 com.apple.AppKit 0x00007fff85883747 -[NSApplication run] + 395
32 com.apple.AppKit 0x00007fff8587c468 NSApplicationMain + 364
33 com.yourcompany.wb 0x0000000100001c86 main + 33 (main.m:14)
34 com.yourcompany.wb 0x0000000100001a44 start + 52
Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x00007fff8874bbba kevent + 10
1 libSystem.B.dylib 0x00007fff8874da85 _dispatch_mgr_invoke + 154
2 libSystem.B.dylib 0x00007fff8874d75c _dispatch_queue_invoke + 185
3 libSystem.B.dylib 0x00007fff8874d286 _dispatch_worker_thread2 + 244
4 libSystem.B.dylib 0x00007fff8874cbb8 _pthread_wqthread + 353
5 libSystem.B.dylib 0x00007fff8874ca55 start_wqthread + 13
Thread 2: JavaScriptCore: FastMalloc scavenger
0 libSystem.B.dylib 0x00007fff8876d9ee __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff887717f1 _pthread_cond_wait + 1286
2 com.apple.JavaScriptCore 0x00007fff80ae62b3 WTF::TCMalloc_PageHeap::scavengerThread() + 515
3 com.apple.JavaScriptCore 0x00007fff80ae62f9 WTF::TCMalloc_PageHeap::runScavengerThread(void*) + 9
4 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
5 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 3:
0 libSystem.B.dylib 0x00007fff8874c9da __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff8874cdec _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff8874ca55 start_wqthread + 13
Thread 4:
0 libSystem.B.dylib 0x00007fff88732e3a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff887334ad mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff82e507a2 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff82e4fc2f CFRunLoopRunSpecific + 575
4 com.apple.Foundation 0x00007fff800de4cf +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 297
5 com.apple.Foundation 0x00007fff8005ee99 __NSThread__main__ + 1429
6 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
7 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 5:
0 libSystem.B.dylib 0x00007fff887769e2 select$DARWIN_EXTSN + 10
1 com.apple.CoreFoundation 0x00007fff82e72242 __CFSocketManager + 818
2 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
3 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 6:
0 libSystem.B.dylib 0x00007fff8874c9da __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff8874cdec _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff8874ca55 start_wqthread + 13
Thread 7:
0 libSystem.B.dylib 0x00007fff8873d426 read + 10
1 com.apple.CoreFoundation 0x00007fff82eb1ae0 __CFSocketRead + 544
2 com.apple.CFNetwork 0x00007fff88bba667 __CFSocketReadWithError(__CFSocket*, unsigned char*, long, CFStreamError*) + 35
3 com.apple.CFNetwork 0x00007fff88bba397 SocketStream::read(__CFReadStream*, unsigned char*, long, CFStreamError*, unsigned char*) + 699
4 com.apple.CoreFoundation 0x00007fff82e3ffac CFReadStreamRead + 540
5 com.apple.CFNetwork 0x00007fff88bd3dc1 HTTPReadFilter::doPlainRead(unsigned char*, long, CFStreamError*, unsigned char*) + 307
6 com.apple.CFNetwork 0x00007fff88bd3c59 HTTPReadFilter::streamRead(__CFReadStream*, unsigned char*, long, CFStreamError*, unsigned char*) + 469
7 com.apple.CoreFoundation 0x00007fff82e3ffac CFReadStreamRead + 540
8 com.apple.CFNetwork 0x00007fff88bd39e6 HTTPNetStreamInfo::streamRead(__CFReadStream*, unsigned char*, long, CFStreamError*, unsigned char*) + 562
9 com.apple.CoreFoundation 0x00007fff82e3ffac CFReadStreamRead + 540
10 com.apple.CFNetwork 0x00007fff88c23892 HTTPReadStream::streamRead(__CFReadStream*, unsigned char*, long, CFStreamError*, unsigned char*) + 82
11 com.apple.CoreFoundation 0x00007fff82e3ffac CFReadStreamRead + 540
12 com.apple.MediaToolbox 0x00007fff86b59a6f FigCFHTTPReadResponse + 855
13 com.apple.CoreFoundation 0x00007fff82eb1503 _signalEventSync + 115
14 com.apple.CoreFoundation 0x00007fff82eb1474 _cfstream_solo_signalEventSync + 116
15 com.apple.CFNetwork 0x00007fff88c228fd HTTPReadStream::streamEvent(unsigned long) + 163
16 com.apple.CoreFoundation 0x00007fff82eb1503 _signalEventSync + 115
17 com.apple.CoreFoundation 0x00007fff82eb1474 _cfstream_solo_signalEventSync + 116
18 com.apple.CoreFoundation 0x00007fff82e52271 __CFRunLoopDoSources0 + 1361
19 com.apple.CoreFoundation 0x00007fff82e50469 __CFRunLoopRun + 873
20 com.apple.CoreFoundation 0x00007fff82e4fc2f CFRunLoopRunSpecific + 575
21 com.apple.CoreFoundation 0x00007fff82e4f9b6 CFRunLoopRun + 70
22 com.apple.CoreMedia 0x00007fff803d4702 FigThreadGlobalNetworkBufferingRunloop + 119
23 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
24 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 8:
0 libSystem.B.dylib 0x00007fff8876d9ee __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff887717f1 _pthread_cond_wait + 1286
2 com.apple.CoreMedia 0x00007fff803d5947 WaitOnCondition + 14
3 com.apple.CoreMedia 0x00007fff803d5b13 FigSemaphoreWaitRelative + 167
4 com.apple.MediaToolbox 0x00007fff86aee8c7 FigAIORequestThread + 398
5 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
6 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 9:
0 libSystem.B.dylib 0x00007fff8874c9da __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff8874cdec _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff8874ca55 start_wqthread + 13
Thread 10:
0 libSystem.B.dylib 0x00007fff88732e3a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff887334ad mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff82e507a2 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff82e4fc2f CFRunLoopRunSpecific + 575
4 com.apple.CoreFoundation 0x00007fff82e4f9b6 CFRunLoopRun + 70
5 com.apple.QTKit 0x00007fff830d0c49 QTFigVisualContextImageProviderWorkThread + 342
6 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
7 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 11:
0 libSystem.B.dylib 0x00007fff88732e3a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff887334ad mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff82e507a2 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff82e4fc2f CFRunLoopRunSpecific + 575
4 ....audio.toolbox.AudioToolbox 0x00007fff8416267a GenericRunLoopThread::RunLoop() + 42
5 ....audio.toolbox.AudioToolbox 0x00007fff841629f0 GenericRunLoopThread::Run() + 140
6 ....audio.toolbox.AudioToolbox 0x00007fff8412ded5 CAPThread::Entry(CAPThread*) + 67
7 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
8 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 12:
0 libSystem.B.dylib 0x00007fff8876d9ee __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff887717f1 _pthread_cond_wait + 1286
2 com.apple.CoreMedia 0x00007fff803d5947 WaitOnCondition + 14
3 com.apple.CoreMedia 0x00007fff803d5b13 FigSemaphoreWaitRelative + 167
4 com.apple.MediaToolbox 0x00007fff86afd4dd faq_EnqueueSourceDataThread + 44
5 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
6 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 13:
0 libSystem.B.dylib 0x00007fff8876d9ee __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff887717f1 _pthread_cond_wait + 1286
2 com.apple.CoreMedia 0x00007fff803d5947 WaitOnCondition + 14
3 com.apple.CoreMedia 0x00007fff803d5b13 FigSemaphoreWaitRelative + 167
4 com.apple.MediaToolbox 0x00007fff86b9b03b activitySchedulerOnThread + 69
5 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
6 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 14:
0 libSystem.B.dylib 0x00007fff8876d9ee __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff887717f1 _pthread_cond_wait + 1286
2 com.apple.CoreMedia 0x00007fff803d5947 WaitOnCondition + 14
3 com.apple.CoreMedia 0x00007fff803d5b13 FigSemaphoreWaitRelative + 167
4 com.apple.MediaToolbox 0x00007fff86b26d49 audioMentorThread + 6000
5 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
6 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 15:
0 libSystem.B.dylib 0x00007fff8876d9ee __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff887717f1 _pthread_cond_wait + 1286
2 com.apple.CoreMedia 0x00007fff803d5947 WaitOnCondition + 14
3 com.apple.CoreMedia 0x00007fff803d5b13 FigSemaphoreWaitRelative + 167
4 com.apple.MediaToolbox 0x00007fff86b3003a videoMentorThread + 5700
5 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
6 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 16:
0 libSystem.B.dylib 0x00007fff88732e3a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff887334ad mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff82e507a2 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff82e4fc2f CFRunLoopRunSpecific + 575
4 com.apple.CoreFoundation 0x00007fff82e4f9b6 CFRunLoopRun + 70
5 com.apple.QTKit 0x00007fff830cfad4 QTCALayerRendererPendingQWorkLoop + 534
6 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
7 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 17:
0 libSystem.B.dylib 0x00007fff88732e76 semaphore_wait_trap + 10
1 com.apple.VideoToolbox 0x00007fff80487f25 JVTLib_100988 + 11
2 com.apple.VideoToolbox 0x00007fff804d61d8 JVTLib_101021(void*) + 60
3 com.apple.VideoToolbox 0x00007fff804882f4 JVTLib_100971 + 552
4 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
5 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 18:
0 libSystem.B.dylib 0x00007fff88732e76 semaphore_wait_trap + 10
1 com.apple.VideoToolbox 0x00007fff80487f25 JVTLib_100988 + 11
2 com.apple.VideoToolbox 0x00007fff804d61d8 JVTLib_101021(void*) + 60
3 com.apple.VideoToolbox 0x00007fff804882f4 JVTLib_100971 + 552
4 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
5 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 19:
0 libSystem.B.dylib 0x00007fff88732e9a semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x00007fff887716e2 _pthread_cond_wait + 1015
2 com.apple.CoreVideo 0x00007fff83d2988c CVDisplayLink::waitUntil(unsigned long long) + 252
3 com.apple.CoreVideo 0x00007fff83d28d91 CVDisplayLink::runIOThread() + 619
4 com.apple.CoreVideo 0x00007fff83d28aeb startIOThread(void*) + 139
5 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
6 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000018
rdi: 0x0000000000000000 rsi: 0x000000020070f7d8 rbp: 0x00007fff5fbfbcf0 rsp: 0x00007fff5fbfbce0
r8: 0x00000001010e48d0 r9: 0x000000000000f740 r10: 0x00000001010e42f0 r11: 0x00007fff87d9ca50
r12: 0x0000000101238600 r13: 0x0000000000000000 r14: 0x000000020070f7c0 r15: 0x0000000000000000
rip: 0x00007fff82e0a788 rfl: 0x0000000000000246 cr2: 0x00007fff702c13c8
The stack trace in your question is evidencing a known (and fixed) bug in WebKit
https://bugs.webkit.org/show_bug.cgi?id=31429

Resources