Hi Victor, I took a better look and I think I put in the correct fix. If it later brings up a problem, it's nice to know there's another version around handy! Thanks, steven On 1/15/07, Victor Lazzarini wrote: > I have an alternative version of that encapsulation code, if we need to > change it. > > At 12:51 15/01/2007, you wrote: > >Hi All, > > > >Is anyone else getting a segfault with libwidgets on moduleDestroy? > >If I type "csound" or "csound --help" on the commandline I get a > >segfault. Also, if I run in GDB I get: > > > >Program received signal SIGSEGV, Segmentation fault. > >[Switching to Thread -1208858944 (LWP 9335)] > >0x001c3f8f in csoundModuleDestroy () > > from /usr/local/lib/csound/plugins64/libwidgets.so > > > > > >I don't have a debug build at the moment but I thought if anyone else > >who knows this code could take a look that'd be great. I suspect it's > >got to do with some of the code that got encapsulated for reentrancy > >might be operating on something that isn't initialized, but am not > >sure. > > > >Any help appreciated! > > > >Thanks, > >steven > > > >------------------------------------------------------------------------- > >Take Surveys. Earn Cash. Influence the Future of IT > >Join SourceForge.net's Techsay panel and you'll get the chance to share your > >opinions on IT & business topics through brief surveys - and earn cash > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >_______________________________________________ > >Csound-devel mailing list > >Csound-devel@lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/csound-devel > > Victor Lazzarini > Music Technology Laboratory > Music Department > National University of Ireland, Maynooth > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net