sveinbjornt / Sloth

Mac app that shows all open files, directories, sockets, pipes and devices in use by all running processes. Nice GUI for lsof.
https://sveinbjorn.org/sloth
BSD 3-Clause "New" or "Revised" License
8.31k stars 158 forks source link

Crash #28

Closed gingerbeardman closed 1 year ago

gingerbeardman commented 1 year ago

Not sure what has changed as I've used it OK recently.

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

Process:               Sloth [36197]
Path:                  /Applications/Sloth.app/Contents/MacOS/Sloth
Identifier:            org.sveinbjorn.Sloth
Version:               3.2 (300)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-05-09 16:14:40.8925 +0100
OS Version:            macOS 12.6.5 (21G531)
Report Version:        12
Anonymous UUID:        096F0B7B-C861-BC92-E967-5B7A27FE3CD8

Sleep/Wake UUID:       C3D48652-16C4-4A1D-91B5-31864499126C

Time Awake Since Boot: 460000 seconds
Time Since Wake:       12103 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGBUS)
Exception Codes:       KERN_PROTECTION_FAILURE at 0x000000016ee54050
Exception Codes:       0x0000000000000002, 0x000000016ee54050
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 10 Bus error: 10
Terminating Process:   exc handler [36197]

VM Region Info: 0x16ee54050 is in 0x16ee54000-0x16ee58000;  bytes after start: 80  bytes before end: 16303
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      Stack                       16e658000-16ee54000    [ 8176K] rw-/rwx SM=PRV  thread 0
--->  STACK GUARD                 16ee54000-16ee58000    [   16K] ---/rwx SM=NUL  ... for thread 1
      Stack                       16ee58000-16eee0000    [  544K] rw-/rwx SM=PRV  thread 1

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_platform.dylib               0x199194864 _platform_strlen + 4
1   Foundation                             0x19a0f0fec +[NSString stringWithUTF8String:] + 44
2   Sloth                                  0x100fc0960 0x100fac000 + 84320
3   ???                                 0x6d69542e656c ???

Thread 1:
0   libsystem_pthread.dylib                0x19917b078 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib                0x19917b078 start_wqthread + 0

Thread 3::  Dispatch queue: com.apple.CFVolumeObserver.0x6000031cdae0
0   libsystem_kernel.dylib                 0x199142890 mach_msg_trap + 8
1   libsystem_kernel.dylib                 0x199142d00 mach_msg + 76
2   DiskArbitration                        0x19fd3b318 _DAServerSessionCopyCallbackQueue + 152
3   DiskArbitration                        0x19fd3b160 _DASessionCallback + 64
4   DiskArbitration                        0x19fd3b110 __DASessionSetDispatchQueue_block_invoke_2 + 72
5   libdispatch.dylib                      0x198fbc1b4 _dispatch_client_callout + 20
6   libdispatch.dylib                      0x198fbf670 _dispatch_continuation_pop + 500
7   libdispatch.dylib                      0x198fd28e0 _dispatch_source_invoke + 1596
8   libdispatch.dylib                      0x198fc3784 _dispatch_lane_serial_drain + 376
9   libdispatch.dylib                      0x198fc4404 _dispatch_lane_invoke + 392
10  libdispatch.dylib                      0x198fcec98 _dispatch_workloop_worker_thread + 648
11  libsystem_pthread.dylib                0x19917c360 _pthread_wqthread + 288
12  libsystem_pthread.dylib                0x19917b080 start_wqthread + 8

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x000000016ee54058   x1: 0x000000016ee54050   x2: 0x000000016ee54058   x3: 0x000000016ee0d8ac
    x4: 0x0000000000000001   x5: 0x0000000000000001   x6: 0x0000000000000073   x7: 0x0000000000000000
    x8: 0x0000000100fcc708   x9: 0x00000001e34c89aa  x10: 0x000060001252d452  x11: 0x000000000000000f
   x12: 0x000000000000000a  x13: 0x0000600000dfc490  x14: 0x0000000000000004  x15: 0x00000001f1c199f8
   x16: 0x0000000199194860  x17: 0x00000001f293b030  x18: 0x0000000000000000  x19: 0x000000016ee54058
   x20: 0x00000001f1c185d0  x21: 0x00000001e34c89aa  x22: 0x000000000000000a  x23: 0x000000016ee53c00
   x24: 0xa14b33fc7162aa16  x25: 0xa14b33dcc25bed24  x26: 0x00000000320002ef  x27: 0x00006000012ffbb0
   x28: 0x0000600001adbe20   fp: 0x000000016ee0dda0   lr: 0x000000019a0f0fec
    sp: 0x000000016ee0dd70   pc: 0x0000000199194864 cpsr: 0x60001000
   far: 0x000000016ee54050  esr: 0x92000007 (Data Abort) byte read Translation fault

