Hi,

I am using gazebo 0.10.0 on fedora x86_64 machine.
I have Ogre 1.6.4 installed on my system.
gazebo coredumps when I execute it on any of the sample world files
provided with gazebo.
Following is the output of the command.

[ashw...@pluto worlds]$ gazebo simplecar.world
Gazebo multi-robot simulator, version 0.10.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.

models/simplecar.model:18: namespace error : Namespace prefix
controller on steering_position2d is not defined
<controller:steering_position2d name="a car">
                                            ^
models/simplecar.model:43: namespace error : Namespace prefix
interface on position is not defined
  <interface:position name="position_iface_0"/>
                                             ^
[/disk1/srcs/gazebo-0.10.0/server/GazeboConfig.cc:103]
  Gazebo Path[/usr/local/share/gazebo]
[/disk1/srcs/gazebo-0.10.0/server/GazeboConfig.cc:115]
  Ogre Path[/usr/lib64/OGRE]
XRequest.135: BadDrawable (invalid Pixmap or Window parameter) 0x4a00002
gazebo: brw_draw_upload.c:412: brw_prepare_vertices: Assertion
`input->offset < input->bo->size' failed.
Aborted (core dumped)


backtrace obtained through gdb is as following
gdb) bt
#0  0x0000003ad4e326b5 in raise () from /lib64/libc.so.6
#1  0x0000003ad4e33e95 in abort () from /lib64/libc.so.6
#2  0x0000003ad4e2b7a5 in __assert_fail () from /lib64/libc.so.6
#3  0x00007ffff5932c26 in ?? () from /usr/lib64/dri/i965_dri.so
#4  0x00007ffff593c2f4 in brw_validate_state () from /usr/lib64/dri/i965_dri.so
#5  0x00007ffff5932146 in brw_draw_prims () from /usr/lib64/dri/i965_dri.so
#6  0x00007ffff55b418d in ?? () from /usr/lib64/dri/libdricore.so
#7  0x00007ffff590cdf9 in intel_generate_mipmap () from
/usr/lib64/dri/i965_dri.so
#8  0x00007ffff5593d71 in _mesa_TexImage2D () from /usr/lib64/dri/libdricore.so
#9  0x00007ffff5baf549 in ?? () from /usr/lib64/OGRE/RenderSystem_GL.so
#10 0x00000035f2551f29 in Ogre::Texture::createInternalResources() ()
from /usr/lib64/libOgreMain-1.6.4.so
#11 0x00000035f2552f4d in
Ogre::Texture::_loadImages(std::vector<Ogre::Image const*,
std::allocator<Ogre::Image const*> > const&) ()
   from /usr/lib64/libOgreMain-1.6.4.so
#12 0x00007ffff5bae782 in ?? () from /usr/lib64/OGRE/RenderSystem_GL.so
#13 0x00000035f247e9ab in Ogre::Resource::load(bool) () from
/usr/lib64/libOgreMain-1.6.4.so
#14 0x00000035f25568c5 in
Ogre::TextureUnitState::ensureLoaded(unsigned long) const () from
/usr/lib64/libOgreMain-1.6.4.so
#15 0x00000035f2556b83 in Ogre::TextureUnitState::_load() () from
/usr/lib64/libOgreMain-1.6.4.so
#16 0x00000035f24452ec in Ogre::Pass::_load() () from
/usr/lib64/libOgreMain-1.6.4.so
#17 0x00000035f254ab25 in Ogre::Technique::_load() () from
/usr/lib64/libOgreMain-1.6.4.so
#18 0x00000035f23b372c in Ogre::Material::loadImpl() () from
/usr/lib64/libOgreMain-1.6.4.so
#19 0x00000035f247e9ab in Ogre::Resource::load(bool) () from
/usr/lib64/libOgreMain-1.6.4.so
#20 0x00000035f24b915d in Ogre::SceneManager::_setSkyDome(bool,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&, float, float, float, unsigned char, Ogre::Quaternion const&,
int, int, int, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&) ()
   from /usr/lib64/libOgreMain-1.6.4.so
#21 0x00007ffff6f16dc2 in
gazebo::OgreCreator::CreateSky(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >) ()
   from /usr/local/lib/libgazebo_rendering.so
#22 0x00007ffff6f2206d in
gazebo::OgreAdaptor::Init(gazebo::XMLConfigNode*) () from
/usr/local/lib/libgazebo_rendering.so
#23 0x00007ffff721635f in
gazebo::Simulator::Load(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned int)
()
   from /usr/local/lib/libgazebo_server.so.0.10.0

It crashes in Ogre modules. I don't know how to debug this. Is it
something to with ogre version?
Also i have noticed following in gazebo manual.
"If you are going to use Gazebo with Player, note that Gazebo must be
installed before Player"

On my system player/stage was installed previously to gazebo.
Is this causing problem ?
Player/stage is working fine on my system.


Thanks,
Ashnix

------------------------------------------------------------------------------
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to