logo       

Re: Patch-play crashes with non-nil atTime in new build: msg#00222

audio.supercollider.devel

Subject: Re: Patch-play crashes with non-nil atTime in new build


this is not crashing for me at this time.
jh, can you recheck on your setup :?

On Aug 5, 2004, at 4:39 AM, James Harkins wrote:

Just a bug report -- I can work around it in my code (atTime is not needed for what I'm doing). However, it used to work.

Thanks.

hjh

Instr
([\busfx, \rvb_comb], { arg bus, numChan, maxDelay, preDelay, decay, numRefl, random;
var sig, new;
sig = In.ar(bus, numChan);
new = Mix.arFill(numRefl, {
CombC.ar(sig, maxDelay, Array.fill(numChan, { random.rand }) + preDelay, decay);
});
new
}, [\audiobus, \numChannels, [0.25, 2], [0.001, 1.5, \exponential, 0, 0.05], [0.01, 10, \exponential, 0, 0.25], [1, 10, \linear, 1, 4], [0.001, 1, \exponential, 0, 0.03]]);

p = \busfx, \rvb_comb], [16, 2, 0.25, 0.0117, 1.4547, 3, 0.05]);

p.play; // works
p.free;

p.play(nil, 0, nil); // crashes sclang

p.play(nil, 5, nil); // also crashes sclang

m = "rvb", s, 2, 2);

p.play(m.effectgroup, nil, m.inbus); // works -- OK to supply a group and bus
p.free;

p.play(m.effectgroup, 0, m.inbus); // with atTime, again sclang crashes

Console log:

Date/Time: 2004-08-04 22:36:23 -0400
OS Version: 10.2.8 (Build 6R73)
Host: Isabelle.local.

Command: SuperCollider
PID: 12885

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x12cc682c

Thread 0 Crashed:
#0 0x00045024 in Interpret(VMGlobals*) (PyrInterpreter3.cpp:2040)
#1 0x0004470c in Interpret(VMGlobals*) (PyrInterpreter3.cpp:1731)
#2 0x00049a0c in runLibrary (PyrLexer.cpp:2154)
#3 0x00029f24 in -[SCVirtualMachine doClockTask:] (SCVirtualMachine.M:133)
#4 0x97df4dc0 in __NSFireTimer
#5 0x90163224 in __CFRunLoopDoTimer
#6 0x90148cf8 in __CFRunLoopRun
#7 0x90180f4c in CFRunLoopRunSpecific
#8 0x969a3b70 in RunCurrentEventLoopInMode
#9 0x969b3b00 in ReceiveNextEventCommon
#10 0x969dabbc in BlockUntilNextEventMatchingListInMode
#11 0x9308dedc in _DPSNextEvent
#12 0x930a0158 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
#13 0x930b1d88 in -[NSApplication run]
#14 0x9315fc58 in NSApplicationMain
#15 0x00002818 in _start (crt.c:267)
#16 0x0000268c in start

Thread 1:
#0 0x9002560c in recvfrom
#1 0x000783f0 in SC_UdpInPort::Run() (SC_ComPort.cpp:296)
#2 0x90020c28 in _pthread_body

Thread 2:
#0 0x90006a28 in clock_sleep_trap
#1 0x9000672c in nanosleep
#2 0x90006670 in sleep
#3 0x0006bd48 in resyncThread(void*) (PyrSched.cpp:359)
#4 0x90020c28 in _pthread_body

Thread 3:
#0 0x9003e9a8 in semaphore_wait_signal_trap
#1 0x9003e7c4 in _pthread_cond_wait
#2 0x0006c7c4 in TempoClock::Run() (PyrSched.cpp:805)
#3 0x90020c28 in _pthread_body

Thread 4:
#0 0x9003e9a8 in semaphore_wait_signal_trap
#1 0x9003e7c4 in _pthread_cond_wait
#2 0x0006bdfc in schedRunFunc(void*) (PyrSched.cpp:384)
#3 0x90020c28 in _pthread_body

Thread 5:
#0 0x90000d6c in read
#1 0x9000d5fc in __sread
#2 0x9000d478 in __srefill
#3 0x9000d2a0 in fgets
#4 0x00038bf4 in string_popen_thread_func(void*) (PyrUnixPrim.cpp:113)
#5 0x90020c28 in _pthread_body

PPC Thread State:
srr0: 0x00045024 srr1: 0x0000f030 vrsave: 0x00000000
xer: 0x00000000 lr: 0x0004470c ctr: 0x00044fc8 mq: 0x00000000
r0: 0x0000000b r1: 0xbfffe950 r2: 0x02007040 r3: 0x00000002
r4: 0x0008efe5 r5: 0x0008efe5 r6: 0x00000000 r7: 0x0000002c
r8: 0x12cc6828 r9: 0x00000000 r10: 0x10dbc3e0 r11: 0x621b787c
r12: 0x02007040 r13: 0x00000000 r14: 0x00000000 r15: 0x00000001
r16: 0x00000001 r17: 0x00000000 r18: 0x24002420 r19: 0x00000000
r20: 0x00005db3 r21: 0x00000000 r22: 0x00767020 r23: 0x00130000
r24: 0x00040000 r25: 0x00147668 r26: 0x001448ac r27: 0x02536648
r28: 0x02536650 r29: 0x01f0a448 r30: 0x02153810 r31: 0x025058ee


____________________________________

H. James Harkins /// dewdrop_world
http://www.dewdrop-world.net

"If attacked by a lion, thrust your arm down his throat.
This takes some practice." -- Cyril Connolly
_______________________________________________
sc-dev mailing list
sc-dev-Ayv8T2snMLBt9CRQqspbbg@xxxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-dev


.:. c.sattinger .:.
Kinzigstraße 36
10247 Berlin

land: +49 (0)30 26 10 59 29
air: +49 (0)1624 70 82 14




_______________________________________________
sc-dev mailing list
sc-dev-Ayv8T2snMLBt9CRQqspbbg@xxxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-dev
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise