Introjucer crash when opening Global Preferences


#1

The Introjucer crashes for me when I go to Tools -> Global Preferences. I’m using OS X 10.10.5 and the latest JUCE from Github (commit edefc23). This is (part of) the crash report:

Crashed Thread:        0  Juce Message Thread  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000002, 0x0000000000000000

Application Specific Information:
*** CFRelease() called with NULL ***

Thread 0 Crashed:: Juce Message Thread  Dispatch queue: com.apple.main-thread
0   com.apple.CoreFoundation        0x00007fff8cf95010 CFRelease + 912
1   com.roli.introjucer             0x0000000100231562 0x100000000 + 2299234
2   com.roli.introjucer             0x0000000100018f97 0x100000000 + 102295
3   com.roli.introjucer             0x0000000100018604 0x100000000 + 99844
4   com.roli.introjucer             0x0000000100018753 0x100000000 + 100179
5   com.roli.introjucer             0x00000001000184de 0x100000000 + 99550
6   com.roli.introjucer             0x000000010001ea57 0x100000000 + 125527
7   com.roli.introjucer             0x0000000100335b4b 0x100000000 + 3365707
8   com.roli.introjucer             0x00000001001ed823 0x100000000 + 2021411
9   com.roli.introjucer             0x00000001001ed79c 0x100000000 + 2021276
10  com.apple.CoreFoundation        0x00007fff8cffca01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
11  com.apple.CoreFoundation        0x00007fff8cfeeb8d __CFRunLoopDoSources0 + 269
12  com.apple.CoreFoundation        0x00007fff8cfee1bf __CFRunLoopRun + 927
13  com.apple.CoreFoundation        0x00007fff8cfedbd8 CFRunLoopRunSpecific + 296
14  com.apple.HIToolbox             0x00007fff8d9ab56f RunCurrentEventLoopInMode + 235
15  com.apple.HIToolbox             0x00007fff8d9ab1ee ReceiveNextEventCommon + 179
16  com.apple.HIToolbox             0x00007fff8d9ab12b _BlockUntilNextEventMatchingListInModeWithFilter + 71
17  com.apple.AppKit                0x00007fff911438ab _DPSNextEvent + 978
18  com.apple.AppKit                0x00007fff91142e58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
19  com.apple.AppKit                0x00007fff91138af3 -[NSApplication run] + 594
20  com.roli.introjucer             0x00000001001ea284 0x100000000 + 2007684
21  com.roli.introjucer             0x00000001001ea12e 0x100000000 + 2007342
22  com.roli.introjucer             0x0000000100001724 0x100000000 + 5924

#2

We use it all the time and no such problems here..

Why not try running it in debug mode so you get a more helpful stack trace?


#3

If I build it in debug mode, it's working fine.


#4

Oh, that's annoying.. Can't seem to reproduce it here, unfortunately.


#5

Oh ok…well for me personally it's not a big problem, I'll just use the debug build.


#6

Isn't it possible to generate debug symbols for a release build on Mac OS? You should get a usable stack trace then. That's at least how it works on Windows.