The Projucer crashes when closing it shortly after opening it


#1

On OS X 10.11.5, JUCE commit 329e54d21f88b (2016.06.17),
Open Projucer and then close it a second later, I get the following crash:

Process: Projucer [33736] Path: /Users/USER/*/Projucer.app/Contents/MacOS/Projucer Identifier: com.juce.theprojucer Version: 4.2.1 (4.2.1) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Projucer [33736] User ID: 501

Date/Time: 2016-06-26 14:36:59.431 +0300
OS Version: Mac OS X 10.11.5 (15F34)
Report Version: 11
Anonymous UUID: E5FA41FE-C80A-C3E3-B939-C783C3F04730

Sleep/Wake UUID: 99333B14-AB54-4CF9-9057-9FB33306FF10

Time Awake Since Boot: 50000 seconds
Time Since Wake: 9600 seconds

System Integrity Protection: enabled

Crashed Thread: 12 http connection

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007fa042c47570
Exception Note: EXC_CORPSE_NOTIFY

VM Regions Near 0x7fa042c47570:
MALLOC_TINY 00007fa022900000-00007fa022a00000 [ 1024K] rw-/rwx SM=COW
–>
STACK GUARD 00007fff4d728000-00007fff50f28000 [ 56.0M] —/rwx SM=NUL stack guard for thread 0

Application Specific Information:
objc_msgSend() selector name: retain
Performing @selector(terminate:) from sender NSMenuItem 0x7fa0228505c0

Global Trace Buffer (reverse chronological seconds):
2.165210 CFNetwork 0x00007fff91c5b3cb TCP Conn 0x7fa02292beb0 SSL Handshake DONE
2.688080 CFNetwork 0x00007fff91c5b2a7 TCP Conn 0x7fa02292beb0 starting SSL negotiation
2.688346 CFNetwork 0x00007fff91c59c71 TCP Conn 0x7fa02292beb0 complete. fd: 11, err: 0
2.688467 CFNetwork 0x00007fff91ce854b TCP Conn 0x7fa02292beb0 event 1. err: 0
3.025392 CFNetwork 0x00007fff91c58f43 TCP Conn 0x7fa02292beb0 started
3.064421 CFNetwork 0x00007fff91c1cbc6 Creating default cookie storage with process/bundle identifier
3.064421 CFNetwork 0x00007fff91c1cb5e Faulting in CFHTTPCookieStorage singleton
3.064421 CFNetwork 0x00007fff91c1c9ed Faulting in NSHTTPCookieStorage singleton

Thread 0:: Juce Message Thread Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff842b710a __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff931f7d17 nanosleep + 199
2 JUCECompileEngine.dylib 0x0000000112ec0e94 0x112e54000 + 446100
3 JUCECompileEngine.dylib 0x0000000112e6bde7 0x112e54000 + 97767
4 JUCECompileEngine.dylib 0x0000000112e6bc39 0x112e54000 + 97337
5 libsystem_c.dylib 0x00007fff931d746b __cxa_finalize_ranges + 345
6 libsystem_c.dylib 0x00007fff931d776f exit + 55
7 com.apple.AppKit 0x00007fff85386afd -[NSApplication terminate:] + 1930
8 libsystem_trace.dylib 0x00007fff86ee907a _os_activity_initiate + 75
9 com.apple.AppKit 0x00007fff853d9dbd -[NSApplication sendAction:to:from:] + 460
10 com.apple.AppKit 0x00007fff853d9b57 -[NSMenuItem _corePerformAction] + 336
11 com.apple.AppKit 0x00007fff853d98b7 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 114
12 libsystem_trace.dylib 0x00007fff86ee907a _os_activity_initiate + 75
13 com.apple.AppKit 0x00007fff853d87a5 -[NSMenu performKeyEquivalent:] + 357
14 com.apple.AppKit 0x00007fff853d7949 -[NSApplication _handleKeyEquivalent:] + 920
15 com.apple.AppKit 0x00007fff852fe0fe -[NSApplication sendEvent:] + 4274
16 com.apple.AppKit 0x00007fff85164df2 -[NSApplication run] + 796
17 com.juce.theprojucer 0x000000010e8bf453 juce::MessageManager::runDispatchLoop() + 147 (juce_mac_MessageManager.mm:251)
18 com.juce.theprojucer 0x000000010e8bf345 juce::JUCEApplicationBase::main() + 389 (juce_ApplicationBase.cpp:240)
19 com.juce.theprojucer 0x000000010e8bf15c juce::JUCEApplicationBase::main(int, char const**) + 60 (juce_ApplicationBase.cpp:220)
20 com.juce.theprojucer 0x000000010e51cdf3 main + 51 (jucer_Main.cpp:67)
21 libdyld.dylib 0x00007fff880b65ad start + 1

Thread 1:
0 libsystem_kernel.dylib 0x00007fff842b75e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff94adc578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff94ada341 start_wqthread + 13

Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff842b7efa kevent_qos + 10
1 libdispatch.dylib 0x00007fff8ba1e165 _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff8ba1ddcd _dispatch_mgr_thread + 52

Thread 3:
0 libsystem_kernel.dylib 0x00007fff842b75e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff94adc578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff94ada341 start_wqthread + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff842b75e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff94adc578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff94ada341 start_wqthread + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff842b75e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff94adc578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff94ada341 start_wqthread + 13

Thread 6:: Dispatch queue: com.apple.NSURLSession-work
0 libobjc.A.dylib 0x00007fff9569f5e3 realizeClass(objc_class*) + 3868
1 libobjc.A.dylib 0x00007fff9569e7f6 realizeClass(objc_class*) + 303
2 libobjc.A.dylib 0x00007fff9569e7df realizeClass(objc_class*) + 280
3 libobjc.A.dylib 0x00007fff956a25d9 look_up_class + 99
4 com.apple.CFNetwork 0x00007fff91c4c301 NSURLSessionTask::createWithCFURLRequestAndSession(_CFURLRequest const*, NSURLSession const*) + 29
5 com.apple.CFNetwork 0x00007fff91d2fb94 ___ZN19URLConnectionClient32_internalEvent_WillCacheResponseEv_block_invoke + 353
6 com.apple.CFNetwork 0x00007fff91c49372 URLConnectionClient::_internalEvent_WillCacheResponse() + 966
7 com.apple.CFNetwork 0x00007fff91c48efd URLConnectionClient::_loaderClientEvent_DidFinishLoading() + 1249
8 com.apple.CFNetwork 0x00007fff91c47a5d ___ZN20ClassicURLConnection21withLoaderClientAsyncEU13block_pointerFvP21LoaderClientInterfaceE_block_invoke + 21
9 com.apple.CFNetwork 0x00007fff91c31ce5 ___ZNK25URLConnectionInstanceData18withWorkQueueAsyncEU13block_pointerFvvE_block_invoke + 16
10 libdispatch.dylib 0x00007fff8ba2393d _dispatch_call_block_and_release + 12
11 libdispatch.dylib 0x00007fff8ba1840b _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff8ba1d03b _dispatch_queue_drain + 754
13 libdispatch.dylib 0x00007fff8ba23707 _dispatch_queue_invoke + 549
14 libdispatch.dylib 0x00007fff8ba1bd53 _dispatch_root_queue_drain + 538
15 libdispatch.dylib 0x00007fff8ba1bb00 _dispatch_worker_thread3 + 91
16 libsystem_pthread.dylib 0x00007fff94adc4de _pthread_wqthread + 1129
17 libsystem_pthread.dylib 0x00007fff94ada341 start_wqthread + 13

Thread 7:
0 libsystem_kernel.dylib 0x00007fff842b75e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff94adc578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff94ada341 start_wqthread + 13

Thread 8:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff842b0f72 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff842b03b3 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a0dd1c4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a0dc68c __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff8a0dbed8 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff852c6d95 _NSEventThread + 149
6 libsystem_pthread.dylib 0x00007fff94adc99d _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff94adc91a _pthread_start + 168
8 libsystem_pthread.dylib 0x00007fff94ada351 thread_start + 13

Thread 9:: Licence Thread
0 libsystem_kernel.dylib 0x00007fff842b710a __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff931f7d17 nanosleep + 199
2 JUCECompileEngine.dylib 0x0000000112eec4ed 0x112e54000 + 623853
3 JUCECompileEngine.dylib 0x0000000112eebfe9 0x112e54000 + 622569
4 JUCECompileEngine.dylib 0x0000000112eeb976 0x112e54000 + 620918
5 JUCECompileEngine.dylib 0x0000000112ed7d88 0x112e54000 + 540040
6 JUCECompileEngine.dylib 0x0000000112e6ac92 0x112e54000 + 93330
7 JUCECompileEngine.dylib 0x0000000112e69fd9 0x112e54000 + 90073
8 JUCECompileEngine.dylib 0x0000000112e69d03 0x112e54000 + 89347
9 JUCECompileEngine.dylib 0x0000000112ec0660 0x112e54000 + 444000
10 JUCECompileEngine.dylib 0x0000000112ed45da 0x112e54000 + 525786
11 libsystem_pthread.dylib 0x00007fff94adc99d _pthread_body + 131
12 libsystem_pthread.dylib 0x00007fff94adc91a _pthread_start + 168
13 libsystem_pthread.dylib 0x00007fff94ada351 thread_start + 13

Thread 10:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff842b0f72 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff842b03b3 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a0dd1c4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a0dc68c __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff8a0dbed8 CFRunLoopRunSpecific + 296
5 com.apple.CFNetwork 0x00007fff91c20095 +[NSURLConnection(Loader) _resourceLoadLoop:] + 412
6 com.apple.Foundation 0x00007fff94d65e64 NSThread__start + 1351
7 libsystem_pthread.dylib 0x00007fff94adc99d _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff94adc91a _pthread_start + 168
9 libsystem_pthread.dylib 0x00007fff94ada351 thread_start + 13

Thread 11:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff842b707a __select + 10
1 com.apple.CoreFoundation 0x00007fff8a11a4fa __CFSocketManager + 762
2 libsystem_pthread.dylib 0x00007fff94adc99d _pthread_body + 131
3 libsystem_pthread.dylib 0x00007fff94adc91a _pthread_start + 168
4 libsystem_pthread.dylib 0x00007fff94ada351 thread_start + 13

Thread 12 Crashed:: http connection
0 libobjc.A.dylib 0x00007fff9569a4e9 objc_msgSend + 41
1 com.apple.CFNetwork 0x00007fff91c458e7 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 48
2 com.apple.CFNetwork 0x00007fff91c4971d _NSURLConnectionDidReceiveResponse(_CFURLConnection*, _CFURLResponse*, void const*) + 82
3 com.apple.CFNetwork 0x00007fff91c49635 ___ZN27URLConnectionClient_Classic28_delegate_didReceiveResponseEP14_CFURLResponse_block_invoke + 114
4 com.apple.CFNetwork 0x00007fff91ddf4bd ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 100
5 libdispatch.dylib 0x00007fff8ba1840b _dispatch_client_callout + 8
6 libdispatch.dylib 0x00007fff8ba26039 _dispatch_block_invoke + 474
7 com.apple.CFNetwork 0x00007fff91c457a4 RunloopBlockContext::_invoke_block(void const*, void*) + 24
8 com.apple.CoreFoundation 0x00007fff8a09fd74 CFArrayApplyFunction + 68
9 com.apple.CFNetwork 0x00007fff91c4569d RunloopBlockContext::perform() + 137
10 com.apple.CFNetwork 0x00007fff91c4553e MultiplexerSource::perform() + 282
11 com.apple.CFNetwork 0x00007fff91c45360 MultiplexerSource::_perform(void*) + 72
12 com.apple.CoreFoundation 0x00007fff8a0fd881 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
13 com.apple.CoreFoundation 0x00007fff8a0dcfbc __CFRunLoopDoSources0 + 556
14 com.apple.CoreFoundation 0x00007fff8a0dc4df __CFRunLoopRun + 927
15 com.apple.CoreFoundation 0x00007fff8a0dbed8 CFRunLoopRunSpecific + 296
16 com.apple.Foundation 0x00007fff94d54ed9 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 270
17 com.apple.Foundation 0x00007fff94de8fc3 -[NSRunLoop(NSRunLoop) runUntilDate:] + 108
18 JUCECompileEngine.dylib 0x0000000112eec891 0x112e54000 + 624785
19 JUCECompileEngine.dylib 0x0000000112ec0660 0x112e54000 + 444000
20 JUCECompileEngine.dylib 0x0000000112ed45da 0x112e54000 + 525786
21 libsystem_pthread.dylib 0x00007fff94adc99d _pthread_body + 131
22 libsystem_pthread.dylib 0x00007fff94adc91a _pthread_start + 168
23 libsystem_pthread.dylib 0x00007fff94ada351 thread_start + 13

Thread 12 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000030 rbx: 0x00007fa0228852b0 rcx: 0x0100000000000000 rdx: 0x021dffff7593dae9
rdi: 0x00007fa02287a8b0 rsi: 0x00007fff8a4b3a4d rbp: 0x00007000005b0b50 rsp: 0x00007000005b0ac8
r8: 0x0000000080000000 r9: 0x00000000000003f0 r10: 0x00007fa042c47570 r11: 0x00007fa020571230
r12: 0x0000000000000001 r13: 0x00007fff9569a4c0 r14: 0x00007fa021137090 r15: 0x00007000005b0b98
rip: 0x00007fff9569a4e9 rfl: 0x0000000000010202 cr2: 0x00007fa042c47570

Logical CPU: 2
Error Code: 0x00000004
Trap Number: 14


#2

Thanks for the heads-up! We’ll get that sorted out ASAP


#3

OK this should be fixed now. Please download the latest juce from https://www.juce.com/get-juce
Note that it takes a few minutes until the roli servers sync-up so you may want to wait until this post is 10 minutes old.