Hello, If you enable the "extra" effects in compviz, gazebo won't run.
In ubuntu, you can set the "Visual Effects" to "Normal" or "none" and gazebo will run fine. -nate On Wed, Sep 30, 2009 at 8:04 AM, <[email protected]> wrote: > Hello, > > Backtrace is here: > > --- > m...@mert-netbook:~/gazebo/playerstage/code/gazebo/trunk$ gdb --args > gazebo worlds/pioneer2dx.world > 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) run > Starting program: /usr/local/bin/gazebo worlds/pioneer2dx.world > [Thread debugging using libthread_db enabled] > Gazebo multi-robot simulator, version 0.9.0 > > 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. > > [/home/mert/gazebo/playerstage/code/gazebo/trunk/server/GazeboConfig.cc:103] > Gazebo Path[/usr/local/share/gazebo] > [/home/mert/gazebo/playerstage/code/gazebo/trunk/server/GazeboConfig.cc:115] > Ogre Path[/usr/local/lib/OGRE] > [New Thread 0xb583e710 (LWP 6770)] > get fences failed: -1 > param: 6, val: 0 > get fences failed: -1 > param: 6, val: 0 > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0xb583e710 (LWP 6770)] > Ogre::Viewport::setDimensions (this=0x0, left=0, top=0, width=1, > height=1) at OgreViewport.cpp:179 > 179 mRelLeft = left; > Current language: auto; currently c++ > (gdb) backtrace > #0 Ogre::Viewport::setDimensions (this=0x0, left=0, top=0, width=1, > height=1) at OgreViewport.cpp:179 > #1 0xb6adb58b in gazebo::UserCamera::Resize () from > /usr/local/lib/libgazebo_server.so.0.9.0 > #2 0xb6a06f3a in gazebo::GLWindow::resize () from > /usr/local/lib/libgazebo_gui.so.0.9.0 > #3 0xb692eb34 in Fl_Group::resize () from /usr/lib/libfltk.so.1.1 > #4 0xb6960ab6 in Fl_Tile::resize () from /usr/lib/libfltk.so.1.1 > #5 0xb692eb34 in Fl_Group::resize () from /usr/lib/libfltk.so.1.1 > #6 0xb696b587 in Fl_Window::resize () from /usr/lib/libfltk.so.1.1 > #7 0xb6926251 in Fl_Double_Window::resize () from /usr/lib/libfltk.so.1.1 > #8 0xb696a63d in fl_handle () from /usr/lib/libfltk.so.1.1 > #9 0xb696ae8e in ?? () from /usr/lib/libfltk.so.1.1 > #10 0xb696af5d in fl_wait () from /usr/lib/libfltk.so.1.1 > #11 0xb6917c28 in Fl::wait () from /usr/lib/libfltk.so.1.1 > #12 0xb6917c7c in Fl::check () from /usr/lib/libfltk.so.1.1 > #13 0xb6a06f7d in gazebo::GLWindow::Init () from > /usr/local/lib/libgazebo_gui.so.0.9.0 > #14 0xb6a12202 in gazebo::GLFrame::Init () from > /usr/local/lib/libgazebo_gui.so.0.9.0 > #15 0xb6a1049d in gazebo::GLFrameManager::Init () from > /usr/local/lib/libgazebo_gui.so.0.9.0 > #16 0xb6a02283 in gazebo::Gui::Init () from > /usr/local/lib/libgazebo_gui.so.0.9.0 > #17 0xb6b6dac0 in gazebo::Simulator::Load () from > /usr/local/lib/libgazebo_server.so.0.9.0 > #18 0x0804a284 in main () > (gdb) > --- > > I will check if glx and dri are enabled. I'm using the 3d desktop > extension compiz, so I think glx is enabled. > > > Thank you for answer. > > > ------ > Hello, > > Do you have GLX and direct rendering enabled? > > Can you provided a backtrace? > > The lastest SVN version of Gazebo works with the latest version of > OGRE and ODE. > > -nate > > On Sun, Sep 27, 2009 at 10:55 AM, <turan...@it...> wrote: >> Hello, >> >> I posted another message about the problem, but I think it was not detailed. >> I can't run the gazebo executable with 3d rendering engine enabled. >> >> Here is my cmake output before compilation: >> >> --- >> >> -- Gazebo version 0.9.0 >> -- ====== Finding 3rd Party Packages ====== >> -- Operating system is Linux >> -- checking for module 'freeimage>=3.10.0' >> -- package 'freeimage>=3.10.0' not found >> -- freeimage.pc not found, trying freeimage_include_dir and >> freeimage_library_dir flags. >> -- Looking for FreeImage.h - found >> -- Looking for libfreeimage - found >> -- checking for module 'OGRE>=1.6.1' >> -- found OGRE, version 1.6.1 >> -- checking for module 'playerc++>=2.1' >> -- package 'playerc++>=2.1' not found >> -- Warning: Player not found. The gazebo plugin for player will not be >> built. See the following website: http://playerstage.sourceforge.net >> -- checking for module 'websim' >> -- package 'websim' not found >> -- Warning: Websim not found. Webgazebo will not be built >> -- Boost Include Path: /usr/include >> -- Boost Library Path: /usr/lib >> -- Boost Libraries: >> ;/usr/lib/libboost_thread-mt.so;/usr/lib/libboost_signals-mt.so >> -- Looking for avformat.h - found >> -- Looking for avcodec.h - found >> -- Looking for event.h - not found >> -- Warning: webgazebo will not be built >> -- Looking for ltdl.h - found >> -- Looking for libltdl - found >> -- ---------------------------------------- >> -- Cmake C Flags: >> -- Build Type: RELEASE >> -- Install path: /usr/local >> -- Configuring done >> -- Generating done >> -- Build files have been written to: >> /home/mert/gazebo/playerstage/code/gazebo/trunk/cmake >> >> --- >> >> The compilation of gazebo finishes without any errors. >> >> If I run the gazebo without ogre (rendering engine), the output is as below: >> >> -- >> >> m...@mert-netbook:~/gazebo/playerstage/code/gazebo/trunk$ gazebo -r >> worlds/pioneer2dx.world >> Gazebo multi-robot simulator, version 0.9.0 >> >> 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. >> >> [/home/mert/gazebo/playerstage/code/gazebo/trunk/server/GazeboConfig.cc:103] >> Gazebo Path[/usr/local/share/gazebo] >> [/home/mert/gazebo/playerstage/code/gazebo/trunk/server/GazeboConfig.cc:115] >> Ogre Path[/usr/local/lib/OGRE] >> creating /tmp/gazebo-mert-0 >> creating /tmp/gazebo-mert-0/simulation.default 112 33842332 >> creating /tmp/gazebo-mert-0/factory.default 112 410188 >> creating /tmp/gazebo-mert-0/graphics3d.default 112 1630256 >> creating /tmp/gazebo-mert-0/graphics3d.plane1_model 112 1630256 >> creating /tmp/gazebo-mert-0/graphics3d.sphere1_model 112 1630256 >> creating >> /tmp/gazebo-mert-0/position.pioneer2dx_model1::position_iface_0 112 156 >> creating /tmp/gazebo-mert-0/graphics3d.pioneer2dx_model1 112 1630256 >> creating >> /tmp/gazebo-mert-0/laser.pioneer2dx_model1::laser::laser_iface_0 112 >> 8352 >> creating >> /tmp/gazebo-mert-0/fiducial.pioneer2dx_model1::laser::fiducial_iface_0 >> 112 11308 >> creating /tmp/gazebo-mert-0/graphics3d.pioneer2dx_model1::laser 112 1630256 >> creating >> /tmp/gazebo-mert-0/position.pioneer2dx_model2::position_iface_0 112 156 >> creating /tmp/gazebo-mert-0/graphics3d.pioneer2dx_model2 112 1630256 >> creating >> /tmp/gazebo-mert-0/laser.pioneer2dx_model2::laser::laser_iface_0 112 >> 8352 >> creating >> /tmp/gazebo-mert-0/fiducial.pioneer2dx_model2::laser::fiducial_iface_0 >> 112 11308 >> creating /tmp/gazebo-mert-0/graphics3d.pioneer2dx_model2::laser 112 1630256 >> creating /tmp/gazebo-mert-0/graphics3d.box1_model 112 1630256 >> creating /tmp/gazebo-mert-0/graphics3d.directional_white 112 1630256 >> creating /tmp/gazebo-mert-0/graphics3d.point_white 112 1630256 >> Gazebo successfully initialized >> >> --- >> >> Here is the console output when I'm trying to run the executable with >> the 3d engine enabled: >> >> --- >> >> m...@mert-netbook:~/gazebo/playerstage/code/gazebo/trunk$ gazebo >> worlds/pioneer2dx.world >> Gazebo multi-robot simulator, version 0.9.0 >> >> 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. >> >> [/home/mert/gazebo/playerstage/code/gazebo/trunk/server/GazeboConfig.cc:103] >> Gazebo Path[/usr/local/share/gazebo] >> [/home/mert/gazebo/playerstage/code/gazebo/trunk/server/GazeboConfig.cc:115] >> Ogre Path[/usr/local/lib/OGRE] >> get fences failed: -1 >> param: 6, val: 0 >> get fences failed: -1 >> param: 6, val: 0 >> Segmentation fault >> >> --- >> >> I tried both the OGRE 1.6.1 and 1.6.2 versions, but the problem is the >> same. Am I missing something? What can be the source of the problem >> (segmentation fault) and how can I trace the error? >> >> In addition, can one of the developers give a working version number >> of gazebo including 3rd party library version numbers? >> >> Thank you for answers. >> >> Regards, >> Mert TURANLI >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9-12, 2009. Register now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> Playerstage-gazebo mailing list >> playerstage-gaz...@li... >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo >> > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Playerstage-gazebo mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
