Closed awesomebytes closed 9 years ago
I noticed that the line 74:
self.frame.setStatusBar( None )
Has something to do with the crash. If I comment out that line, it works!
Ok I just found this ticket: https://github.com/ros-visualization/rviz/issues/895 which mainly is what this own ticket is about
If you have time, please try https://github.com/ros-visualization/rviz/pull/896 which is a proposed solution to ros-visualization/rviz#895.
I applied https://github.com/ros-visualization/rviz/pull/896 to the branch hydro-devel and the myviz.py
is example is still crashing
@awesomebytes I found the same to be true, but after trying a few different things I have a new fix (still in ros-visualization/rviz#896) can you give that a try?
I'll probably go ahead and merge it since I observed it fixing the issue. Last time I think I had other changes that made me think it had been fixed when it had not.
I'm going to close this, please comment here if the problem persists after the change I merged (and released).
I was starting to get myself familiar with librviz from python and trying the example in rviz_python_tutorial just crashes with segmentation fault.
I do:
(To be in the folder where
config.myviz
is, which will be loaded.)Then:
And I get the output:
After a brief splash of the window.
I tried on two machines with ROS hydro and got the same behaviour. With Rviz 1.10.19. It crashes just after myviz.show().