Segmentation Fault and realloc(): invalid pointer: when running rviz

asked 2017-06-06 03:59:58 -0500

Daniyar gravatar image

SEGMENTATION FAULT

Hello, I am trying to use Realsense r200 camera with rTAB and I am running into problems. I have used the following commands on a different computer and they all worked fine; however, they won't work on my desktop.

rosrun rviz rviz -d $(rospack find realsense_camera)/rviz/realsenseRvizConfiguration1.rviz

Following this tutorial

Throws a Segmentation fault:

cear@cear:~$ rosrun rviz rviz -d $(rospack find realsense_camera)/rviz/realsenseRvizConfiguration1.rviz 
[ INFO] [1496736958.369521817]: rviz version 1.11.15
[ INFO] [1496736958.369571303]: compiled against Qt version 4.8.6
[ INFO] [1496736958.369584717]: compiled against OGRE version 1.8.1 (Byatis)
[ INFO] [1496736959.002787434]: Stereo is NOT SUPPORTED
[ INFO] [1496736959.002864623]: OpenGl version: 4.5 (GLSL 4.5).
Segmentation fault (core dumped)

###########################################################################################

REALLOC(): INVALID POINTER:

When running:

roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start" rviz:=true rtabmapviz:=false

From this tutorial

I receive the following error:

 cear@cear:~$ roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start" rviz:=true rtabmapviz:=false... logging to /home/cear/.ros/log/7a77d962-4a8f-11e7-8d6a-3860772ec0c6/roslaunch-cear-7314.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://132.68.134.141:35877/

SUMMARY
========

PARAMETERS
 * /points_xyzrgb/approx_sync: True
 * /points_xyzrgb/decimation: 2.0
 * /points_xyzrgb/voxel_size: 0.02
 * /rosdistro: indigo
 * /rosversion: 1.11.21
 * /rtabmap/rgbd_odometry/approx_sync: True
 * /rtabmap/rgbd_odometry/config_path: 
 * /rtabmap/rgbd_odometry/frame_id: camera_link
 * /rtabmap/rgbd_odometry/queue_size: 10
 * /rtabmap/rgbd_odometry/wait_for_transform_duration: 0.2
 * /rtabmap/rtabmap/Mem/IncrementalMemory: true
 * /rtabmap/rtabmap/Mem/InitWMWithAllNodes: false
 * /rtabmap/rtabmap/approx_sync: True
 * /rtabmap/rtabmap/config_path: 
 * /rtabmap/rtabmap/database_path: ~/.ros/rtabmap.db
 * /rtabmap/rtabmap/frame_id: camera_link
 * /rtabmap/rtabmap/queue_size: 10
 * /rtabmap/rtabmap/subscribe_depth: True
 * /rtabmap/rtabmap/subscribe_scan: False
 * /rtabmap/rtabmap/subscribe_scan_cloud: False
 * /rtabmap/rtabmap/subscribe_stereo: False
 * /rtabmap/rtabmap/wait_for_transform_duration: 0.2 

NODES
  /rtabmap/
    rgbd_odometry (rtabmap_ros/rgbd_odometry)
    rtabmap (rtabmap_ros/rtabmap)
  /
    points_xyzrgb (nodelet/nodelet)
    rviz (rviz/rviz)

ROS_MASTER_URI=http://132.68.134.141:11311

core service [/rosout] found
process[rtabmap/rgbd_odometry-1]: started with pid [7332]
process[rtabmap/rtabmap-2]: started with pid [7333]
process[rviz-3]: started with pid [7334]
process[points_xyzrgb-4]: started with pid [7335]
[ INFO] [1496736859.072183648]: Initializing nodelet with 4 worker threads.
*** Error in `/opt/ros/indigo/lib/rtabmap_ros/rtabmap': realloc(): invalid pointer: 0x00007fe32404b840 ***
*** Error in `/opt/ros/indigo/lib/nodelet/nodelet': realloc(): invalid pointer: 0x00007f7021839840 ***
[rtabmap/rgbd_odometry-1] process has died [pid 7332, exit code -11, cmd /opt/ros/indigo/lib/rtabmap_ros/rgbd_odometry --delete_db_on_start rgb/image:=/camera/rgb/image_rect_color depth/image:=/camera/depth_registered/image_raw rgb/camera_info:=/camera/rgb/camera_info __name:=rgbd_odometry __log:=/home/cear/.ros/log/7a77d962-4a8f-11e7-8d6a-3860772ec0c6/rtabmap-rgbd_odometry-1.log].
log file: /home/cear/.ros/log/7a77d962-4a8f-11e7-8d6a-3860772ec0c6/rtabmap-rgbd_odometry-1*.log
[points_xyzrgb-4] process has died [pid 7335, exit code -6, cmd /opt/ros/indigo/lib/nodelet/nodelet standalone rtabmap_ros/point_cloud_xyzrgb left/image:=/stereo_camera/left/image_rect_color right/image:=/stereo_camera/right/image_rect left/camera_info:=/stereo_camera/left/camera_info right/camera_info:=/stereo_camera/right/camera_info rgb/image:=/camera/rgb/image_rect_color depth/image:=/camera/depth_registered/image_raw rgb/camera_info:=/camera/rgb/camera_info cloud:=voxel_cloud __name:=points_xyzrgb __log:=/home/cear/.ros/log/7a77d962-4a8f-11e7-8d6a-3860772ec0c6/points_xyzrgb-4.log].
log file: /home/cear/.ros/log/7a77d962-4a8f-11e7-8d6a-3860772ec0c6/points_xyzrgb-4*.log
[rviz-3 ...
(more)
edit retag flag offensive close merge delete

Comments

I'd file an issue on the rtabmap GitHub.

allenh1 gravatar imageallenh1 ( 2017-06-06 13:29:54 -0500 )edit