Re: Rtabmap error in process rtabmap/rgbd_odometry-1 - ubuntu on raspberry pi

Posted by kapilyadav on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Rtabmap-error-in-process-rtabmap-rgbd-odometry-1-ubuntu-on-raspberry-pi-tp444p461.html

Hi,

Yes... my bad.. by 3D mapping rate I meant odometry rate(the fps shown at bottom left corener of 3D map window in the gui).

I tried the commands. All of them returned the same error i.e. segmentation fault(core dumped) (except data_recorder which I dont have installed).
I started the node with gdb. It certainly gave more insight into the error -

... logging to /home/ubuntu/.ros/log/7a9f93dc-1dd6-11b2-bbb2-b827eb068306/roslaunch-ubuntu-3151.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:47596/

SUMMARY
========

PARAMETERS
 * /rosdistro: indigo
 * /rosversion: 1.11.13

NODES
  /
    rtabmap (rtabmap_ros/rtabmap)

auto-starting new master
process[master]: started with pid [3163]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 7a9f93dc-1dd6-11b2-bbb2-b827eb068306
process[rosout-1]: started with pid [3176]
started core service [/rosout]
process[rtabmap-2]: started with pid [3193]
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 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 "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/ubuntu/catkin_ws/devel/lib/rtabmap_ros/rtabmap...done.
Starting program: /home/ubuntu/catkin_ws/devel/lib/rtabmap_ros/rtabmap __name:=rtabmap __log:=/home/ubuntu/.ros/log/7a9f93dc-1dd6-11b2-bbb2-b827eb068306/rtabmap-2.log
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
Cannot access memory at address 0x0

Program received signal SIGILL, Illegal instruction.
0x6c292208 in ?? () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
(gdb) [rtabmap-2] killing on exit
Quit
(gdb) [rtabmap-2] escalating to SIGTERM
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
 
I came across an interesting thread about the illegal instruction error at this github issue (but the file where this happens is different for our case).

I will search more about the issue tomorrow and edit this post if i get something useful. Right now, signing off. Its already 3am here.

Thanking You,
Kapil Yadav