Hi there,
I tried to build new AU demo v1.3 with Juce v1.20.
I could build it successfully, then tried to use with AULab, it crashed when I chose it as insert fx.
My environment is the latest PBG4 15inch, Mac OS X 10.4.3. I tried to build with both Mac OS X 10.4 sdk and 10.3.9 sdk.
Here is a part of crash log.
[code]Date/Time: 2005-11-24 01:30:11.686 +0900
OS Version: 10.4.3 (Build 8F46)
Report Version: 3
Command: AU Lab
Path: /Developer/Applications/Audio/AU Lab.app/Contents/MacOS/AU Lab
Parent: WindowServer [62]
Version: 1.0.2 (1.0.2)
Build Version: 37
Project Name: PlayPen
Source Version: 240000
PID: 8410
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 com.apple.audio.aulab 0x000a1208 0x1000 + 655880
1 com.apple.audio.aulab 0x0008bc04 0x1000 + 568324
2 com.apple.audio.aulab 0x000cb468 0x1000 + 828520
3 com.apple.Foundation 0x928d6f00 __NSFireMainThreadPerform + 276
4 com.apple.CoreFoundation 0x9078ef20 __CFRunLoopPerformPerform + 104
5 com.apple.CoreFoundation 0x9075ea5c __CFRunLoopDoSources0 + 384
6 com.apple.CoreFoundation 0x9075df8c __CFRunLoopRun + 452
7 com.apple.CoreFoundation 0x9075da0c CFRunLoopRunSpecific + 268
8 com.apple.HIToolbox 0x931711e0 RunCurrentEventLoopInMode + 264
9 com.apple.HIToolbox 0x931707ec ReceiveNextEventCommon + 244
10 com.apple.HIToolbox 0x931706e0 BlockUntilNextEventMatchingListInMode + 96
11 com.apple.AppKit 0x9366f904 _DPSNextEvent + 384
12 com.apple.AppKit 0x9366f5c8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
13 com.apple.AppKit 0x9366bb0c -[NSApplication run] + 472
14 com.apple.AppKit 0x9375c618 NSApplicationMain + 452
15 com.apple.audio.aulab 0x00002ce0 0x1000 + 7392
16 com.apple.audio.aulab 0x00002b88 0x1000 + 7048
Thread 1:
0 libSystem.B.dylib 0x9002b8a8 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x9003001c pthread_cond_wait + 488
2 com.apple.Foundation 0x928d0840 -[NSConditionLock lockWhenCondition:] + 68
3 com.apple.AppKit 0x9370c4dc -[NSUIHeartBeat _heartBeatThread:] + 324
4 com.apple.Foundation 0x928c96d4 forkThreadForFunction + 108
5 libSystem.B.dylib 0x9002b200 _pthread_body + 96
Thread 2:
0 libSystem.B.dylib 0x9000b208 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b15c mach_msg + 60
2 com.apple.CoreFoundation 0x9075e108 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x9075da0c CFRunLoopRunSpecific + 268
4 com.apple.audio.CoreAudio 0x914021dc HALRunLoop::OwnThread(void*) + 264
5 com.apple.audio.CoreAudio 0x91401f7c CAPThread::Entry(CAPThread*) + 96
6 libSystem.B.dylib 0x9002b200 _pthread_body + 96
Thread 3:
0 libSystem.B.dylib 0x90040258 mach_wait_until + 8
1 libSystem.B.dylib 0x90040020 nanosleep + 384
2 …materialsoftware.JuceAUDemo 0x0693ce08 juce::Thread::sleep(int) + 136 (juce_mac_Threads.cpp:216)
3 …materialsoftware.JuceAUDemo 0x06a7e16c juce::InternalTimerThread::run() + 120 (juce_Timer.cpp:169)
4 …materialsoftware.JuceAUDemo 0x069cb860 juce::Thread::threadEntryPoint(juce::Thread*) + 168 (juce_Thread.cpp:67)
5 …materialsoftware.JuceAUDemo 0x069cb904 juce::juce_threadEntryPoint(void*) + 36 (juce_Thread.cpp:86)
6 …materialsoftware.JuceAUDemo 0x0693cb44 juce::threadEntryProc(void*) + 32 (juce_mac_Threads.cpp:160)
7 libSystem.B.dylib 0x9002b200 _pthread_body + 96
Thread 0 crashed with PPC Thread State 64:
srr0: 0x00000000000a1208 srr1: 0x000000000200f030 vrsave: 0x0000000000000000
cr: 0x42004422 xer: 0x0000000000000004 lr: 0x00000000000a1200 ctr: 0x0000000006a75748
r0: 0x00000000000a1200 r1: 0x00000000bfffe480 r2: 0x00000000bfffe4bc r3: 0x0000000000000000
r4: 0x000000000000001f r5: 0x0000000000000000 r6: 0x0000000000000000 r7: 0x00000000bfffe250
r8: 0x00000000bfffe254 r9: 0x00000000ffffff03 r10: 0x0000000001857660 r11: 0x0000000000000082
r12: 0x0000000006a75748 r13: 0x0000000000000000 r14: 0x0000000000000001 r15: 0x0000000000000000
r16: 0x0000000000000001 r17: 0x00000000bffff310 r18: 0x0000000000000000 r19: 0x000000000621dfe0
r20: 0x0000000000000000 r21: 0x00000000bfffe4bc r22: 0x0000000000000001 r23: 0x000000000040c650
r24: 0x000000002ffff8b3 r25: 0x00000000062dc090 r26: 0x00000000062dbe9c r27: 0x0000000000000000
r28: 0x00000000062dbe9c r29: 0x0000000000000000 r30: 0x0000000000000000 r31: 0x00000000062dc090[/code]
Also I checked it with auval, it also crashed. So I couldn’t test it with Logic Pro 7.
Anyone else has the same problem?
P.S.
“Info-JuceAU.plist” is included in Resources folder, I think it would be better to uncheck the checkbox in the project.
Best regards,
Masanao Hayashi
Korg Inc.