wakatime / macos-wakatime

Mac system tray app for automatic time tracking and metrics generated from your Xcode, Figma, Postman, etc. usage.
https://wakatime.com/mac
BSD 3-Clause "New" or "Revised" License
128 stars 22 forks source link

App crashing silently #33

Closed the-eric-kwok closed 1 year ago

the-eric-kwok commented 1 year ago
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               WakaTime [16164]
Path:                  /Applications/WakaTime.app/Contents/MacOS/WakaTime
Identifier:            macos-wakatime.WakaTime
Version:               0.0.1 (2)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-03-28 10:40:36.3015 +0800
OS Version:            macOS 13.2.1 (22D68)
Report Version:        12
Bridge OS Version:     7.2 (20P3045)
Anonymous UUID:        361D84A9-9B45-DF94-7FFB-9AF1BDADA3E6

Sleep/Wake UUID:       CB683E33-25F3-4AFA-BC98-10E9E876EBD1

Time Awake Since Boot: 410000 seconds
Time Since Wake:       2354 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process:   exc handler [16164]

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libswiftDispatch.dylib              0x7ff817c32e8c static OS_dispatch_source.makeProcessSource(identifier:eventMask:queue:) + 28
1   WakaTime                               0x10d2b096d FileMonitor.init(filePath:queue:) + 1549
2   WakaTime                               0x10d2aeac5 FileMonitor.__allocating_init(filePath:queue:) + 69
3   WakaTime                               0x10d2ae918 Watcher.documentPath.didset + 936
4   WakaTime                               0x10d2aed2f Watcher.documentPath.setter + 271
5   WakaTime                               0x10d2ac94f observerCallback(_:_:_:_:) + 991
6   WakaTime                               0x10d2ac547 @objc observerCallback(_:_:_:_:) + 71
7   HIServices                          0x7ff8098aff73 _XXMIGPostNotification + 884
8   HIServices                          0x7ff8098d77d4 _XPostNotification + 362
9   HIServices                          0x7ff8098935a9 mshMIGPerform + 182
10  CoreFoundation                      0x7ff80406a0b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
11  CoreFoundation                      0x7ff804069fee __CFRunLoopDoSource1 + 540
12  CoreFoundation                      0x7ff804068c6b __CFRunLoopRun + 2705
13  CoreFoundation                      0x7ff804067b60 CFRunLoopRunSpecific + 560
14  HIToolbox                           0x7ff80d9b5766 RunCurrentEventLoopInMode + 292
15  HIToolbox                           0x7ff80d9b5576 ReceiveNextEventCommon + 679
16  HIToolbox                           0x7ff80d9b52b3 _BlockUntilNextEventMatchingListInModeWithFilter + 70
17  AppKit                              0x7ff8071b82f3 _DPSNextEvent + 909
18  AppKit                              0x7ff8071b7174 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
19  AppKit                              0x7ff8071a97b7 -[NSApplication run] + 586
20  AppKit                              0x7ff80717d7f7 NSApplicationMain + 817
21  SwiftUI                             0x7ff90bb25835 0x7ff90ba92000 + 604213
22  SwiftUI                             0x7ff90cb714f4 0x7ff90ba92000 + 17691892
23  SwiftUI                             0x7ff90c43128f 0x7ff90ba92000 + 10089103
24  WakaTime                               0x10d2a5083 static WakaTime.$main() + 35
25  WakaTime                               0x10d2a5769 main + 9
26  dyld                                0x7ff803c5b310 start + 2432

Thread 1:: com.apple.NSEventThread
0   libsystem_kernel.dylib              0x7ff803f4f5c2 mach_msg2_trap + 10
1   libsystem_kernel.dylib              0x7ff803f5d604 mach_msg2_internal + 82
2   libsystem_kernel.dylib              0x7ff803f56635 mach_msg_overwrite + 723
3   libsystem_kernel.dylib              0x7ff803f4f8a8 mach_msg + 19
4   CoreFoundation                      0x7ff804069cbe __CFRunLoopServiceMachPort + 145
5   CoreFoundation                      0x7ff80406872a __CFRunLoopRun + 1360
6   CoreFoundation                      0x7ff804067b60 CFRunLoopRunSpecific + 560
7   AppKit                              0x7ff807319179 _NSEventThread + 132
8   libsystem_pthread.dylib             0x7ff803f8e259 _pthread_start + 125
9   libsystem_pthread.dylib             0x7ff803f89c7b thread_start + 15

