Skip to content

Calling render.render_cam_view() from GUI causes segfaults on Apple Silicon + OSX #168

Description

@ssilburn

Discovered on an M4 OSX mcahine with Python 3.13 and VTK 9.6 and 9.5.2:

Wherever calcam.render.render_cam_view() is called from the GUI, it is shortly followed by a segfault. Started investigating this for the fitting calibration tool, where activating the wireframe overlay causes this segfault. The crash happens after returning from render_cam_view() (not exactly sure where yet), but skipping the call to render_cam_view() and using dummy data prevents the crash and all the other code appears to be functioning normally.

Also tested using the render image tab in the 3D viewer tool and that also segfaults.

Root cause and fix so far illusive, and I don't have a suitable machine to test this on. Issue not reproduced on Windows or Linux with similar Python and VTK versions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilityRelated to environment or dependency compatibility

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions