macmade / Hot

Hot is macOS menu bar application that displays the CPU speed limit due to thermal issues.
https://xs-labs.com/en/apps/hot/
MIT License
2.36k stars 93 forks source link

crash: unrecognized selector sent to instance #99

Open AlisterH opened 3 months ago

AlisterH commented 3 months ago

Crashes trying to start on 27" Mid 2010 running 10.13.6:


Macs-iMac:~ mac$ /Users/mac/Downloads/Hot.app/Contents/MacOS/Hot ; exit;
2024-08-01 20:46:08.647 Hot[982:52896] -[NSMenu setItemArray:]: unrecognized selector sent to instance 0x7fb6cac0f970
2024-08-01 20:46:08.648 Hot[982:52896] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSMenu setItemArray:]: unrecognized selector sent to instance 0x7fb6cac0f970'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff4e998f3b __exceptionPreprocess + 171
    1   libobjc.A.dylib                     0x00007fff75cf1942 objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff4ea30414 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
    3   CoreFoundation                      0x00007fff4e90ff03 ___forwarding___ + 1443
    4   CoreFoundation                      0x00007fff4e90f8d8 _CF_forwarding_prep_0 + 120
    5   Hot                                 0x000000010bdcc66a Hot + 120426
    6   Hot                                 0x000000010bdd23a1 Hot + 144289
    7   Hot                                 0x000000010bdbffb1 Hot + 69553
    8   Hot                                 0x000000010bdc0760 Hot + 71520
    9   Hot                                 0x000000010bdbb889 Hot + 51337
    10  libdispatch.dylib                   0x00007fff768da5fa _dispatch_call_block_and_release + 12
    11  libdispatch.dylib                   0x00007fff768d2db8 _dispatch_client_callout + 8
    12  libdispatch.dylib                   0x00007fff768de395 _dispatch_main_queue_callback_4CF + 1148
    13  CoreFoundation                      0x00007fff4e951c69 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
    14  CoreFoundation                      0x00007fff4e91443a __CFRunLoopRun + 2586
    15  CoreFoundation                      0x00007fff4e913787 CFRunLoopRunSpecific + 487
    16  HIToolbox                           0x00007fff4dbf3d96 RunCurrentEventLoopInMode + 286
    17  HIToolbox                           0x00007fff4dbf3b06 ReceiveNextEventCommon + 613
    18  HIToolbox                           0x00007fff4dbf3884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
    19  AppKit                              0x00007fff4bea0a3b _DPSNextEvent + 2085
    20  AppKit                              0x00007fff4c636e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
    21  AppKit                              0x00007fff4be9584d -[NSApplication run] + 764
    22  AppKit                              0x00007fff4be64a3a NSApplicationMain + 804
    23  Hot                                 0x000000010bdb2179 Hot + 12665
    24  libdyld.dylib                       0x00007fff7690c015 start + 1
    25  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...9 completed.

[Process completed]
AlisterH commented 3 months ago

Versions up to 1.9.1 seem to work OK.