From: David J. M. <Dav...@dr...> - 2008-07-29 17:38:42
|
Hello All, With the latest svn gazebo 6931 running on an x86-64 FC7 machine, I'm getting a segmentation fault when I try to run gazebo with the example worlds. A typical trace under gdb looks like: [server/GazeboConfig.cc:68] Gazebo Path[/usr/local/share/gazebo] [server/GazeboConfig.cc:76] Ogre Path[/usr/local/lib/OGRE] creating /tmp/gazebo-dmackay-0 creating /tmp/gazebo-dmackay-0/simulation.default 112 145592 creating /tmp/gazebo-dmackay-0/position.position_iface_0 112 288 creating /tmp/gazebo-dmackay-0/laser.laser_iface_0 112 12512 creating /tmp/gazebo-dmackay-0/fiducial.fiducial_iface_0 112 22600 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912526904368 (LWP 23683)] 0x00000031f68be005 in __dynamic_cast () from /usr/lib64/libstdc++.so.6 (gdb) bt #0 0x00000031f68be005 in __dynamic_cast () from /usr/lib64/libstdc ++.so.6 #1 0x00000000004c7fa0 in gazebo::Toolbar::Update (this=0x789200) at server/gui/Toolbar.cc:87 #2 0x00000000004c4476 in gazebo::Gui::Update (this=0x7817d0) at server/gui/Gui.cc:121 #3 0x00000000004e938d in gazebo::Simulator::MainLoop (this=0x731670) at server/Simulator.cc:291 #4 0x00000000004cfb9b in main (argc=2, argv=0x7fff33ab3b28) at server/main.cc:293 Any thoughts? TIA -- David J. Mackay <Dav...@dr...> |
From: John H. <jo...@wi...> - 2008-07-29 17:49:23
|
I submitted a patch for this (patch# 2029039). a variables was not initialized properly. John Index: server/Simulator.cc =================================================================== --- server/Simulator.cc (revision 6915) +++ server/Simulator.cc (working copy) @@ -71,6 +71,7 @@ physicsEnabled(true), timeout(-1) { + selectedEntity = NULL; } //////////////////////////////////////////////////////////////////////////////// On Tue, Jul 29, 2008 at 10:38 AM, David J. Mackay < Dav...@dr...> wrote: > Hello All, > > With the latest svn gazebo 6931 running on an x86-64 FC7 machine, I'm > getting a segmentation fault when I try to run gazebo with the example > worlds. A typical trace under gdb looks like: > > [server/GazeboConfig.cc:68] > Gazebo Path[/usr/local/share/gazebo] > [server/GazeboConfig.cc:76] > Ogre Path[/usr/local/lib/OGRE] > creating /tmp/gazebo-dmackay-0 > creating /tmp/gazebo-dmackay-0/simulation.default 112 145592 > creating /tmp/gazebo-dmackay-0/position.position_iface_0 112 288 > creating /tmp/gazebo-dmackay-0/laser.laser_iface_0 112 12512 > creating /tmp/gazebo-dmackay-0/fiducial.fiducial_iface_0 112 22600 > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 46912526904368 (LWP 23683)] > 0x00000031f68be005 in __dynamic_cast () from /usr/lib64/libstdc++.so.6 > (gdb) bt > #0 0x00000031f68be005 in __dynamic_cast () from /usr/lib64/libstdc > ++.so.6 > #1 0x00000000004c7fa0 in gazebo::Toolbar::Update (this=0x789200) at > server/gui/Toolbar.cc:87 > #2 0x00000000004c4476 in gazebo::Gui::Update (this=0x7817d0) at > server/gui/Gui.cc:121 > #3 0x00000000004e938d in gazebo::Simulator::MainLoop (this=0x731670) at > server/Simulator.cc:291 > #4 0x00000000004cfb9b in main (argc=2, argv=0x7fff33ab3b28) at > server/main.cc:293 > > Any thoughts? > > TIA > -- > David J. Mackay <Dav...@dr...> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Playerstage-gazebo mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > -- John Hsu Willow Garage 650-475-2809 510-326-2816 |