Segmentation fault

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Segmentation fault

patua
Hello everybody!

I'm using the lastest version of Gazebo, downloaded from the SVN repository. I'm currently using a Fedora 10 distro. I installed gazebo after I had installed the latest versions of OGRE and ODE. after I installed gazebo, everytime I try to run it it gives me a segmentation fault regardless whatever the world file I use. It doesn't gives me any kind of information about what is the problem. Here is the content of the shell:

[server/GazeboConfig.cc:84]
Gazebo Path[/usr/local/share/gazebo]
[server/GazeboConfig.cc_92]
Ogre Path[/usr/lib/OGRE]
creating /tmp/gazebo-root-0
found a pid file: pid= 6319
The gazebo process is not alive.
creating /tmp/gazebo-root-0/simulation.default 112 138336
Segmentation fault

And that's it! It gives me no information about what is the problem. Can someone help? thanks in advance.
Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault

Nate Koenig
Hello,

Can you please provide a backtrace?

-nate



On 12/19/08, patua <[hidden email]> wrote:

>
> Hello everybody!
>
> I'm using the lastest version of Gazebo, downloaded from the SVN repository.
> I'm currently using a Fedora 10 distro. I installed gazebo after I had
> installed the latest versions of OGRE and ODE. after I installed gazebo,
> everytime I try to run it it gives me a segmentation fault regardless
> whatever the world file I use. It doesn't gives me any kind of information
> about what is the problem. Here is the content of the shell:
>
> [server/GazeboConfig.cc:84]
> Gazebo Path[/usr/local/share/gazebo]
> [server/GazeboConfig.cc_92]
> Ogre Path[/usr/lib/OGRE]
> creating /tmp/gazebo-root-0
> found a pid file: pid= 6319
> The gazebo process is not alive.
> creating /tmp/gazebo-root-0/simulation.default 112 138336
> Segmentation fault
>
> And that's it! It gives me no information about what is the problem. Can
> someone help? thanks in advance.
> --
> View this message in context:
> http://www.nabble.com/Segmentation-fault-tp21093634p21093634.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

--
Sent from Gmail for mobile | mobile.google.com

------------------------------------------------------------------------------
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault

patua
Here it is the backtrace:


Starting program: /home/yoshy/RoboticTools/GazeboRep/gazebo /home/yoshy/RoboticTools/MyGazebo/Worlds/empty.world
[Thread debugging using libthread_db enabled]
Gazebo multi-robot simulator, version 0.8-pre3