Binary Images:
       0x199193000 -        0x19919afff libsystem_platform.dylib (*) <a57fe7fb-9ff8-30ce-97a2-625d6da20d00> /usr/lib/system/libsystem_platform.dylib
       0x19a0cc000 -        0x19a4bdfff com.apple.Foundation (6.9) <f0816fa9-3f7c-3cb7-86c5-b14e5abddee6> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
       0x100fac000 -        0x100fcbfff org.sveinbjorn.Sloth (3.2) <12a62236-a227-3410-b111-3b6db27dd066> /Applications/Sloth.app/Contents/MacOS/Sloth
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x199179000 -        0x199185fff libsystem_pthread.dylib (*) <40aa424c-1f90-3def-9e42-54a7f3d73f96> /usr/lib/system/libsystem_pthread.dylib
       0x199141000 -        0x199178fff libsystem_kernel.dylib (*) <57afb522-cfa8-3ecd-bc2c-76099a28ce60> /usr/lib/system/libsystem_kernel.dylib
       0x19fd39000 -        0x19fd40fff com.apple.DiskArbitration (2.7) <08a457e8-24b8-3a11-bd79-21545f4ce8ac> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
       0x198fb8000 -        0x198ffefff libdispatch.dylib (*) <b3c7a004-1069-3171-b630-2c386a8b399c> /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: 0
    thread_create: 0
    thread_set_state: 0

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
ColorSync                          464K       22 
CoreGraphics                        16K        1 
Foundation                          16K        1 
Kernel Alloc Once                   32K        1 
MALLOC                           250.2M       33 
MALLOC guard page                   96K        5 
MALLOC_MEDIUM (reserved)         480.0M        4         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.1M        4 
Stack                             9808K        4 
VM_ALLOCATE                         32K        2 
__AUTH                            2045K      200 
__AUTH_CONST                      16.3M      366 
__CTF                               756        1 
__DATA                             9.9M      354 
__DATA_CONST                      13.7M      370 
__DATA_DIRTY                      1147K      139 
__FONT_DATA                          4K        1 
__LINKEDIT                       577.7M        5 
__OBJC_CONST                      2200K      175 
__OBJC_RO                         83.0M        1 
__OBJC_RW                         3168K        1 
__TEXT                           388.6M      387 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
mapped file                      168.0M       14 
shared memory                      848K       13 
===========                     =======  ======= 
TOTAL                              2.4G     2108 
TOTAL, minus reserved VM space     1.5G     2108 

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

{"app_name":"Sloth","timestamp":"2023-05-09 16:14:40.00 +0100","app_version":"3.2","slice_uuid":"12a62236-a227-3410-b111-3b6db27dd066","build_version":"300","platform":1,"bundleID":"org.sveinbjorn.Sloth","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6.5 (21G531)","incident_id":"73C430F3-6BA5-4D6F-B465-463B9B09AB11","name":"Sloth"}
{
  "uptime" : 460000,
  "procLaunch" : "2023-05-09 16:14:40.7902 +0100",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,3",
  "procStartAbsTime" : 11194494088975,
  "coalitionID" : 96788,
  "osVersion" : {
    "train" : "macOS 12.6.5",
    "build" : "21G531",
    "releaseType" : "User"
  },
  "captureTime" : "2023-05-09 16:14:40.8925 +0100",
  "incident" : "73C430F3-6BA5-4D6F-B465-463B9B09AB11",
  "bug_type" : "309",
  "pid" : 36197,
  "procExitAbsTime" : 11194496490108,
  "translated" : false,
  "cpuType" : "ARM-64",
  "procName" : "Sloth",
  "procPath" : "\/Applications\/Sloth.app\/Contents\/MacOS\/Sloth",
  "bundleInfo" : {"CFBundleShortVersionString":"3.2","CFBundleVersion":"300","CFBundleIdentifier":"org.sveinbjorn.Sloth"},
  "storeInfo" : {"deviceIdentifierForVendor":"41A1AB52-2F38-57E6-B31E-8D1C36A0D168","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "org.sveinbjorn.Sloth",
  "crashReporterKey" : "096F0B7B-C861-BC92-E967-5B7A27FE3CD8",
  "wakeTime" : 12103,
  "sleepWakeUUID" : "C3D48652-16C4-4A1D-91B5-31864499126C",
  "sip" : "enabled",
  "vmRegionInfo" : "0x16ee54050 is in 0x16ee54000-0x16ee58000;  bytes after start: 80  bytes before end: 16303\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      Stack                       16e658000-16ee54000    [ 8176K] rw-\/rwx SM=PRV  thread 0\n--->  STACK GUARD                 16ee54000-16ee58000    [   16K] ---\/rwx SM=NUL  ... for thread 1\n      Stack                       16ee58000-16eee0000    [  544K] rw-\/rwx SM=PRV  thread 1",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000002, 0x000000016ee54050","rawCodes":[2,6155485264],"type":"EXC_BAD_ACCESS","signal":"SIGBUS","subtype":"KERN_PROTECTION_FAILURE at 0x000000016ee54050"},
  "termination" : {"flags":0,"code":10,"namespace":"SIGNAL","indicator":"Bus error: 10","byProc":"exc handler","byPid":36197},
  "vmregioninfo" : "0x16ee54050 is in 0x16ee54000-0x16ee58000;  bytes after start: 80  bytes before end: 16303\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      Stack                       16e658000-16ee54000    [ 8176K] rw-\/rwx SM=PRV  thread 0\n--->  STACK GUARD                 16ee54000-16ee58000    [   16K] ---\/rwx SM=NUL  ... for thread 1\n      Stack                       16ee58000-16eee0000    [  544K] rw-\/rwx SM=PRV  thread 1",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":4170230,"threadState":{"x":[{"value":6155485272},{"value":6155485264},{"value":6155485272},{"value":6155196588},{"value":1},{"value":1},{"value":115},{"value":0},{"value":4311533320},{"value":8108411306,"objc-selector":"stringWithUTF8String:"},{"value":105553423684690},{"value":15},{"value":10},{"value":105553130931344},{"value":4},{"value":8350964216,"symbolLocation":0,"symbol":"OBJC_METACLASS_$_NSString"},{"value":6863538272,"symbolLocation":0,"symbol":"_platform_strlen"},{"value":8364732464},{"value":0},{"value":6155485272},{"value":8350959056,"symbolLocation":0,"symbol":"OBJC_CLASS_$_NSString"},{"value":8108411306,"objc-selector":"stringWithUTF8String:"},{"value":10},{"value":6155484160},{"value":11622440422686763542},{"value":11622440286606322980},{"value":838861551},{"value":105553136188336},{"value":105553144430112}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6879645676},"cpsr":{"value":1610616832},"fp":{"value":6155197856},"sp":{"value":6155197808},"esr":{"value":2449473543,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":6863538276,"matchesCrashFrame":1},"far":{"value":6155485264}},"queue":"com.apple.main-thread","frames":[{"imageOffset":6244,"symbol":"_platform_strlen","symbolLocation":4,"imageIndex":0},{"imageOffset":151532,"symbol":"+[NSString stringWithUTF8String:]","symbolLocation":44,"imageIndex":1},{"imageOffset":84320,"imageIndex":2},{"imageOffset":120299151320428,"imageIndex":3}]},{"id":4170239,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":4170241,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":4170248,"queue":"com.apple.CFVolumeObserver.0x6000031cdae0","frames":[{"imageOffset":6288,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":7424,"symbol":"mach_msg","symbolLocation":76,"imageIndex":5},{"imageOffset":8984,"symbol":"_DAServerSessionCopyCallbackQueue","symbolLocation":152,"imageIndex":6},{"imageOffset":8544,"symbol":"_DASessionCallback","symbolLocation":64,"imageIndex":6},{"imageOffset":8464,"symbol":"__DASessionSetDispatchQueue_block_invoke_2","symbolLocation":72,"imageIndex":6},{"imageOffset":16820,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":7},{"imageOffset":30320,"symbol":"_dispatch_continuation_pop","symbolLocation":500,"imageIndex":7},{"imageOffset":108768,"symbol":"_dispatch_source_invoke","symbolLocation":1596,"imageIndex":7},{"imageOffset":46980,"symbol":"_dispatch_lane_serial_drain","symbolLocation":376,"imageIndex":7},{"imageOffset":50180,"symbol":"_dispatch_lane_invoke","symbolLocation":392,"imageIndex":7},{"imageOffset":93336,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":648,"imageIndex":7},{"imageOffset":13152,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":4},{"imageOffset":8320,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":4}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6863532032,
    "size" : 32768,
    "uuid" : "a57fe7fb-9ff8-30ce-97a2-625d6da20d00",
    "path" : "\/usr\/lib\/system\/libsystem_platform.dylib",
    "name" : "libsystem_platform.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6879494144,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 4136960,
    "uuid" : "f0816fa9-3f7c-3cb7-86c5-b14e5abddee6",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1866"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4311400448,
    "CFBundleShortVersionString" : "3.2",
    "CFBundleIdentifier" : "org.sveinbjorn.Sloth",
    "size" : 131072,
    "uuid" : "12a62236-a227-3410-b111-3b6db27dd066",
    "path" : "\/Applications\/Sloth.app\/Contents\/MacOS\/Sloth",
    "name" : "Sloth",
    "CFBundleVersion" : "300"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6863425536,
    "size" : 53248,
    "uuid" : "40aa424c-1f90-3def-9e42-54a7f3d73f96",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6863196160,
    "size" : 229376,
    "uuid" : "57afb522-cfa8-3ecd-bc2c-76099a28ce60",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6976409600,
    "CFBundleShortVersionString" : "2.7",
    "CFBundleIdentifier" : "com.apple.DiskArbitration",
    "size" : 32768,
    "uuid" : "08a457e8-24b8-3a11-bd79-21545f4ce8ac",
    "path" : "\/System\/Library\/Frameworks\/DiskArbitration.framework\/Versions\/A\/DiskArbitration",
    "name" : "DiskArbitration",
    "CFBundleVersion" : "2.7"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6861586432,
    "size" : 290816,
    "uuid" : "b3c7a004-1069-3171-b630-2c386a8b399c",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  }
],
  "sharedCache" : {
  "base" : 6860128256,
  "size" : 3144826880,
  "uuid" : "edc63512-477a-388b-aba3-bd07cc57ee18"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=966.2M resident=0K(0%) swapped_out_or_unallocated=966.2M(100%)\nWritable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nColorSync                          464K       22 \nCoreGraphics                        16K        1 \nFoundation                          16K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           250.2M       33 \nMALLOC guard page                   96K        5 \nMALLOC_MEDIUM (reserved)         480.0M        4         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.1M        4 \nStack                             9808K        4 \nVM_ALLOCATE                         32K        2 \n__AUTH                            2045K      200 \n__AUTH_CONST                      16.3M      366 \n__CTF                               756        1 \n__DATA                             9.9M      354 \n__DATA_CONST                      13.7M      370 \n__DATA_DIRTY                      1147K      139 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       577.7M        5 \n__OBJC_CONST                      2200K      175 \n__OBJC_RO                         83.0M        1 \n__OBJC_RW                         3168K        1 \n__TEXT                           388.6M      387 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nmapped file                      168.0M       14 \nshared memory                      848K       13 \n===========                     =======  ======= \nTOTAL                              2.4G     2108 \nTOTAL, minus reserved VM space     1.5G     2108 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6297d96be2c9387df974efa4",
      "factorPackIds" : {

      },
      "deploymentId" : 240000008
    },
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000263
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "c28e4ee6-1b08-4f90-8e05-2809e78310a3",
      "experimentId" : "6317d2003d24842ff850182a",
      "deploymentId" : 400000013
    },
    {
      "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be",
      "experimentId" : "64406ba83deb637ac8a04419",
      "deploymentId" : 900000005
    }
  ]
}
}
gingerbeardman commented 1 year ago

A macOS restart solved this!