Hello,
The first program does not segfault. The second does segfault:
===
#include <osgDB/ReadFile>
int main()
{
osgDB::Registry::instance(true);
return 0;
}
===
#include <osgDB/ReadFile>
int main()
{
osgDB::readNodeFile("/home/cstankevitz/Work/2013-07-02_osgearth/osgearth/tests/crs.earth");
osgDB::Registry::instance(true);
return 0;
}
===
The stack trace, which I'm sorry to say is missing symbols, shows that
the segfault happens during something like static un-initialization.
malloc_consolidate() at 0x7ffff4ad16e0
_int_free() at 0x7ffff4ad2148
0x7ffff390b32f
0x7fffef884acc
0x7fffefcb748a
0x7fffefba06fd
0x7fffefba1e3f
0x7fffefb6633e
0x7ffff38ea8a0
0x7ffff38eac1c
_dl_fini() at 0x7ffff7de9a8d
__run_exit_handlers() at 0x7ffff4a8e689
exit() at 0x7ffff4a8e715
__libc_start_main() at 0x7ffff4a78614
_start() at 0x401079
Would you please tell me why this is happening?
Thank you,
Chris
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org