Part of the Player/Stage Project [http://playerstage.sourceforge.net].
Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
Released under the GNU General Public License.

[server/GazeboConfig.cc:84]
  Gazebo Path[/usr/local/share/gazebo]
[server/GazeboConfig.cc:92]
  Ogre Path[/usr/lib/OGRE]
[New Thread 0xb7fd6750 (LWP 3026)]
Detaching after fork from child process 3027.
creating /tmp/gazebo-root-0
found a pid file: pid=3022
The gazebo process is not alive.
Detaching after fork from child process 3029.
creating /tmp/gazebo-root-0/simulation.default 112 138336

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()

Any idea?

Thanks in advance,
Patua

Nate Koenig wrote
Hello,

Can you please provide a backtrace?

-nate



On 12/19/08, patua <yoshy84@gmail.com> wrote:
>
> Hello everybody!
>
> I'm using the lastest version of Gazebo, downloaded from the SVN repository.
> I'm currently using a Fedora 10 distro. I installed gazebo after I had
> installed the latest versions of OGRE and ODE. after I installed gazebo,
> everytime I try to run it it gives me a segmentation fault regardless
> whatever the world file I use. It doesn't gives me any kind of information
> about what is the problem. Here is the content of the shell:
>
> [server/GazeboConfig.cc:84]
> Gazebo Path[/usr/local/share/gazebo]
> [server/GazeboConfig.cc_92]
> Ogre Path[/usr/lib/OGRE]
> creating /tmp/gazebo-root-0
> found a pid file: pid= 6319
> The gazebo process is not alive.
> creating /tmp/gazebo-root-0/simulation.default 112 138336
> Segmentation fault
>
> And that's it! It gives me no information about what is the problem. Can
> someone help? thanks in advance.
> --
> View this message in context:
> http://www.nabble.com/Segmentation-fault-tp21093634p21093634.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

--
Sent from Gmail for mobile | mobile.google.com

------------------------------------------------------------------------------
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault

patua
Forget the previous message...

Here it is the complete backtrace:

########################################################################
Part of the Player/Stage Project [http://playerstage.sourceforge.net].
Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
Released under the GNU General Public License.

[server/GazeboConfig.cc:84]
  Gazebo Path[/usr/local/share/gazebo]
[server/GazeboConfig.cc:92]
  Ogre Path[/usr/lib/OGRE]
[New Thread 0xb7fd6750 (LWP 3138)]
Detaching after fork from child process 3148.
creating /tmp/gazebo-yoshy-0
found a pid file: pid=3009
The gazebo process is not alive.
Detaching after fork from child process 3150.
creating /tmp/gazebo-yoshy-0/simulation.default 112 138336

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
Missing separate debuginfos, use: debuginfo-install OpenEXR-libs-1.6.1-4.fc10.i386 atk-1.24.0-1.fc10.i386 boost-1.34.1-17.fc10.i386 cairo-1.8.0-1.fc10.i386 e2fsprogs-libs-1.41.3-2.fc10.i386 expat-2.0.1-5.i386 fltk-1.1.9-1.fc10.i386 fontconfig-2.6.0-3.fc10.i386 freetype-2.3.7-2.fc10.i386 glib2-2.18.3-2.fc10.i386 glibc-2.9-3.i686 gtk2-2.14.5-3.fc10.i386 ilmbase-1.0.1-2.fc9.i386 lcms-libs-1.17-6.fc10.i386 libICE-1.0.4-4.fc10.i386 libSM-1.1.0-2.fc10.i386 libX11-1.1.4-6.fc10.i386 libXau-1.0.4-1.fc10.i386 libXaw-1.0.4-3.fc10.i386 libXcomposite-0.4.0-5.fc10.i386 libXcursor-1.1.9-3.fc10.i386 libXdamage-1.1.1-4.fc9.i386 libXdmcp-1.0.2-6.fc10.i386 libXext-1.0.4-1.fc9.i386 libXfixes-4.0.3-4.fc10.i386 libXft-2.1.13-1.fc10.i386 libXi-1.1.3-4.fc9.i386 libXinerama-1.0.3-2.fc10.i386 libXmu-1.0.4-1.fc9.i386 libXpm-3.5.7-4.fc9.i386 libXrandr-1.2.3-1.fc10.i386 libXrender-0.9.4-3.fc9.i386 libXt-1.0.5-1.fc10.i386 libXxf86vm-1.0.2-1.fc10.i386 libdrm-2.4.0-0.21.fc10.i386 libgcc-4.3.2-7.i386 libjpeg-6b-43.fc10.i386 libmng-1.0.9-7.i386 libpng-1.2.33-1.fc10.i386 libselinux-2.0.73-1.fc10.i386 libstdc++-4.3.2-7.i386 libtiff-3.8.2-11.fc10.i386 libtool-ltdl-1.5.26-4.fc10.i386 libxcb-1.1.91-5.fc10.i386 libxml2-2.7.2-2.fc10.i386 mesa-dri-drivers-7.2-0.15.fc10.i386 mesa-libGL-7.2-0.15.fc10.i386 mesa-libGLU-7.2-0.15.fc10.i386 ode-0.10.1-1.fc10.i386 ogre-1.6.0-2.fc10.i386 openjpeg-libs-1.3-2.fc9.i386 pango-1.22.3-1.fc10.i386 pixman-0.12.0-2.fc10.i386 zlib-1.2.3-18.fc9.i386 zziplib-0.13.49-5.fc9.i386
(gdb) backtrace
#0  0x00000000 in ?? ()
#1  0x01049473 in ?? () from /usr/lib/OGRE/RenderSystem_GL.so
#2  0x047aa41f in Ogre::SceneManager::_setPass ()
   from /usr/lib/libOgreMain-1.6.0.so
#3  0x047a5989 in Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit ()
   from /usr/lib/libOgreMain-1.6.0.so
#4  0x0475fc8a in Ogre::QueuedRenderableCollection::acceptVisitorGrouped ()
   from /usr/lib/libOgreMain-1.6.0.so
#5  0x047603a1 in Ogre::QueuedRenderableCollection::acceptVisitor ()
   from /usr/lib/libOgreMain-1.6.0.so
#6  0x047a8657 in Ogre::SceneManager::renderObjects ()
   from /usr/lib/libOgreMain-1.6.0.so
#7  0x047a86e3 in Ogre::SceneManager::renderBasicQueueGroupObjects ()
   from /usr/lib/libOgreMain-1.6.0.so
#8  0x047a7e87 in Ogre::SceneManager::_renderQueueGroupObjects ()
   from /usr/lib/libOgreMain-1.6.0.so
#9  0x047a8e55 in Ogre::SceneManager::renderVisibleObjectsDefaultSequence ()
   from /usr/lib/libOgreMain-1.6.0.so
#10 0x047a8fef in Ogre::SceneManager::_renderVisibleObjects ()
   from /usr/lib/libOgreMain-1.6.0.so
#11 0x07fb4add in Ogre::TerrainSceneManager::_renderVisibleObjects ()
   from /usr/lib/OGRE/Plugin_OctreeSceneManager.so
#12 0x047a969e in Ogre::SceneManager::_renderScene ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libOgreMain-1.6.0.so
#13 0x07fb4c16 in Ogre::TerrainSceneManager::_renderScene ()
   from /usr/lib/OGRE/Plugin_OctreeSceneManager.so
#14 0x0460da3e in Ogre::Camera::_renderScene ()
   from /usr/lib/libOgreMain-1.6.0.so
#15 0x048806f0 in Ogre::Viewport::update () from /usr/lib/libOgreMain-1.6.0.so
#16 0x0477bfbd in Ogre::RenderTarget::updateImpl ()
   from /usr/lib/libOgreMain-1.6.0.so
#17 0x0477b92c in Ogre::RenderTarget::update ()
   from /usr/lib/libOgreMain-1.6.0.so
#18 0x081443ee in gazebo::OgreAdaptor::UpdateWindow (this=0x8228c08,
    window=0x8754fa0, camera=0x87539b8) at server/rendering/OgreAdaptor.cc:463
#19 0x08164017 in gazebo::UserCamera::Update (this=0x87539b8)
    at server/rendering/UserCamera.cc:95
#20 0x0819f2cf in gazebo::GLWindow::Update (this=0x8576e68)
    at server/gui/GLWindow.cc:145
#21 0x081a8ab5 in gazebo::GLFrame::Update (this=0x8562a60)
    at server/gui/GLFrame.cc:142
#22 0x081a6068 in gazebo::GLFrameManager::Update (this=0x82540b8)
    at server/gui/GLFrameManager.cc:188
#23 0x0819caf5 in gazebo::Gui::Update (this=0x824c9f8) at server/gui/Gui.cc:150
#24 0x081cdb3e in gazebo::Simulator::MainLoop (this=0x821bd88)
    at server/Simulator.cc:333
---Type <return> to continue, or q <return> to quit---
#25 0x081ac635 in main (argc=Cannot access memory at address 0x0
) at server/main.cc:293
#########################################################
any idea?

Patua
Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault

Nate Koenig
Hello,

I think this problem is now fixed in SVN head.

-nate

On Mon, Dec 22, 2008 at 1:46 AM, patua <[hidden email]> wrote:

>
> Forget the previous message...
>
> Here it is the complete backtrace:
>
> ########################################################################
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> [server/GazeboConfig.cc:84]
>  Gazebo Path[/usr/local/share/gazebo]
> [server/GazeboConfig.cc:92]
>  Ogre Path[/usr/lib/OGRE]
> [New Thread 0xb7fd6750 (LWP 3138)]
> Detaching after fork from child process 3148.
> creating /tmp/gazebo-yoshy-0
> found a pid file: pid=3009
> The gazebo process is not alive.
> Detaching after fork from child process 3150.
> creating /tmp/gazebo-yoshy-0/simulation.default 112 138336
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000000 in ?? ()
> Missing separate debuginfos, use: debuginfo-install
> OpenEXR-libs-1.6.1-4.fc10.i386 atk-1.24.0-1.fc10.i386
> boost-1.34.1-17.fc10.i386 cairo-1.8.0-1.fc10.i386
> e2fsprogs-libs-1.41.3-2.fc10.i386 expat-2.0.1-5.i386 fltk-1.1.9-1.fc10.i386
> fontconfig-2.6.0-3.fc10.i386 freetype-2.3.7-2.fc10.i386
> glib2-2.18.3-2.fc10.i386 glibc-2.9-3.i686 gtk2-2.14.5-3.fc10.i386
> ilmbase-1.0.1-2.fc9.i386 lcms-libs-1.17-6.fc10.i386 libICE-1.0.4-4.fc10.i386
> libSM-1.1.0-2.fc10.i386 libX11-1.1.4-6.fc10.i386 libXau-1.0.4-1.fc10.i386
> libXaw-1.0.4-3.fc10.i386 libXcomposite-0.4.0-5.fc10.i386
> libXcursor-1.1.9-3.fc10.i386 libXdamage-1.1.1-4.fc9.i386
> libXdmcp-1.0.2-6.fc10.i386 libXext-1.0.4-1.fc9.i386
> libXfixes-4.0.3-4.fc10.i386 libXft-2.1.13-1.fc10.i386 libXi-1.1.3-4.fc9.i386
> libXinerama-1.0.3-2.fc10.i386 libXmu-1.0.4-1.fc9.i386
> libXpm-3.5.7-4.fc9.i386 libXrandr-1.2.3-1.fc10.i386
> libXrender-0.9.4-3.fc9.i386 libXt-1.0.5-1.fc10.i386
> libXxf86vm-1.0.2-1.fc10.i386 libdrm-2.4.0-0.21.fc10.i386 libgcc-4.3.2-7.i386
> libjpeg-6b-43.fc10.i386 libmng-1.0.9-7.i386 libpng-1.2.33-1.fc10.i386
> libselinux-2.0.73-1.fc10.i386 libstdc++-4.3.2-7.i386
> libtiff-3.8.2-11.fc10.i386 libtool-ltdl-1.5.26-4.fc10.i386
> libxcb-1.1.91-5.fc10.i386 libxml2-2.7.2-2.fc10.i386
> mesa-dri-drivers-7.2-0.15.fc10.i386 mesa-libGL-7.2-0.15.fc10.i386
> mesa-libGLU-7.2-0.15.fc10.i386 ode-0.10.1-1.fc10.i386 ogre-1.6.0-2.fc10.i386
> openjpeg-libs-1.3-2.fc9.i386 pango-1.22.3-1.fc10.i386
> pixman-0.12.0-2.fc10.i386 zlib-1.2.3-18.fc9.i386 zziplib-0.13.49-5.fc9.i386
> (gdb) backtrace
> #0  0x00000000 in ?? ()
> #1  0x01049473 in ?? () from /usr/lib/OGRE/RenderSystem_GL.so
> #2  0x047aa41f in Ogre::SceneManager::_setPass ()
>   from /usr/lib/libOgreMain-1.6.0.so
> #3  0x047a5989 in Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit
> ()
>   from /usr/lib/libOgreMain-1.6.0.so
> #4  0x0475fc8a in Ogre::QueuedRenderableCollection::acceptVisitorGrouped ()
>   from /usr/lib/libOgreMain-1.6.0.so
> #5  0x047603a1 in Ogre::QueuedRenderableCollection::acceptVisitor ()
>   from /usr/lib/libOgreMain-1.6.0.so
> #6  0x047a8657 in Ogre::SceneManager::renderObjects ()
>   from /usr/lib/libOgreMain-1.6.0.so
> #7  0x047a86e3 in Ogre::SceneManager::renderBasicQueueGroupObjects ()
>   from /usr/lib/libOgreMain-1.6.0.so
> #8  0x047a7e87 in Ogre::SceneManager::_renderQueueGroupObjects ()
>   from /usr/lib/libOgreMain-1.6.0.so
> #9  0x047a8e55 in Ogre::SceneManager::renderVisibleObjectsDefaultSequence ()
>   from /usr/lib/libOgreMain-1.6.0.so
> #10 0x047a8fef in Ogre::SceneManager::_renderVisibleObjects ()
>   from /usr/lib/libOgreMain-1.6.0.so
> #11 0x07fb4add in Ogre::TerrainSceneManager::_renderVisibleObjects ()
>   from /usr/lib/OGRE/Plugin_OctreeSceneManager.so
> #12 0x047a969e in Ogre::SceneManager::_renderScene ()
> ---Type <return> to continue, or q <return> to quit---
>   from /usr/lib/libOgreMain-1.6.0.so
> #13 0x07fb4c16 in Ogre::TerrainSceneManager::_renderScene ()
>   from /usr/lib/OGRE/Plugin_OctreeSceneManager.so
> #14 0x0460da3e in Ogre::Camera::_renderScene ()
>   from /usr/lib/libOgreMain-1.6.0.so
> #15 0x048806f0 in Ogre::Viewport::update () from
> /usr/lib/libOgreMain-1.6.0.so
> #16 0x0477bfbd in Ogre::RenderTarget::updateImpl ()
>   from /usr/lib/libOgreMain-1.6.0.so
> #17 0x0477b92c in Ogre::RenderTarget::update ()
>   from /usr/lib/libOgreMain-1.6.0.so
> #18 0x081443ee in gazebo::OgreAdaptor::UpdateWindow (this=0x8228c08,
>    window=0x8754fa0, camera=0x87539b8) at
> server/rendering/OgreAdaptor.cc:463
> #19 0x08164017 in gazebo::UserCamera::Update (this=0x87539b8)
>    at server/rendering/UserCamera.cc:95
> #20 0x0819f2cf in gazebo::GLWindow::Update (this=0x8576e68)
>    at server/gui/GLWindow.cc:145
> #21 0x081a8ab5 in gazebo::GLFrame::Update (this=0x8562a60)
>    at server/gui/GLFrame.cc:142
> #22 0x081a6068 in gazebo::GLFrameManager::Update (this=0x82540b8)
>    at server/gui/GLFrameManager.cc:188
> #23 0x0819caf5 in gazebo::Gui::Update (this=0x824c9f8) at
> server/gui/Gui.cc:150
> #24 0x081cdb3e in gazebo::Simulator::MainLoop (this=0x821bd88)
>    at server/Simulator.cc:333
> ---Type <return> to continue, or q <return> to quit---
> #25 0x081ac635 in main (argc=Cannot access memory at address 0x0
> ) at server/main.cc:293
> #########################################################
> any idea?
>
> Patua
> --
> View this message in context: http://www.nabble.com/Segmentation-fault-tp21093634p21125089.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo