[ros-users] Progress in rviz on OSX

Paul Vernaza paul.vernaza at gmail.com
Sat Mar 5 22:35:38 UTC 2011


Hi Nick,

On Fri, Mar 4, 2011 at 6:33 PM, Nicholas Butko <nbutko at ucsd.edu> wrote:
> The basic summary is that I got rviz compiled, and as far as the splash
> screen, when it quit with a segfault.

It seems I've gotten exactly as far as you have--segfault after the
splash screen.  I assume you also had to install "py26-wxpython +gtk"
from MacPorts, as I did.  Also, there are some other #ifdef __WXMAC__
instances that should probably be changed to #ifdef __APPLE__, though
some of them are probably still legitimate.  I've started a ticket at
https://code.ros.org/trac/ros-pkg/ticket/4852.

I'm very curious as to whether you're getting the same error as I am on launch:

objc[16512]: Class OgreView is implemented in both
/Users/vernaza/ros/visualization_common/ogre/ogre/lib/Ogre.framework/Versions/1.7.1/Ogre
and /Users/vernaza/ros/visualization_common/ogre/ogre/lib/RenderSystem_GL.dylib.
One of the two will be used. Which one is undefined.

Whatever that means, it certainly sounds like it needs to be fixed.
Finally, my backtrace follows for reference:

#0  0x00000001033e1296 in _X11TransWrite ()
#1  0x00000001033d9c99 in _XFlushInt ()
#2  0x00000001033da6ed in _XReply ()
#3  0x00000001033d4754 in XSync ()
#4  0x0000000100a4fc15 in
ogre_tools::wxOgreRenderWindow::getOgreHandle (this=<value temporarily
unavailable, due to optimizations>) at
/Users/vernaza/ros/visualization_common/ogre_tools/src/ogre_tools/wx_ogre_render_window.cpp:252
#5  0x0000000100a50218 in
ogre_tools::wxOgreRenderWindow::createRenderWindow (this=0x11760f370)
at /Users/vernaza/ros/visualization_common/ogre_tools/src/ogre_tools/wx_ogre_render_window.cpp:211
#6  0x0000000100a509b8 in
ogre_tools::wxOgreRenderWindow::wxOgreRenderWindow (this=0x11760f370,
ogre_root=0x118084dd8, parent=0x10590e200, id=-1, pos=@0x102810018,
size=@0x7fff5fbfd750, style=134217728, validator=@0x102811840,
create_render_window=true) at
/Users/vernaza/ros/visualization_common/ogre_tools/src/ogre_tools/wx_ogre_render_window.cpp:48
#7  0x0000000101f6ada6 in list [inlined] () at
/usr/include/c++/4.2.1/bits/stl_list.h:52
#8  0x0000000101f6ada6 in std::_List_base<boost::signals::connection,
std::allocator<boost::signals::connection> >::_M_init () at
/usr/include/c++/4.2.1/bits/stl_list.h:473
#9  0x0000000101f6ada6 in list [inlined] () at
/Users/vernaza/ros/visualization/rviz/src/rviz/render_panel.cpp:344
#10 0x0000000101f6ada6 in trackable [inlined] () at
/opt/local/include/boost/signals/trackable.hpp:39
#11 0x0000000101f6ada6 in rviz::RenderPanel::RenderPanel
(this=0x11760f370, parent=0x10590e200, create_render_window=<value
temporarily unavailable, due to optimizations>) at
/Users/vernaza/ros/visualization/rviz/src/rviz/render_panel.cpp:52
#12 0x0000000101fa4a5a in rviz::VisualizationFrame::initialize
(this=0x10590e200, display_config_file=@0x7fff5fbfec00,
fixed_frame=@0x7fff5fbfebe0, target_frame=@0x7fff5fbfebf0) at
/Users/vernaza/ros/visualization/rviz/src/rviz/visualization_frame.cpp:171
#13 0x0000000100019995 in rviz::VisualizerApp::OnInit
(this=0x105257640) at
/Users/vernaza/ros/visualization/rviz/src/rviz/visualizer_app.cpp:234
#14 0x000000010000eccd in wxAppConsole::CallOnInit (this=<value
temporarily unavailable, due to optimizations>) at app.h:76
#15 0x00000001022221e3 in wxEntry ()
#16 0x000000010000e684 in main (argc=1, argv=<value temporarily
unavailable, due to optimizations>) at
/Users/vernaza/ros/visualization/rviz/src/rviz/visualizer_app.cpp:321


Paul



More information about the ros-users mailing list