libGiGiOgre segmentation fault
Posted: Tue Mar 03, 2009 9:40 pm
As requested by kroddn, I am creating this topic to discuss the segmentation fault I get every time I run FO. The discussion started here: viewtopic.php?f=24&t=2466&st=0&sk=t&sd=a&start=15 .
I tried running the OGRE samples and applied a patch ( http://www.ogre3d.org/forums/viewtopic. ... 15#p326715 ) that fixed some rendering problems, but never did I encounter a segfault. I ran other applications that make use of openGL and 3D acceleration and those worked fine too.
GG tutorials run fine, without problems, but FO still segfaults.
Now I managed to run gdb without getting keyboard and mouse hooked up, and this is the backtrace:
freeorion.log
I use the ATI fglrx 8.12 driver with Debian Lenny on an amd64 architecture. The video card is an ATI Radeon Xpress 200M.
gcc and g++ are both 4.3.2. Revisions are 2912 for FO and 711 for GG.
I tried running the OGRE samples and applied a patch ( http://www.ogre3d.org/forums/viewtopic. ... 15#p326715 ) that fixed some rendering problems, but never did I encounter a segfault. I ran other applications that make use of openGL and 3D acceleration and those worked fine too.
GG tutorials run fine, without problems, but FO still segfaults.
Now I managed to run gdb without getting keyboard and mouse hooked up, and this is the backtrace:
Code: Select all
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f58e53d5700 (LWP 5682)]
0x00000000000021a1 in ?? ()
(gdb) bt
#0 0x00000000000021a1 in ?? ()
#1 0x00007f58e4e08917 in GG::OgreGUI::Enter2DMode () from /usr/local/lib/libGiGiOgre.so
#2 0x000000000068ac7b in HumanClientApp::Enter2DMode ()
#3 0x00007f58e4aad72e in GG::GUI::Render () from /usr/local/lib/libGiGi.so
#4 0x00007f58e4e08503 in GG::OgreGUI::postRenderTargetUpdate () from /usr/local/lib/libGiGiOgre.so
#5 0x00007f58e2f53cf8 in Ogre::RenderTarget::firePostUpdate () from /usr/local/lib/libOgreMain-1.6.1.so
#6 0x00007f58e2f54609 in Ogre::RenderTarget::updateImpl () from /usr/local/lib/libOgreMain-1.6.1.so
#7 0x00007f58e2f53ebc in Ogre::RenderTarget::update () from /usr/local/lib/libOgreMain-1.6.1.so
#8 0x00007f58e2f4061f in Ogre::RenderSystem::_updateAllRenderTargets () from /usr/local/lib/libOgreMain-1.6.1.so
#9 0x00007f58e2f6f525 in Ogre::Root::_updateAllRenderTargets () from /usr/local/lib/libOgreMain-1.6.1.so
#10 0x00007f58e2f6f655 in Ogre::Root::renderOneFrame () from /usr/local/lib/libOgreMain-1.6.1.so
#11 0x00007f58e4e08bf8 in GG::OgreGUI::Run () from /usr/local/lib/libGiGiOgre.so
#12 0x000000000069bca0 in main ()
Code: Select all
2009-03-03 13:30:06,640 DEBUG Client : OpenAL initialized. Version 1.1Renderer OpenAL SoftVendor OpenAL Community
Extensions: AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_LOKI_quadriphonic
2009-03-03 13:30:07,233 DEBUG Client : Limited FPS to 60
2009-03-03 13:30:07,579 DEBUG Client : (HumanClientFSM) IntroMenu
2009-03-03 13:30:07,579 DEBUG Client : (HumanClientFSM) IntroMenuIdle
gcc and g++ are both 4.3.2. Revisions are 2912 for FO and 711 for GG.