ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Move_base failed to load when using gmapping_demo

asked 2015-08-21 04:12:48 -0500

Tai Tran gravatar image

updated 2015-08-23 23:39:00 -0500

Hi there,

I'm following this turtlebot tutorial . When I enter this command

roslaunch turtlebot_navigation gmapping_demo.launch

, process move_base keep dying with this error message

[ WARN] [1440147321.840796779]: Detected jump back in time. Clearing TF buffer.

[move_base-15] process has died [pid 3670, exit code -11, cmd /opt/ros/indigo/lib/move_base/move_base cmd_vel:=navigation_velocity_smoother/raw_cmd_vel odom:=odom scan:=scan __name:=move_base __log:=/home/netbook/.ros/log/.../move_base-15.log].

When trying to trace the log files, I couldn't find the "move_base-15.log" there. It seems that the log file for move_base was not created.

Anyone knows how to fix this error? Thanks in advance for any help, I really appreciate it.


Edit: When trying to debug move_base with gdb, I got this text

Starting program: /opt/ros/indigo/lib/move_base/move_base Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib/i386-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module> from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named 'libstdcxx' [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". [New Thread 0xb523cb40 (LWP 11315)]

[New Thread 0xb48ffb40 (LWP 11316)]

[New Thread 0xb40feb40 (LWP 11317)]

[New Thread 0xb36ffb40 (LWP 11323)]

[New Thread 0xb2cffb40 (LWP 11336)]

[ WARN] [1440390754.810992354]: Detected jump back in time. Clearing TF buffer.

[New Thread 0xb20ffb40 (LWP 11340)]

[New Thread 0xb18feb40 (LWP 11351)]

Program received signal SIGSEGV, Segmentation fault. 0xb7876df9 in tf2_ros::Buffer::checkAndErrorDedicatedThreadPresent(std::string*) const () from /opt/ros/indigo/lib/libtf2_ros.so

There's something wrong with the threads, but I'm not able to figure it out. Thanks in advance for any help!

Cheers,

edit retag flag offensive close merge delete

Comments

Hi, I have a similar problem when using Moveit! package. I am wondering if you were able to solve the problem or not?

EA gravatar image EA  ( 2015-08-25 05:15:21 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-08-25 21:24:57 -0500

Tai Tran gravatar image

updated 2015-08-25 21:27:23 -0500

Hi again,

It seems to be a bug in the ubuntu package update. I found the topic here https://bugs.launchpad.net/ubuntu/+so...

I modified the above file "/usr/share/gdb/auto-load/usr/lib/i386-linux-gnu/libstdc++.so.6.0.19-gdb.py" (as in gdb error, not the link) as #9 suggested:

Replace

     dir_ = os.path.join (os.path.dirname (objfile), dotdots, pythondir)

by

     dir_ = os.path.join (os.path.dirname (objfile), dotdots, dotdots, pythondir)

and it worked somehow.

Hope it helps!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-08-21 04:12:48 -0500

Seen: 1,255 times

Last updated: Aug 25 '15