rviz crash on adding topic - Segmentation fault (core dumped)! [closed]

asked 2014-02-03 21:30:05 -0500

seredin gravatar image

updated 2014-02-04 02:59:16 -0500

Hi all!

I have bug. Yesterday I reinstall groovy. When I launch openni_launch and try to add topic /camera/depth_registered/points in PointCloud2. Rviz is crash and I have this error:

Segmentation fault (core dumped)

I launch rviz with gdb and I see it:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7aef690 in rviz::PointCloud::addPoints(rviz::PointCloud::Point*, unsigned int) () from /opt/ros/groovy/lib/librviz.so
(gdb)

What is wrong?


Update

Installed Hydro. All it work. What is wrong with Groovy?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2016-08-14 01:32:26.469906

Comments

Output of `dmesg | tail -n 50` *might* be helpful either :) Also, You could try running `backtrace` on the `gdb` to inspect a bit deeper, what actually going on...

Kamiccolo gravatar image Kamiccolo  ( 2014-02-04 02:05:12 -0500 )edit

How can I running `backtrace` on the `gdb`? Can you give command example?

seredin gravatar image seredin  ( 2014-02-04 03:03:13 -0500 )edit

I have just developed the same problem with my version of Groovy. It seems that a recent update has broken it.

Arrakis gravatar image Arrakis  ( 2014-02-04 03:13:17 -0500 )edit

@seredin, $ gdb rviz --eval-command="run add_rviz_parameters_here_if_any_needed" --eval-command="backtrace" --eval-command="list". For the sake of new lines in comments - here nice oneliner ^_^

Kamiccolo gravatar image Kamiccolo  ( 2014-02-04 04:00:46 -0500 )edit

I experience this bug regularly (adding a nav_msgs/Path topic though)... Luckily we'll switch to hydro, so I hope it works then.

PiotrOrzechowski gravatar image PiotrOrzechowski  ( 2014-02-04 05:12:31 -0500 )edit

I have the same problem on 2 machines (Groovy, Ubuntu 12.04 32bit) when I try to visualize a Pointcloud2 topic from a Time Of Flight camera. A couple of weeks ago it sill worked. Any suggestions?

Jochen Hemming gravatar image Jochen Hemming  ( 2014-02-12 09:55:29 -0500 )edit

One person seemed to get it working by reverting back to the 1.9.32 version of Groovy's Rviz and compiling it from source. http://answers.ros.org/question/126766/ros-rviz-groovy-segfault-and-assertion-fail/

Angus gravatar image Angus  ( 2014-02-12 10:08:13 -0500 )edit