Hi Michal,<br>Sorry it must have gotten lost in my ever growing inbox :)<br>From the backtrace here, it looks like the instance of Simulator object has been deleted probably due to some other problems.  Can you:<br><br> - do "thread apply all bt" in gdb and post the outputs<br>

 - Does the console output still contain the error from GLX?, i.e. <br><div style="margin-left: 40px;">terminate called after throwing an instance of 'Ogre::RenderingAPIException'<br>
  what():  OGRE EXCEPTION(3:</div><div style="margin-left: 40px;" class="im">RenderingAPIException): Zero sized texture<br>
surface on texture high_def_sensor_RttTex face 0 mipmap 0. Probably, the<br>
GL driver refused to create the texture. in<br>
GLTexture::_createSurfaceList at OgreGLTexture.cpp (line 405)</div><br>
if so, then it is possible that the combination of ATI card and driver does not support the OpenGL calls by Ogre.  See <a href="http://www.ros.org/wiki/simulator_gazebo/SystemRequirements">this page</a> for more info.<br>

<br>Thanks,<br>John<br><br><br><div class="gmail_quote">On Thu, Apr 1, 2010 at 4:09 AM,  <span dir="ltr"><<a href="mailto:Michal.Stolba@cis.strath.ac.uk" target="_blank">Michal.Stolba@cis.strath.ac.uk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi John,<br>
<br>
it seems this message didn't reach you, so I'm sending it again.<br>
Cheers,<br>
<br>
Michal<br>
<br>
> Hi John,<br>
><br>
> sorry that it took me a bit longer, here is the backtrace:<br>
><br>
> (gdb) bt<br>
> #0  0xb774f410 in __kernel_vsyscall ()<br>
> #1  0xb6199cb6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6<br>
> #2  0xb61d41dc in usleep () from /lib/tls/i686/cmov/libc.so.6<br>
> #3  0xb65ab832 in gazebo::Simulator::MainLoop (this=0x8055398)<br>
>     at<br>
> /home/s5/michal/ros/overlay/ros-pkg-trunk/stacks/simulator_gazebo/gazebo/gazebo-svn/server/Simulator.cc:373<br>
> #4  0x0804ac6d in main (argc=Cannot access memory at address 0x0<br>
> )<br>
>     at<br>
> /home/s5/michal/ros/overlay/ros-pkg-trunk/stacks/simulator_gazebo/gazebo/gazebo-svn/server/main.cc:316<br>
> (gdb)<br>
><br>
> Is it any help?<br>
><br>
> Cheers,<br>
> Michal<br>
><br>
>> Hi Michal,<br>
>> to get the backtrace,<br>
>> see 1.1 in<br>
>> <a href="http://www.ros.org/wiki/pr2_simulator/Tutorials/RunningSimulatorWithGDB" target="_blank">http://www.ros.org/wiki/pr2_simulator/Tutorials/RunningSimulatorWithGDB</a><br>
>> after empty world is up and running, roslaunch pr2.launch as usual.<br>
>> John<br>
>><br>
>> On Wed, Mar 10, 2010 at 4:13 AM, <<a href="mailto:Michal.Stolba@cis.strath.ac.uk" target="_blank">Michal.Stolba@cis.strath.ac.uk</a>> wrote:<br>
>><br>
>>> Hi John,<br>
>>><br>
>>> I've done the compilation, but no backtrace is produced, do I need to<br>
>>> launch gazebo with some special command?<br>
>>><br>
>>> Thanks very much for the link, I'll try it afterwards<br>
>>><br>
>>> Thanks<br>
>>> Michal<br>
>>><br>
>>> > Michal,<br>
>>> > while you can reproduce the error, can you recompile gazebo with<br>
>>> debug<br>
>>> > (search gazebo/Makefile and replace "release" with "debug" then<br>
>>> recompile)<br>
>>> > and produce a backtrace?<br>
>>> > thanks,<br>
>>> > john<br>
>>> ><br>
>>> > On Tue, Mar 9, 2010 at 1:18 PM, Josh Faust <<a href="mailto:jfaust@willowgarage.com" target="_blank">jfaust@willowgarage.com</a>><br>
>>> > wrote:<br>
>>> ><br>
>>> >> Whoops, wrong link.  Here's the right one:<br>
>>> >> <a href="https://code.ros.org/discuss/ros-users/browse_frm/thread/1044/3768" target="_blank">https://code.ros.org/discuss/ros-users/browse_frm/thread/1044/3768</a><br>
>>> >><br>
>>> >><br>
>>> >> On Tue, Mar 9, 2010 at 1:00 PM, Josh Faust<br>
>>> >> <<a href="mailto:jfaust@willowgarage.com" target="_blank">jfaust@willowgarage.com</a>>wrote:<br>
>>> >><br>
>>> >>> This is the same issue as<br>
>>> >>> <a href="https://code.ros.org/discuss/ros-users/browse_frm/month/2010-02/337" target="_blank">https://code.ros.org/discuss/ros-users/browse_frm/month/2010-02/337</a><br>
>>> >>><br>
>>> >>> Can you try the patch John sent and see if it works?<br>
>>> >>><br>
>>> >>> John, this exception really needs to be caught and the texture<br>
>>> >>> automatically downres'd.  There are a *lot* of cards that do not<br>
>>> >>> support<br>
>>> >>> textures > 2048 on a side.<br>
>>> >>><br>
>>> >>> Josh<br>
>>> >>><br>
>>> >>><br>
>>> >>> On Tue, Mar 9, 2010 at 10:03 AM, John Hsu<br>
>>> >>> <<a href="mailto:johnhsu@willowgarage.com" target="_blank">johnhsu@willowgarage.com</a>>wrote:<br>
>>> >>><br>
>>> >>>> Hi Michal,<br>
>>> >>>> this is one issue we have seen quite consistently with ati cards.<br>
>>> Can<br>
>>> >>>> you try installing the latest driver from ATI and try again?  I<br>
>>> don't<br>
>>> >>>> have<br>
>>> >>>> the hardware to test it here.  So far, we have successfully run<br>
>>> >>>> Gazebo/Ogre<br>
>>> >>>> mostly with nvidia cards/drivers (see<br>
>>> >>>> <a href="http://www.ros.org/wiki/simulator_gazebo/SystemRequirements" target="_blank">http://www.ros.org/wiki/simulator_gazebo/SystemRequirements</a>)<br>
>>> >>>><br>
>>> >>>> as usual, patches are welcome.<br>
>>> >>>><br>
>>> >>>> best,<br>
>>> >>>> John<br>
>>> >>>><br>
>>> >>>> On Mar 9, 2010 9:15 AM, <<a href="mailto:Michal.Stolba@cis.strath.ac.uk" target="_blank">Michal.Stolba@cis.strath.ac.uk</a>> wrote:<br>
>>> >>>><br>
>>> >>>> Hi,<br>
>>> >>>><br>
>>> >>>> I'm trying to run the pr2 simulation in gazebo, but when I run:<br>
>>> >>>><br>
>>> >>>> roslaunch gazebo empty_world.launch (which launches gazebo just<br>
>>> fine)<br>
>>> >>>><br>
>>> >>>> and<br>
>>> >>>><br>
>>> >>>> roslaunch pr2_gazebo pr2.launch<br>
>>> >>>><br>
>>> >>>> the last command spits out a lot of warnings such as:<br>
>>> >>>> [rospack] warning: couldn't find dependency [message_notifier] of<br>
>>> >>>> [follower]<br>
>>> >>>> [rospack] warning: couldn't find dependency [wavefront] of<br>
>>> >>>> [2dnav_erratic]<br>
>>> >>>> [rospack] warning: couldn't find dependency [wavefront] of<br>
>>> >>>> [2dnav_stage]<br>
>>> >>>> [rospack] warning: couldn't find dependency<br>
>>> [teleop_anti_collision]<br>
>>> of<br>
>>> >>>> [2dnav_texas]<br>
>>> >>>> [rospack] warning: couldn't find dependency [nodelet] of [pcl]<br>
>>> >>>> [rospack] warning: couldn't find dependency [message_notifier] of<br>
>>> >>>> [pr2_ik]<br>
>>> >>>> [rospack] warning: couldn't find dependency<br>
>>> [experimental_controllers]<br>
>>> >>>> of<br>
>>> >>>> [pr2_ik]<br>
>>> >>>> [rospack] warning: couldn't find dependency [robot_actions] of<br>
>>> >>>> [sbpl_door_planner_action]<br>
>>> >>>> [rospack] warning: couldn't find dependency [pr2_robot_actions] of<br>
>>> >>>> [sbpl_door_planner_action]<br>
>>> >>>> [rospack] warning: couldn't find dependency [message_notifier] of<br>
>>> >>>> [sbpl_arm_planner_node]<br>
>>> >>>> [rospack] warning: couldn't find dependency [robot_voxelizer] of<br>
>>> >>>> [sbpl_arm_planner_node]<br>
>>> >>>> [rospack] warning: couldn't find dependency [message_notifier] of<br>
>>> >>>> [or_robot_self_filter]<br>
>>> >>>> [rospack] warning: couldn't find dependency<br>
>>> [experimental_controllers]<br>
>>> >>>> of<br>
>>> >>>> [wheel_odometry_calibration]<br>
>>> >>>> [rospack] warning: couldn't find dependency [robot_actions] of<br>
>>> >>>> [pr2_laser_tilt_actions]<br>
>>> >>>> [rospack] warning: couldn't find dependency<br>
>>> >>>> [approximate_time_synchronizer] of [dp_ptu47_pan_tilt_stage]<br>
>>> >>>> [rospack] warning: couldn't find dependency<br>
>>> >>>> [approximate_time_synchronizer] of [dp_ptu47_pan_tilt_stage]<br>
>>> >>>> [rospack] warning: couldn't find dependency [qpOASES] of<br>
>>> >>>> [multibooster]<br>
>>> >>>> [rospack] warning: couldn't find dependency [message_notifier] of<br>
>>> >>>> [people_package]<br>
>>> >>>> [rospack] warning: couldn't find dependency [deprecated_msgs] of<br>
>>> >>>> [people_package]<br>
>>> >>>> [rospack] warning: couldn't find dependency [robot_actions] of<br>
>>> >>>> [people_package]<br>
>>> >>>> [rospack] warning: couldn't find dependency [pr2_robot_actions] of<br>
>>> >>>> [people_package]<br>
>>> >>>> [rospack] warning: couldn't find dependency [topic_synchronizer]<br>
>>> of<br>
>>> >>>> [people_package]<br>
>>> >>>> [rospack] warning: couldn't find dependency [topic_synchronizer2]<br>
>>> of<br>
>>> >>>> [people_package]<br>
>>> >>>> [rospack] warning: couldn't find dependency [color_calib] of<br>
>>> >>>> [people_package]<br>
>>> >>>> [rospack] warning: couldn't find dependency [message_sequencing]<br>
>>> of<br>
>>> >>>> [people_package]<br>
>>> >>>> [rospack] warning: couldn't find dependency<br>
>>> [person_following_planner]<br>
>>> >>>> of<br>
>>> >>>> [people_package]<br>
>>> >>>> [rospack] warning: couldn't find dependency [message_notifier] of<br>
>>> >>>> [leg_detector]<br>
>>> >>>> [rospack] warning: couldn't find dependency [deprecated_msgs] of<br>
>>> >>>> [leg_detector]<br>
>>> >>>> [rospack] warning: couldn't find dependency [topic_synchronizer]<br>
>>> of<br>
>>> >>>> [leg_detector]<br>
>>> >>>> [rospack] warning: couldn't find dependency [message_sequencing]<br>
>>> of<br>
>>> >>>> [leg_detector]<br>
>>> >>>> [rospack] warning: couldn't find dependency [message_notifier] of<br>
>>> >>>> [filter]<br>
>>> >>>> [rospack] warning: couldn't find dependency [deprecated_msgs] of<br>
>>> >>>> [filter]<br>
>>> >>>> [rospack] warning: couldn't find dependency [topic_synchronizer]<br>
>>> of<br>
>>> >>>> [filter]<br>
>>> >>>> [rospack] warning: couldn't find dependency [topic_synchronizer2]<br>
>>> of<br>
>>> >>>> [filter]<br>
>>> >>>> [rospack] warning: couldn't find dependency [message_sequencing]<br>
>>> of<br>
>>> >>>> [filter]<br>
>>> >>>> [rospack] warning: couldn't find dependency [topic_synchronizer]<br>
>>> of<br>
>>> >>>> [people_aware_nav]<br>
>>> >>>> [rospack] warning: couldn't find dependency [robot_actions] of<br>
>>> >>>> [people_aware_nav]<br>
>>> >>>> [rospack] warning: couldn't find dependency [deprecated_msgs] of<br>
>>> >>>> [follower]<br>
>>> >>>> [rospack] warning: couldn't find dependency [robot_actions] of<br>
>>> >>>> [follower]<br>
>>> >>>> [rospack] warning: couldn't find dependency [pr2_robot_actions] of<br>
>>> >>>> [follower]<br>
>>> >>>> [rospack] warning: couldn't find dependency<br>
>>> [person_following_planner]<br>
>>> >>>> of<br>
>>> >>>> [follower]<br>
>>> >>>> [rospack] warning: couldn't find dependency [message_notifier] of<br>
>>> >>>> [follower]<br>
>>> >>>> [rospack] warning: couldn't find dependency [wavefront] of<br>
>>> >>>> [2dnav_erratic]<br>
>>> >>>> [rospack] warning: couldn't find dependency [wavefront] of<br>
>>> >>>> [2dnav_stage]<br>
>>> >>>><br>
>>> >>>> and gazebo crashes with following error:<br>
>>> >>>><br>
>>> >>>> BAYER_BGGR8 not supported, using default Ogre::PF_R8G8B8<br>
>>> >>>> BAYER_BGGR8 not supported, using default Ogre::PF_R8G8B8<br>
>>> >>>> [ INFO] 431.963999997: trigger_mode trigger_mode streaming<br>
>>> >>>> terminate called after throwing an instance of<br>
>>> >>>> 'Ogre::RenderingAPIException'<br>
>>> >>>>  what():  OGRE EXCEPTION(3:RenderingAPIException): Zero sized<br>
>>> texture<br>
>>> >>>> surface on texture high_def_sensor_RttTex face 0 mipmap 0.<br>
>>> Probably,<br>
>>> >>>> the<br>
>>> >>>> GL driver refused to create the texture. in<br>
>>> >>>> GLTexture::_createSurfaceList at OgreGLTexture.cpp (line 405)<br>
>>> >>>><br>
>>> >>>> I thought it might be because of bad opengl support, so I had a<br>
>>> new<br>
>>> >>>> card<br>
>>> >>>> installed:<br>
>>> >>>><br>
>>> >>>> openGL Renderer: ATI Radeon 9600 Series<br>
>>> >>>> OpenGL Version: 2.1.8087 Release<br>
>>> >>>><br>
>>> >>>> But the problem persists.<br>
>>> >>>><br>
>>> >>>> What could be wrong? Am I missing some important package? Any<br>
>>> hints?<br>
>>> >>>><br>
>>> >>>> Thank you very much,<br>
>>> >>>><br>
>>> >>>> Michal Stolba<br>
>>> >>>><br>
>>> >>>><br>
>>> >>>> _______________________________________________<br>
>>> >>>> ros-users mailing list<br>
>>> >>>> <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
>>> >>>> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
>>> >>>><br>
>>> >>>><br>
>>> >>>> _______________________________________________<br>
>>> >>>> ros-users mailing list<br>
>>> >>>> <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
>>> >>>> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
>>> >>>><br>
>>> >>>><br>
>>> >>><br>
>>> >><br>
>>> >> _______________________________________________<br>
>>> >> ros-users mailing list<br>
>>> >> <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
>>> >> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
>>> >><br>
>>> >><br>
>>> > _______________________________________________<br>
>>> > ros-users mailing list<br>
>>> > <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
>>> > <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
>>> ><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> ros-users mailing list<br>
>>> <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
>>> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
>>><br>
>> _______________________________________________<br>
>> ros-users mailing list<br>
>> <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
>> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
<br>
<br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote></div><br>