Thread 2:: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib              0x7ff803f4f5c2 mach_msg2_trap + 10
1   libsystem_kernel.dylib              0x7ff803f5d604 mach_msg2_internal + 82
2   libsystem_kernel.dylib              0x7ff803f56635 mach_msg_overwrite + 723
3   libsystem_kernel.dylib              0x7ff803f4f8a8 mach_msg + 19
4   CoreFoundation                      0x7ff804069cbe __CFRunLoopServiceMachPort + 145
5   CoreFoundation                      0x7ff80406872a __CFRunLoopRun + 1360
6   CoreFoundation                      0x7ff804067b60 CFRunLoopRunSpecific + 560
7   CFNetwork                           0x7ff808a8619c 0x7ff808842000 + 2376092
8   Foundation                          0x7ff804ebd3bc __NSThread__start__ + 1009
9   libsystem_pthread.dylib             0x7ff803f8e259 _pthread_start + 125
10  libsystem_pthread.dylib             0x7ff803f89c7b thread_start + 15

Thread 3:
0   libsystem_pthread.dylib             0x7ff803f89c58 start_wqthread + 0

Thread 4::  Dispatch queue: com.WakaTime.Watcher.callbackQueue
0   libsystem_kernel.dylib              0x7ff803f4fd46 access + 10
1   Foundation                          0x7ff804e9c57e _NSFileAccessibleForMode + 71
2   Foundation                          0x7ff804f392be -[NSConcreteTask launchWithDictionary:error:] + 486
3   WakaTime                               0x10d29d263 WakaTime.handleEvent(file:isWrite:) + 2707
4   WakaTime                               0x10d29c7be implicit closure #2 in implicit closure #1 in WakaTime.init() + 62
5   WakaTime                               0x10d2af37d closure #1 in Watcher.handleEvent(path:isWrite:) + 685
6   WakaTime                               0x10d2af3c8 thunk for @escaping @callee_guaranteed () -> () + 40
7   libdispatch.dylib                   0x7ff803e0d7fb _dispatch_call_block_and_release + 12
8   libdispatch.dylib                   0x7ff803e0ea44 _dispatch_client_callout + 8
9   libdispatch.dylib                   0x7ff803e14ac4 _dispatch_lane_serial_drain + 694
10  libdispatch.dylib                   0x7ff803e155b4 _dispatch_lane_invoke + 366
11  libdispatch.dylib                   0x7ff803e1fad7 _dispatch_workloop_worker_thread + 762
12  libsystem_pthread.dylib             0x7ff803f8ace3 _pthread_wqthread + 326
13  libsystem_pthread.dylib             0x7ff803f89c67 start_wqthread + 15

Thread 5:
0   libsystem_pthread.dylib             0x7ff803f89c58 start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00006000030ac880  rbx: 0x00006000010b4750  rcx: 0x00007ff843be3020  rdx: 0x00006000030ac880
  rdi: 0x00000000ffffffff  rsi: 0x00007ff7b2c717a0  rbp: 0x00007ff7b2c71760  rsp: 0x00007ff7b2c71760
   r8: 0x0000600003097d00   r9: 0x00007ff812710204  r10: 0x00007ff8478ce578  r11: 0x00007ff803e0e206
  r12: 0x000000010f323000  r13: 0x00007fea330b97d8  r14: 0x00006000030ac900  r15: 0x0000000000014000
  rip: 0x00007ff817c32e8c  rfl: 0x0000000000010286  cr2: 0x00007fea3501eb80

Logical CPU:     6
Error Code:      0x00000000 
Trap Number:     6

