[Sc-devel] [bug] RecordBuf_next_10 crash

Josh Parmenter josh at realizedsound.net
Sat Jul 12 10:34:51 PDT 2008


Not sure about the bug, but if you have the svn of sc3-plugins, I have  
a new pair of UGens for doing tapped delays. There is DelTapWr and  
DelTapRd. They are pretty cool and more efficient then the various  
PlayBuf based taps in the distro. You can get them here (and it may  
make what you are trying to do easier).

http://sourceforge.net/projects/sc3-plugins/

They are part of the JoshUGens.

Hope that helps.

Josh


On Jul 12, 2008, at 9:02 AM, Tim Blechmann wrote:

> [sry for this unprofessional bug report]
>
> hi all, i don't have the time to produce a stripped down version of  
> this
> bug ...
>
> i experience a segmentation fault in RecordBuf_next_10:
>
> the backtrace is:
>> 0 RecordBuf_next_10 PC=0xb7204c93, FP=0xb4576198 [/home/tim/ 
>> workspace/Supercollider/Source/plugins/DelayUGens.cpp#1236]
>   1 Graph_Calc       PC=0xb7ff89f1, FP=0xb45761b8 [/home/tim/ 
> workspace/Supercollider/Source/server/SC_Graph.cpp#320]
>   2 Graph_FirstCalc  PC=0xb7ff8a51, FP=0xb45761d8 [/home/tim/ 
> workspace/Supercollider/Source/server/SC_Graph.cpp#293]
>   3 Group_Calc       PC=0xb7ffc02e, FP=0xb45761e8 [/home/tim/ 
> workspace/Supercollider/Source/server/SC_Group.cpp#71]
>   4 Group_Calc       PC=0xb7ffc02e, FP=0xb45761f8 [/home/tim/ 
> workspace/Supercollider/Source/server/SC_Group.cpp#71]
>   5 Group_Calc       PC=0xb7ffc02e, FP=0xb4576208 [/home/tim/ 
> workspace/Supercollider/Source/server/SC_Group.cpp#71]
>   6 World_Run        PC=0xb801272f, FP=0xb4576218 [/home/tim/ 
> workspace/Supercollider/Source/server/SC_World.cpp#928]
>   7 SC_JackDriver::Run PC=0xb801a82b, FP=0xb4576348 [/home/tim/ 
> workspace/Supercollider/Source/server/SC_Jack.cpp#545]
>   8 _ZL18sc_jack_process_cbjPv PC=0xb801afe9, FP=0xb4576358 [/home/ 
> tim/workspace/Supercollider/Source/server/SC_Jack.cpp#234]
>   9 _ZN4Jack10JackClient7ExecuteEv PC=0xb7c9afad, FP=0xb45763a8 [/ 
> usr/local/lib/libjack.so.0]
>  10 _ZN4Jack15JackPosixThread13ThreadHandlerEPv PC=0xb7ca6a75,  
> FP=0xb45763c8 [/usr/local/lib/libjack.so.0]
>  11 start_thread     PC=0xb7d2b4f5, FP=0xb45764b8 [/lib/i686/cmov/ 
> libpthread.so.0]
>
> i could reproduce this segfault with a rather complex script,  
> utilizing
> the MultiTap class.
>
> in the specific code line:
> table0[0] = *++(in[0]);
>
> the in array doesn't seem to be properly initialized:
> in = {
>   [0] = 0xfffffffc -> <Bad address: 0xfffffffc>
>   [1] = 0xb715c620 -> -0.0170621
>   [2] = 0xb714b118 -> 1.60533e-41 <denormalized>
>   [3] = 0x00002cc0 -> <Bad address: 0x00002cc0>
>   [4] = 0x00000100 -> <Bad address: 0x00000100>
>   [5] = 0x00000040 -> <Bad address: 0x00000040>
>   [6] = 0xb715c718 -> -0.00622205
>   [7] = 0xb71d3e88 -> -0.00622205
>   [8] = 0x00000020 -> <Bad address: 0x00000020>
>   [9] = 0x00000000
>   [10] = 0x00000020 -> <Bad address: 0x00000020>
>   [11] = 0xb71d3e88 -> -0.00622205
>   [12] = 0xb715c718 -> -0.00622205
>   [13] = 0x00000020 -> <Bad address: 0x00000020>
>   [14] = 0x00000000
>   [15] = 0xb72043fb -> -2.02148e-23
> }
>
> i experienced this problem with 3.2 and current svn trunk ...
>
> best, tim
>
> -- 
> tim at klingt.org
> http://tim.klingt.org
>
> There's no such entity as "most people". These are generalities. All
> generalities are meaningless. You've got to pin it down to a specific
> person doing a specific thing at a specific time and space.
>  William S. Burroughs
>
> _______________________________________________
> Sc-devel mailing list
> Sc-devel at create.ucsb.edu
> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono
*/



More information about the Sc-devel mailing list