[Rock-dev] [rock] #96: vizkit3d: SEGV if a plugin is registered with an unknown method (was: vizkit3d: crashes if a wrong method/type is registered as vizkit3d widget)
rock
noreply at opendfki.de
Tue Jan 31 17:16:21 CET 2012
#96: vizkit3d: SEGV if a plugin is registered with an unknown method
-----------------------------+-----------------------------------
Reporter: sylvain.joyeux | Owner: rock-dev-mailing-list
Type: defect | Status: new
Priority: major | Component: base
Resolution: | Keywords:
-----------------------------+-----------------------------------
Comment (by sylvain.joyeux):
The Rock tutorial vizkit plugin was registered with
Vizkit::UiLoader.register_3d_plugin_for('RockViz', "/base/Pose_m",
:updateRigidBodyState)
however, the :updateRigidBodyState method did not exist on the plugin,
only the updatePose method. This led to segmentation fault.
We should also check if it is rejected fine if the method does exist but
the declared type is wrong
--
Ticket URL: <http://rock.opendfki.de/ticket/96#comment:1>
rock <http://rock.opendfki.de>
rock: the robot construction kit
More information about the Rock-dev
mailing list