Thread 0 instruction stream:
  00 00 00 00 55 48 89 e5-48 89 f9 48 8b 3d 9a a3  ....UH..H..H.=..
  93 2f 31 f6 31 d2 5d e9-d1 05 00 00 0f 1f 84 00  ./1.1.].........
  00 00 00 00 55 48 89 e5-48 8b 0d bd a3 93 2f 5d  ....UH..H...../]
  e9 0f 00 00 00 66 2e 0f-1f 84 00 00 00 00 00 0f  .....f..........
  1f 44 00 00 55 48 89 e5-85 ff 78 14 48 89 d0 48  .D..UH....x.H..H
  8b 16 89 fe 48 89 cf 48-89 c1 5d e9 8d 05 00 00  ....H..H..].....
 [0f]0b 66 90 55 48 89 e5-48 8b 15 85 a3 93 2f 5d  ..f.UH..H...../] <==
  e9 0f 00 00 00 66 2e 0f-1f 84 00 00 00 00 00 0f  .....f..........
  1f 44 00 00 85 ff 78 0f-48 89 f1 89 fe 48 89 d7  .D....x.H....H..
  31 d2 e9 56 05 00 00 55-48 89 e5 0f 0b 0f 1f 80  1..V...UH.......
  00 00 00 00 55 48 89 e5-48 8b 3d 4d d1 fb 2e e8  ....UH..H.=M....
  b4 86 00 00 4c 89 ef 48-89 c6 31 d2 31 c9 45 31  ....L..H..1.1.E1

Binary Images:
    0x7ff817c2b000 -     0x7ff817c3ffff libswiftDispatch.dylib (*) <e6650041-9d55-3025-838e-1b758e1bac91> /usr/lib/swift/libswiftDispatch.dylib
       0x10d28b000 -        0x10d2b6fff macos-wakatime.WakaTime (0.0.1) <e977340e-d3f6-3d9e-b360-d9c29dee1f83> /Applications/WakaTime.app/Contents/MacOS/WakaTime
    0x7ff809889000 -     0x7ff8098e4ff0 com.apple.HIServices (1.22) <49f2a033-08ac-3343-b13e-61e2de64da8b> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7ff803fea000 -     0x7ff804483fef com.apple.CoreFoundation (6.9) <c2615780-0140-315c-a455-7e03bb22d3d6> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff80d986000 -     0x7ff80dc7dffd com.apple.HIToolbox (2.1.1) <7bf47984-29cb-319e-a6da-0884d158f96a> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7ff80717a000 -     0x7ff808182ff2 com.apple.AppKit (6.9) <540cedfd-5a35-3f35-8953-dcb7c4834eb5> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7ff90ba92000 -     0x7ff90d0f1ff5 com.apple.SwiftUI (4.3.3.1.400) <0655992a-4677-3013-b872-b1dc09a2721b> /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
    0x7ff803c55000 -     0x7ff803ce9caf dyld (*) <bba77709-6cad-3592-ab03-09d0f7b8610e> /usr/lib/dyld
    0x7ff803f4e000 -     0x7ff803f87ff7 libsystem_kernel.dylib (*) <87ff381c-4d30-3087-bab7-a5a53d232c00> /usr/lib/system/libsystem_kernel.dylib
    0x7ff803f88000 -     0x7ff803f93ff7 libsystem_pthread.dylib (*) <3bd433d4-15bd-3add-a612-95e4d3b20719> /usr/lib/system/libsystem_pthread.dylib
    0x7ff808842000 -     0x7ff808be7ff7 com.apple.CFNetwork (1404.0.5) <4b897c45-5c75-37b9-a394-66ffb18ffc35> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7ff804e65000 -     0x7ff805876ff6 com.apple.Foundation (6.9) <a58576df-7109-3a13-a338-617f135ce8a8> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7ff803e0c000 -     0x7ff803e52ff3 libdispatch.dylib (*) <d59ee79a-169a-3799-8ea1-c8ad56bb11c9> /usr/lib/system/libdispatch.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 429
    thread_create: 0
    thread_set_state: 33924

VM Region Summary:
ReadOnly portion of Libraries: Total=634.5M resident=0K(0%) swapped_out_or_unallocated=634.5M(100%)
Writable regions: Total=628.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=628.1M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               256K        2 
Activity Tracing                   256K        1 
CG image                           276K       14 
ColorSync                          252K       29 
CoreAnimation                      644K       17 
CoreGraphics                        16K        3 
CoreUI image data                 2056K       15 
Foundation                          44K        2 
Kernel Alloc Once                    8K        1 
MALLOC                           229.2M       75 
MALLOC guard page                   48K       11 
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
SQLite page cache                  256K        2 
STACK GUARD                       56.0M        6 
Stack                             10.5M        6 
VM_ALLOCATE                       1540K       12 
__CTF                               756        1 
__DATA                            24.8M      468 
__DATA_CONST                      26.3M      291 
__DATA_DIRTY                      1226K      158 
__FONT_DATA                        2352        1 
__LINKEDIT                       182.3M        6 
__OBJC_RO                         65.5M        1 
__OBJC_RW                         1989K        2 
__TEXT                           452.2M      492 
dyld private memory                256K        1 
libnetwork                        1664K       24 
mapped file                      215.0M       55 
shared memory                      780K       16 
===========                     =======  ======= 
TOTAL                              1.6G     1713 
TOTAL, minus reserved VM space     1.2G     1713 

