@kwagyeman please find my findings below.
Meanwhile, by any chance, is there a way to flash OpenMV firmware from the command line? Iâm considering it as a backup option. If such an option exists, could you point me to any relevant documentation?
% sudo launchctl list | grep ReportCrash
40983 -9 com.apple.ReportCrash.Root
% sudo launchctl load -w /System/Library/LaunchAgents/com.apple.ReportCrash.plist
Warning: Expecting a LaunchDaemons path since the command was ran as root. Got LaunchAgents instead.
`launchctl bootstrap` is a recommended alternative.
% sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.ReportCrash.Root.plist
Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.
I tried:
% sudo launchctl bootstrap
Usage: launchctl bootstrap <domain-target> [service-path, service-path2, ...]
After I generated a âtestâ crash report with `sudo sysdiagnose`, I see:
% sudo launchctl list | grep ReportCrash
40983 -9 com.apple.ReportCrash.Root
- 0 com.apple.ReportCrash
My assumption so far is that the IDE crashes/disappears w/o producing a crash report (I do not see the âSend to Appleâ report window), or Iâm doing something wrong.
Please advise on the next step.
UPD #1: Today 4.8.11 started failing right after showing the default example, and I can not click on that smaller window as it is overlapped by the bigger one.
I figured that pressing space closes those windows and opens the IDE main window.
UPD #2:
At some point, somehow I was able to start the IDE from the terminal, and saw the following error:
Error in terminal
% /Applications/OpenMV\ IDE.app/Contents/MacOS/OpenMV\ IDE
2026-05-19 08:17:23.591 OpenMV IDE[57539:45088989] TSM AdjustCapsLockLEDForKeyTransitionHandling - _ISSetPhysicalKeyboardCapsLockLED Inhibit
*** Terminating app due to uncaught exception âNSRangeExceptionâ, reason: â*** -[__NSArrayM objectAtIndexedSubscript:]: index 2 beyond bounds for empty arrayâ
*** First throw call stack:
(
0 CoreFoundation 0x0000000189efbae0 \__exceptionPreprocess + 176
1 libobjc.A.dylib 0x00000001899beb90 objc_exception_throw + 88
2 CoreFoundation 0x0000000189e75f90 -\[\__NSCFString hasSuffix:\] + 0
3 libqcocoa.dylib 0x0000000102058124 \_ZN20QCocoaSystemTrayIcon13emitActivatedEv + 269336
4 libqcocoa.dylib 0x00000001020581a8 \_ZN20QCocoaSystemTrayIcon13emitActivatedEv + 269468
5 libqcocoa.dylib 0x000000010205677c \_ZN20QCocoaSystemTrayIcon13emitActivatedEv + 262768
6 QtWidgets 0x0000000102429234 \_ZN9QTreeView16selectionChangedERK14QItemSelectionS2\_ + 332
7 QtCore 0x00000001032c1788 \_ZN11QMetaObject8activateEP7QObjectPKS_iPPv + 3780
8 QtCore 0x00000001034856a4 \_ZN19QItemSelectionModel20emitSelectionChangedERK14QItemSelectionS2\_ + 216
9 QtCore 0x0000000103485264 \_ZN19QItemSelectionModel6selectERK14QItemSelection6QFlagsINS_13SelectionFlagEE + 660
10 QtCore 0x0000000103484f24 \_ZN19QItemSelectionModel6selectERK11QModelIndex6QFlagsINS_13SelectionFlagEE + 68
11 QtCore 0x000000010348614c \_ZN19QItemSelectionModel15setCurrentIndexERK11QModelIndex6QFlagsINS_13SelectionFlagEE + 260
12 QtWidgets 0x00000001023b086c \_ZN17QAbstractItemView15setCurrentIndexERK11QModelIndex + 160
13 libUtils.4.8.11.dylib 0x00000001011d01c4 \_ZN5Utils16TreeViewComboBox15setCurrentIndexERK11QModelIndex + 216
14 libLanguageClient.dylib 0x00000001128f3efc \_ZN14LanguageClient15OutlineComboBox11updateEntryEv + 104
15 QtCore 0x00000001032c1524 \_ZN11QMetaObject8activateEP7QObjectPKS_iPPv + 3168
16 QtWidgets 0x00000001023174a4 \_ZNK14QPlainTextEdit10blockCountEv + 3496
17 QtCore 0x00000001032c1788 \_ZN11QMetaObject8activateEP7QObjectPKS_iPPv + 3780
18 QtWidgets 0x000000010233b500 \_ZN18QWidgetTextControl13setTextCursorERK11QTextCursorb + 208
19 libTextEditor.dylib 0x000000011262bfe4 \_ZN10TextEditor16TextEditorWidget15doSetTextCursorERK11QTextCursorb + 360
20 libTextEditor.dylib 0x0000000112622ef0 \_ZN10TextEditor16TextEditorWidget18setMultiTextCursorERKN5Utils15MultiTextCursorE + 116
21 libTextEditor.dylib 0x0000000112627eac \_ZN10TextEditor8Internal23TextEditorWidgetPrivate18cursorMoveKeyEventEP9QKeyEvent + 92
22 libTextEditor.dylib 0x0000000112629340 \_ZN10TextEditor16TextEditorWidget13keyPressEventEP9QKeyEvent + 2228
23 QtWidgets 0x0000000102186494 \_ZN7QWidget5eventEP6QEvent + 488
24 QtWidgets 0x000000010220a060 \_ZN6QFrame5eventEP6QEvent + 56
25 QtWidgets 0x00000001023135f4 \_ZN14QPlainTextEdit5eventEP6QEvent + 632
26 QtWidgets 0x000000010213cfec \_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 272
27 QtWidgets 0x000000010213e064 \_ZN12QApplication6notifyEP7QObjectP6QEvent + 1044
28 QtCore 0x0000000103277f88 \_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 292
29 QtWidgets 0x0000000102199cb8 \_ZNK21QWidgetRepaintManager3rhiEv + 6592
30 QtWidgets 0x000000010213cfec \_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 272
31 QtWidgets 0x000000010213de50 \_ZN12QApplication6notifyEP7QObjectP6QEvent + 512
32 QtCore 0x0000000103277f88 \_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 292
33 QtGui 0x00000001015daf60 \_ZN22QGuiApplicationPrivate15processKeyEventEPN29QWindowSystemInterfacePrivate8KeyEventE + 260
34 QtGui 0x0000000101631aa4 \_ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 396
35 QtGui 0x0000000101631688 \_ZN22QWindowSystemInterface23flushWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 496
36 libqcocoa.dylib 0x000000010203fc7c \_ZN20QCocoaSystemTrayIcon13emitActivatedEv + 169840
37 libqcocoa.dylib 0x0000000102040b60 \_ZN20QCocoaSystemTrayIcon13emitActivatedEv + 173652
38 AppKit 0x000000018ded3b94 -\[NSWindow(NSEventRouting) \_reallySendEvent:isDelayedEvent:\] + 300
39 AppKit 0x000000018ded38a0 -\[NSWindow(NSEventRouting) sendEvent:\] + 288
40 libqcocoa.dylib 0x0000000102048f34 \_ZN20QCocoaSystemTrayIcon13emitActivatedEv + 207400
41 AppKit 0x000000018e74ba1c -\[NSApplication(NSEventRouting) sendEvent:\] + 2364
42 libqcocoa.dylib 0x0000000101feeb90 qt_plugin_instance + 1060
43 AppKit 0x000000018e34a42c -\[NSApplication \_handleEvent:\] + 60
44 AppKit 0x000000018dda0c0c -\[NSApplication run\] + 520
45 libqcocoa.dylib 0x0000000101ffa644 qt_plugin_instance + 48856
46 QtCore 0x00000001032818fc \_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 532
47 QtCore 0x0000000103278614 \_ZN16QCoreApplication4execEv + 112
48 OpenMV IDE 0x00000001006241f4 OpenMV IDE + 49652
49 dyld 0x00000001899feb98 start + 6076
)
libc++abi: terminating due to uncaught exception of type NSException
zsh: abort /Applications/OpenMV\ IDE.app/Contents/MacOS/OpenMV\ IDE
UPD #3: It crashes (see Upd #2) when I have copied something into the clipboard.
It also crashes when I try to open a simple py script via File/Open File
Python
import time
from machine import UART
# Always pass UART 1 for the UART number for your OpenMV Cam.
# The second argument is the UART baud rate. For a more advanced UART control
# example see the BLE-Shield driver.
uart = UART(1, 9600, timeout=1000, timeout_char=1000)
while(True):
uart.write("Hello World!\r\n")
l = uart.readline()
print(l)
Error
% /Applications/OpenMV\ IDE.app/Contents/MacOS/OpenMV\ IDE
*** Terminating app due to uncaught exception âNSRangeExceptionâ, reason: â*** -[__NSArrayM objectAtIndexedSubscript:]: index 0 beyond bounds for empty arrayâ
*** First throw call stack:
(
0 CoreFoundation 0x0000000189efbae0 \__exceptionPreprocess + 176
1 libobjc.A.dylib 0x00000001899beb90 objc_exception_throw + 88
2 CoreFoundation 0x0000000189e75f90 -\[\__NSCFString hasSuffix:\] + 0
3 libqcocoa.dylib 0x00000001009f4124 \_ZN20QCocoaSystemTrayIcon13emitActivatedEv + 269336
4 libqcocoa.dylib 0x00000001009f41a8 \_ZN20QCocoaSystemTrayIcon13emitActivatedEv + 269468
5 libqcocoa.dylib 0x00000001009f277c \_ZN20QCocoaSystemTrayIcon13emitActivatedEv + 262768
6 QtWidgets 0x0000000101f49234 \_ZN9QTreeView16selectionChangedERK14QItemSelectionS2\_ + 332
7 QtCore 0x0000000102de1788 \_ZN11QMetaObject8activateEP7QObjectPKS_iPPv + 3780
8 QtCore 0x0000000102fa56a4 \_ZN19QItemSelectionModel20emitSelectionChangedERK14QItemSelectionS2\_ + 216
9 QtCore 0x0000000102fa5264 \_ZN19QItemSelectionModel6selectERK14QItemSelection6QFlagsINS_13SelectionFlagEE + 660
10 QtCore 0x0000000102fa4f24 \_ZN19QItemSelectionModel6selectERK11QModelIndex6QFlagsINS_13SelectionFlagEE + 68
11 QtCore 0x0000000102fa614c \_ZN19QItemSelectionModel15setCurrentIndexERK11QModelIndex6QFlagsINS_13SelectionFlagEE + 260
12 QtWidgets 0x0000000101ed086c \_ZN17QAbstractItemView15setCurrentIndexERK11QModelIndex + 160
13 libUtils.4.8.11.dylib 0x0000000100cf01c4 \_ZN5Utils16TreeViewComboBox15setCurrentIndexERK11QModelIndex + 216
14 libLanguageClient.dylib 0x000000011b5ebefc \_ZN14LanguageClient15OutlineComboBox11updateEntryEv + 104
15 QtCore 0x0000000102de1524 \_ZN11QMetaObject8activateEP7QObjectPKS_iPPv + 3168
16 libLanguageClient.dylib 0x000000011b547704 \_ZN14LanguageClient19DocumentSymbolCache10gotSymbolsERKN22LanguageServerProtocol11DocumentUriERKNS1_21DocumentSymbolsResultE + 56
17 libLanguageClient.dylib 0x000000011b5b9944 \_ZN14LanguageClient19DocumentSymbolCache14handleResponseERKN22LanguageServerProtocol11DocumentUriERKNS1_8ResponseINS1_21DocumentSymbolsResultEDnEE + 448
18 libLanguageServerProtocol.4.8.11.dy 0x000000011aa03a9c \_ZZNK22LanguageServerProtocol7RequestINS_21DocumentSymbolsResultEDnNS_18TextDocumentParamsEE15responseHandlerEvENKUlRKNS_14JsonRpcMessageEE_clES6\_ + 100
19 libLanguageClient.dylib 0x000000011b57417c \_ZN14LanguageClient6Client13handleMessageERKN22LanguageServerProtocol14JsonRpcMessageE + 272
20 QtCore 0x0000000102de1524 \_ZN11QMetaObject8activateEP7QObjectPKS_iPPv + 3168
21 libLanguageClient.dylib 0x000000011b57c450 \_ZN14LanguageClient19InterfaceController15messageReceivedERKN22LanguageServerProtocol14JsonRpcMessageE + 52
22 QtCore 0x0000000102dd9ec8 \_ZN7QObject5eventEP6QEvent + 612
23 QtWidgets 0x0000000101c5cfec \_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 272
24 QtWidgets 0x0000000101c5de50 \_ZN12QApplication6notifyEP7QObjectP6QEvent + 512
25 QtCore 0x0000000102d97f88 \_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 292
26 QtCore 0x0000000102d99238 \_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData + 1428
27 libqcocoa.dylib 0x0000000100997268 qt_plugin_instance + 51964
28 libqcocoa.dylib 0x0000000100997d40 qt_plugin_instance + 54740
29 CoreFoundation 0x0000000189e8ab14 \__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_\_ + 28
30 CoreFoundation 0x0000000189e8aaa8 \__CFRunLoopDoSource0 + 172
31 CoreFoundation 0x0000000189e8a814 \__CFRunLoopDoSources0 + 232
32 CoreFoundation 0x0000000189e89468 \__CFRunLoopRun + 840
33 CoreFoundation 0x0000000189e88a98 CFRunLoopRunSpecific + 572
34 HIToolbox 0x000000019592b27c RunCurrentEventLoopInMode + 324
35 HIToolbox 0x000000019592e4e8 ReceiveNextEventCommon + 676
36 HIToolbox 0x0000000195ab9484 \_BlockUntilNextEventMatchingListInModeWithFilter + 76
37 AppKit 0x000000018ddada34 \_DPSNextEvent + 684
38 AppKit 0x000000018e74c940 -\[NSApplication(NSEventRouting) \_nextEventMatchingEventMask:untilDate:inMode:dequeue:\] + 688
39 AppKit 0x000000018dda0be4 -\[NSApplication run\] + 480
40 libqcocoa.dylib 0x0000000100996644 qt_plugin_instance + 48856
41 QtCore 0x0000000102da18fc \_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 532
42 QtCore 0x0000000102d98614 \_ZN16QCoreApplication4execEv + 112
43 OpenMV IDE 0x00000001002f41f4 OpenMV IDE + 49652
44 dyld 0x00000001899feb98 start + 6076
)
libc++abi: terminating due to uncaught exception of type NSException
zsh: abort /Applications/OpenMV\ IDE.app/Contents/MacOS/OpenMV\ IDE
Hope that helps