Skip to content

Conversation

@azeey
Copy link
Contributor

@azeey azeey commented Jan 24, 2026

🦟 Bug fix

Summary

SDF generation was broken when schemed URIs (e.g model:// or package://) were used for resource URIs such as meshes. Models spawned from string URDF also contained a <urdf-string> string inside the generated file paths.

  • 7727978 Adds failing tests

  • 0012fe4 Clears findfile callbacks to avoid lifetime mismatches.
    This was causing a crash where the callbacks that were registered
    in an earlier test were being called in a later test. Since the
    pointers accessed in the callbacks have long been destroyed,
    a memory corruption occurs.

Needs: gazebosim/gz-common#754

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)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers
  • Was GenAI used to generate this PR? If so, make sure to add "Generated-by" to your commits. (See this policy for more info.)

Generated-by: Remove this if GenAI was not used.

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by and Generated-by messages.

azeey added 3 commits January 23, 2026 23:59
This was causing a crash where the callbacks that were registered
in an earlier test were being called in a later test. Since the
pointers accessed in the callbacks have long been destroyed,
a memory corruption occurs.

Signed-off-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Addisu Z. Taddese <[email protected]>
This especially affects models spawned from string

Signed-off-by: Addisu Z. Taddese <[email protected]>
@azeey
Copy link
Contributor Author

azeey commented Jan 28, 2026

@osrf-jenkins run tests please

@azeey azeey removed the needs upstream release Blocked by a release of an upstream library label Jan 29, 2026
azeey added 2 commits January 30, 2026 15:02
Signed-off-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Addisu Z. Taddese <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

1 participant