-----------
Full Report
-----------

{"app_name":"WakaTime","timestamp":"2023-03-28 10:40:42.00 +0800","app_version":"0.0.1","slice_uuid":"e977340e-d3f6-3d9e-b360-d9c29dee1f83","build_version":"2","platform":1,"bundleID":"macos-wakatime.WakaTime","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.2.1 (22D68)","roots_installed":0,"name":"WakaTime","incident_id":"464018F9-17F5-4697-9F6C-2D006D9144A4"}
{
  "uptime" : 410000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,2",
  "coalitionID" : 49394,
  "osVersion" : {
    "train" : "macOS 13.2.1",
    "build" : "22D68",
    "releaseType" : "User"
  },
  "captureTime" : "2023-03-28 10:40:36.3015 +0800",
  "incident" : "464018F9-17F5-4697-9F6C-2D006D9144A4",
  "pid" : 16164,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-03-28 10:38:04.9298 +0800",
  "procStartAbsTime" : 417360286171369,
  "procExitAbsTime" : 417511643863850,
  "procName" : "WakaTime",
  "procPath" : "\/Applications\/WakaTime.app\/Contents\/MacOS\/WakaTime",
  "bundleInfo" : {"CFBundleShortVersionString":"0.0.1","CFBundleVersion":"2","CFBundleIdentifier":"macos-wakatime.WakaTime"},
  "storeInfo" : {"deviceIdentifierForVendor":"882B65DA-3743-5CD7-9004-855E3CE81613","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "macos-wakatime.WakaTime",
  "crashReporterKey" : "361D84A9-9B45-DF94-7FFB-9AF1BDADA3E6",
  "throttleTimeout" : 2147483647,
  "wakeTime" : 2354,
  "bridgeVersion" : {"build":"20P3045","train":"7.2"},
  "sleepWakeUUID" : "CB683E33-25F3-4AFA-BC98-10E9E876EBD1",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_INSTRUCTION","signal":"SIGILL"},
  "termination" : {"flags":0,"code":4,"namespace":"SIGNAL","indicator":"Illegal instruction: 4","byProc":"exc handler","byPid":16164},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":33924,"task_for_pid":429},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":9492891,"instructionState":{"instructionStream":{"bytes":[0,0,0,0,85,72,137,229,72,137,249,72,139,61,154,163,147,47,49,246,49,210,93,233,209,5,0,0,15,31,132,0,0,0,0,0,85,72,137,229,72,139,13,189,163,147,47,93,233,15,0,0,0,102,46,15,31,132,0,0,0,0,0,15,31,68,0,0,85,72,137,229,133,255,120,20,72,137,208,72,139,22,137,254,72,137,207,72,137,193,93,233,141,5,0,0,15,11,102,144,85,72,137,229,72,139,21,133,163,147,47,93,233,15,0,0,0,102,46,15,31,132,0,0,0,0,0,15,31,68,0,0,133,255,120,15,72,137,241,137,254,72,137,215,49,210,233,86,5,0,0,85,72,137,229,15,11,15,31,128,0,0,0,0,85,72,137,229,72,139,61,77,209,251,46,232,180,134,0,0,76,137,239,72,137,198,49,210,49,201,69,49],"offset":96}},"threadState":{"r13":{"value":140643855472600},"rax":{"value":105553167304832},"rflags":{"value":66182},"cpu":{"value":6},"r14":{"value":105553167304960},"rsi":{"value":140701833041824},"r8":{"value":105553167219968},"cr2":{"value":140643888393088},"rdx":{"value":105553167304832},"r10":{"value":140704329033080,"symbolLocation":0,"symbol":"OBJC_CLASS_$_OS_dispatch_queue_serial"},"r9":{"value":140703438012932,"symbolLocation":388,"symbol":"std::__1::pair<swift::HashMapElementWrapper<(anonymous namespace)::ObjCClassCacheEntry>*, unsigned int> swift::ConcurrentReadableHashMap<swift::HashMapElementWrapper<(anonymous namespace)::ObjCClassCacheEntry>, swift::StaticMutex>::find<swift::TargetClassMetadata<swift::InProcess, swift::TargetAnyClassMetadataObjCInterop<swift::InProcess> > const*>(swift::TargetClassMetadata<swift::InProcess, swift::TargetAnyClassMetadataObjCInterop<swift::InProcess> > const* const&, swift::ConcurrentReadableHashMap<swift::HashMapElementWrapper<(anonymous namespace)::ObjCClassCacheEntry>, swift::StaticMutex>::IndexStorage, unsigned long, swift::HashMapElementWrapper<(anonymous namespace)::ObjCClassCacheEntry>*)"},"r15":{"value":81920},"rbx":{"value":105553133782864},"trap":{"value":6},"err":{"value":0},"r11":{"value":140703193686534,"symbolLocation":0,"symbol":"-[OS_object retain]"},"rip":{"value":140703527284364,"matchesCrashFrame":1},"rbp":{"value":140701833041760},"rsp":{"value":140701833041760},"r12":{"value":4549914624},"rcx":{"value":140704265154592,"symbolLocation":0,"symbol":"_dispatch_source_type_vnode"},"flavor":"x86_THREAD_STATE","rdi":{"value":4294967295}},"queue":"com.apple.main-thread","frames":[{"imageOffset":32396,"symbol":"static OS_dispatch_source.makeProcessSource(identifier:eventMask:queue:)","symbolLocation":28,"imageIndex":0},{"imageOffset":153965,"symbol":"FileMonitor.init(filePath:queue:)","symbolLocation":1549,"imageIndex":1},{"imageOffset":146117,"symbol":"FileMonitor.__allocating_init(filePath:queue:)","symbolLocation":69,"imageIndex":1},{"imageOffset":145688,"symbol":"Watcher.documentPath.didset","symbolLocation":936,"imageIndex":1},{"imageOffset":146735,"symbol":"Watcher.documentPath.setter","symbolLocation":271,"imageIndex":1},{"imageOffset":137551,"symbol":"observerCallback(_:_:_:_:)","symbolLocation":991,"imageIndex":1},{"imageOffset":136519,"symbol":"@objc observerCallback(_:_:_:_:)","symbolLocation":71,"imageIndex":1},{"imageOffset":159603,"symbol":"_XXMIGPostNotification","symbolLocation":884,"imageIndex":2},{"imageOffset":321492,"symbol":"_XPostNotification","symbolLocation":362,"imageIndex":2},{"imageOffset":42409,"symbol":"mshMIGPerform","symbolLocation":182,"imageIndex":2},{"imageOffset":524465,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__","symbolLocation":41,"imageIndex":3},{"imageOffset":524270,"symbol":"__CFRunLoopDoSource1","symbolLocation":540,"imageIndex":3},{"imageOffset":519275,"symbol":"__CFRunLoopRun","symbolLocation":2705,"imageIndex":3},{"imageOffset":514912,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":3},{"imageOffset":194406,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":4},{"imageOffset":193910,"symbol":"ReceiveNextEventCommon","symbolLocation":679,"imageIndex":4},{"imageOffset":193203,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":70,"imageIndex":4},{"imageOffset":254707,"symbol":"_DPSNextEvent","symbolLocation":909,"imageIndex":5},{"imageOffset":250228,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1219,"imageIndex":5},{"imageOffset":194487,"symbol":"-[NSApplication run]","symbolLocation":586,"imageIndex":5},{"imageOffset":14327,"symbol":"NSApplicationMain","symbolLocation":817,"imageIndex":5},{"imageOffset":604213,"imageIndex":6},{"imageOffset":17691892,"imageIndex":6},{"imageOffset":10089103,"imageIndex":6},{"imageOffset":106627,"symbol":"static WakaTime.$main()","symbolLocation":35,"imageIndex":1},{"imageOffset":108393,"symbol":"main","symbolLocation":9,"imageIndex":1},{"imageOffset":25360,"symbol":"start","symbolLocation":2432,"imageIndex":7}]},{"id":9492923,"name":"com.apple.NSEventThread","frames":[{"imageOffset":5570,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":8},{"imageOffset":62980,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":8},{"imageOffset":34357,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":8},{"imageOffset":6312,"symbol":"mach_msg","symbolLocation":19,"imageIndex":8},{"imageOffset":523454,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":3},{"imageOffset":517930,"symbol":"__CFRunLoopRun","symbolLocation":1360,"imageIndex":3},{"imageOffset":514912,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":3},{"imageOffset":1700217,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":5},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":9},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":9}]},{"id":9492962,"name":"com.apple.NSURLConnectionLoader","frames":[{"imageOffset":5570,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":8},{"imageOffset":62980,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":8},{"imageOffset":34357,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":8},{"imageOffset":6312,"symbol":"mach_msg","symbolLocation":19,"imageIndex":8},{"imageOffset":523454,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":3},{"imageOffset":517930,"symbol":"__CFRunLoopRun","symbolLocation":1360,"imageIndex":3},{"imageOffset":514912,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":3},{"imageOffset":2376092,"imageIndex":10},{"imageOffset":361404,"symbol":"__NSThread__start__","symbolLocation":1009,"imageIndex":11},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":9},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":9}]},{"id":9495566,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":9}]},{"id":9497879,"queue":"com.WakaTime.Watcher.callbackQueue","frames":[{"imageOffset":7494,"symbol":"access","symbolLocation":10,"imageIndex":8},{"imageOffset":226686,"symbol":"_NSFileAccessibleForMode","symbolLocation":71,"imageIndex":11},{"imageOffset":869054,"symbol":"-[NSConcreteTask launchWithDictionary:error:]","symbolLocation":486,"imageIndex":11},{"imageOffset":74339,"symbol":"WakaTime.handleEvent(file:isWrite:)","symbolLocation":2707,"imageIndex":1},{"imageOffset":71614,"symbol":"implicit closure #2 in implicit closure #1 in WakaTime.init()","symbolLocation":62,"imageIndex":1},{"imageOffset":148349,"symbol":"closure #1 in Watcher.handleEvent(path:isWrite:)","symbolLocation":685,"imageIndex":1},{"imageOffset":148424,"symbol":"thunk for @escaping @callee_guaranteed () -> ()","symbolLocation":40,"imageIndex":1},{"imageOffset":6139,"symbol":"_dispatch_call_block_and_release","symbolLocation":12,"imageIndex":12},{"imageOffset":10820,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":12},{"imageOffset":35524,"symbol":"_dispatch_lane_serial_drain","symbolLocation":694,"imageIndex":12},{"imageOffset":38324,"symbol":"_dispatch_lane_invoke","symbolLocation":366,"imageIndex":12},{"imageOffset":80599,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":762,"imageIndex":12},{"imageOffset":11491,"symbol":"_pthread_wqthread","symbolLocation":326,"imageIndex":9},{"imageOffset":7271,"symbol":"start_wqthread","symbolLocation":15,"imageIndex":9}]},{"id":9497881,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":9}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703527251968,
    "size" : 86016,
    "uuid" : "e6650041-9d55-3025-838e-1b758e1bac91",
    "path" : "\/usr\/lib\/swift\/libswiftDispatch.dylib",
    "name" : "libswiftDispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4515737600,
    "CFBundleShortVersionString" : "0.0.1",
    "CFBundleIdentifier" : "macos-wakatime.WakaTime",
    "size" : 180224,
    "uuid" : "e977340e-d3f6-3d9e-b360-d9c29dee1f83",
    "path" : "\/Applications\/WakaTime.app\/Contents\/MacOS\/WakaTime",
    "name" : "WakaTime",
    "CFBundleVersion" : "2"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703288561664,
    "CFBundleShortVersionString" : "1.22",
    "CFBundleIdentifier" : "com.apple.HIServices",
    "size" : 376817,
    "uuid" : "49f2a033-08ac-3343-b13e-61e2de64da8b",
    "path" : "\/System\/Library\/Frameworks\/ApplicationServices.framework\/Versions\/A\/Frameworks\/HIServices.framework\/Versions\/A\/HIServices",
    "name" : "HIServices"
  },
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703195635712,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 4825072,
    "uuid" : "c2615780-0140-315c-a455-7e03bb22d3d6",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1953.300"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703356706816,
    "CFBundleShortVersionString" : "2.1.1",
    "CFBundleIdentifier" : "com.apple.HIToolbox",
    "size" : 3112958,
    "uuid" : "7bf47984-29cb-319e-a6da-0884d158f96a",
    "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
    "name" : "HIToolbox"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703247605760,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 16814067,
    "uuid" : "540cedfd-5a35-3f35-8953-dcb7c4834eb5",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2299.40.118"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140707619217408,
    "CFBundleShortVersionString" : "4.3.3.1.400",
    "CFBundleIdentifier" : "com.apple.SwiftUI",
    "size" : 23461878,
    "uuid" : "0655992a-4677-3013-b872-b1dc09a2721b",
    "path" : "\/System\/Library\/Frameworks\/SwiftUI.framework\/Versions\/A\/SwiftUI",
    "name" : "SwiftUI",
    "CFBundleVersion" : "4.3.3.1.400"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703191879680,
    "size" : 609456,
    "uuid" : "bba77709-6cad-3592-ab03-09d0f7b8610e",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703194996736,
    "size" : 237560,
    "uuid" : "87ff381c-4d30-3087-bab7-a5a53d232c00",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703195234304,
    "size" : 49144,
    "uuid" : "3bd433d4-15bd-3add-a612-95e4d3b20719",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703271493632,
    "CFBundleShortVersionString" : "1404.0.5",
    "CFBundleIdentifier" : "com.apple.CFNetwork",
    "size" : 3825656,
    "uuid" : "4b897c45-5c75-37b9-a394-66ffb18ffc35",
    "path" : "\/System\/Library\/Frameworks\/CFNetwork.framework\/Versions\/A\/CFNetwork",
    "name" : "CFNetwork",
    "CFBundleVersion" : "1404.0.5"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703210819584,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 10559479,
    "uuid" : "a58576df-7109-3a13-a338-617f135ce8a8",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1953.300"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703193677824,
    "size" : 290804,
    "uuid" : "d59ee79a-169a-3799-8ea1-c8ad56bb11c9",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  }
],
  "sharedCache" : {
  "base" : 140703191273472,
  "size" : 21474836480,
  "uuid" : "57815a20-af2c-3b56-9006-23abde7962b0"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=634.5M resident=0K(0%) swapped_out_or_unallocated=634.5M(100%)\nWritable regions: Total=628.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=628.1M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               256K        2 \nActivity Tracing                   256K        1 \nCG image                           276K       14 \nColorSync                          252K       29 \nCoreAnimation                      644K       17 \nCoreGraphics                        16K        3 \nCoreUI image data                 2056K       15 \nFoundation                          44K        2 \nKernel Alloc Once                    8K        1 \nMALLOC                           229.2M       75 \nMALLOC guard page                   48K       11 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSQLite page cache                  256K        2 \nSTACK GUARD                       56.0M        6 \nStack                             10.5M        6 \nVM_ALLOCATE                       1540K       12 \n__CTF                               756        1 \n__DATA                            24.8M      468 \n__DATA_CONST                      26.3M      291 \n__DATA_DIRTY                      1226K      158 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       182.3M        6 \n__OBJC_RO                         65.5M        1 \n__OBJC_RW                         1989K        2 \n__TEXT                           452.2M      492 \ndyld private memory                256K        1 \nlibnetwork                        1664K       24 \nmapped file                      215.0M       55 \nshared memory                      780K       16 \n===========                     =======  ======= \nTOTAL                              1.6G     1713 \nTOTAL, minus reserved VM space     1.2G     1713 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6112d17137f5d11121dcd4e2",
      "factorPackIds" : {

      },
      "deploymentId" : 240000250
    },
    {
      "rolloutId" : "6347054113acce15305b7b82",
      "factorPackIds" : {
        "SIRI_MEMORY_SYNC_CONFIG" : "634705e78e8be655c1316a6e"
      },
      "deploymentId" : 240000005
    }
  ],
  "experiments" : [

  ]
}
}

wakatime crashing logs latest 3 times.zip

Havhingstor commented 1 year ago

Did your used source file (in xcode) have a space in its path? From the stack trace it seems to be a duplicate of #27

alanhamlett commented 1 year ago

Fixed in v0.1.0 just now: https://github.com/wakatime/macos-wakatime/releases/tag/v0.1.0-alpha.1