Projucer juce6 crashes in fresh install

Hi, just a heads up:

When I used Projucer from juce6 branch on a fresh installed OSX Mojave, I can run

Projucer --resave FoleysSynth.jucer

It only ignores the line endings of the .jucer file.

But when I do

open FoleysSynth.jucer

the program crashes (SIGSEGV).

Could be triggered, because I am not logged in.
Running the Projucer in debug build from Xcode works normal, and I can load the project from there.

Crash log

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

Date/Time: 2020-04-29 23:11:05.950 +0100
OS Version: Mac OS X 10.14.6 (18G4032)
Report Version: 12
Anonymous UUID: 9906B30C-A44D-491B-34AE-914006328D48

Sleep/Wake UUID: E0500D3E-A217-4CCA-A42B-C5F9959426BA

Time Awake Since Boot: 22000 seconds
Time Since Wake: 6900 seconds

System Integrity Protection: enabled

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

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

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [1847]

VM Regions Near 0x208:
–>
__TEXT 0000000101909000-0000000101edd000 [ 5968K] r-x/r-x SM=COW /Users/USER/*/Projucer.app/Contents/MacOS/Projucer

Thread 0 Crashed:: JUCE Message Thread Dispatch queue: com.apple.main-thread
0 com.juce.theprojucer 0x0000000101c5b6f0 juce::Path::Path(juce::Path const&) + 32
1 com.juce.theprojucer 0x000000010198b437 UserAvatarComponent::createDefaultAvatarImage() + 151
2 com.juce.theprojucer 0x000000010198b2c2 UserAvatarComponent::UserAvatarComponent(bool, bool) + 162
3 com.juce.theprojucer 0x0000000101aac901 HeaderComponent::HeaderComponent(ProjectContentComponent*) + 545
4 com.juce.theprojucer 0x00000001019242d0 ProjectContentComponent::ProjectContentComponent() + 272
5 com.juce.theprojucer 0x00000001019867bb MainWindow::createProjectContentCompIfNeeded() + 91
6 com.juce.theprojucer 0x0000000101986545 MainWindow::MainWindow() + 325
7 com.juce.theprojucer 0x000000010198987b MainWindowList::getFrontmostWindow(bool) + 219
8 com.juce.theprojucer 0x0000000101987800 MainWindowList::openFile(juce::File const&, bool) + 160
9 com.juce.theprojucer 0x000000010192d618 ProjucerApplication::anotherInstanceStarted(juce::String const&) + 120
10 com.juce.theprojucer 0x0000000101c540b8 juce::AppDelegate::AppDelegateClass::application_openFiles(objc_object*, objc_selector*, NSApplication*, NSArray*) + 392
11 com.apple.AppKit 0x00007fff4ba3a384 withWindowOrderingObserverHeuristic + 455
12 com.apple.AppKit 0x00007fff4ba3a050 -[NSApplication(NSAppleEventHandling) _openURLs:withCompletionHandler:] + 998
13 com.apple.AppKit 0x00007fff4b8a1d3e __69-[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:]_block_invoke + 886
14 com.apple.AppKit 0x00007fff4b56fa5a __90-[NSDocumentController(NSInternal) _autoreopenDocumentsFromRecords:withCompletionHandler:]_block_invoke + 66
15 com.apple.AppKit 0x00007fff4b56f98f -[NSDocumentController(NSInternal) _autoreopenDocumentsFromRecords:withCompletionHandler:] + 342
16 com.apple.AppKit 0x00007fff4b56f811 __97-[NSDocumentController(NSInternal) _autoreopenDocumentsIgnoringExpendable:withCompletionHandler:]_block_invoke_3 + 95
17 com.apple.AppKit 0x00007fff4b56f3f6 -[NSDocumentController(NSInternal) _autoreopenDocumentsIgnoringExpendable:withCompletionHandler:] + 722
18 com.apple.AppKit 0x00007fff4b56ec49 -[NSApplication _reopenWindowsAsNecessaryIncludingRestorableState:completionHandler:] + 249
19 com.apple.AppKit 0x00007fff4b8a193d -[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] + 228
20 com.apple.AppKit 0x00007fff4b56e6e7 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 764
21 com.apple.Foundation 0x00007fff502196d0 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 286
22 com.apple.Foundation 0x00007fff5021954d _NSAppleEventManagerGenericHandler + 102
23 com.apple.AE 0x00007fff4f19b397 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 1815
24 com.apple.AE 0x00007fff4f19ac29 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 41
25 com.apple.AE 0x00007fff4f19ab01 aeProcessAppleEvent + 414
26 com.apple.HIToolbox 0x00007fff4d1dc8b7 AEProcessAppleEvent + 54
27 com.apple.AppKit 0x00007fff4b56aa9d _DPSNextEvent + 1935
28 com.apple.AppKit 0x00007fff4b56946b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
29 com.apple.AppKit 0x00007fff4b563588 -[NSApplication run] + 699
30 com.juce.theprojucer 0x0000000101c4d4d6 juce::JUCEApplicationBase::main() + 214
31 com.juce.theprojucer 0x0000000101c4d3e3 juce::JUCEApplicationBase::main(int, char const**) + 83
32 libdyld.dylib 0x00007fff79efe3d5 start + 1

EDIT: Once I am logged in it doesn’t crash any more

1 Like

Thanks! This should now be fixed on the juce6 branch:

1 Like

Great, thank you!