[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] NRT crashing



On Monday 04 May 2009 20:46:36 David Etlinger wrote:
> Hello,
>
> I am doing some NRT rendering, iterating over parameter values and writing
> a new file for each value. Frequently, scsynth will crash partway through.
> Adding some wait time between iterations seems to help, maybe -- it still
> crashes but it seems to happen later. Not sure though. Here's the crash
> log:

The crash log seems to be of sclang, rather than scsynth.
Maybe post the code you are using?

sincerely,
Marije


>
> Process:         SuperCollider [1913]
> Path:
> /Applications/SuperCollider/SuperCollider.app/Contents/MacOS/SuperCollider
> Identifier:      net.sourceforge.supercollider
> Version:         ??? (3.3RC (Revision 8965))
> Code Type:       X86 (Native)
> Parent Process:  launchd [128]
>
> Date/Time:       2009-05-04 17:39:53.390 -0700
> OS Version:      Mac OS X 10.5.6 (9G55)
> Report Version:  6
>
> Exception Type:  EXC_BAD_ACCESS (SIGBUS)
> Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000038
> Crashed Thread:  3
>
> Thread 0:
> 0   com.apple.CoreGraphics        	0x965defc6 CGSColorDeepMaskCopyARGB8888
> + 7094
> 1   com.apple.CoreGraphics        	0x96591437 argb32_mark + 967
> 2   libRIP.A.dylib                	0x959f0026 ripl_BltGlyph + 5880
> 3   libRIP.A.dylib                	0x959df931 ripc_DrawGlyphs + 2549
> 4   com.apple.CoreGraphics        	0x96902ae1 draw_glyphs + 732
> 5   com.apple.CoreGraphics        	0x965acdfb
> CGContextShowGlyphsWithAdvances + 660
> 6   com.apple.AppKit              	0x927f7a1c
> -[NSLayoutManager(NSTextViewSupport)
> showPackedGlyphs:length:glyphRange:atPoint:font:color:printingAdjustment:]
> + 518
> 7   com.apple.AppKit              	0x927f6457 -[NSLayoutManager(NSPrivate)
> _drawGlyphsForGlyphRange:atPoint:parameters:] + 9206
> 8   com.apple.AppKit              	0x927f405b
> -[NSLayoutManager(NSTextViewSupport) drawGlyphsForGlyphRange:atPoint:] + 70
> 9   com.apple.AppKit              	0x927f064b -[NSTextView drawRect:] +
> 1435 10  com.apple.AppKit              	0x927eff53 -[NSTextView
> _drawRect:clip:] + 2579
> 11  com.apple.AppKit              	0x92788b0d -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRec
>tForView:topView:] + 1819
> 12  com.apple.AppKit              	0x92789543 -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRec
>tForView:topView:] + 4433
> 13  com.apple.AppKit              	0x92784b4f -[NSView
> _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 3090
> 14  com.apple.AppKit              	0x926c5523 -[NSView displayIfNeeded] +
> 933
> 15  com.apple.AppKit              	0x928115c5 -[NSClipView
> _immediateScrollToPoint:] + 3985
> 16  com.apple.AppKit              	0x9281059e -[NSClipView scrollToPoint:]
> + 248
> 17  com.apple.AppKit              	0x9287d717 -[NSScrollView
> scrollClipView:toPoint:] + 364
> 18  com.apple.AppKit              	0x927aab8a -[NSClipView
> _scrollTo:animate:] + 1095
> 19  com.apple.AppKit              	0x927aa73d -[NSClipView _scrollTo:] + 49
> 20  com.apple.AppKit              	0x927b9c90 -[NSClipView
> _scrollRectToVisible:fromView:] + 201
> 21  com.apple.AppKit              	0x92732ee1 -[NSView
> scrollRectToVisible:] + 45
> 22  com.apple.AppKit              	0x9282bbcb -[NSTextView(NSPrivate)
> _centeredScrollRectToVisible:forceCenter:] + 1335
> 23  com.apple.AppKit              	0x9282b10d -[NSTextView(NSPrivate)
> _scrollRangeToVisible:forceCenter:] + 729
> 24  com.apple.AppKit              	0x9282ae2e -[NSTextView
> scrollRangeToVisible:] + 56
> 25  net.sourceforge.supercollider 	0x0001a227 PostBuf::Flush() + 807
> 26  net.sourceforge.supercollider 	0x0001a252 flushPostBuf() + 18
> 27  com.apple.Foundation          	0x932deea7 __NSFireTimer + 279
> 28  com.apple.CoreFoundation      	0x90d69b25 CFRunLoopRunSpecific + 4469
> 29  com.apple.CoreFoundation      	0x90d69cd8 CFRunLoopRunInMode + 88
> 30  com.apple.HIToolbox           	0x949172c0 RunCurrentEventLoopInMode +
> 283
> 31  com.apple.HIToolbox           	0x949170d9 ReceiveNextEventCommon + 374
> 32  com.apple.HIToolbox           	0x94916f4d
> BlockUntilNextEventMatchingListInMode + 106
> 33  com.apple.AppKit              	0x926c2d7d _DPSNextEvent + 657
> 34  com.apple.AppKit              	0x926c2630 -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
> 35  com.apple.AppKit              	0x926bb66b -[NSApplication run] + 795
> 36  com.apple.AppKit              	0x926888a4 NSApplicationMain + 574
> 37  net.sourceforge.supercollider 	0x00002ac2 _start + 216
> 38  net.sourceforge.supercollider 	0x000029e9 start + 41
>
> Thread 1:
> 0   libSystem.B.dylib             	0x90e73ad6 recvfrom$NOCANCEL$UNIX2003 +
> 10
> 1   net.sourceforge.supercollider 	0x000e0c69 SC_UdpInPort::Run() + 99
> 2   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
> 3   libSystem.B.dylib             	0x90e5bf52 thread_start + 34
>
> Thread 2:
> 0   libSystem.B.dylib             	0x90e2b2e6 mach_wait_until + 10
> 1   libSystem.B.dylib             	0x90ea23ad nanosleep + 314
> 2   libSystem.B.dylib             	0x90eb2eab sleep + 63
> 3   net.sourceforge.supercollider 	0x0007ffbe resyncThread(void*) + 18
> 4   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
> 5   libSystem.B.dylib             	0x90e5bf52 thread_start + 34
>
> Thread 3 Crashed:
> 0   libSystem.B.dylib             	0x90e6ab43 flockfile + 22
> 1   libSystem.B.dylib             	0x90e69236 setvbuf + 72
> 2   net.sourceforge.supercollider 	0x00087d8a prString_POpen(VMGlobals*,
> int) + 178
> 3   net.sourceforge.supercollider 	0x00074ceb doPrimitive(VMGlobals*,
> PyrMethod*, int) + 167
> 4   net.sourceforge.supercollider 	0x000a0ca4 Interpret(VMGlobals*) + 12954
> 5   net.sourceforge.supercollider 	0x000a1e04 runAwakeMessage(VMGlobals*) +
> 40
> 6   net.sourceforge.supercollider 	0x0008188a TempoClock::Run() + 484
> 7   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
> 8   libSystem.B.dylib             	0x90e5bf52 thread_start + 34
>
> Thread 4:
> 0   libSystem.B.dylib             	0x90e2b20e semaphore_wait_signal_trap +
> 10
> 1   libSystem.B.dylib             	0x90e5d206 _pthread_cond_wait + 1267
> 2   libSystem.B.dylib             	0x90ea2539 pthread_cond_wait + 48
> 3   net.sourceforge.supercollider 	0x000814b0 schedRunFunc(void*) + 66
> 4   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
> 5   libSystem.B.dylib             	0x90e5bf52 thread_start + 34
>
> Thread 5:
> 0   libSystem.B.dylib             	0x90e7a6f2 select$DARWIN_EXTSN + 10
> 1   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
> 2   libSystem.B.dylib             	0x90e5bf52 thread_start + 34
>
> Thread 6:
> 0   libSystem.B.dylib             	0x90e2b20e semaphore_wait_signal_trap +
> 10
> 1   libSystem.B.dylib             	0x90e5d206 _pthread_cond_wait + 1267
> 2   libSystem.B.dylib             	0x90ea2539 pthread_cond_wait + 48
> 3   DiskIOUGens.scx               	0x1869c0ba SC_SyncCondition::WaitEach()
> + 36
> 4   DiskIOUGens.scx               	0x1869e405 disk_io_thread_func(void*) +
> 35
> 5   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
> 6   libSystem.B.dylib             	0x90e5bf52 thread_start + 34
>
> Thread 7:
> 0   libSystem.B.dylib             	0x90e2b2e6 mach_wait_until + 10
> 1   libSystem.B.dylib             	0x90ea23ad nanosleep + 314
> 2   libSystem.B.dylib             	0x90ea226d usleep + 61
> 3   KeyboardUGens.scx             	0x18958bee gstate_update_func(void*) +
> 40 4   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321 5  
> libSystem.B.dylib             	0x90e5bf52 thread_start + 34
>
> Thread 8:
> 0   libSystem.B.dylib             	0x90e2b2e6 mach_wait_until + 10
> 1   libSystem.B.dylib             	0x90ea23ad nanosleep + 314
> 2   libSystem.B.dylib             	0x90ea226d usleep + 61
> 3   MacUGens.scx                  	0x18994e7c gstate_update_func(void*) +
> 194
> 4   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
> 5   libSystem.B.dylib             	0x90e5bf52 thread_start + 34
>
> Thread 9:
> 0   libSystem.B.dylib             	0x90e2b2e6 mach_wait_until + 10
> 1   libSystem.B.dylib             	0x90ea23ad nanosleep + 314
> 2   libSystem.B.dylib             	0x90ea226d usleep + 61
> 3   MouseUGens.scx                	0x1899b009 gstate_update_func(void*) +
> 179
> 4   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
> 5   libSystem.B.dylib             	0x90e5bf52 thread_start + 34
>
> Thread 10:
> 0   libSystem.B.dylib             	0x90e2b2e6 mach_wait_until + 10
> 1   libSystem.B.dylib             	0x90ea23ad nanosleep + 314
> 2   libSystem.B.dylib             	0x90eb2eab sleep + 63
> 3   net.sourceforge.supercollider 	0x000fba2c resyncThreadFunc(void*) + 28
> 4   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
> 5   libSystem.B.dylib             	0x90e5bf52 thread_start + 34
>
> Thread 11:
> 0   libSystem.B.dylib             	0x90e2b20e semaphore_wait_signal_trap +
> 10
> 1   libSystem.B.dylib             	0x90e5d206 _pthread_cond_wait + 1267
> 2   libSystem.B.dylib             	0x90ea2539 pthread_cond_wait + 48
> 3   net.sourceforge.supercollider 	0x0011ebfc SC_SyncCondition::WaitNext()
> + 44
> 4   net.sourceforge.supercollider 	0x000fea78 SC_AudioDriver::RunThread() +
> 104
> 5   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
> 6   libSystem.B.dylib             	0x90e5bf52 thread_start + 34
>
> Thread 12:
> 0   libSystem.B.dylib             	0x90e2b1c6 mach_msg_trap + 10
> 1   libSystem.B.dylib             	0x90e329bc mach_msg + 72
> 2   com.apple.CoreFoundation      	0x90d690ae CFRunLoopRunSpecific + 1790
> 3   com.apple.CoreFoundation      	0x90d69cd8 CFRunLoopRunInMode + 88
> 4   com.apple.audio.CoreAudio     	0x947485dc HALRunLoop::OwnThread(void*)
> + 160
> 5   com.apple.audio.CoreAudio     	0x94748464 CAPThread::Entry(CAPThread*)
> + 96
> 6   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
> 7   libSystem.B.dylib             	0x90e5bf52 thread_start + 34
>
> Thread 13:
> 0   libSystem.B.dylib             	0x90e2b226
> semaphore_timedwait_signal_trap + 10
> 1   libSystem.B.dylib             	0x90e5d1ef _pthread_cond_wait + 1244
> 2   libSystem.B.dylib             	0x90e5ea73
> pthread_cond_timedwait_relative_np + 47
> 3   com.apple.audio.CoreAudio     	0x94757bc3 CAGuard::WaitFor(unsigned
> long long) + 213
> 4   com.apple.audio.CoreAudio     	0x9475977e CAGuard::WaitUntil(unsigned
> long long) + 70
> 5   com.apple.audio.CoreAudio     	0x94757f23 HP_IOThread::WorkLoop() + 759
> 6   com.apple.audio.CoreAudio     	0x94757c27
> HP_IOThread::ThreadEntry(HP_IOThread*) + 17
> 7   com.apple.audio.CoreAudio     	0x94748464 CAPThread::Entry(CAPThread*)
> + 96
> 8   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
> 9   libSystem.B.dylib             	0x90e5bf52 thread_start + 34
>
> Thread 14:
> 0   libSystem.B.dylib             	0x90e2b226
> semaphore_timedwait_signal_trap + 10
> 1   libSystem.B.dylib             	0x90e5d1ef _pthread_cond_wait + 1244
> 2   libSystem.B.dylib             	0x90e5ea73
> pthread_cond_timedwait_relative_np + 47
> 3   com.apple.audio.CoreAudio     	0x94757bc3 CAGuard::WaitFor(unsigned
> long long) + 213
> 4   com.apple.audio.CoreAudio     	0x9475977e CAGuard::WaitUntil(unsigned
> long long) + 70
> 5   com.apple.audio.CoreAudio     	0x94757f23 HP_IOThread::WorkLoop() + 759
> 6   com.apple.audio.CoreAudio     	0x94757c27
> HP_IOThread::ThreadEntry(HP_IOThread*) + 17
> 7   com.apple.audio.CoreAudio     	0x94748464 CAPThread::Entry(CAPThread*)
> + 96
> 8   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
> 9   libSystem.B.dylib             	0x90e5bf52 thread_start + 34
>
> Thread 3 crashed with X86 Thread State (32-bit):
>   eax: 0xb01c9000  ebx: 0x90e691ff  ecx: 0x90e2bd23  edx: 0x005c6600
>   edi: 0x00000000  esi: 0xb01c9000  ebp: 0xb01c8d08  esp: 0xb01c8cf0
>    ss: 0x0000001f  efl: 0x00010286  eip: 0x90e6ab43   cs: 0x00000017
>    ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
>   cr2: 0x00000038
>
> Thanks as always for any help!

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/