|manikandarajanr1 (Manikandarajan Ramalingam)
Joined: 05 Nov 2014
|Posted: Wed Nov 12, 2014 12:00 pm Post subject:
OSG on 64bit Linux seg faults
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
#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