logo       

n_free crash: msg#00156

audio.supercollider.devel

Subject: n_free crash

If you do this, with 1001 being a non-existent node;
s.sendMsg("/n_free", 1001);

the server responds with;
FAILURE /n_free Node not found

But if you do;
s.sendMsg("/n_free", a);

when;
a == nil
true

The localhost server quits with;
RESULT = 10

And the internal server crashes the app like so;
**********

Host Name: renderbandit.local
Date/Time: 2004-08-18 16:56:32 -0700
OS Version: 10.3.5 (Build 7M34)
Report Version: 2

Command: SuperCollider
Path: /Users/dave/Documents/SuperCollider3/build/SuperCollider.app/Contents/ MacOS/SuperCollider
Version: SuperCollider version 0.1 (0.0.1d1)
PID: 686
Thread: 10

Exception: EXC_BAD_INSTRUCTION (0x0002)
Code[0]: 0x00000002
Code[1]: 0x00b5ece4


Thread 0:
0 libSystem.B.dylib 0x900074c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007018 mach_msg + 0x38
2 com.apple.CoreFoundation 0x90191790 __CFRunLoopRun + 0x350
3 com.apple.CoreFoundation 0x90195f1c CFRunLoopRunSpecific + 0x148
4 com.apple.HIToolbox 0x927d5f88 RunCurrentEventLoopInMode + 0xac
5 com.apple.HIToolbox 0x927dc6f0 ReceiveNextEventCommon + 0x17c
6 com.apple.HIToolbox 0x927fe6c8 BlockUntilNextEventMatchingListInMode + 0x60
7 com.apple.AppKit 0x92dd227c _DPSNextEvent + 0x180
8 com.apple.AppKit 0x92de8c24 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x74
9 com.apple.AppKit 0x92dfcf8c -[NSApplication run] + 0x21c
10 com.apple.AppKit 0x92eb948c NSApplicationMain + 0x1d0
11 ??? 0x00002eac _start + 0x188 (crt.c:267)
12 dyld 0x8fe1a558 _dyld_start + 0x64

Thread 1:
0 libSystem.B.dylib 0x9000d4ec recvfrom + 0xc
1 ??? 0x00079400 SC_UdpInPort::Run() + 0x5c (SC_ComPort.cpp:296)
2 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 2:
0 libSystem.B.dylib 0x90012588 clock_sleep_trap + 0x8
1 libSystem.B.dylib 0x9000d758 nanosleep + 0x78
2 libSystem.B.dylib 0x9002d38c sleep + 0x4c
3 ??? 0x0006cd80 resyncThread(void*) + 0x3c (PyrSched.cpp:364)
4 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 3:
0 libSystem.B.dylib 0x90016f48 semaphore_wait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait + 0x270
2 ??? 0x0006d810 TempoClock::Run() + 0x70 (PyrSched.cpp:815)
3 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 4:
0 libSystem.B.dylib 0x90016f48 semaphore_wait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait + 0x270
2 ??? 0x0006ce3c schedRunFunc(void*) + 0x88 (PyrSched.cpp:389)
3 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 5:
0 libSystem.B.dylib 0x90016f48 semaphore_wait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait + 0x270
2 DiskIOUGens.scx 0x05c83ba4 SC_SyncCondition::WaitEach() + 0x3c (SC_SyncCondition.cpp:46)
3 DiskIOUGens.scx 0x05c832a0 disk_io_thread_func(void*) + 0x30 (MsgFifo.h:117)
4 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 6:
0 libSystem.B.dylib 0x90012588 clock_sleep_trap + 0x8
1 libSystem.B.dylib 0x9000d758 nanosleep + 0x78
2 libSystem.B.dylib 0x90012288 usleep + 0x48
3 MacUGens.scx 0x05c5cd00 gstate_update_func(void*) + 0x114 (MacUGens.cpp:76)
4 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 7:
0 libSystem.B.dylib 0x90012588 clock_sleep_trap + 0x8
1 libSystem.B.dylib 0x9000d758 nanosleep + 0x78
2 libSystem.B.dylib 0x9002d38c sleep + 0x4c
3 ??? 0x000e0e38 resyncThreadFunc(void*) + 0x14 (SC_CoreAudio.cpp:112)
4 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 8:
0 libSystem.B.dylib 0x90016f48 semaphore_wait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e790 _pthread_cond_wait + 0x270
2 ??? 0x000d344c SC_SyncCondition::WaitNext() + 0x34 (SC_SyncCondition.cpp:76)
3 ??? 0x000e1688 SC_AudioDriver::RunThread() + 0x4c (SC_Lock.h:32)
4 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 9:
0 libSystem.B.dylib 0x900074c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007018 mach_msg + 0x38
2 com.apple.CoreFoundation 0x90191790 __CFRunLoopRun + 0x350
3 com.apple.CoreFoundation 0x90195f1c CFRunLoopRunSpecific + 0x148
4 com.apple.audio.CoreAudio 0x90732f80 HALRunLoop::OwnThread(void*) + 0x104
5 com.apple.audio.CoreAudio 0x907391e0 CAPThread::Entry(CAPThread*) + 0x30
6 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 10 Crashed:
0 <<00000000>> 0x00b5ece4 0 + 0xb5ece4
1 ??? 0x000e26c8 appIOProc(unsigned long, AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*, AudioTimeStamp const*, void*) + 0x1b4 (SC_CoreAudio.cpp:798)
2 com.apple.audio.CoreAudio 0x9072360c IOADevice::CallIOProcs(AudioTimeStamp const&, AudioTimeStamp const&, AudioTimeStamp const&) + 0x318
3 com.apple.audio.CoreAudio 0x90723a60 HPIOThread::PerformIO(AudioTimeStamp const&) + 0x214
4 com.apple.audio.CoreAudio 0x90722c14 HPIOThread::WorkLoop() + 0x44c
5 com.apple.audio.CoreAudio 0x9073919c HPIOThread::ThreadEntry(HPIOThread*) + 0x1c
6 com.apple.audio.CoreAudio 0x907391e0 CAPThread::Entry(CAPThread*) + 0x30
7 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

