I do not get any errors, even when running with valgrind --tool=memcheck, although I use a different sound file. So, more details would be needed to find out if this is a Csound bug, or a Mac-specific libsndfile bug. For example, does the crash occur predictably, or only sometimes ? Does reading all sound files trigger the crash, or is it specific to some of the files ? Do other opcodes also crash, or only diskin2 ? On Tuesday 13 June 2006 18:12, David Akbari wrote: > I'm getting these weird segmentation faults here's the stack trace > > Exception: EXC_BAD_ACCESS (0x0001) > Codes: KERN_INVALID_ADDRESS (0x0001) at 0x007db990 > > Thread 0 Crashed: > 0 libsndfile.1.dylib 0x00316238 sf_seek + 0x48 > (sndfile.c:1141) > 1 csound 0x00055858 diskin2_read_buffer + > 0xa0 > 2 csound 0x00055694 diskin2_get_sample + 0x74 > 3 csound 0x00054784 diskin2_perf + 0x48c > 4 csound 0x000055b8 kperf + 0x10c > 5 csound 0x000036e0 csoundPerform + 0x70 > 6 csound 0x000020a0 main + 0x20c > 7 csound 0x00001bc4 _start + 0x188 > (crt.c:267) > 8 csound 0x00001a38 start + 0x30 > > csound code here http://www.csounds.com/akbari/segfault.txt > > any help appreciated ! _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net