Skip to content

Webots crashes when adding Shape to Track.boundingObject via GUI (R2023b) #6854

@kik1hu

Description

@kik1hu

When I click "Add → Shape" under the boundingObject field of a **Track** node in the Webots scene tree, Webots crashes instantly, even before I have a chance to set the geometry.

This does not happen under other node types like Solid or Robot.

Steps to Reproduce

  1. Create a Track node in a .wbt world.
  2. Expand Track → boundingObject in the scene tree.
  3. Right-click and choose "Add → Shape".
  4. Webots crashes immediately.

Segmentation fault occurs instantly after clicking "Add → Shape":
/usr/local/bin/webots: line 105: 6095 Segmentation fault (core dumped) "$webots_home/bin/webots-bin" "$@"

  • The crash is immediate, and happens before any geometry is set.
  • The issue seems specific to Track.boundingObject.
  • Workaround: manually write the Shape node in the .wbt file to avoid GUI triggering the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions