Skip to content

OpenStudio SketchUp Plug-in crashes on launch on Mac (x86_64 and ARM) with SketchUp 2023 #133

@macumber

Description

@macumber

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

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               SketchUp [11067]
Path:                  /Applications/SketchUp 2023/SketchUp.app/Contents/MacOS/SketchUp
Identifier:            com.sketchup.SketchUp.2023
Version:               23.1 (23.1.341)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-12-28 13:27:26.7149 -0700
OS Version:            macOS 13.5.1 (22G90)
Report Version:        12
Anonymous UUID:        813AF69C-D871-480E-0836-C408EAEAF218


Time Awake Since Boot: 810000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  CrBrowserMain  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000008
Exception Codes:       0x0000000000000001, 0x0000000000000008

VM Region Info: 0x8 is not in any region.  Bytes before following region: 105553518919672
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-/rwx SM=NUL  ...(unallocated)

Application Specific Information:
abort() called


Kernel Triage:
VM - (arg = 0x0) pmap_enter retried due to resource shortage
VM - (arg = 0x0) pmap_enter retried due to resource shortage


Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x1ab9b8764 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x1ab9efc28 pthread_kill + 288
2   libsystem_c.dylib             	       0x1ab8fdae8 abort + 180
3   Ruby                          	       0x104ce9888 die + 12
4   Ruby                          	       0x104ce9944 rb_bug_for_fatal_signal + 188
5   Ruby                          	       0x104e7839c sigsegv + 100
6   libsystem_platform.dylib      	       0x1aba1ea24 _sigtramp + 56
7   QtWidgets                     	       0x1061bb8dc void QWidgetPrivate::invalidateBackingStore<QRect>(QRect const&) + 80
8   QtWidgets                     	       0x17e622f10 QWidget::destroy(bool, bool) + 232
9   QtWidgets                     	       0x17e622ba0 QWidget::~QWidget() + 1200
10  QtWidgets                     	       0x17e736d20 QLabel::~QLabel() + 52
11  QtCore                        	       0x28a6c3200 QObjectPrivate::deleteChildren() + 152
12  QtWidgets                     	       0x17e622b84 QWidget::~QWidget() + 1172
13  QtWidgets                     	       0x17e6b4fb0 QFrame::~QFrame() + 12
14  QtCore                        	       0x28a6c3200 QObjectPrivate::deleteChildren() + 152
15  QtWidgets                     	       0x17e622b84 QWidget::~QWidget() + 1172
16  openstudio_modeleditor.bundle 	       0x1714b1794 IGWidget::~IGWidget() + 44
17  openstudio_modeleditor.bundle 	       0x1714aa160 InspectorGadget::clear(bool) + 172
18  openstudio_modeleditor.bundle 	       0x1714a9b70 InspectorGadget::layoutModelObj(openstudio::WorkspaceObject&, bool, bool, bool, bool) + 212
19  openstudio_modeleditor.bundle 	       0x1714b12fc InspectorGadget::createAllFields() + 192
20  openstudio_modeleditor.bundle 	       0x1714a2d84 InspectorDialog::setSelectedObjectHandles(std::__1::vector<openstudio::UUID, std::__1::allocator<openstudio::UUID>> const&, bool) + 856
21  openstudio_modeleditor.bundle 	       0x1714a1dfc InspectorDialog::setIddObjectType(openstudio::IddObjectType const&, bool) + 572
22  openstudio_modeleditor.bundle 	       0x1714a3698 InspectorDialog::setModel(openstudio::model::Model const&, bool) + 168
23  openstudio_modeleditor.bundle 	       0x171471f18 _wrap_InspectorDialog_setModel(int, unsigned long*, unsigned long) + 256
24  Ruby                          	       0x104f38ee0 call_cfunc_m1 + 48
25  Ruby                          	       0x104f2be40 vm_call_cfunc_with_frame + 640
26  Ruby                          	       0x104f23cac vm_call_cfunc + 144
27  Ruby                          	       0x104f233d8 vm_call_method_each_type + 208
28  Ruby                          	       0x104f2311c vm_call_method + 172
29  Ruby                          	       0x104f05ad0 vm_call_general + 48
30  Ruby                          	       0x104f30c14 vm_sendish + 220
31  Ruby                          	       0x104f0a4b4 vm_exec_core + 15968
32  Ruby                          	       0x104f1e3dc rb_vm_exec + 224
33  Ruby                          	       0x104f158fc vm_call0_body + 364
34  Ruby                          	       0x104f15758 rb_vm_call0 + 256
35  Ruby                          	       0x104f168dc rb_vm_call_kw + 116
36  Ruby                          	       0x104f3b480 rb_call0 + 300
37  Ruby                          	       0x104f179a4 rb_call + 80
38  Ruby                          	       0x104f17c10 rb_funcallv_kw + 112
39  Ruby                          	       0x104cf757c rb_obj_call_init_kw + 60
40  Ruby                          	       0x104dce824 rb_class_s_new + 56
41  Ruby                          	       0x104f38ee0 call_cfunc_m1 + 48
42  Ruby                          	       0x104f2be40 vm_call_cfunc_with_frame + 640
43  Ruby                          	       0x104f23cac vm_call_cfunc + 144
44  Ruby                          	       0x104f233d8 vm_call_method_each_type + 208
45  Ruby                          	       0x104f2311c vm_call_method + 172
46  Ruby                          	       0x104f05ad0 vm_call_general + 48
47  Ruby                          	       0x104f30c14 vm_sendish + 220
48  Ruby                          	       0x104f0a4b4 vm_exec_core + 15968
49  Ruby                          	       0x104f1e3dc rb_vm_exec + 224
50  Ruby                          	       0x104f1f330 rb_iseq_eval + 48
51  Ruby                          	       0x104d65420 load_iseq_eval + 208
52  Ruby                          	       0x104d622e0 rb_load_internal + 76
53  Ruby                          	       0x104d63b78 rb_f_load + 396
54  Ruby                          	       0x104f38ee0 call_cfunc_m1 + 48
55  Ruby                          	       0x104f2be40 vm_call_cfunc_with_frame + 640
56  Ruby                          	       0x104f23cac vm_call_cfunc + 144
57  Ruby                          	       0x104f233d8 vm_call_method_each_type + 208
58  Ruby                          	       0x104f231b0 vm_call_method + 320
59  Ruby                          	       0x104f05ad0 vm_call_general + 48
60  Ruby                          	       0x104f30c14 vm_sendish + 220
61  Ruby                          	       0x104f0a4b4 vm_exec_core + 15968
62  Ruby                          	       0x104f1e3dc rb_vm_exec + 224
63  Ruby                          	       0x104f1f330 rb_iseq_eval + 48
64  Ruby                          	       0x104d65420 load_iseq_eval + 208
65  Ruby                          	       0x104d622e0 rb_load_internal + 76
66  Ruby                          	       0x104d63b78 rb_f_load + 396
67  Ruby                          	       0x104f38ee0 call_cfunc_m1 + 48
68  Ruby                          	       0x104f2be40 vm_call_cfunc_with_frame + 640
69  Ruby                          	       0x104f23cac vm_call_cfunc + 144
70  Ruby                          	       0x104f233d8 vm_call_method_each_type + 208
71  Ruby                          	       0x104f231b0 vm_call_method + 320
72  Ruby                          	       0x104f05ad0 vm_call_general + 48
73  Ruby                          	       0x104f30c14 vm_sendish + 220
74  Ruby                          	       0x104f0a4b4 vm_exec_core + 15968
75  Ruby                          	       0x104f1e3dc rb_vm_exec + 224
76  Ruby                          	       0x104f192f0 eval_string_with_scope + 216
77  Ruby                          	       0x104f19024 rb_f_eval + 280
78  Ruby                          	       0x104f38ee0 call_cfunc_m1 + 48
79  Ruby                          	       0x104f3b154 vm_call0_cfunc_with_frame + 1300
80  Ruby                          	       0x104f3a8b8 vm_call0_cfunc + 48
81  Ruby                          	       0x104f15918 vm_call0_body + 392
82  Ruby                          	       0x104f15758 rb_vm_call0 + 256
83  Ruby                          	       0x104f168dc rb_vm_call_kw + 116
84  Ruby                          	       0x104f3b480 rb_call0 + 300
85  Ruby                          	       0x104f179a4 rb_call + 80
86  Ruby                          	       0x104f17b94 rb_funcallv + 52
87  SketchUp                      	       0x10310c588 0x102bac000 + 5637512
88  Ruby                          	       0x104cf603c rb_protect + 296
89  SketchUp                      	       0x10310c410 protect_funcall(unsigned long, unsigned long, std::__1::vector<unsigned long, std::__1::allocator<unsigned long>> const&) + 248
90  SketchUp                      	       0x10310c6f0 protect_funcall(unsigned long, unsigned long, int, ...) + 288
91  SketchUp                      	       0x10310c06c 0x102bac000 + 5636204
92  SketchUp                      	       0x10310c18c EvaluateRubyCommand(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) + 216
93  SketchUp                      	       0x102bd0994 0x102bac000 + 149908
94  RubyDialog                    	       0x10396e6a4 -[RubyController evalString:] + 88
95  RubyDialog                    	       0x10396e720 -[RubyController onTextEntered:] + 76
96  AppKit                        	       0x1aee9b4cc -[NSApplication(NSResponder) sendAction:to:from:] + 440
97  AppKit                        	       0x1aee9b2e4 -[NSControl sendAction:to:] + 72
98  AppKit                        	       0x1aef397c4 -[NSTextField textDidEndEditing:] + 460
99  CoreFoundation                	       0x1abac3180 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
100 CoreFoundation                	       0x1abb5eeec ___CFXRegistrationPost_block_invoke + 88
101 CoreFoundation                	       0x1abb5ee34 _CFXRegistrationPost + 440
102 CoreFoundation                	       0x1aba944cc _CFXNotificationPost + 704
103 Foundation                    	       0x1ac9f28e4 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
104 AppKit                        	       0x1aefd0f2c -[NSTextView(NSPrivate) _giveUpFirstResponder:] + 308
105 AppKit                        	       0x1aef5328c -[NSTextView doCommandBySelector:] + 176
106 AppKit                        	       0x1aef5319c -[NSTextInputContext(NSInputContext_WithCompletion) doCommandBySelector:completionHandler:] + 228
107 AppKit                        	       0x1aeea1578 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] + 1508
108 AppKit                        	       0x1aeea8ea0 __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke_5 + 360
109 AppKit                        	       0x1af5fe4f4 __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke_3.657 + 100
110 AppKit                        	       0x1aeea8cf4 -[NSTextInputContext tryHandleEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 148
111 AppKit                        	       0x1af5fe454 __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke.654 + 316
112 HIToolbox                     	       0x1b535747c __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_5 + 96
113 HIToolbox                     	       0x1b53680ec invocation function for block in DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 148
114 AppKit                        	       0x1af5f9654 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.180 + 576
115 AppKit                        	       0x1aeea3424 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 + 100
116 AppKit                        	       0x1aeea3370 -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 148
117 AppKit                        	       0x1aeea28e4 -[NSTextInputContext handleTSMEvent:completionHandler:] + 2028
118 AppKit                        	       0x1aeea208c _NSTSMEventHandler + 332
119 HIToolbox                     	       0x1b52f73a4 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1092
120 HIToolbox                     	       0x1b52f6828 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 356
121 HIToolbox                     	       0x1b52f66b8 SendEventToEventTargetWithOptions + 44
122 HIToolbox                     	       0x1b53538f8 SendTSMEvent_WithCompletionHandler + 432
123 HIToolbox                     	       0x1b5353e48 __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 456
124 HIToolbox                     	       0x1b5353c54 __SendFilterTextEvent_WithCompletionHandler_block_invoke + 228
125 HIToolbox                     	       0x1b5353950 SendTSMEvent_WithCompletionHandler + 520
126 HIToolbox                     	       0x1b5353700 SendFilterTextEvent_WithCompletionHandler + 260
127 HIToolbox                     	       0x1b5353334 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 296
128 HIToolbox                     	       0x1b53530c0 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 320
129 HIToolbox                     	       0x1b5352e44 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 284
130 HIToolbox                     	       0x1b5352ca8 TSMKeyEvent_WithCompletionHandler + 592
131 HIToolbox                     	       0x1b5352a38 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 312
132 HIToolbox                     	       0x1b5352850 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 348
133 HIToolbox                     	       0x1b5352530 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 312
134 HIToolbox                     	       0x1b535223c __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 312
135 HIToolbox                     	       0x1b533fecc TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 2304
136 AppKit                        	       0x1af5fe308 __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke_3.650 + 148
137 AppKit                        	       0x1af5fdfe4 __204-[NSTextInputContext tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherCondition:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuation:]_block_invoke.632 + 192
138 AppKit                        	       0x1aeea0e40 -[NSTextInputContext tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherCondition:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuation:] + 336
139 AppKit                        	       0x1aeea086c -[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:] + 1456
140 AppKit                        	       0x1aeea027c -[NSTextInputContext _handleEvent:allowingSyntheticEvent:] + 132
141 AppKit                        	       0x1aeea00d4 -[NSView interpretKeyEvents:] + 156
142 AppKit                        	       0x1aee9ff28 -[NSTextView keyDown:] + 524
143 AppKit                        	       0x1aee20ba0 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 480
144 AppKit                        	       0x1aee207ec -[NSWindow(NSEventRouting) sendEvent:] + 284
145 AppKit                        	       0x1aee1fb30 -[NSApplication(NSEvent) sendEvent:] + 1556
146 libCommonWebEngine.dylib      	       0x103cd73f8 -[CefNSApplication sendEvent:] + 96
147 SketchUp                      	       0x102c04e24 0x102bac000 + 364068
148 AppKit                        	       0x1af06fc48 -[NSApplication _handleEvent:] + 60
149 AppKit                        	       0x1aece6fa0 -[NSApplication run] + 500
150 AppKit                        	       0x1aecbe3cc NSApplicationMain + 880
151 SketchUp                      	       0x102bb9308 main + 140
152 dyld                          	       0x1ab697f28 start + 2236

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions