Closed GoogleCodeExporter closed 9 years ago
Could you provide a backtrace with gdb from the mercurial build? Like this:
gdb ./stuntrally
run
(Wait for crash)
thread apply all bt
(Press enter to view the backtrace)
Original comment by scrawl...@gmail.com
on 3 Apr 2011 at 3:51
Original comment by scrawl...@gmail.com
on 3 Apr 2011 at 3:54
No problem.
Program received signal SIGSEGV, Segmentation fault.
0x00aab495 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) () from
/usr/lib/libstdc++.so.6
(gdb) thread apply all bt
Thread 4 (Thread 0xa8325b70 (LWP 4072)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x00c0bdf6 in poll () from /lib/libc.so.6
#2 0x012b2285 in ?? () from /usr/lib/libasound.so.2
#3 0x012b245b in snd_pcm_wait () from /usr/lib/libasound.so.2
#4 0x012b2540 in ?? () from /usr/lib/libasound.so.2
#5 0x012f6daa in ?? () from /usr/lib/libasound.so.2
#6 0x012acd84 in snd_pcm_writei () from /usr/lib/libasound.so.2
#7 0x0099ce93 in ?? () from /usr/lib/libSDL-1.2.so.0
#8 0x0096ebb5 in ?? () from /usr/lib/libSDL-1.2.so.0
#9 0x0097695e in ?? () from /usr/lib/libSDL-1.2.so.0
#10 0x009becbd in ?? () from /usr/lib/libSDL-1.2.so.0
#11 0x009f8cc9 in start_thread () from /lib/libpthread.so.0
#12 0x00c1a69e in clone () from /lib/libc.so.6
Thread 3 (Thread 0xa8b26b70 (LWP 4071)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x00c0bdf6 in poll () from /lib/libc.so.6
#2 0x013d7562 in ?? () from /usr/lib/libpulse.so.0
#3 0x013c3ab9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4 0x013c5a73 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5 0x013c5b44 in pa_mainloop_run () from /usr/lib/libpulse.so.0
---Type <return> to continue, or q <return> to quit---
#6 0x013d7303 in ?? () from /usr/lib/libpulse.so.0
#7 0x01432bd5 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8 0x009f8cc9 in start_thread () from /lib/libpthread.so.0
#9 0x00c1a69e in clone () from /lib/libc.so.6
Thread 1 (Thread 0xb7fd3710 (LWP 4067)):
#0 0x00aab495 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) () from
/usr/lib/libstdc++.so.6
#1 0x01733fa9 in
Ogre::GLRenderSystem::initialiseFromRenderSystemCapabilities(Ogre::RenderSystemC
apabilities*, Ogre::RenderTarget*) ()
from /usr/lib/OGRE/RenderSystem_GL.so
#2 0x01737a80 in
Ogre::GLRenderSystem::_createRenderWindow(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned
int, bool, std::map<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
Ogre::STLAllocator<std::pair<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0>
> > const*) () from /usr/lib/OGRE/RenderSystem_GL.so
#3 0x004779e3 in Ogre::Root::createRenderWindow(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned
int, bool---Type <return> to continue, or q <return> to quit---
, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char>
>, std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >, Ogre::STLAllocator<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > const*) () from
/usr/local/lib/libOgreMain.so.1.7.2
#4 0x081ce193 in BaseApp::configure (this=0x837d770)
at /media/storage/linuxgamecast/video/stuntrally/source/ogre/BaseApp_Create.cpp:289
#5 0x081ce48d in BaseApp::setup (this=0x837d770)
at /media/storage/linuxgamecast/video/stuntrally/source/ogre/BaseApp_Create.cpp:316
#6 0x081d0958 in BaseApp::Run (this=0x837d770, showDialolg=true)
at /media/storage/linuxgamecast/video/stuntrally/source/ogre/BaseApp_Create.cpp:197
#7 0x081b230f in main (argc=1, argv=0xbffff424)
at /media/storage/linuxgamecast/video/stuntrally/source/ogre/main.cpp:82
Original comment by anotherr...@gmail.com
on 3 Apr 2011 at 4:08
It appears you have compiled Ogre from source (there is a reference to
/usr/local/lib/libOgreMain.so.1.7.2) and then the ppa package installed new
ogre libs to /usr/lib and they don't play well together.
Try either 1) removing the stuntrally package (which should also remove ogre
packages, but make sure it does) and then running your self-compiled version
(you might need to change the plugin path in config/plugins_*.cfg), or 2)
removing the local Ogre installation and testing the package (or recompiling
Mercurial with dev packages from the ogre ppa).
Original comment by tapiovie...@gmail.com
on 3 Apr 2011 at 4:28
To me it seems the problem is you have OGRE self-compiled (/usr/local) but it
uses the render system from PPA (/usr/lib/OGRE).
Try this:
open plugins.nix.cfg and set PluginFolder to /usr/local/lib/OGRE !
Original comment by scrawl...@gmail.com
on 3 Apr 2011 at 4:35
I forgot about my Ogre source install. Let me mix that critter and have another
go. Will post the results.
Original comment by anotherr...@gmail.com
on 3 Apr 2011 at 4:55
Indeed, it was the source install of Ogre causing the problem. Removed that
install and compiled /w/ the dev packages from the PPA.
Thanks for the help,
Venn
Original comment by anotherr...@gmail.com
on 3 Apr 2011 at 5:55
Closing.
Original comment by tapiovie...@gmail.com
on 3 Apr 2011 at 6:13
Original comment by Cry...@gmail.com
on 8 May 2011 at 1:45
Original issue reported on code.google.com by
anotherr...@gmail.com
on 3 Apr 2011 at 3:34Attachments: