Ask Your Question
1

Rviz doesn't start

asked 2014-04-08 13:28:44 -0500

Ken_in_JAPAN gravatar image

updated 2014-04-08 13:53:12 -0500

After installing a package open_ptrack ( https://github.com/OpenPTrack/open_pt... ) on my PC, Rviz didn't start. So, I downloaded a package rviz from the web site ( http://wiki.ros.org/rviz ) to compile the source with catkin_make, but Rviz doesn't start yet. A terminal on my PC tells me next error.

ken@ken:~$ rosrun rviz rviz
[ INFO] [1396998258.516054297]: rviz version 1.11.0
[ INFO] [1396998258.516185316]: compiled against OGRE version 1.7.4 (Cthugha)
[ INFO] [1396998259.050160910]: Stereo is NOT SUPPORTED
[ INFO] [1396998259.050340409]: OpenGl version: 4.2 (GLSL 4.2).
*** glibc detected *** /home/ken/catkin_ws/devel/lib/rviz/rviz: corrupted double-linked list: 0x00000000017a85d0 ***
Inconsistency detected by ld.so: dl-open.c: 221: dl_open_worker: Assertion `_dl_debug_initialize (0, args->nsid)->r_state == RT_CONSISTENT' failed!

The error explains that there is inconsistency on my PC. Does anyone have same experience as me? Doesn't anyone know the way to resolve it? or What's the cause? My PC has ROS Hydro on Ubuntu 12.04. Thank you in advance!

In case of trying sudo apt-get install ros-hydro-rviz

The following packages have unmet dependencies:
 ros-hydro-rviz : Depends: libassimp3 (>= 2.0.863) but it is not installable
                  Depends: libboost-filesystem1.49.0 (>= 1.49.0-1) but it is not installable
                  Depends: libboost-program-options1.49.0 (>= 1.49.0-1) but it is not installable
                  Depends: libboost-signals1.49.0 (>= 1.49.0-1) but it is not installable
                  Depends: libboost-system1.49.0 (>= 1.49.0-1) but it is not installable
                  Depends: libboost-thread1.49.0 (>= 1.49.0-1) but it is not installable
                  Depends: libyaml-cpp0.3 but it is not installable
                  Depends: libyaml-cpp-dev but it is not installable
E: Unable to correct problems, you have held broken packages.
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-04-08 13:32:27 -0500

ahendrix gravatar image

updated 2014-04-08 18:53:55 -0500

I strongly suggest installing rviz from debs rather than trying to build it from source. The source version likely has unreleased changes.

sudo apt-get install ros-hydro-rviz

EDIT

An additional problem here was that the apt sources were not configured properly. In the apt sources.list, the codename must match the Ubuntu distribution (see the comments).

For additional help troubleshooting rviz, take a look at the rviz troubleshooting guide

edit flag offensive delete link more

Comments

@ahendrix: I'm grateful for your quick response. I also tried it. I added the error to above article.

Ken_in_JAPAN gravatar image Ken_in_JAPAN  ( 2014-04-08 13:52:43 -0500 )edit

@ahendrix: Your help seems to make me understand. There is no libassimp3 on Ubuntu 12.04 (precious). This package is installed on a quantal and later. The others are same reason as libassimp3. Why does rviz package require these package on Ubuntu 12.04? Thank you!

Ken_in_JAPAN gravatar image Ken_in_JAPAN  ( 2014-04-08 14:09:44 -0500 )edit

It sounds like your package manager is in a bad state. You should probably try to figure that out. I would try installing rviz with aptitude, or trying to install each of the offending packages manually until you get a more useful error.

ahendrix gravatar image ahendrix  ( 2014-04-08 14:10:40 -0500 )edit

I can install rviz without issues on Precise; on my machine, it depends on libassimp2. Perhaps you have the wrong distro name in your apt sources.list for ROS?

ahendrix gravatar image ahendrix  ( 2014-04-08 14:13:29 -0500 )edit

I checked a ros-latest.list in /etc/apt/souces.list.d. The article wrote the next sentence.

deb http://packages.ros.org/ros/ubuntu raring main

Ken_in_JAPAN gravatar image Ken_in_JAPAN  ( 2014-04-08 14:45:21 -0500 )edit

Yep, you have the wrong ubuntu version in your sources (raring instead of precise). That line should read: `deb http://packages.ros.org/ros/ubuntu precise main`

ahendrix gravatar image ahendrix  ( 2014-04-08 14:59:54 -0500 )edit

@ahendrix: Thank you for your advice. I'd like you to convert your advice to answer. The advice means including apt sources.list for ROS.

Ken_in_JAPAN gravatar image Ken_in_JAPAN  ( 2014-04-08 15:08:35 -0500 )edit
0

answered 2014-04-08 14:50:37 -0500

Ken_in_JAPAN gravatar image

updated 2014-04-08 14:52:43 -0500

I could install rviz without error, but it seems to have a problem.

ken@ken:~$ rosrun rviz rviz
[ INFO] [1397004386.418796172]: rviz version 1.10.14
[ INFO] [1397004386.418951863]: compiled against OGRE version 1.7.4 (Cthugha)
[ INFO] [1397004386.957607753]: Stereo is NOT SUPPORTED
[ INFO] [1397004386.957770708]: OpenGl version: 4.2 (GLSL 4.2).
Segmentation fault (core dumped)
edit flag offensive delete link more

Comments

This problem seems to have a relationship with OGRE.

Ken_in_JAPAN gravatar image Ken_in_JAPAN  ( 2014-04-08 15:28:01 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2014-04-08 13:28:44 -0500

Seen: 5,893 times

Last updated: Apr 08 '14