|
From: Erik H. <er...@eh...> - 2015-12-15 08:40:53
|
On 12/14/2015 10:07 PM, James Turner wrote: > >> On 12 Dec 2015, at 08:38, Erik Hofman <er...@eh...> wrote: >> >> I've tracked down a 'crash' at exit (actually it's caught end displayed >> using a nice dialog). >> >> The problem is that globals->get_scenery()->get_scene_graph() == 0 >> at FGModelMgr::~FGModelMgr in Model/modelmgr.cxx when calling: >> >> >> globals->get_scenery()->get_scene_graph() >> ->removeChild(_instances[i]->model->getSceneGraph()); >> >> As you can see we try to call removeChild() from a null pointer. > > I did some work in this area recently, is this still occurring? After updating SimGear and FlightGear and FGData the problem is still there, although I changed the code to display a console message instead of crashing. Erik -- http://www.adalin.com - Hardware accelerated AeonWave and OpenAL for Windows and Linux - AeonWave Audio Effects software for DJ, Instrumentalist and Vocalist |