PPC Thread State:
srr0: 0x00b5ece4 srr1: 0x0008f030 vrsave: 0x00000000
cr: 0x82004024 xer: 0x00000004 lr: 0x000e2aa8 ctr: 0x00b5ece0
r0: 0x00000008 r1: 0xf058a9a0 r2: 0x05c73a00 r3: 0x07089030
r4: 0xffffffff r5: 0x00000100 r6: 0x00000002 r7: 0x00000002
r8: 0x05c73a00 r9: 0x00fff204 r10: 0x00000002 r11: 0x02072428
r12: 0x00b5ece0 r13: 0x00000000 r14: 0x005f1cd4 r15: 0x02072400
r16: 0x00000001 r17: 0x00000008 r18: 0x00000008 r19: 0x00000018
r20: 0xc01038c0 r21: 0x02072420 r22: 0x00007fa3 r23: 0x06b6ca7a
r24: 0x00b92a00 r25: 0x00000000 r26: 0x0657ada6 r27: 0x05dba000
r28: 0x00fff000 r29: 0x00000040 r30: 0x00005498 r31: 0x000e26f8

Binary Images Description:
0x1000 - 0x122fff ??? SuperCollider version 0.1 (0.0.1d1) /Users/dave/Documents/SuperCollider3/build/SuperCollider.app/ Contents/MacOS/SuperCollider
0x7ea000 - 0x835fff libsndfile.1.dylib /usr/local/lib/libsndfile.1.dylib
0x5a5b000 - 0x5a65fff DemandUGens.scx plugins/DemandUGens.scx
0x5a7d000 - 0x5a85fff DynNoiseUGens.scx plugins/DynNoiseUGens.scx
0x5aa6000 - 0x5aaffff Gendy1.scx plugins/Gendy1.scx
0x5aba000 - 0x5ac2fff PhysicalModellingUGens.scx plugins/PhysicalModellingUGens.scx
0x5ad4000 - 0x5aedfff BinaryOpUGens.scx plugins/BinaryOpUGens.scx
0x5b4d000 - 0x5b63fff DelayUGens.scx plugins/DelayUGens.scx
0x5b98000 - 0x5ba6fff FFT2_UGens.scx plugins/FFT2_UGens.scx
0x5bd5000 - 0x5be6fff FFT_UGens.scx plugins/FFT_UGens.scx
0x5c14000 - 0x5c22fff FilterUGens.scx plugins/FilterUGens.scx
0x5c44000 - 0x5c4dfff GendynUGens.scx plugins/GendynUGens.scx
0x5c5c000 - 0x5c64fff MacUGens.scx plugins/MacUGens.scx
0x5c7e000 - 0x5c7efff com.apple.aoa.halplugin 2.2.6 /System/Library/Extensions/IOAudioFamily.kext/Contents/PlugIns/ AOAHALPlugin.bundle/Contents/MacOS/AOAHALPlugin
0x5c82000 - 0x5cc9fff DiskIOUGens.scx plugins/DiskIOUGens.scx
0x5d71000 - 0x5d7bfff IOUGens.scx plugins/IOUGens.scx
0x5dbb000 - 0x5dc8fff LFUGens.scx plugins/LFUGens.scx
0x5de6000 - 0x5deffff MulAddUGens.scx plugins/MulAddUGens.scx
0x5e03000 - 0x5e0dfff NoiseUGens.scx plugins/NoiseUGens.scx
0x5e26000 - 0x5e30fff PanUGens.scx plugins/PanUGens.scx
0x5e67000 - 0x5e78fff OSCUGens.scx plugins/OSCUGens.scx
0x5ea8000 - 0x5eb3fff TriggerUGens.scx plugins/TriggerUGens.scx
0x5ef6000 - 0x5f02fff UnaryOpUGens.scx plugins/UnaryOpUGens.scx
0x5f9d000 - 0x5ff3fff StkBandedWG.scx plugins/StkBandedWG.scx
0x6092000 - 0x60e5fff StkShakers.scx plugins/StkShakers.scx
0x61a4000 - 0x61fcfff StkMandolin.scx plugins/StkMandolin.scx
0x62b6000 - 0x630dfff StkModal.scx plugins/StkModal.scx
0x63c0000 - 0x6417fff StkSaxofony.scx plugins/StkSaxofony.scx
0x64d1000 - 0x650dfff com.apple.iSightAudio 6.5.1 /Library/Audio/Plug-Ins/HAL/iSightAudio.plugin/Contents/MacOS/ iSightAudio
0x65fd000 - 0x6657fff StkVoicForm.scx plugins/StkVoicForm.scx
0x81eb0000 - 0x81eeefff com.apple.audio.midi.CoreMIDI 1.4 (29) /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld
0x90000000 - 0x90122fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90190000 - 0x9023dfff com.apple.CoreFoundation 6.3.4 (299.31) /System/Library/Frameworks/CoreFoundation.framework/Versions/ A/CoreFoundation
0x90280000 - 0x904f9fff com.apple.CoreServices.CarbonCore 10.3.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90570000 - 0x905dffff com.apple.framework.IOKit 1.3.5 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90610000 - 0x9069afff com.apple.CoreServices.OSServices 3.0.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/OSServices.framework/Versions/A/OSServices
0x90700000 - 0x90700fff com.apple.CoreServices 10.3 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/ CoreServices
0x90720000 - 0x90787fff com.apple.audio.CoreAudio 2.1.2 /System/Library/Frameworks/CoreAudio.framework/Versions/A/ CoreAudio
0x907f0000 - 0x907f9fff com.apple.DiskArbitration 2.0.3 /System/Library/PrivateFrameworks/DiskArbitration.framework/ Versions/A/DiskArbitration
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 (???) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/ApplicationServices
0x90830000 - 0x9089ffff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90910000 - 0x90983fff com.apple.DesktopServices 1.2.2 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/ Versions/A/DesktopServicesPriv
0x909f0000 - 0x90b4bfff com.apple.Foundation 6.3.5 (500.56) /System/Library/Frameworks/Foundation.framework/Versions/C/ Foundation
0x90d00000 - 0x90d1bfff com.apple.SystemConfiguration 1.7.1 (???) /System/Library/Frameworks/SystemConfiguration.framework/ Versions/A/SystemConfiguration
0x90d40000 - 0x90d40fff com.apple.Carbon 10.3 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x90ec0000 - 0x90ec0fff com.apple.Cocoa 6.3 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x910b0000 - 0x91101fff com.apple.bom 1.2.5 (63.2) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x912a0000 - 0x912bdfff com.apple.audio.SoundManager 3.8 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ CarbonSound.framework/Versions/A/CarbonSound
0x912e0000 - 0x912f7fff com.apple.LangAnalysis 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91320000 - 0x913defff ColorSync /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/ColorSync.framework/Versions/A/ColorSync
0x91460000 - 0x91473fff com.apple.speech.synthesis.framework 3.2 /System/Library/Frameworks/ApplicationServices.framework/Versions/ A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x914a0000 - 0x91509fff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x91560000 - 0x91619fff com.apple.QD 3.4.65 (???) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/QD.framework/Versions/A/QD
0x91670000 - 0x916a8fff com.apple.AE 1.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/ A/Frameworks/AE.framework/Versions/A/AE
0x916e0000 - 0x91773fff com.apple.print.framework.PrintCore 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/ A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x917e0000 - 0x917f0fff com.apple.speech.recognition.framework 3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ SpeechRecognition.framework/Versions/A/SpeechRecognition
0x91810000 - 0x9182afff com.apple.openscripting 1.2.1 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x91850000 - 0x91860fff com.apple.ImageCapture 2.1.5 /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x91890000 - 0x9189cfff com.apple.help 1.0.1 /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/Help.framework/Versions/A/Help
0x918c0000 - 0x918cdfff com.apple.CommonPanels 1.2.1 (1.0) /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x918f0000 - 0x9193efff com.apple.print.framework.Print 3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ Print.framework/Versions/A/Print
0x91990000 - 0x9199bfff com.apple.securityhi 1.2 (90) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ SecurityHI.framework/Versions/A/SecurityHI
0x919c0000 - 0x91a33fff com.apple.NavigationServices 3.3.2 /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x91a90000 - 0x91a90fff com.apple.audio.units.AudioUnit 1.3.2 /System/Library/Frameworks/AudioUnit.framework/Versions/A/ AudioUnit
0x91ab0000 - 0x91ac4fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x91ae0000 - 0x91aebfff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x91b10000 - 0x91b2afff libPDFRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/ libPDFRIP.A.dylib
0x91b50000 - 0x91b5ffff libPSRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib
0x91b80000 - 0x91b93fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x92070000 - 0x92096fff com.apple.FindByContent 1.4 (1.2) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x920c0000 - 0x922a7fff com.apple.security 2.3 (176) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x92430000 - 0x92468fff com.apple.LaunchServices 10.3.5 (98.4) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/LaunchServices.framework/Versions/A/ LaunchServices
0x92740000 - 0x92777fff com.apple.CFNetwork 1.2.1 (7) /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x927d0000 - 0x92b54fff com.apple.HIToolbox 1.3.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x92d30000 - 0x92d80fff com.apple.HIServices 1.4.1 (0.0.1d1) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x92dc0000 - 0x932befff com.apple.AppKit 6.3.4 (743.24) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x935d0000 - 0x938a8fff com.apple.CoreGraphics 1.203.26 (???) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x939a0000 - 0x939b4fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x939d0000 - 0x939d4fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x93b50000 - 0x93bf3fff com.apple.audio.toolbox.AudioToolbox 1.3.2 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/ AudioToolbox
0x94060000 - 0x94078fff com.apple.WebServices 1.1.1 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x945b0000 - 0x945b9fff libz.1.dylib /usr/lib/libz.1.dylib
0x94610000 - 0x9462afff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x94650000 - 0x946affff com.apple.SearchKit 1.0.2 /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/SearchKit.framework/Versions/A/SearchKit
0x94a30000 - 0x94af5fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x94b20000 - 0x94badfff com.apple.ink.framework 101.1.3 (55.10) /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/Ink.framework/Versions/A/Ink
0x954c0000 - 0x95ac6fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ vecLib.framework/Versions/A/libBLAS.dylib
0x95b20000 - 0x95df0fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ vecLib.framework/Versions/A/libLAPACK.dylib
0x95e40000 - 0x95eadfff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ vecLib.framework/Versions/A/libvDSP.dylib
0x95f00000 - 0x95f20fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ vecLib.framework/Versions/A/libvMisc.dylib
0x968d0000 - 0x969b2fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x96a20000 - 0x96ae2fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x96b40000 - 0x96b6efff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x96bf0000 - 0x96c7ffff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/ATS.framework/Versions/A/ATS
0x96cb0000 - 0x96d9efff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x96e80000 - 0x96e90fff com.apple.vecLib 3.0.2 (vecLib 3.0.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x97510000 - 0x97518fff libbsm.dylib /usr/lib/libbsm.dylib


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise