#2 VBAP UGen crashes SC.app with uninitialized buffer

open
nobody
None
5
2012-03-09
2012-03-09
ZLB
No

When using VBAP.ar with an uninitialized buffer in the internal server of SC on the mac app, the whole app crashes.

Running

x = { |azi = 0, ele = 0, spr = 0|
VBAP.ar(8, PinkNoise.ar(0.2), 0, azi, ele, spr);
}.scope;

causes SC.app to crash:

Thread 17 Crashed:: com.apple.audio.IOThread.client
0 VBAP.scx 0x000000010a37f8f7 _ZL9VBAP_CtorP4VBAP + 247
1 net.sourceforge.supercollider 0x0000000100d0608a Graph_FirstCalc(Graph*) + 42
2 net.sourceforge.supercollider 0x0000000100d0a557 Group_Calc + 23
3 net.sourceforge.supercollider 0x0000000100d0a557 Group_Calc + 23
4 net.sourceforge.supercollider 0x0000000100d05221 SC_CoreAudioDriver::Run(AudioBufferList const*, AudioBufferList*, long long) + 2139
5 net.sourceforge.supercollider 0x0000000100d022ba appIOProc(unsigned int, AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*, AudioTimeStamp const*, void*) + 362
6 com.apple.audio.CoreAudio 0x00007fff890749fa HALC_ProxyIOContext::IOWorkLoop() + 2058
7 com.apple.audio.CoreAudio 0x00007fff89074151 HALC_ProxyIOContext::IOThreadEntry(void*) + 73
8 com.apple.audio.CoreAudio 0x00007fff8907400c HALB_IOThread::Entry(void*) + 78
9 libsystem_c.dylib 0x00007fff91bb68bf _pthread_start + 335
10 libsystem_c.dylib 0x00007fff91bb9b75 thread_start + 13

Discussion