Skip to content

macOS app segfaults whenever wb_joystick_enable() is called with a connected game controller. #6907

@thefastboi

Description

@thefastboi

Describe the Bug
Whenever wb_joystick_enable() is called and Webots detects a joystick coming from a game controller, the app immediately crashes with a segmentation fault error.

Steps to Reproduce

  1. Connect a game controller to the computer
  2. Run a simulation containing a robot whose controller calls wb_joystick_enable()
  3. The app should crash with zsh: segmentation fault if opened directly using the executable in the MacOS folder

Expected behavior
Either only the controller should crash, or the app should function as normal.

Screenshots

Image

System

  • Operating System: macOS Tahoe 26.1
  • Graphics Card: Apple M1 SoC

Metadata

Metadata

Assignees

No one assigned

    Labels

    crashCause a crash

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions