Hello,   Thanks for responding to my request. Here is what I have for the
backtrace:

bandit.world is on the path as I am running the program from the worlds
directory.
[EMAIL PROTECTED]:~/Desktop/gazebo-0.8-pre3/worlds$ gdb gazebo
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) set args bandit.world
(gdb) run
Starting program: /usr/local/bin/gazebo bandit.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/local/lib/OGRE]
[New Thread 0xb6cc76c0 (LWP 1849)]
creating /tmp/gazebo-ksshams-0
found a pid file: pid=1595
The gazebo process is not alive.
creating /tmp/gazebo-ksshams-0/simulation.default 112 144496
creating /tmp/gazebo-ksshams-0/position.position_iface_0 112 228
creating /tmp/gazebo-ksshams-0/stereo.bandit_stereo_iface 112 2457716
creating /tmp/gazebo-ksshams-0/camera.bandit_stereo_camera_left_iface 112
921752
creating /tmp/gazebo-ksshams-0/camera.bandit_stereo_camera_right_iface 112
921752
Unable to read value with key[imageSize]
Unable to read value with key[imageSize]
creating /tmp/gazebo-ksshams-0/actarray.bandit_actarray_iface 112 984

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6cc76c0 (LWP 1849)]
Ogre::Technique::getPass (this=0x0, index=0)
    at /usr/include/c++/4.2/bits/stl_vector.h:397
397      { return size_type(this->_M_impl._M_finish -
this->_M_impl._M_start); }
(gdb) bt
#0  Ogre::Technique::getPass (this=0x0, index=0)
    at /usr/include/c++/4.2/bits/stl_vector.h:397
#1  0x08111fac in gazebo::StereoCameraSensor::UpdateChild (this=0x8533d98)
    at server/sensors/camera/StereoCameraSensor.cc:225
#2  0x08119576 in gazebo::Sensor::Update (this=0x8533d98)
    at server/sensors/Sensor.cc:107
#3  0x080c4f75 in gazebo::Body::Update (this=0x84b1af0)
    at server/physics/Body.cc:233
#4  0x08150721 in gazebo::Model::Update (this=0x84b06e0) at
server/Model.cc:319
#5  0x08142b44 in gazebo::World::Update (this=0x83ff1e8) at
server/World.cc:193
#6  0x0815831c in gazebo::Simulator::MainLoop (this=0x81c4a70)
    at server/Simulator.cc:313
#7  0x0813c737 in main (argc=Cannot access memory at address 0x0
) at server/main.cc:293
(gdb)


---------- Forwarded message ----------
From: Nate Koenig <[EMAIL PROTECTED]>
Date: Mon, Oct 6, 2008 at 1:43 PM
Subject: Re: [Playerstage-users] Segmentation fault running bandit.world in
gazebo
To: [EMAIL PROTECTED]


Hi Khawaja,

Could you provide a backtrace of the segfault?

Also, please post Gazebo related questions to the Gazebo mailing list.

Thanks,

-nate


On Sun, Oct 5, 2008 at 10:31 PM, Khawaja Shams <[EMAIL PROTECTED]> wrote:
> Hello,
>    I am getting a seg fault when running bandit.world in gazebo. I am able
> to run others like test.world, simplecar.world, and laser.world among the
> distributed worlds.   Any pointers?
> [EMAIL PROTECTED]:~/Desktop/gazebo-0.8-pre3/worlds$ gazebo
> bandit.world
> 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-ksshams-0
> creating /tmp/gazebo-ksshams-0/simulation.default 112 144496
> creating /tmp/gazebo-ksshams-0/position.position_iface_0 112 228
> creating /tmp/gazebo-ksshams-0/stereo.bandit_stereo_iface 112 2457716
> creating /tmp/gazebo-ksshams-0/camera.bandit_stereo_camera_left_iface 112
> 921752
> creating /tmp/gazebo-ksshams-0/camera.bandit_stereo_camera_right_iface 112
> 921752
> Unable to read value with key[imageSize]
> Unable to read value with key[imageSize]
> creating /tmp/gazebo-ksshams-0/actarray.bandit_actarray_iface 112 984
> Segmentation fault
>
> -------------------------------------------------------------------------
> 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-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>
>

-------------------------------------------------------------------------
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-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to