Open macumber opened 11 months ago
SketchUp uses Qt 5 and OpenStudio Application uses Qt 6. I've always been a bit uneasy with that, but it hasn't seemed to cause issues before. I'm not sure if this issue is due to mixing of two versions of Qt or not. I do know that commenting out the PluginInspectorGadget avoids the crash. It would be possible to replace the Qt 6 based PluginInspectorGadget with an html one. That is a good step towards removing the binary dependency between the SketchUp Plug-in and the OpenStudio Application.
@rd2 FYI
This might also be an issue with the hardened runtime for Mac M1 detecting invalid pointer operations: https://developer.apple.com/documentation/security/preparing_your_app_to_work_with_pointer_authentication
I did verify that this crash does not occur in SketchUp 23.0.418, it seems something has changed when updating to 23.1.341. I think the long-term best solution is to remove the dependency of OpenStudio SketchUp Plug-in on Qt components. I pushed a small proof of concept to https://github.com/openstudiocoalition/openstudio-sketchup-plugin/tree/html_inspector
I just hit this today tyring to isntall the 1.6.0 plugin on a mac ARM with 23.1.341
When using SketchUp 23.1.341 on Mac ARM-64, SketchUp will crash when loading the OpenStudio SketchUp Plug-in. Reported at https://unmethours.com/question/97395/openstudio-sketchup-plugin-problem/
Update: this is also affecting SketchUp 22 and OpenStudio 1.7.0, last working configuration on Mac is SketchUp 22 and OpenStudio 1.6.0. Plan is to fix this for SketchUp 24 and OpenStudio 1.8.0