From: <sa...@co...> - 2007-11-29 14:42:07
|
Dear Nate: I just tried gazebo svn version 170 and I am still experiencing problems (but at least they are slightly different). I think there might be either a bad pointer or a corrupt stack somewhere because gazebo always segfaults under gdb (bt is attached below) and without gdb, gazebo sometimes segfaults and sometimes does not. When gazebo segfaults in gdb, I get a gray band on the top of the window and on the right side (where the toolbar and info panel should be). Without gdb, if gazebo does not crash I can get a File menu in the toolbar and a xyz/rpy readout in the info panel but the main window is still all black. Also, I can still generate jpgs that have those same strange images in them. When gazebo crashes, I get: ~/local/share/gazebo/worlds> gazebo pioneer2dx.world ** Gazebo 0.8 ** * Part of the Player/Stage Project [http://playerstage.sourceforge.net]. * Copyright 2000-2005 Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors. * Released under the GNU General Public License. [server/main.cc:335] Creating GUI: Type[fltk] Pos[0 0] Size[640 480] Gazebo Path[/home/freedmst/local/share/gazebo] Ogre Path[/home/freedmst/local/lib/OGRE] creating /tmp/gazebo-freedmst-0 creating /tmp/gazebo-freedmst-0/simulation.default 112 688 [server/sensors/Sensor.cc:94] cam1_sensor sensor has no controller. creating /tmp/gazebo-freedmst-0/position.position_iface_0 112 224 creating /tmp/gazebo-freedmst-0/laser.laser_iface_0 112 12432 Segmentation fault freedmst@hmtcomp-9:~/local/share/gazebo/worlds> gdb --args gazebo pioneer2dx.world GNU gdb 6.5 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /home/freedmst/local/bin/gazebo pioneer2dx.world Failed to read a valid object file image from memory. [Thread debugging using libthread_db enabled] [New Thread -1245071632 (LWP 19028)] ** Gazebo 0.8 ** * Part of the Player/Stage Project [http://playerstage.sourceforge.net]. * Copyright 2000-2005 Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors. * Released under the GNU General Public License. [server/main.cc:335] Creating GUI: Type[fltk] Pos[0 0] Size[640 480] Gazebo Path[/home/freedmst/local/share/gazebo] Ogre Path[/home/freedmst/local/lib/OGRE] creating /tmp/gazebo-freedmst-0 creating /tmp/gazebo-freedmst-0/simulation.default 112 688 [server/sensors/Sensor.cc:94] cam1_sensor sensor has no controller. creating /tmp/gazebo-freedmst-0/position.position_iface_0 112 224 creating /tmp/gazebo-freedmst-0/laser.laser_iface_0 112 12432 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1245071632 (LWP 19028)] 0xb75612e0 in XSetForeground () from /usr/lib/libX11.so.6 (gdb) bt #0 0xb75612e0 in XSetForeground () from /usr/lib/libX11.so.6 #1 0x080b9148 in fl_color () #2 0x080ba730 in fl_normal_label () #3 0x080ba6cf in Fl_Widget::draw_label () #4 0x080ba708 in Fl_Widget::draw_label () #5 0x080ba7ea in Fl_Widget::draw_label () #6 0x080b2263 in Fl_Group::draw () #7 0x080b51c8 in Fl_Window::draw () #8 0x080b00f2 in Fl_Gl_Window::flush () #9 0x080b1a12 in Fl::flush () #10 0x08113658 in ?? () #11 0x3fe00000 in ?? () #12 0x663f02b9 in ?? () #13 0xb73eeff4 in ?? () from /lib/libc.so.6 #14 0x00000001 in ?? () #15 0xbfb74528 in ?? () #16 0x080b1c69 in Fl::wait () Previous frame inner to this frame (corrupt stack?) (gdb) Sandy -- sa...@al... www.sanfordfreedman.com |