AU Lab crash when creating AUSampler

Originator:invalidname
Number:rdar://10035178 Date Originated:8/27/11
Status:open Resolved:
Product:Mac OS X SDK Product Version:2.0.0
Classification:crash Reproducible:always
 
Summary:
Trying to create an AUSampler in AU Lab crashes

Steps to Reproduce:
1. Launch AU Lab 2.0.0 on Lion 10.7.1
2. New document (cmd-N). In assistant, one stereo output track, zero input tracks.
3. Add Audio Unit Instrument. In sheet, set MIDI Input Source to "Any MIDI Controller", and Instrument to "AUSampler". Click OK.

Expected Results:
Instrument is added to the window

Actual Results:
Crash:
Process:         AU Lab [564]
Path:            /Applications/Audio/AU Lab.app/Contents/MacOS/AU Lab
Identifier:      com.apple.audio.aulab
Version:         2.0.0 (2.0.0)
Build Info:      PlayPen-710000~104
Code Type:       X86 (Native)
Parent Process:  launchd [217]

Date/Time:       2011-08-27 15:14:28.858 -0400
OS Version:      Mac OS X 10.7.1 (11B26)
Report Version:  9

Interval Since Last Report:          219009 sec
Crashes Since Last Report:           8
Per-App Interval Since Last Report:  1028 sec
Per-App Crashes Since Last Report:   4
Anonymous UUID:                      2BF9E1FF-EAB1-4443-92AD-C7A1E937DA0D

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

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
objc[564]: garbage collection is OFF
Performing @selector(performOK:) from sender NSButton 0x1eb27e0
terminate called throwing an exception
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x91d069c6 __pthread_kill + 10
1   libsystem_c.dylib             	0x97211f78 pthread_kill + 106
2   libsystem_c.dylib             	0x97202bdd abort + 167
3   libc++abi.dylib               	0x9b264921 abort_message + 94
4   libc++abi.dylib               	0x9b2621bc default_terminate() + 36
5   libc++abi.dylib               	0x9b2621fe safe_handler_caller(void (*)()) + 15
6   libc++abi.dylib               	0x9b262268 std::terminate() + 23
7   libc++abi.dylib               	0x9b2632a0 __cxa_throw + 112
8   com.apple.audio.aulab         	0x00037d82 0x1000 + 224642
9   com.apple.audio.aulab         	0x00009f9a 0x1000 + 36762
10  com.apple.audio.aulab         	0x00017b53 0x1000 + 93011
11  com.apple.audio.aulab         	0x00021257 0x1000 + 131671
12  com.apple.audio.aulab         	0x00021c91 0x1000 + 134289
13  com.apple.audio.aulab         	0x00021d2a 0x1000 + 134442
14  com.apple.audio.aulab         	0x00074946 0x1000 + 473414
15  com.apple.audio.aulab         	0x0004ee09 0x1000 + 318985
16  com.apple.AppKit              	0x948f5c8b -[NSApplication endSheet:returnCode:] + 337
17  com.apple.audio.aulab         	0x0006e408 0x1000 + 447496
18  com.apple.CoreFoundation      	0x91a96901 -[NSObject performSelector:withObject:] + 65
19  com.apple.AppKit              	0x94732937 -[NSApplication sendAction:to:from:] + 232
20  com.apple.AppKit              	0x94732814 -[NSControl sendAction:to:] + 102
21  com.apple.AppKit              	0x94732717 -[NSCell _sendActionFrom:] + 160
22  com.apple.AppKit              	0x94731ad2 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2295
23  com.apple.AppKit              	0x947b4b59 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 501
24  com.apple.AppKit              	0x94730513 -[NSControl mouseDown:] + 943
25  com.apple.AppKit              	0x946f980a -[NSWindow sendEvent:] + 7514
26  com.apple.AppKit              	0x94691b23 -[NSApplication sendEvent:] + 4936
27  com.apple.AppKit              	0x9462352b -[NSApplication run] + 1000
28  com.apple.AppKit              	0x948b6b54 NSApplicationMain + 1054
29  com.apple.audio.aulab         	0x0000246b 0x1000 + 5227
30  com.apple.audio.aulab         	0x00002399 0x1000 + 5017

(full log as attachment)

Regression:

Notes:
In some cases, trying to run AU Lab again brings up the error dialog "AULab failed to initialize the audio engine.  Error Code: 1718449215".

Comments

Oh, wait, there's a newer version… this was with 2.0.0, which was somehow installed to /Applications/Audio. Have also found version 2.2.1 in Xcode 4.1 folder (/Developer/Applications/Audio), as well as 2.2.1 in Xcode 4.2 folder. 2.2.1 does not crash. So… never mind? This issue has been verified as resolved and can be closed.

By invalidname at Aug. 27, 2011, 8:08 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!