Skip to content

Fix segfault in Bullet Featherstone plugin when loading ball joint (backport #868)#869

Merged
iche033 merged 1 commit into
gz-physics9from
mergify/bp/gz-physics9/pr-868
Feb 13, 2026
Merged

Fix segfault in Bullet Featherstone plugin when loading ball joint (backport #868)#869
iche033 merged 1 commit into
gz-physics9from
mergify/bp/gz-physics9/pr-868

Conversation

@mergify

@mergify mergify Bot commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

🦟 Bug fix

Fixes #864

Summary

Fixed a segmentation fault in the Bullet Featherstone plugin triggered by SDF models containing ball joints.
Added a null pointer check for joint->Axis() to prevent invalid access when loading joints that lack an axis definition.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)

This is an automatic backport of pull request #868 done by [Mergify](https://mergify.com).

)

Signed-off-by: momo <2438833481@qq.com>
(cherry picked from commit 2f8e332)
@github-project-automation github-project-automation Bot moved this from Inbox to In review in Core development Feb 13, 2026
@iche033
iche033 merged commit 8d183cd into gz-physics9 Feb 13, 2026
14 checks passed
@iche033
iche033 deleted the mergify/bp/gz-physics9/pr-868 branch February 13, 2026 01:47
@github-project-automation github-project-automation Bot moved this from In review to Done in Core development Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🪵 jetty Gazebo Jetty

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Bullet-featherstone ; Crash when loading a model with a ball joint(Null Pointer Dereference)

3 participants