<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 2: VBAP UGen crashes SC.app with uninitialized buffer</title><link href="https://sourceforge.net/p/sc3-plugins/bugs/2/" rel="alternate"/><link href="https://sourceforge.net/p/sc3-plugins/bugs/2/feed.atom" rel="self"/><id>https://sourceforge.net/p/sc3-plugins/bugs/2/</id><updated>2012-03-09T17:18:49Z</updated><subtitle>Recent changes to 2: VBAP UGen crashes SC.app with uninitialized buffer</subtitle><entry><title>VBAP UGen crashes SC.app with uninitialized buffer</title><link href="https://sourceforge.net/p/sc3-plugins/bugs/2/" rel="alternate"/><published>2012-03-09T17:18:49Z</published><updated>2012-03-09T17:18:49Z</updated><author><name>ZLB</name><uri>https://sourceforge.net/u/zlb-dev/</uri></author><id>https://sourceforge.net4fa00739699d11375ca3553dba78a3005aee7cef</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When using VBAP.ar with an uninitialized buffer in the internal server of SC on the mac app, the whole app crashes.&lt;/p&gt;
&lt;p&gt;Running&lt;/p&gt;
&lt;p&gt;x = { |azi = 0, ele = 0, spr = 0|&lt;br /&gt;
VBAP.ar(8, PinkNoise.ar(0.2), 0, azi, ele, spr);&lt;br /&gt;
}.scope;&lt;/p&gt;
&lt;p&gt;causes SC.app to crash:&lt;/p&gt;
&lt;p&gt;Thread 17 Crashed:: com.apple.audio.IOThread.client&lt;br /&gt;
0   VBAP.scx                        0x000000010a37f8f7 _ZL9VBAP_CtorP4VBAP + 247&lt;br /&gt;
1   net.sourceforge.supercollider   0x0000000100d0608a Graph_FirstCalc(Graph*) + 42&lt;br /&gt;
2   net.sourceforge.supercollider   0x0000000100d0a557 Group_Calc + 23&lt;br /&gt;
3   net.sourceforge.supercollider   0x0000000100d0a557 Group_Calc + 23&lt;br /&gt;
4   net.sourceforge.supercollider   0x0000000100d05221 SC_CoreAudioDriver::Run(AudioBufferList const*, AudioBufferList*, long long) + 2139&lt;br /&gt;
5   net.sourceforge.supercollider   0x0000000100d022ba appIOProc(unsigned int, AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*, AudioTimeStamp const*, void*) + 362&lt;br /&gt;
6   com.apple.audio.CoreAudio       0x00007fff890749fa HALC_ProxyIOContext::IOWorkLoop() + 2058&lt;br /&gt;
7   com.apple.audio.CoreAudio       0x00007fff89074151 HALC_ProxyIOContext::IOThreadEntry(void*) + 73&lt;br /&gt;
8   com.apple.audio.CoreAudio       0x00007fff8907400c HALB_IOThread::Entry(void*) + 78&lt;br /&gt;
9   libsystem_c.dylib              0x00007fff91bb68bf _pthread_start + 335&lt;br /&gt;
10  libsystem_c.dylib              0x00007fff91bb9b75 thread_start + 13&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>