Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1229482256 (LWP 25142)] 0xb7ad69ca in osg::LightModel::apply (this=0xcab8648) at /home/fugalh/src/OpenSceneGraph/src/osg/LightModel.cpp:52 52 static bool s_separateSpecularSupported = strncmp((const char*)glGetString(GL_VERSION),"1.2",3)>=0; (gdb) bt #0 0xb7ad69ca in osg::LightModel::apply (this=0xcab8648) at /home/fugalh/src/OpenSceneGraph/src/osg/LightModel.cpp:52 #1 0xb7b2e681 in osg::State::applyAttributeList (this=0x8829478, attributeMap=@0x8829548, attributeList=@0xd1709e8) at /home/fugalh/src/OpenSceneGraph/include/osg/State:1155 #2 0xb7b26a44 in osg::State::apply (this=0x8829478, dstate=0xd1709a8) at /home/fugalh/src/OpenSceneGraph/src/osg/State.cpp:377 #3 0xb7da4667 in osgUtil::RenderLeaf::render (this=0xf192bb0, renderInfo=@0xbfaca874, previous=0xc6d0020) at /home/fugalh/src/OpenSceneGraph/src/osgUtil/RenderLeaf.cpp:47 #4 0xb7d9ce03 in osgUtil::RenderBin::drawImplementation (this=0x88296f0, renderInfo=@0xbfaca874, previous=@0xbfacaa24) at /home/fugalh/src/OpenSceneGraph/src/osgUtil/RenderBin.cpp:425 #5 0xb7da6925 in osgUtil::RenderStage::drawImplementation (this=0x88296f0, renderInfo=@0xbfaca874, previous=@0xbfacaa24) at /home/fugalh/src/OpenSceneGraph/src/osgUtil/RenderStage.cpp:1052 #6 0xb7d9c8e0 in osgUtil::RenderBin::draw (this=0x3, renderInfo=@0xbfaca874, previous=@0xbfacaa24) at /home/fugalh/src/OpenSceneGraph/src/osgUtil/RenderBin.cpp:370 #7 0xb7da6203 in osgUtil::RenderStage::drawInner (this=0x88296f0, renderInfo=@0xbfaca874, previous=@0xbfacaa24, doCopyTexture=@0xbfaca897) at /home/fugalh/src/OpenSceneGraph/src/osgUtil/RenderStage.cpp:719 #8 0xb7daddc4 in osgUtil::RenderStage::draw (this=0x88296f0, renderInfo=@0x86fa6fc, previous=@0xbfacaa24) at /home/fugalh/src/OpenSceneGraph/src/osgUtil/RenderStage.cpp:914 #9 0xb7db4be0 in osgUtil::SceneView::draw (this=0x86fa6a0) at /home/fugalh/src/OpenSceneGraph/src/osgUtil/SceneView.cpp:1332 #10 0x08068c0f in FGRenderer::update (refresh_camera_settings=true) at renderer.cxx:836 #11 0x08067772 in FGRenderer::update () at renderer.hxx:41 #12 0x080aa6a1 in GLUTdraw () at fg_os.cxx:128 #13 0xb7961066 in ?? () from /usr/lib/libglut.so.3 #14 0x0878bec0 in ?? () #15 0x46a4eb5f in ?? () #16 0x000dc053 in ?? () #17 0xb797d100 in ?? () from /usr/lib/libglut.so.3 #18 0x0878bec0 in ?? () #19 0x00004ab4 in ?? () #20 0xbfacaf78 in ?? () #21 0x0878bec0 in ?? () #22 0x0878bec0 in ?? () #23 0xb7961fc2 in glutMainLoop () from /usr/lib/libglut.so.3 #24 0xb796435e in fgEnumWindows () from /usr/lib/libglut.so.3 #25 0xb79618c5 in glutMainLoopEvent () from /usr/lib/libglut.so.3 #26 0xb7961d55 in glutMainLoop () from /usr/lib/libglut.so.3 #27 0x080626ee in fgMainInit (argc=3, argv=0xbfacb294) at main.cxx:1071 #28 0x08061581 in main (argc=Cannot access memory at address 0x3 ) at bootstrap.cxx:220