Segmentation fault at loading worlds files

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

Segmentation fault at loading worlds files

Orivaldo Junior
Hi,

I am Orivaldo Santana, I from UFPE/Brasil and I want to work with
simulation of walking robots with six legs.

I'm getting a segmentation fault when I try to run gazebo, exemple:
pioneer2at.world e  pioneer2dx.world;

My workspace is: gazebo-0.8-pre3, ogre-1.4.9 and, Debian with Linux
kernel 2.6.26-1-686 SMP,  nVidia Corporation G94 [GeForce 9600 GT].

Tanks in advance.

----------------

[Thread debugging using libthread_db enabled]
[New Thread 0xb51fe6e0 (LWP 32194)]
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/local/lib/OGRE]
creating /tmp/gazebo-oriva-0
creating /tmp/gazebo-oriva-0/simulation.default 112 144496

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb51fe6e0 (LWP 32194)]
0xb7710606 in std::string::assign () from /usr/lib/libstdc++.so.6
(gdb) bt
#0  0xb7710606 in std::string::assign () from /usr/lib/libstdc++.so.6
#1  0xb7710684 in std::string::operator= () from /usr/lib/libstdc++.so.6
#2  0x080bfc5a in gazebo::Geom::Load (this=0x8b7ad18, node=0x8826148)
at server/physics/Geom.cc:104
#3  0x080b717c in gazebo::Body::LoadGeom (this=0x8b79f18,
node=0x8826148) at server/physics/Body.cc:445
#4  0x080b8913 in gazebo::Body::Load (this=0x8b79f18, node=0x8826120)
at server/physics/Body.cc:117
#5  0x0814224a in gazebo::Model::LoadBody (this=0x8b64f78,
node=0x8826120) at server/Model.cc:512
#6  0x08142659 in gazebo::Model::LoadPhysical (this=0x8b64f78,
node=0x8826080) at server/Model.cc:718
#7  0x081443fa in gazebo::Model::Load (this=0x8b64f78, node=0x8826080)
at server/Model.cc:124
#8  0x08134964 in gazebo::World::LoadModel (this=0x8b56a00,
node=0x8826080, parent=0x0) at server/World.cc:326
#9  0x08134d7e in gazebo::World::LoadEntities (this=0x8b56a00,
node=0x8826080, parent=0x0) at server/World.cc:288
#10 0x08134daa in gazebo::World::LoadEntities (this=0x8b56a00,
node=0x8827038, parent=0x0) at server/World.cc:295
#11 0x081363cd in gazebo::World::Load (this=0x8b56a00,
rootNode=0x8827038, serverId=0) at server/World.cc:131
#12 0x0814cae4 in gazebo::Simulator::Load (this=0x881d8a8,
worldFileName=@0xbfe06250, serverId=0) at server/Simulator.cc:190
#13 0x0812f72a in main (argc=0, argv=0x0) at server/main.cc:267


ogre 1.4.9
--------=== Configuration summary ===--------
    Target platform                 : GLX
    OpenGL Ogre support             : GLX
    GUI library to use              : gtk
    Use double precision arithmetic : no
    Support for threading           : no
    Use STLport                     : no
    Use FreeType                    : yes
    Use FreeImage                   : yes
    Use DevIL                       : no
    Build OGRE demos                : yes
    Build CEGUI demos               : true
    Build the OpenEXR plugin        : no
    Build the Cg plugin             : yes
    Build the DirectX 9 plugin      : no
--------===============================--------



--
--
---
      --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
--- --- --- --- --- --- --- --- ---
      Orivaldo Vieira Santana Jr - http://www.cin.ufpe.br/~ovsj
      MSc Candidate in Computer Science - UFPE / http://cin.ufpe.br
      --- --- ---
      "... não vemos o mundo com nossos olhos, mas com os
      conceitos que habitam nossa mente..." Osame Kinouchi
      --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
--- --- --- --- --- --- --- --- ---
---
--
-

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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 at loading worlds files

Nate Koenig
Hello,

Could you please try to use the svn version of gazebo? It might fix the error.

You can get the SVN code using the following commnad:
  svn co https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk
gazebo


-nate


