Well it seems that: #0 0x0000000000440ed5 in ibfstages (ioptr=0x7055c0, M=9, Utbl=0x800000002, Ustride=16, NDiffU=64, StageCnt=16) at OOps/fftlib.c:1829 shows that line 1829 is where the bug is happening, and if so, that's: for (; StageCnt > 0; StageCnt--) { The backtrace shows the StageCnt is passed into the function as 16. I don't know much about this code, though earlier in the function it has the comment "RADIX 8 Stages", and maybe 16 is coming in from being 64bit? There's also the comment about MCACHE: /* fft's with M bigger than this bust primary cache */ #define MCACHE (11 - (sizeof(MYFLT) / 8)) if M is 9, would that be bigger than MCACHE on a 64bit machine? steven On 4/7/06, Iain Duncan wrote: > Thanks Steven and Istvan. Here are the results, with csound built for > noDebug=0 > > (gdb) r > Starting program: /usr/local/bin/csound vco2.csd > [Thread debugging using libthread_db enabled] > [New Thread 16384 (LWP 22046)] > Localisation of messages is disabled, using default language. > time resolution is 1000.000 ns > WARNING: '/csound5/_csnd.so' is not a Csound plugin library > WARNING: /csound5/_CsoundVST.so: cannot open shared object file: No such > file or directory > WARNING: could not open library '/csound5/_CsoundVST.so' (-1) > WARNING: '/csound5/libcompress.so' is not a Csound plugin library > ALSA real-time audio and MIDI module for Csound by Istvan Varga > JACK real-time audio module for Csound by Istvan Varga > PortAudio real-time audio module for Csound > 0dBFS level = 32768.0 > Csound version 5.01.1 beta (float samples) Apr 7 2006 > libsndfile-1.0.11 > UnifiedCSD: vco2.csd > STARTING FILE > Creating options > Creating orchestra > Creating score > orchname: /tmp/fileUd9GDx.orc > scorename: /tmp/fileTSn9HC.sco > rtaudio: ALSA module enabled > orch compiler: > 21 lines read > instr 1 > Elapsed time at end of orchestra compile: real: 0.001s, CPU: 0.000s > sorting score ... > ... done > Elapsed time at end of score sort: real: 0.001s, CPU: 0.000s > Csound version 5.01.1 beta (float samples) Apr 7 2006 > displays suppressed > 0dBFS level = 32768.0 > orch now loaded > audio buffered in 128 sample-frame blocks > ALSA output: total buffer size: 512, period size: 128 > writing 512-byte blks of shorts to dac > SECTION 1: > ftable 1: > new alloc for instr 1: > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 16384 (LWP 22046)] > 0x0000000000440ed5 in ibfstages (ioptr=0x7055c0, M=9, Utbl=0x800000002, > Ustride=16, NDiffU=64, StageCnt=16) at OOps/fftlib.c:1829 > 1829 OOps/fftlib.c: No such file or directory. > in OOps/fftlib.c > (gdb) bt > #0 0x0000000000440ed5 in ibfstages (ioptr=0x7055c0, M=9, > Utbl=0x800000002, Ustride=16, NDiffU=64, StageCnt=16) > at OOps/fftlib.c:1829 > #1 0x0000000000441c5a in ifftrecurs (ioptr=0x6fd590, M=9, > Utbl=0x7055c0, Ustride=0, NDiffU=12, StageCnt=1024) > at OOps/fftlib.c:2127 > #2 0x000000000044482e in csoundInverseRealFFT (csound=0x5b10a0, > buf=0x6fd590, FFTsize=3) at OOps/fftlib.c:3104 > #3 0x00002aaaabbd3c87 in vco2_tables_create (csound=0x5b10a0, > waveform=101, base_ftable=32767, tp=0x82000023d0) > at Opcodes/oscbnk.c:1520 > #4 0x00002aaaabbd46f4 in vco2set (csound=0x5b10a0, p=0x61ad20) at > Opcodes/oscbnk.c:1917 > #5 0x0000000000416c09 in insert (csound=0x5b10a0, insno=5991240, > newevtp=) at Engine/insert.c:189 > #6 0x000000000041a28a in process_score_event (p=0x5b10a0, > evt=, rtEvt=0) at Engine/musmon.c:634 > #7 0x000000000041a85d in sensevents (csound=0x41) at Engine/musmon.c:790 > #8 0x000000000040452d in csoundPerform (csound=0x5b6c50) at > Top/csound.c:1130 > #9 0x0000000000403e8d in main (argc=0, argv=0x200000000) at > frontends/csound/csound_main.c:109 > (gdb) > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net