Skip to content

Revert "initialize RobotModel even if URDF is empty" - #43

Merged
v4hn merged 1 commit into
moveit:kinetic-develfrom
davetcoleman:revert_init_robot_model
Aug 15, 2016
Merged

v4hn merged 1 commit into
moveit:kinetic-develfrom
davetcoleman:revert_init_robot_model

Conversation

@davetcoleman

@davetcoleman davetcoleman commented Aug 12, 2016 •

Copy link
Copy Markdown
Member

This reverts commit a7414a5 from https://github.com/ros-planning/moveit_ros/pull/730

This change causes the default Rviz to segfault in Kinetic (maybe earlier) when you load the MotionPlanningPlugin.

The backtrace is here

The relevant line is

#5  0x00007fff85a43b49 in moveit::core::RobotModel::RobotModel (this=0x7fffb4001c00, urdf_model=..., srdf_model=...) at /home/dave/ws_moveit/src/moveit/moveit_core/robot_model/src/robot_model.cpp:56
56    buildModel(*urdf_model, *srdf_model);

The boost pointer throws an assertion when urdf_model is dereferenced.

There might be a fix for this segfault that perhaps @v4hn can address but this PR fixes what introduced the bug.

@v4hn

v4hn commented Aug 15, 2016

Copy link
Copy Markdown
Contributor

Hereby I promise to always compile my MoveIt workspace as type "Debug". -.-
Crap, Thanks for catching it before the release @davetcoleman .
See #46 and referenced.

I'll merge this for now.

@v4hn
v4hn merged commit 63a9e2e into moveit:kinetic-devel Aug 15, 2016
v4hn pushed a commit that referenced this pull request Aug 15, 2016
v4hn pushed a commit that referenced this pull request Aug 15, 2016
@v4hn

v4hn commented Aug 15, 2016 via email

Copy link
Copy Markdown
Contributor

@davetcoleman
davetcoleman deleted the revert_init_robot_model branch August 15, 2016 19:15
@davetcoleman

Copy link
Copy Markdown
Member Author

Hereby I promise to always compile my MoveIt workspace as type "Debug". -.-

I'm pretty sure I experienced this problem in release build (or default build - what do you call that?) and to debug it I recompiled. But I was working on several different segfaults due to Kinetic migration so I'm not sure

@v4hn

v4hn commented Aug 15, 2016

Copy link
Copy Markdown
Contributor

On Mon, Aug 15, 2016 at 12:16:49PM -0700, Dave Coleman wrote:

I'm pretty sure I experienced this problem in release build (or default build - what do you call that?) and to debug it I recompiled. But I was working on several different segfaults due to Kinetic migration so I'm not sure

Yes, but I didn't hit it with a release build and thought it gone.
Clearly it wasn't.

v4hn added a commit to v4hn/moveit that referenced this pull request Aug 15, 2016
v4hn added a commit to v4hn/moveit that referenced this pull request Aug 16, 2016
@v4hn v4hn mentioned this pull request Aug 19, 2016
v4hn added a commit to v4hn/moveit that referenced this pull request Aug 26, 2016
JafarAbdi pushed a commit to JafarAbdi/moveit that referenced this pull request Mar 24, 2022
AndyZe pushed a commit to AndyZe/moveit that referenced this pull request Mar 17, 2023
Add fields to store planning time in pick-and-place
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

Successfully merging this pull request may close these issues.

2 participants