Skip to content
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

Vitals 0.9 crash #20

Open
garyemerson opened this issue Dec 5, 2024 · 0 comments
Open

Vitals 0.9 crash #20

garyemerson opened this issue Dec 5, 2024 · 0 comments

Comments

@garyemerson
Copy link

garyemerson commented Dec 5, 2024

I upgraded to v0.9 and I'm getting much less crashing (thanks!). But I did get a crash the other day. Here's a snippet of the crash report, I'll attached the full file too.

crash report snippet
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Vitals [1812]
Path:                  /Applications/Vitals.app/Contents/MacOS/Vitals
Identifier:            com.hmarr.Vitals
Version:               0.9 (1)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-12-04 20:06:02.6580 -0800
OS Version:            macOS 14.7.1 (23H222)
Report Version:        12
Bridge OS Version:     9.1 (22P1072)
Anonymous UUID:        6EE45EBB-08D9-4319-FAE0-3C5B4199F3A7

Sleep/Wake UUID:       9BF76AFD-66F9-4614-94EB-F52B5A185ED3

Time Awake Since Boot: 370000 seconds
Time Since Wake:       517 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       UNKNOWN_0xD at 0x0000000000000000
Exception Codes:       0x000000000000000d, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [1812]

VM Region Info: 0 is not in any region.  Bytes before following region: 4333924352
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      102527000-102547000    [  128K] r-x/r-x SM=COW  /Applications/Vitals.app/Contents/MacOS/Vitals

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   Vitals                        	       0x1025363b1 0x102527000 + 62385
1   Vitals                        	       0x102533b51 0x102527000 + 52049
2   Vitals                        	       0x10252c5ef 0x102527000 + 21999
3   Vitals                        	       0x102530411 0x102527000 + 37905
4   Combine                       	    0x7ff827f66f7d Subscribers.Sink.receive(_:) + 77
5   Combine                       	    0x7ff827f675b0 protocol witness for Subscriber.receive(_:) in conformance Subscribers.Sink + 16
6   Combine                       	    0x7ff827f7297f PassthroughSubject.Conduit.offer(_:) + 431
7   Combine                       	    0x7ff827f73d1a partial apply for closure #1 in PassthroughSubject.send(_:) + 26
8   Combine                       	    0x7ff827faa1b6 ConduitList.forEach(_:) + 214
9   Combine                       	    0x7ff827f723f3 PassthroughSubject.send(_:) + 179
10  Vitals                        	       0x10253673d 0x102527000 + 63293
11  Vitals                        	       0x102532ea9 0x102527000 + 48809
12  libdispatch.dylib             	    0x7ff81528dac6 _dispatch_call_block_and_release + 12
13  libdispatch.dylib             	    0x7ff81528edbc _dispatch_client_callout + 8
14  libdispatch.dylib             	    0x7ff81529b1df _dispatch_main_queue_drain + 984
15  libdispatch.dylib             	    0x7ff81529adf9 _dispatch_main_queue_callback_4CF + 31
16  CoreFoundation                	    0x7ff81554cd66 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
17  CoreFoundation                	    0x7ff81550bf95 __CFRunLoopRun + 2459
18  CoreFoundation                	    0x7ff81550b032 CFRunLoopRunSpecific + 557
19  HIToolbox                     	    0x7ff81ff2ba09 RunCurrentEventLoopInMode + 292
20  HIToolbox                     	    0x7ff81ff2b816 ReceiveNextEventCommon + 665
21  HIToolbox                     	    0x7ff81ff2b561 _BlockUntilNextEventMatchingListInModeWithFilter + 66
22  AppKit                        	    0x7ff818b7c171 _DPSNextEvent + 880
23  AppKit                        	    0x7ff819490af0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1273
24  AppKit                        	    0x7ff8192908ae -[NSMenuTrackingSession startRunningMenuEventLoop:] + 357
25  AppKit                        	    0x7ff819ab4c85 -[NSContextMenuTrackingSession startMonitoringEventsInMode:] + 181
26  AppKit                        	    0x7ff81923f703 +[NSContextMenuImpl presentPopup:fromView:withContext:animated:] + 835
27  AppKit                        	    0x7ff8194c1306 _NSPopUpMenu + 3156
28  AppKit                        	    0x7ff8194c0618 -[NSCocoaMenuImpl popUpMenu:atLocation:width:view:selectedItemIndexProvider:font:positioningRect:flags:options:] + 580
29  AppKit                        	    0x7ff8194c03ce -[NSCocoaMenuImpl popUpMenu:atLocation:width:view:selectedItemIndexProvider:font:flags:options:] + 53
30  AppKit                        	    0x7ff8194c0389 -[NSCocoaMenuImpl popUpMenu:atLocation:width:forView:withSelectedItem:withFont:withFlags:withOptions:] + 81
31  AppKit                        	    0x7ff819481966 +[NSStatusBarButtonCell popUpStatusBarMenu:ofItem:ofBar:inRect:ofView:withEvent:] + 417
32  AppKit                        	    0x7ff819480dc4 -[NSStatusBarButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 411
33  AppKit                        	    0x7ff818d64e4b -[NSControl mouseDown:] + 666
34  AppKit                        	    0x7ff818d637f3 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4582
35  AppKit                        	    0x7ff818cdc857 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 313
36  AppKit                        	    0x7ff818cdc503 -[NSWindow(NSEventRouting) sendEvent:] + 345
37  AppKit                        	    0x7ff819483264 -[NSStatusBarWindow sendEvent:] + 674
38  AppKit                        	    0x7ff81948f1a0 -[NSApplication(NSEventRouting) sendEvent:] + 1456
39  AppKit                        	    0x7ff819049d2e -[NSApplication _handleEvent:] + 65
40  AppKit                        	    0x7ff818b6d5aa -[NSApplication run] + 640
41  AppKit                        	    0x7ff818b414f3 NSApplicationMain + 816
42  Vitals                        	       0x10252fb1c 0x102527000 + 35612
43  dyld                          	    0x7ff8150a4345 start + 1909

If I'm reading the stack trace right then ContentView.swift:48 is part of the stack when crashing but nothing obvious looks wrong. Happy to investigate more if you have any ideas.

full crash report: Vitals-2024-12-04-200648.ips.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant