Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rviz crash: terminate called after throwing an instance of 'Ogre::ItemIdentityException' #4

Open
bhy opened this issue Feb 27, 2015 · 1 comment

Comments

@bhy
Copy link

bhy commented Feb 27, 2015

After running the simulator a few minutes rviz will crash with the following error message:

Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'Ogre::ItemIdentityException'
  what():  OGRE EXCEPTION(5:ItemIdentityException): chainIndex out of bounds in BillboardChain::addChainElement at /build/buildd/ogre-1.7.4/OgreMain/src/OgreBillboardChain.cpp (line 236)
[rviz-13] process has died [pid 14835, exit code -6, cmd /opt/ros/hydro/lib/rviz/rviz -d /home/luoyuanfu/hratc2015_workspace/src/hratc2015_framework/hratc.rviz __name:=rviz __log:=/home/luoyuanfu/.ros/log/60924d5c-be5f-11e4-a427-3417ebb146bf/rviz-13.log].
log file: /home/luoyuanfu/.ros/log/60924d5c-be5f-11e4-a427-3417ebb146bf/rviz-13*.log

A Google search shows some relevant discussions: http://answers.ros.org/question/192272/possible-limitation-of-points-in-markerline_strip-and-rviz/

According to this discussion, there's a limit on the number of line markers you can show.

We then disabled the RobotPath topic in rviz (which shows the path travelled by the robot), and then it will not crash.

However, if we run the simulator for around 10 minutes and then enable RobotPath, the crash follows immediately.

So we guess the reason is that the path length is exceed some limit in rviz/Ogre and causing the crah.

@vitoramj
Copy link
Contributor

vitoramj commented Mar 1, 2015

Thanks for the update. This problem was detected and we are waiting to see the best way to address this limitation of RVIZ. For now we recommend users to leave the robot path unchecked in RVIZ.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants