-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenStudio SketchUp Plug-in crashes on launch on Mac (x86_64 and ARM) with SketchUp 2023 #133
Comments
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 Crash report
|
Yeah, I think this is due to mixing Qt6 (OS App) and Qt5 (SketchUp 2023). Not sure why it wasn't an issue earlier or on Windows. My thought is to see if this is resolved in SketchUp 2024. If so, then no big deal. If not, then start working on a Qt-less html inspector like in https://github.com/openstudiocoalition/openstudio-sketchup-plugin/tree/html_inspector |
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
The text was updated successfully, but these errors were encountered: