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.
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.