Crash on gazebo::transport [Includes backtrace]

asked 2017-12-06 16:30:46 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hey guys,

Been integrating Gazebo and ROS in a Qt application. I created a Widget that interfaces with my own ROS+Gazebo system and uses gazebo::Rendering to render the scene. I'm getting a crash with this backtrace:

*** Error in `/home/pedro/catkin_ws/devel/lib/minhosimulator/minhosimulator': corrupted size vs. prev_size: 0x00007fffa00086b0 ***

======= Backtrace: =========

/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7ffff399d7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x7e9dc)[0x7ffff39a49dc]
/lib/x86_64-linux-gnu/libc.so.6(+0x81cde)[0x7ffff39a7cde]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7ffff39aa184]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_Znwm+0x18)[0x7ffff429ce78]
/usr/lib/x86_64-linux-gnu/libgazebo_transport.so.7(+0x45dad)[0x7ffff5b79dad]
/usr/lib/x86_64-linux-gnu/libgazebo_transport.so.7(_ZN6gazebo9transport4Node10HandleDataERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_+0x167)[0x7ffff5b7b277]
/usr/lib/x86_64-linux-gnu/libgazebo_transport.so.7(_ZN6gazebo9transport11Publication12LocalPublishERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x90)[0x7ffff5b81440]
/usr/lib/x86_64-linux-gnu/libgazebo_transport.so.7(_ZN6gazebo9transport20PublicationTransport9OnPublishERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0xde)[0x7ffff5b841ae]
/usr/lib/x86_64-linux-gnu/libgazebo_transport.so.7(+0x416de)[0x7ffff5b756de]
/usr/lib/x86_64-linux-gnu/libtbb.so.2(+0x26fdd)[0x7ffff0316fdd]
/usr/lib/x86_64-linux-gnu/libtbb.so.2(+0x200dc)[0x7ffff03100dc]
/usr/lib/x86_64-linux-gnu/libtbb.so.2(+0x1efd3)[0x7ffff030efd3]
/usr/lib/x86_64-linux-gnu/libtbb.so.2(+0x1aa91)[0x7ffff030aa91]
/usr/lib/x86_64-linux-gnu/libtbb.so.2(+0x1acf9)[0x7ffff030acf9]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7ffff71fd6ba]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7ffff3a2d3dd]
edit retag flag offensive close merge delete

Comments

It's a bit hard to tell just from the backtrace, do you have a minimal example which reproduces the issue? Often, crashes on Gazebo transport are due to timing.

chapulina gravatar imagechapulina ( 2017-12-09 12:54:11 -0600 )edit