rviz crash on adding topic - Segmentation fault (core dumped)! [closed]
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?
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...
How can I running `backtrace` on the `gdb`? Can you give command example?
I have just developed the same problem with my version of Groovy. It seems that a recent update has broken it.
@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 ^_^
I experience this bug regularly (adding a nav_msgs/Path topic though)... Luckily we'll switch to hydro, so I hope it works then.
Related question: http://answers.ros.org/question/124896/rviz-crash-on-adding-obstacles-from-local_costmap/?comment=125091#comment-125091
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?
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/