Hi Mathias, you are right. The problem were not zero pointers, but invalid pointers. I have commented out the delete statements and got no further crash of flightgear up to now (of course this is not the way to go, but to check if my local crashes are to this delete statement). But I am not sure if the problem is only on my local installation (I have fixed a bug pointed out by Melchior in between, maybe the problem does not longer exist.) Maik Mathias Fröhlich schrieb am 15.01.2007 18:50: > Hi Maik, > > On Friday 05 January 2007 11:16, Maik Justus wrote: > >> sometimes I get a segfault in function >> SGShaderAnimation::~SGShaderAnimation(), file >> simgear/scene/model/shadanim.cxx. >> >> Please commit the attached patch. >> > The patch you have attached is a noop. you can safely delete a zero pointer > according to the standard. > If you have problems here we have probably a very different problem that just > shows up here. I don't think that it is a good idea to do it in this way ... > > Greetings > > Mathias > > ------------------------------------------------------------------------- > 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 > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-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 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel