Hi All, I downloaded from CVS and built a debug build. I found this from gdb: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208461632 (LWP 9706)] process_rt_event (csound=0x994f008, sensType=0) at Engine/musmon.c:769 769 if (SR(chnrfd) && (rfd = SR(chnrfd)[mep->chan+1])) { /* RM: USE CHAN + 1 */ (gdb) print mep $1 = (MEVENT *) 0x9979568 (gdb) print mep->chan $2 = 0 (gdb) print csound->remoteGlobals $3 = (void *) 0x0 (gdb) q It seems the if statement here doesn't check if csound->remoteGlobals == NULL. I changed the code to this locally: if (csound->remoteGlobals && SR(chnrfd) && (rfd = SR(chnrfd)[mep->chan+1])) { /* RM: USE CHAN + 1 */ and that fixed it up. Since this code is actively being worked on by others and since i don't know if this is the best fix, I'll defer to others to check in. Thanks! steven BTW: This is the first time I've debugged with a project that uses wave files. For debugging this, I had to copy all of the files from hte Hunkins project to the directory where Csound was located, as running this from the Hunkins directory wouldn't allow GDB to find the source files. On 10/18/06, Steven Yi wrote: > Hi All, > > I was testing Art Hunkin's "What's in a Name?" found: > > http://www.arthunkins.com/ > > Downloading the 8mb zip with samples. Running it, I got a segfault on > the first MIDI key press on my keyboard. Under GDB, it came up as a > segfault coming from process_rt_event(). > > I have tried this with Name.csd and Name2.csd in that file. One of > these uses raw_controller_mode and one does not. > > I also noticed this is happening with CsoundMidi.csd in the > csound5/examples/ folder. This uses the new midi commandline flags > Michael introduced recently. > > I don't have csound compiled in debug mode at the moment so haven't > found the bug. I am using the latest from CVS. Is anyone else > experiencing this? > > Thanks! > steven > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net