Hi, we're experiencing random access violations in our program under
windows, and it seems to have something to do with OpenSG. We did this
simple test:
int main( int argc, char *argv[] )
{
bool init1 = OSG::osgInit( argc, argv );
bool exit1 = OSG::osgExit();
bool init2 = OSG::osgInit( argc, argv );
bool exit2 = OSG::osgExit();
return 0;
}
This program crashes at the second osgExit() call. But if we comment this
line, it crashes at the "return 0". If we comment the second osgInit(), then
the program "works".
But in our real application we're experiencing a similar crash even though
we only call osgInit() once (and don't even call osgExit()). If we remove
nodes from the graph, the program will crash at random locations. I've
already checked and both our program and OpenSG are use the same runtime
libraries.
Looks like memory corruption. Any clues?!
Thanks!
Pablo
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users