On Tue, Feb 3, 2009 at 3:26 PM, Orivaldo Junior <[hidden email]> wrote:

> Hi,
>
> I am Orivaldo Santana, I from UFPE/Brasil and I want to work with
> simulation of walking robots with six legs.
>
> I'm getting a segmentation fault when I try to run gazebo, exemple:
> pioneer2at.world e  pioneer2dx.world;
>
> My workspace is: gazebo-0.8-pre3, ogre-1.4.9 and, Debian with Linux
> kernel 2.6.26-1-686 SMP,  nVidia Corporation G94 [GeForce 9600 GT].
>
> Tanks in advance.
>
> ----------------
>
> [Thread debugging using libthread_db enabled]
> [New Thread 0xb51fe6e0 (LWP 32194)]
> 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/local/lib/OGRE]
> creating /tmp/gazebo-oriva-0
> creating /tmp/gazebo-oriva-0/simulation.default 112 144496
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb51fe6e0 (LWP 32194)]
> 0xb7710606 in std::string::assign () from /usr/lib/libstdc++.so.6
> (gdb) bt
> #0  0xb7710606 in std::string::assign () from /usr/lib/libstdc++.so.6
> #1  0xb7710684 in std::string::operator= () from /usr/lib/libstdc++.so.6
> #2  0x080bfc5a in gazebo::Geom::Load (this=0x8b7ad18, node=0x8826148)
> at server/physics/Geom.cc:104
> #3  0x080b717c in gazebo::Body::LoadGeom (this=0x8b79f18,
> node=0x8826148) at server/physics/Body.cc:445
> #4  0x080b8913 in gazebo::Body::Load (this=0x8b79f18, node=0x8826120)
> at server/physics/Body.cc:117
> #5  0x0814224a in gazebo::Model::LoadBody (this=0x8b64f78,
> node=0x8826120) at server/Model.cc:512
> #6  0x08142659 in gazebo::Model::LoadPhysical (this=0x8b64f78,
> node=0x8826080) at server/Model.cc:718
> #7  0x081443fa in gazebo::Model::Load (this=0x8b64f78, node=0x8826080)
> at server/Model.cc:124
> #8  0x08134964 in gazebo::World::LoadModel (this=0x8b56a00,
> node=0x8826080, parent=0x0) at server/World.cc:326
> #9  0x08134d7e in gazebo::World::LoadEntities (this=0x8b56a00,
> node=0x8826080, parent=0x0) at server/World.cc:288
> #10 0x08134daa in gazebo::World::LoadEntities (this=0x8b56a00,
> node=0x8827038, parent=0x0) at server/World.cc:295
> #11 0x081363cd in gazebo::World::Load (this=0x8b56a00,
> rootNode=0x8827038, serverId=0) at server/World.cc:131
> #12 0x0814cae4 in gazebo::Simulator::Load (this=0x881d8a8,
> worldFileName=@0xbfe06250, serverId=0) at server/Simulator.cc:190
> #13 0x0812f72a in main (argc=0, argv=0x0) at server/main.cc:267
>
>
> ogre 1.4.9
> --------=== Configuration summary ===--------
>    Target platform                 : GLX
>    OpenGL Ogre support             : GLX
>    GUI library to use              : gtk
>    Use double precision arithmetic : no
>    Support for threading           : no
>    Use STLport                     : no
>    Use FreeType                    : yes
>    Use FreeImage                   : yes
>    Use DevIL                       : no
>    Build OGRE demos                : yes
>    Build CEGUI demos               : true
>    Build the OpenEXR plugin        : no
>    Build the Cg plugin             : yes
>    Build the DirectX 9 plugin      : no
> --------===============================--------
>
>
>
> --
> --
> ---
>      --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
> --- --- --- --- --- --- --- --- ---
>      Orivaldo Vieira Santana Jr - http://www.cin.ufpe.br/~ovsj
>      MSc Candidate in Computer Science - UFPE / http://cin.ufpe.br
>      --- --- ---
>      "... não vemos o mundo com nossos olhos, mas com os
>      conceitos que habitam nossa mente..." Osame Kinouchi
>      --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
> --- --- --- --- --- --- --- --- ---
> ---
> --
> -
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Playerstage-gazebo mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo