Hi Iain, Yes, gdb is the GNU Debugger. You can run it on programs that are compiled with optimization but you won't get as useful information as all the symbol and line info gets stripped out. You can run it a number of ways, but you could try this: > gdb csound this will start gdb with csound as the command, once here, type: > set args test.csd to set the commandline args (anything after the args will run as if you typed "csound [args]"), then type: > r to run. It should run until the segfault, then it will come back to the gdb prompt, where then you type: > bt to get a backtrace, which should show you what line the segfault happened. You could try it before doing the debug build to see what info you get (probably not much), and then do the debug build and run again. You can also set breakpoints, watchpoints, etc. all the things you do with debuggers within IDE's. You can type "help" on the gdb prompt to get more information on what you can do. Hope that helps! steven On 4/7/06, Iain Duncan wrote: > > > Istvan Varga wrote: > > On Friday 07 April 2006 09:03, Steven Yi wrote: > > > > > >>I tested here on a 32-bit system using Csound compiled for doubles and > >>your file ran without problems, so I'm guessing it's got something to > >>do with the 64bit system. If you've got the time, I'd recommend > >>compiling with noDebug=0 and running with gdb to find out where in the > >>code the segfault is happening. > > > > > > Yes, sending a backtrace would probably be of some help. > > I will try this, however I do not know what "running with gdb" means. Is > that the gnu debugger? And how do I use it, what should I report? > > Thanks > Iain > > > ------------------------------------------------------- > 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