Move_base failed to load when using gmapping_demo
Hi there,
I'm following this turtlebot tutorial . When I enter this command
roslaunch turtlebotnavigation gmappingdemo.launch
, process move_base keep dying with this error message
[ WARN] [1440147321.840796779]: Detected jump back in time. Clearing TF buffer.
[movebase-15] process has died [pid 3670, exit code -11, cmd /opt/ros/indigo/lib/movebase/movebase cmdvel:=navigationvelocitysmoother/rawcmdvel odom:=odom scan:=scan _name:=movebase _log:=/home/netbook/.ros/log/.../movebase-15.log].
When trying to trace the log files, I couldn't find the "movebase-15.log" there. It seems that the log file for movebase 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/movebase/movebase 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
from libstdcxx.v6.printers import registerlibstdcxxprinters ImportError: No module named 'libstdcxx' [Thread debugging using libthreaddb enabled] Using host libthreaddb 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 tf2ros::Buffer::checkAndErrorDedicatedThreadPresent(std::string*) const () from /opt/ros/indigo/lib/libtf2ros.so
There's something wrong with the threads, but I'm not able to figure it out. Thanks in advance for any help!
Cheers,
Asked by Tai Tran on 2015-08-21 04:12:48 UTC
Answers
Hi again,
It seems to be a bug in the ubuntu package update. I found the topic here https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999
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!
Asked by Tai Tran on 2015-08-25 21:24:57 UTC
Comments
Hi, I have a similar problem when using Moveit! package. I am wondering if you were able to solve the problem or not?
Asked by EA on 2015-08-25 05:15:21 UTC