Hi,
   I am a bit new to OSG. I have build and install OSG on Ubuntu 12.04 64 bit. 
When i try to run a sample example i am getting a segfault. Debug trace is as 
below:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff52d7241 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff52d7241 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff5ae55d0 in std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) 
() from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x000000000077c3e1 in osg::initNotifyLevel() ()
#3  0x000000000077ca51 in osg::isNotifyEnabled(osg::NotifySeverity) ()
#4  0x000000000093a3ec in graphicswindow_X11 ()
#5  0x000000000069a595 in _GLOBAL__sub_I__Z9setViewerRN9osgViewer6ViewerEfff ()
#6  0x0000000000e9533d in __libc_csu_init ()
#7  0x00007ffff5195700 in __libc_start_main () from 
/lib/x86_64-linux-gnu/libc.so.6
#8  0x00000000006e8249 in _start ()


The above example is build with OSG static library, i tried doing the same with 
shared object library. But nothing helped i got the same segfault. Any 
suggestion to fix this would of great help.

Quick responses are appreciated.

Thanks in advance

Mani

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61584#61584





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to