Open i0ntempest opened 9 months ago
does macOS pop up a dialog with a backtrace?
Not for abort but I just got a crash report for a segfault:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: btop [46137]
Path: /opt/local/bin/btop
Identifier: btop
Version: ???
Code Type: ARM-64 (Native)
Parent Process: bash [29564]
Responsible: Terminal [29562]
User ID: 501
Date/Time: 2024-02-12 16:29:22.8923 -0500
OS Version: macOS 14.3.1 (23D60)
Report Version: 12
Anonymous UUID: C085A648-C423-0BFE-B132-1AB3FE05851B
Time Awake Since Boot: 110000 seconds
System Integrity Protection: disabled
Crashed Thread: 4
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [46137]
VM Region Info: 0 is not in any region. Bytes before following region: 4376936448
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 104e2c000-104f60000 [ 1232K] r-x/r-x SM=COW ...ocal/bin/btop
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x181618e68 __semwait_signal + 8
1 libsystem_c.dylib 0x1814f82f8 nanosleep + 220
2 libc++.1.dylib 0x18158b81c std::__1::this_thread::sleep_for(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l>> const&) + 84
3 btop 0x104f34ef8 Runner::run(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, bool) + 172
4 btop 0x104e38128 main + 10916
5 dyld 0x1812d50e0 start + 2360
Thread 1:
0 libsystem_pthread.dylib 0x181650e28 start_wqthread + 0
Thread 2:
0 libsystem_info.dylib 0x1816910f8 _fsi_tokenize + 252
1 libsystem_info.dylib 0x181691b68 _fsi_get_user + 268
2 libsystem_info.dylib 0x18168b19c getpwuid + 112
3 btop 0x104ed4110 Proc::collect(bool) + 5012
4 btop 0x104e44320 Runner::_runner(void*) + 5564
5 libsystem_pthread.dylib 0x181656034 _pthread_start + 136
6 libsystem_pthread.dylib 0x181650e3c thread_start + 8
Thread 3:
0 libsystem_platform.dylib 0x181685434 _platform_memset + 180
1 libsystem_malloc.dylib 0x1814894b0 _nanov2_free + 520
2 btop 0x104ebd650 Proc::proc_info::operator=(Proc::proc_info&&) + 104
3 btop 0x104f1be9c void std::__1::__stable_sort<std::__1::_RangeAlgPolicy, std::__1::_ProjectedPred<std::__1::ranges::greater, double Proc::proc_info::*>&, std::__1::__wrap_iter<Proc::proc_info*>>(std::__1::__wrap_iter<Proc::proc_info*>, std::__1::__wrap_iter<Proc::proc_info*>, std::__1::_ProjectedPred<std::__1::ranges::greater, double Proc::proc_info::*>&, std::__1::iterator_traits<std::__1::__wrap_iter<Proc::proc_info*>>::difference_type, std::__1::iterator_traits<std::__1::__wrap_iter<Proc::proc_info*>>::value_type*, long) + 1388
4 btop 0x104f14918 Proc::proc_sorter(std::__1::vector<Proc::proc_info, std::__1::allocator<Proc::proc_info>>&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, bool) + 2952
5 btop 0x104ed490c Proc::collect(bool) + 7056
6 btop 0x104e44320 Runner::_runner(void*) + 5564
7 libsystem_pthread.dylib 0x181656034 _pthread_start + 136
8 libsystem_pthread.dylib 0x181650e3c thread_start + 8
Thread 4 Crashed:
0 libsystem_platform.dylib 0x1816856e0 _platform_memmove + 144
1 btop 0x104e44528 Runner::_runner(void*) + 6084
2 libsystem_pthread.dylib 0x181656034 _pthread_start + 136
3 libsystem_pthread.dylib 0x181650e3c thread_start + 8
Thread 4 crashed with ARM Thread State (64-bit):
x0: 0x0000600003bc7e40 x1: 0x0000000000000000 x2: 0x0000000000000055 x3: 0x0000600003bc7e60
x4: 0xffff9ffffc4381c0 x5: 0x0000000000003e40 x6: 0x0000600003bc7e40 x7: 0x0000000000000000
x8: 0x00000002b800b1d8 x9: 0x8000000000000060 x10: 0x000086f2aa100000 x11: 0x0000000000000060
x12: 0x0000600001dd71ec x13: 0x00000000001ff800 x14: 0x00000000000007fb x15: 0x00000000ef8030a7
x16: 0x0000000181685650 x17: 0x00000000efa028a5 x18: 0x0000000000000000 x19: 0x00000002b8008000
x20: 0x0000600003bc7e40 x21: 0x0000000000000000 x22: 0x0000000000000060 x23: 0x00000000000031d8
x24: 0x0000000140158000 x25: 0x000000014018e8b8 x26: 0x000000014015b1d8 x27: 0x0000000000000054
x28: 0x0000000105005ba8 fp: 0x000000016b28afc0 lr: 0x0000000104e44528
sp: 0x000000016b28a8d0 pc: 0x00000001816856e0 cpsr: 0x80001000
far: 0x0000000000000000 esr: 0x92000006 (Data Abort) byte read Translation fault
Binary Images:
0x104e2c000 - 0x104f5ffff btop (*) <f89538e9-dea1-39d6-8865-7b8834614970> /opt/local/bin/btop
0x181614000 - 0x18164efff libsystem_kernel.dylib (*) <a7228b5d-53c7-3fe9-84e4-2a8c04dcf051> /usr/lib/system/libsystem_kernel.dylib
0x1814eb000 - 0x181569ffb libsystem_c.dylib (*) <cc7a439e-f104-3047-995c-9a5a3cc4a442> /usr/lib/system/libsystem_c.dylib
0x18156a000 - 0x1815f7ff7 libc++.1.dylib (*) <f9b004fe-f1d6-307e-b399-568b8ac0cb6f> /usr/lib/libc++.1.dylib
0x1812cf000 - 0x181363387 dyld (*) <50746901-db0e-39a0-b391-baaa6b82ad0f> /usr/lib/dyld
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x18164f000 - 0x18165bff3 libsystem_pthread.dylib (*) <449bbad3-f7ef-371d-9a59-fd4ffa78289b> /usr/lib/system/libsystem_pthread.dylib
0x181689000 - 0x1816b5ffb libsystem_info.dylib (*) <94f4c112-c039-37f3-9956-c05ca70e4b04> /usr/lib/system/libsystem_info.dylib
0x181682000 - 0x181688ffb libsystem_platform.dylib (*) <785bf993-f73b-36c1-a5ba-ccce6c6da879> /usr/lib/system/libsystem_platform.dylib
0x18146a000 - 0x1814a0fff libsystem_malloc.dylib (*) <faa92b9b-9273-3c30-bb9e-36346eca2faf> /usr/lib/system/libsystem_malloc.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=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)
Writable regions: Total=2.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.8G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
Kernel Alloc Once 32K 1
MALLOC 2.8G 60
MALLOC guard page 96K 6
STACK GUARD 56.1M 5
Stack 10.1M 6
VM_ALLOCATE 16K 1
__AUTH 339K 65
__AUTH_CONST 4054K 145
__DATA 1759K 141
__DATA_CONST 4129K 147
__DATA_DIRTY 365K 58
__LINKEDIT 892.1M 2
__OBJC_RO 71.2M 1
__OBJC_RW 2171K 1
__TEXT 121.0M 155
dyld private memory 272K 2
mapped file 64K 1
shared memory 32K 2
=========== ======= =======
TOTAL 3.9G 800
-----------
Full Report
-----------
{"app_name":"btop","timestamp":"2024-02-12 16:29:22.00 -0500","app_version":"","slice_uuid":"f89538e9-dea1-39d6-8865-7b8834614970","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 14.3.1 (23D60)","roots_installed":0,"incident_id":"388A6DCA-60C8-4C90-B563-7489264E0767","name":"btop"}
{
"uptime" : 110000,
"procRole" : "Unspecified",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "Mac14,14",
"coalitionID" : 16465,
"osVersion" : {
"train" : "macOS 14.3.1",
"build" : "23D60",
"releaseType" : "User"
},
"captureTime" : "2024-02-12 16:29:22.8923 -0500",
"codeSigningMonitor" : 1,
"incident" : "388A6DCA-60C8-4C90-B563-7489264E0767",
"pid" : 46137,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2024-02-12 16:04:26.1782 -0500",
"procStartAbsTime" : 2613341287323,
"procExitAbsTime" : 2649262279682,
"procName" : "btop",
"procPath" : "\/opt\/local\/bin\/btop",
"parentProc" : "bash",
"parentPid" : 29564,
"coalitionName" : "com.apple.Terminal",
"crashReporterKey" : "C085A648-C423-0BFE-B132-1AB3FE05851B",
"responsiblePid" : 29562,
"responsibleProc" : "Terminal",
"codeSigningID" : "btop",
"codeSigningTeamID" : "",
"codeSigningFlags" : 570556417,
"codeSigningValidationCategory" : 10,
"codeSigningTrustLevel" : 4294967295,
"instructionByteStream" : {"beforePC":"QoAA8Wj\/\/1QhAAKLIgxArGAEAKxjAAKLYgwBrMADX9ZjgACRY+h7kg==","atPC":"IgxArGUAAMshAAWLIARArCGAAJFCAAXLAgwArUIAAfHpAABUYAQArQ=="},
"sip" : "disabled",
"vmRegionInfo" : "0 is not in any region. Bytes before following region: 4376936448\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 104e2c000-104f60000 [ 1232K] r-x\/r-x SM=COW ...ocal\/bin\/btop",
"exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":46137},
"vmregioninfo" : "0 is not in any region. Bytes before following region: 4376936448\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 104e2c000-104f60000 [ 1232K] r-x\/r-x SM=COW ...ocal\/bin\/btop",
"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" : 4,
"threads" : [{"id":3401439,"threadState":{"x":[{"value":4},{"value":0},{"value":1},{"value":1},{"value":0},{"value":1000000},{"value":52},{"value":0},{"value":7918006072,"symbolLocation":0,"symbol":"clock_sem"},{"value":16387},{"value":17},{"value":100381425735421430},{"value":24000000},{"value":130601},{"value":3292876795},{"value":2043},{"value":334},{"value":8069509928},{"value":0},{"value":6089944176},{"value":6089944176},{"value":6089945056},{"value":18446742365936189144},{"value":1000000},{"value":4378214400,"symbolLocation":0,"symbol":"Global::arg_preset"},{"value":2361183241434822607},{"value":1707773362468},{"value":4378215968,"symbolLocation":0,"symbol":"Menu::active"},{"value":1000000}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6464439032},"cpsr":{"value":1610616832},"fp":{"value":6089944160},"sp":{"value":6089944112},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6465621608},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":20072,"symbol":"__semwait_signal","symbolLocation":8,"imageIndex":1},{"imageOffset":54008,"symbol":"nanosleep","symbolLocation":220,"imageIndex":2},{"imageOffset":137244,"symbol":"std::__1::this_thread::sleep_for(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l>> const&)","symbolLocation":84,"imageIndex":3},{"imageOffset":1085176,"symbol":"Runner::run(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, bool)","symbolLocation":172,"imageIndex":0},{"imageOffset":49448,"symbol":"main","symbolLocation":10916,"imageIndex":0},{"imageOffset":24800,"symbol":"start","symbolLocation":2360,"imageIndex":4}]},{"id":3401442,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":6}],"threadState":{"x":[{"value":6091649024},{"value":8451},{"value":6091112448},{"value":0},{"value":409602},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6091649024},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6465850920},"far":{"value":0}}},{"id":3401443,"frames":[{"imageOffset":33016,"symbol":"_fsi_tokenize","symbolLocation":252,"imageIndex":7},{"imageOffset":35688,"symbol":"_fsi_get_user","symbolLocation":268,"imageIndex":7},{"imageOffset":8604,"symbol":"getpwuid","symbolLocation":112,"imageIndex":7},{"imageOffset":688400,"symbol":"Proc::collect(bool)","symbolLocation":5012,"imageIndex":0},{"imageOffset":99104,"symbol":"Runner::_runner(void*)","symbolLocation":5564,"imageIndex":0},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":6},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":6}],"threadState":{"x":[{"value":105553179787356},{"value":105553134731264},{"value":0},{"value":105553149656480},{"value":10},{"value":14680064},{"value":0},{"value":0},{"value":12},{"value":28},{"value":27},{"value":121},{"value":105553179787372},{"value":0},{"value":6466251210},{"value":58},{"value":1},{"value":4294968832},{"value":0},{"value":6092215828},{"value":105553179787344},{"value":1},{"value":6466251209},{"value":1},{"value":1},{"value":4294967296},{"value":1},{"value":1},{"value":28}],"flavor":"ARM_THREAD_STATE64","lr":{"value":5721260383086907732},"cpsr":{"value":536875008},"fp":{"value":6092215616},"sp":{"value":6092215536},"esr":{"value":2449473607,"description":"(Data Abort) byte write Translation fault"},"pc":{"value":6466113784},"far":{"value":0}}},{"id":3463569,"frames":[{"imageOffset":13364,"symbol":"_platform_memset","symbolLocation":180,"imageIndex":8},{"imageOffset":128176,"symbol":"_nanov2_free","symbolLocation":520,"imageIndex":9},{"imageOffset":595536,"symbol":"Proc::proc_info::operator=(Proc::proc_info&&)","symbolLocation":104,"imageIndex":0},{"imageOffset":982684,"symbol":"void std::__1::__stable_sort<std::__1::_RangeAlgPolicy, std::__1::_ProjectedPred<std::__1::ranges::greater, double Proc::proc_info::*>&, std::__1::__wrap_iter<Proc::proc_info*>>(std::__1::__wrap_iter<Proc::proc_info*>, std::__1::__wrap_iter<Proc::proc_info*>, std::__1::_ProjectedPred<std::__1::ranges::greater, double Proc::proc_info::*>&, std::__1::iterator_traits<std::__1::__wrap_iter<Proc::proc_info*>>::difference_type, std::__1::iterator_traits<std::__1::__wrap_iter<Proc::proc_info*>>::value_type*, long)","symbolLocation":1388,"imageIndex":0},{"imageOffset":952600,"symbol":"Proc::proc_sorter(std::__1::vector<Proc::proc_info, std::__1::allocator<Proc::proc_info>>&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, bool)","symbolLocation":2952,"imageIndex":0},{"imageOffset":690444,"symbol":"Proc::collect(bool)","symbolLocation":7056,"imageIndex":0},{"imageOffset":99104,"symbol":"Runner::_runner(void*)","symbolLocation":5564,"imageIndex":0},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":6},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":6}],"threadState":{"x":[{"value":105553127642576},{"value":0},{"value":48},{"value":105553127642576},{"value":5274374128},{"value":63},{"value":0},{"value":0},{"value":0},{"value":148376793382912},{"value":3466},{"value":1019296},{"value":79},{"value":8388608},{"value":8388608},{"value":7899586560,"symbolLocation":5584,"symbol":"read_memory"},{"value":6466065184,"symbolLocation":0,"symbol":"__bzero"},{"value":8069512432},{"value":0},{"value":4383342592},{"value":105553127642560},{"value":3},{"value":105553147557416},{"value":4383371264},{"value":64},{"value":11274545336},{"value":5370229736},{"value":963},{"value":5370341560}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6463984816},"cpsr":{"value":2147487744},"fp":{"value":6091068464},"sp":{"value":6091068416},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6466065460},"far":{"value":0}}},{"triggered":true,"id":3463770,"threadState":{"x":[{"value":105553178951232},{"value":0},{"value":85},{"value":105553178951264},{"value":18446638520530600384},{"value":15936},{"value":105553178951232},{"value":0},{"value":11676987864},{"value":9223372036854775904},{"value":148376793382912},{"value":96},{"value":105553147556332},{"value":2095104},{"value":2043},{"value":4018155687},{"value":6466066000,"symbolLocation":0,"symbol":"_platform_memmove"},{"value":4020250789},{"value":0},{"value":11676975104},{"value":105553178951232},{"value":0},{"value":96},{"value":12760},{"value":5370118144},{"value":5370341560},{"value":5370130904},{"value":84},{"value":4378876840}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4377036072},"cpsr":{"value":2147487744},"fp":{"value":6092795840},"sp":{"value":6092794064},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":6466066144,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":14048,"symbol":"_platform_memmove","symbolLocation":144,"imageIndex":8},{"imageOffset":99624,"symbol":"Runner::_runner(void*)","symbolLocation":6084,"imageIndex":0},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":6},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":6}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64",
"base" : 4376936448,
"size" : 1261568,
"uuid" : "f89538e9-dea1-39d6-8865-7b8834614970",
"path" : "\/opt\/local\/bin\/btop",
"name" : "btop"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6465601536,
"size" : 241664,
"uuid" : "a7228b5d-53c7-3fe9-84e4-2a8c04dcf051",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6464385024,
"size" : 520188,
"uuid" : "cc7a439e-f104-3047-995c-9a5a3cc4a442",
"path" : "\/usr\/lib\/system\/libsystem_c.dylib",
"name" : "libsystem_c.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6464905216,
"size" : 581624,
"uuid" : "f9b004fe-f1d6-307e-b399-568b8ac0cb6f",
"path" : "\/usr\/lib\/libc++.1.dylib",
"name" : "libc++.1.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6462173184,
"size" : 607112,
"uuid" : "50746901-db0e-39a0-b391-baaa6b82ad0f",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6465843200,
"size" : 53236,
"uuid" : "449bbad3-f7ef-371d-9a59-fd4ffa78289b",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6466080768,
"size" : 184316,
"uuid" : "94f4c112-c039-37f3-9956-c05ca70e4b04",
"path" : "\/usr\/lib\/system\/libsystem_info.dylib",
"name" : "libsystem_info.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6466052096,
"size" : 28668,
"uuid" : "785bf993-f73b-36c1-a5ba-ccce6c6da879",
"path" : "\/usr\/lib\/system\/libsystem_platform.dylib",
"name" : "libsystem_platform.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6463856640,
"size" : 225280,
"uuid" : "faa92b9b-9273-3c30-bb9e-36346eca2faf",
"path" : "\/usr\/lib\/system\/libsystem_malloc.dylib",
"name" : "libsystem_malloc.dylib"
}
],
"sharedCache" : {
"base" : 6461423616,
"size" : 4065345536,
"uuid" : "c32b200e-cf99-3583-bc9f-b7fb11382e8f"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=2.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.8G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nKernel Alloc Once 32K 1 \nMALLOC 2.8G 60 \nMALLOC guard page 96K 6 \nSTACK GUARD 56.1M 5 \nStack 10.1M 6 \nVM_ALLOCATE 16K 1 \n__AUTH 339K 65 \n__AUTH_CONST 4054K 145 \n__DATA 1759K 141 \n__DATA_CONST 4129K 147 \n__DATA_DIRTY 365K 58 \n__LINKEDIT 892.1M 2 \n__OBJC_RO 71.2M 1 \n__OBJC_RW 2171K 1 \n__TEXT 121.0M 155 \ndyld private memory 272K 2 \nmapped file 64K 1 \nshared memory 32K 2 \n=========== ======= ======= \nTOTAL 3.9G 800 \n",
"legacyInfo" : {
"threadTriggered" : {
}
},
"logWritingSignature" : "84068625f622b0acd9941ceee99902a19a27dcf0",
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "6297d96be2c9387df974efa4",
"factorPackIds" : {
},
"deploymentId" : 240000014
},
{
"rolloutId" : "5fb4245a1bbfe8005e33a1e1",
"factorPackIds" : {
},
"deploymentId" : 240000021
}
],
"experiments" : [
{
"treatmentId" : "5d51a80d-93ec-47e1-9027-675002e78e4a",
"experimentId" : "6384d56b96e8d228551ec182",
"deploymentId" : 400000027
}
]
}
}
@i0ntempest how long is the 'wait' step? :grin: It's been running for a few hours on my M1 MBA.
@i0ntempest how long is the 'wait' step? 😁 It's been running for a few hours on my M1 MBA.
Not sure about the exact time but definitely crashed within 1 hour. Right now I’m running it with time
and I’ll get back to you later.
@i0ntempest how long is the 'wait' step? 😁 It's been running for a few hours on my M1 MBA.
I did more testing and I’d say it’s about half an hour. I did notice that it can run for hours on my MacBook but would crash on my Mac Studio and mini. Not sure what is causing this but those two systems do have a lot more peripherals connected.
To try to narrow down the issue, try turning off the panels one by one, I'd start with the disks one (press d) and see if that fixes it.
Anecdotally, I was getting this same segfault crash after about 10 minutes on an M2 MacBook with Sonoma 14.5. Disabling the disk panel has (so far) fixed it.
Can you post the output of diskutil list
?
And 24+ hours later, btop is still running.
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk0
1: Apple_APFS_ISC Container disk1 524.3 MB disk0s1
2: Apple_APFS Container disk3 2.0 TB disk0s2
3: Apple_APFS_Recovery Container disk2 5.4 GB disk0s3
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +2.0 TB disk3
Physical Store disk0s2
1: APFS Volume SSD 10.3 GB disk3s1
2: APFS Snapshot com.apple.os.update-... 10.3 GB disk3s1s1
3: APFS Volume Preboot 6.1 GB disk3s2
4: APFS Volume Recovery 940.1 MB disk3s3
5: APFS Volume Data 695.1 GB disk3s5
6: APFS Volume VM 20.5 KB disk3s6
Hm, nothing fancy here. Do you have the TimeMachine set to backup every hour or so?
Yes, I have a local drive time machine backup (not attached when I ran diskutil) and a remote SMB share on my local network.
ok, let's try this: enable the disk panel, and wait for it to crash, then take again a diskutil list
. I bet time machine will be running at that time.
I connected to the remote time machine backup drive and btop crashed almost immediately with the disk panel open. Here's the list now (I think the same as above though):
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk0
1: Apple_APFS_ISC Container disk1 524.3 MB disk0s1
2: Apple_APFS Container disk3 2.0 TB disk0s2
3: Apple_APFS_Recovery Container disk2 5.4 GB disk0s3
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +2.0 TB disk3
Physical Store disk0s2
1: APFS Volume SSD 10.3 GB disk3s1
2: APFS Snapshot com.apple.os.update-... 10.3 GB disk3s1s1
3: APFS Volume Preboot 6.1 GB disk3s2
4: APFS Volume Recovery 940.1 MB disk3s3
5: APFS Volume Data 695.2 GB disk3s5
6: APFS Volume VM 20.5 KB disk3s6
Indeed I don't see much difference, but the crash when plugging the external drive is a clue. What filesystem is on the drive?
Edit, scratch that, it's a remote drive. Over SMB I guess?
Can not reproduce btop crashing when attaching a SMB share on M1 MBA nor M2 MBP.
It's an ext4 filesystem (linux box).
@i0ntempest do you have the same TimeMachine setting? Does turning off the disk panel make it stable?
I have the same issue when time machine runs. I backup daily to a local SMB share (unraid server). Hiding the disk panel with 'd' seems to have fixed it. Perhaps excluding all disks except /dev/disk0 may fix this - I'll give it a try.
system_profiler SPHardwareDataType
Hardware Overview:
Model Name: MacBook Pro
Model Identifier: Mac15,11
Model Number: MRW33LL/A
Chip: Apple M3 Max
Total Number of Cores: 14 (10 performance and 4 efficiency)
Memory: 36 GB
System Firmware Version: 10151.121.1
OS Loader Version: 10151.121.1
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: Apple_APFS_ISC Container disk1 524.3 MB disk0s1
2: Apple_APFS Container disk3 994.7 GB disk0s2
3: Apple_APFS_Recovery Container disk2 5.4 GB disk0s3
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +994.7 GB disk3
Physical Store disk0s2
1: APFS Volume Macintosh HD 10.3 GB disk3s1
2: APFS Snapshot com.apple.os.update-... 10.3 GB disk3s1s1
3: APFS Volume Preboot 6.2 GB disk3s2
4: APFS Volume Recovery 940.4 MB disk3s3
5: APFS Volume Data 231.4 GB disk3s5
6: APFS Volume VM 20.5 KB disk3s6
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: +16.0 TB disk4
/dev/disk5 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +16.0 TB disk5
Physical Store disk4
1: APFS Volume Backups of z... 343.0 GB disk5s1
Oh that's interesting, it's probably the empty name for the disk4 that is causing trouble. I'll have a look
@gti-masonw could you also run mount
when these volumes are mounted?
@joske
➜ mount
/dev/disk3s1s1 on / (apfs, sealed, local, read-only, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk3s6 on /System/Volumes/VM (apfs, local, noexec, journaled, noatime, nobrowse)
/dev/disk3s2 on /System/Volumes/Preboot (apfs, local, journaled, nobrowse)
/dev/disk3s4 on /System/Volumes/Update (apfs, local, journaled, nobrowse)
/dev/disk1s2 on /System/Volumes/xarts (apfs, local, noexec, journaled, noatime, nobrowse)
/dev/disk1s1 on /System/Volumes/iSCPreboot (apfs, local, journaled, nobrowse)
/dev/disk1s3 on /System/Volumes/Hardware (apfs, local, journaled, nobrowse)
/dev/disk3s5 on /System/Volumes/Data (apfs, local, journaled, nobrowse, protect, root data)
map auto_home on /System/Volumes/Data/home (autofs, automounted, nobrowse)
//backups@tank._smb._tcp.local/data on /Volumes/data (smbfs, nodev, nosuid, mounted by mw)
//backups@tank._smb._tcp.local/s_backup on /Volumes/s_backup (smbfs, nodev, nosuid, mounted by mw)
//backups@tank._smb._tcp.local/cams_backup on /Volumes/cams_backup (smbfs, nodev, nosuid, mounted by mw)
com.apple.TimeMachine.2024-06-21-103848.local@/dev/disk3s5 on /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/bigboy/2024-06-21-103848/Data (apfs, local, read-only, journaled, nobrowse, protect)
//backups@tank._smb._tcp.local/bigboy on /Volumes/bigboy (smbfs, nodev, nosuid, mounted by mw)
@gti-masonw Could you run with the attached binary in debug mode? Run ./btop --debug
, and check the log output in ~/.config/btop/btop.log
.
btop.zip
I can't get btop to crash when doing time machine backups...
now I can't repro the issue lol. my hunch is btop was trying to use the local user account to read disk usage, but I use a separate account for smb auth. I did reboot my mac while troubleshooting this - maybe that was the original issue idk. or the share's mapping got refreshed. I'll run it in debug today and post an update if it crashes. thanks for your help.
I did increase a buffer size in this build. Please run it for a while to see if that fixed it.
@gti-masonw any update?
@joske I ran your build with --debug for a few hours, it did not crash but rather became unresponsive. This is all that's in top.log:
2024/09/21 (18:31:01) | ===> btop++ v.1.3.2
2024/09/21 (18:31:01) | DEBUG: Running in DEBUG mode!
2024/09/21 (18:31:01) | INFO: Logger set to DEBUG
2024/09/21 (18:31:01) | DEBUG: Using locale en_US.UTF-8
2024/09/21 (18:31:01) | INFO: Running on /dev/ttys001
2024/09/21 (18:31:01) | DEBUG: get_sensors(): show_coretemp=1 check_temp=1
2024/09/21 (18:31:01) | DEBUG: checking intel
2024/09/21 (18:31:01) | DEBUG: no intel sensors found
2024/09/22 (01:04:28) | ERROR: Stall in Runner thread, restarting!
2024/09/22 (01:04:30) | WARNING: Failed to get disk/partition stats with statvfs() for:
Indeed seems to be related to disk stuff. I'll try running it overnight now.
Updated to 1.4.0, I got a stall but it didn't crash:
2024/09/23 (12:39:32) | ===> btop++ v.1.4.0
2024/09/23 (12:39:32) | DEBUG: Running in DEBUG mode!
2024/09/23 (12:39:32) | INFO: Logger set to DEBUG
2024/09/23 (12:39:32) | DEBUG: Using locale en_US.UTF-8
2024/09/23 (12:39:32) | INFO: Running on /dev/ttys001
2024/09/23 (12:39:32) | DEBUG: get_sensors(): show_coretemp=1 check_temp=1
2024/09/23 (12:39:32) | DEBUG: checking intel
2024/09/23 (12:39:32) | DEBUG: no intel sensors found
2024/09/23 (12:58:37) | ERROR: Stall in Runner thread, restarting!
2024/09/23 (13:59:18) | ERROR: Stall in Runner thread, restarting!
2024/09/24 (02:20:17) | DEBUG: Writing new config file
2024/09/24 (02:20:17) | INFO: Quitting! Runtime: 13:40:45
Will keep testing
Got another SIGSEGV crash. Pretty sure it's disk related, it can run with disk panel closed for days.
2024/09/24 (05:48:54) | ===> btop++ v.1.4.0
2024/09/24 (05:48:54) | DEBUG: Running in DEBUG mode!
2024/09/24 (05:48:54) | INFO: Logger set to DEBUG
2024/09/24 (05:48:54) | DEBUG: Using locale en_US.UTF-8
2024/09/24 (05:48:54) | INFO: Running on /dev/ttys000
2024/09/24 (05:48:54) | DEBUG: get_sensors(): show_coretemp=1 check_temp=1
2024/09/24 (05:48:54) | DEBUG: checking intel
2024/09/24 (05:48:54) | DEBUG: no intel sensors found
2024/09/24 (09:24:45) | ERROR: failed getting network interfaces
2024/09/25 (02:40:23) | ERROR: failed getting network interfaces
2024/09/27 (02:14:14) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (02:14:20) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (02:14:25) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (02:14:31) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (02:14:36) | ERROR: Stall in Runner thread, restarting!
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: btop [1353]
Path: /opt/local/bin/btop
Identifier: btop
Version: ???
Code Type: ARM-64 (Native)
Parent Process: bash [703]
Responsible: Terminal [584]
User ID: 501
Date/Time: 2024-09-27 02:14:39.0556 -0400
OS Version: macOS 15.0 (24A335)
Report Version: 12
Anonymous UUID: C085A648-C423-0BFE-B132-1AB3FE05851B
Time Awake Since Boot: 240000 seconds
System Integrity Protection: disabled
Crashed Thread: 1
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000012e000017
Exception Codes: 0x0000000000000001, 0x000000012e000017
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [1353]
VM Region Info: 0x12e000017 is not in any region. Bytes after previous region: 24 Bytes before following region: 33554409
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
MALLOC_SMALL 12d800000-12e000000 [ 8192K] rw-/rwx SM=PRV
---> GAP OF 0x2000000 BYTES
MALLOC_MEDIUM 130000000-138000000 [128.0M] rw-/rwx SM=PRV
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x18bdcd3c8 __semwait_signal + 8
1 libsystem_c.dylib 0x18bcac714 nanosleep + 220
2 libc++.1.dylib 0x18bd432f4 std::__1::this_thread::sleep_for(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l>> const&) + 84
3 btop 0x10242ef98 Runner::run(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, bool) + 172
4 btop 0x102431d80 main + 9920
5 dyld 0x18ba88274 start + 2840
Thread 1 Crashed:
0 btop 0x10255e4e8 Net::collect(bool) + 532
1 btop 0x10242a7ec Runner::_runner(void*) + 5056
2 libsystem_pthread.dylib 0x18be0b2e4 _pthread_start + 136
3 libsystem_pthread.dylib 0x18be060fc thread_start + 8
Thread 2:
0 libsystem_pthread.dylib 0x18be060e8 start_wqthread + 0
Thread 3:
0 btop 0x102563638 Proc::collect(bool) + 2388
1 btop 0x1025635c4 Proc::collect(bool) + 2272
2 btop 0x10242ac34 Runner::_runner(void*) + 6152
3 libsystem_pthread.dylib 0x18be0b2e4 _pthread_start + 136
4 libsystem_pthread.dylib 0x18be060fc thread_start + 8
Thread 4:
0 btop 0x102563638 Proc::collect(bool) + 2388
1 btop 0x1025635c4 Proc::collect(bool) + 2272
2 btop 0x10242ac34 Runner::_runner(void*) + 6152
3 libsystem_pthread.dylib 0x18be0b2e4 _pthread_start + 136
4 libsystem_pthread.dylib 0x18be060fc thread_start + 8
Thread 5:
0 btop 0x102563638 Proc::collect(bool) + 2388
1 btop 0x1025635c4 Proc::collect(bool) + 2272
2 btop 0x10242ac34 Runner::_runner(void*) + 6152
3 libsystem_pthread.dylib 0x18be0b2e4 _pthread_start + 136
4 libsystem_pthread.dylib 0x18be060fc thread_start + 8
Thread 1 crashed with ARM Thread State (64-bit):
x0: 0xffffffffffffff94 x1: 0x000000012a010cb9 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x000000000000006c x6: 0x0000000000000031 x7: 0x735f2e7265767265
x8: 0x0000000000000000 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x0000000000000030
x12: 0x0000000000000004 x13: 0x000000016dc062d4 x14: 0x0000000000000001 x15: 0x00000000ffffffff
x16: 0x000000018be3d950 x17: 0x00000001f13ec388 x18: 0x0000000000000000 x19: 0x000000012a00ea80
x20: 0x0000000000000012 x21: 0x00000001025974c8 x22: 0x000000012e000000 x23: 0x000000012a010cb5
x24: 0x0000000000000004 x25: 0x000000012c008818 x26: 0x000000000000b79f x27: 0x0000000000000000
x28: 0x0000000102597000 fp: 0x000000016dc068a0 lr: 0x000000010255e51c
sp: 0x000000016dc06670 pc: 0x000000010255e4e8 cpsr: 0x20001000
far: 0x000000012e000017 esr: 0x92000006 (Data Abort) byte read Translation fault
Binary Images:
0x102424000 - 0x10258ffff btop (*) <af3e0bcb-da74-3cc9-8bf4-509c0ca8f88a> /opt/local/bin/btop
0x18bdc9000 - 0x18be03ff7 libsystem_kernel.dylib (*) <9a72fd37-d827-3d6d-b6f4-422621e36c94> /usr/lib/system/libsystem_kernel.dylib
0x18bc9e000 - 0x18bd1fffb libsystem_c.dylib (*) <a63f0ef9-59f1-3976-8a7e-2037cd50c605> /usr/lib/system/libsystem_c.dylib
0x18bd20000 - 0x18bdadffb libc++.1.dylib (*) <57ffcb9d-a6c9-3e9a-aa82-40f192626527> /usr/lib/libc++.1.dylib
0x18ba82000 - 0x18bb04663 dyld (*) <02e3ca05-e849-31c8-a4f2-c7292420dfad> /usr/lib/dyld
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x18be04000 - 0x18be10fff libsystem_pthread.dylib (*) <d09f4078-adad-3dd0-b17b-ce0142887b28> /usr/lib/system/libsystem_pthread.dylib
0x18be3c000 - 0x18be43fe3 libsystem_platform.dylib (*) <3fac373b-5c41-3c83-8f9f-c9e781e887da> /usr/lib/system/libsystem_platform.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: 22
thread_create: 0
thread_set_state: 704
VM Region Summary:
ReadOnly portion of Libraries: Total=799.2M resident=0K(0%) swapped_out_or_unallocated=799.2M(100%)
Writable regions: Total=5.4G written=867K(0%) resident=867K(0%) swapped_out=0K(0%) unallocated=5.4G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
Kernel Alloc Once 32K 1
MALLOC 3.9G 85
MALLOC guard page 96K 6
MALLOC_LARGE (reserved) 1.5G 3 reserved VM address space (unallocated)
STACK GUARD 56.1M 6
Stack 11.2M 8
Stack Guard 16K 1
VM_ALLOCATE 16K 1
__AUTH 749K 154
__AUTH_CONST 12.4M 289
__DATA 3089K 270
__DATA_CONST 9889K 290
__DATA_DIRTY 460K 92
__FONT_DATA 2352 1
__LINKEDIT 582.9M 2
__OBJC_RW 2353K 1
__TEXT 216.3M 299
__TPRO_CONST 272K 2
mapped file 80K 2
owned unmapped memory 32K 1
page table in kernel 867K 1
shared memory 48K 2
=========== ======= =======
TOTAL 6.3G 1518
TOTAL, minus reserved VM space 4.8G 1518
-----------
Full Report
-----------
{"app_name":"btop","timestamp":"2024-09-27 02:14:39.00 -0400","app_version":"","slice_uuid":"af3e0bcb-da74-3cc9-8bf4-509c0ca8f88a","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 15.0 (24A335)","roots_installed":0,"incident_id":"6A279161-8E4C-4623-89C9-D2B5A767956D","name":"btop"}
{
"uptime" : 240000,
"procRole" : "Unspecified",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "Mac14,14",
"coalitionID" : 599,
"osVersion" : {
"train" : "macOS 15.0",
"build" : "24A335",
"releaseType" : "User"
},
"captureTime" : "2024-09-27 02:14:39.0556 -0400",
"codeSigningMonitor" : 1,
"incident" : "6A279161-8E4C-4623-89C9-D2B5A767956D",
"pid" : 1353,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2024-09-24 05:48:54.2810 -0400",
"procStartAbsTime" : 1978482407,
"procExitAbsTime" : 5914253777091,
"procName" : "btop",
"procPath" : "\/opt\/local\/bin\/btop",
"parentProc" : "bash",
"parentPid" : 703,
"coalitionName" : "com.apple.Terminal",
"crashReporterKey" : "C085A648-C423-0BFE-B132-1AB3FE05851B",
"responsiblePid" : 584,
"responsibleProc" : "Terminal",
"codeSigningID" : "btop",
"codeSigningTeamID" : "",
"codeSigningFlags" : 570556417,
"codeSigningValidationCategory" : 10,
"codeSigningTrustLevel" : 4294967295,
"instructionByteStream" : {"beforePC":"3wIZ6+ACAFR3BkD54AMXqihUAJT4AwCqBAAAFNZiAJHfAhnrQAIAVA==","atPC":"yV5AOSgdABPKBkD5HwEAcUmxiZo\/ARjr4f7\/VMkCQPkfAQBxILGWmg=="},
"bootSessionUUID" : "849B25E3-9858-4973-BA56-9244DE27FCAD",
"sip" : "disabled",
"vmRegionInfo" : "0x12e000017 is not in any region. Bytes after previous region: 24 Bytes before following region: 33554409\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n MALLOC_SMALL 12d800000-12e000000 [ 8192K] rw-\/rwx SM=PRV \n---> GAP OF 0x2000000 BYTES\n MALLOC_MEDIUM 130000000-138000000 [128.0M] rw-\/rwx SM=PRV ",
"exception" : {"codes":"0x0000000000000001, 0x000000012e000017","rawCodes":[1,5066719255],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x000000012e000017"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":1353},
"vmregioninfo" : "0x12e000017 is not in any region. Bytes after previous region: 24 Bytes before following region: 33554409\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n MALLOC_SMALL 12d800000-12e000000 [ 8192K] rw-\/rwx SM=PRV \n---> GAP OF 0x2000000 BYTES\n MALLOC_MEDIUM 130000000-138000000 [128.0M] rw-\/rwx SM=PRV ",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":704,"task_for_pid":22},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 1,
"threads" : [{"id":19912,"threadState":{"x":[{"value":4},{"value":0},{"value":1},{"value":1},{"value":0},{"value":1000000},{"value":52},{"value":0},{"value":8327071016,"symbolLocation":0,"symbol":"clock_sem"},{"value":16387},{"value":17},{"value":55898586342201588},{"value":24000000},{"value":72726},{"value":4127528969},{"value":4125429794},{"value":334},{"value":8463188248},{"value":0},{"value":6134016928},{"value":6134016928},{"value":6134017760},{"value":4334379008,"symbolLocation":176,"symbol":"_MergedGlobals"},{"value":18446742346291874163},{"value":1000000},{"value":2361183241434822607},{"value":1727417677448},{"value":4334379008,"symbolLocation":176,"symbol":"_MergedGlobals"},{"value":500}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6640289556},"cpsr":{"value":1610616832},"fp":{"value":6134016912},"sp":{"value":6134016864},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6641472456},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":17352,"symbol":"__semwait_signal","symbolLocation":8,"imageIndex":1},{"imageOffset":59156,"symbol":"nanosleep","symbolLocation":220,"imageIndex":2},{"imageOffset":144116,"symbol":"std::__1::this_thread::sleep_for(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l>> const&)","symbolLocation":84,"imageIndex":3},{"imageOffset":44952,"symbol":"Runner::run(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, bool)","symbolLocation":172,"imageIndex":0},{"imageOffset":56704,"symbol":"main","symbolLocation":9920,"imageIndex":0},{"imageOffset":25204,"symbol":"start","symbolLocation":2840,"imageIndex":4}]},{"triggered":true,"id":19916,"threadState":{"x":[{"value":18446744073709551508},{"value":4999679161},{"value":0},{"value":0},{"value":0},{"value":108},{"value":49},{"value":8313414506012635749},{"value":0},{"value":0},{"value":0},{"value":48},{"value":4},{"value":6136292052},{"value":1},{"value":4294967295},{"value":6641932624,"symbolLocation":0,"symbol":"_platform_memcmp"},{"value":8342389640},{"value":0},{"value":4999670400},{"value":18},{"value":4334384328,"symbolLocation":8,"symbol":"Net::interfaces"},{"value":5066719232},{"value":4999679157},{"value":4},{"value":5033199640},{"value":47007},{"value":0},{"value":4334383104,"symbolLocation":0,"symbol":"Runner::pause_output"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4334150940},"cpsr":{"value":536875008},"fp":{"value":6136293536},"sp":{"value":6136292976},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4334150888,"matchesCrashFrame":1},"far":{"value":5066719255}},"frames":[{"imageOffset":1287400,"symbol":"Net::collect(bool)","symbolLocation":532,"imageIndex":0},{"imageOffset":26604,"symbol":"Runner::_runner(void*)","symbolLocation":5056,"imageIndex":0},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":6},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":6}]},{"id":1808447,"frames":[{"imageOffset":8424,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":6}],"threadState":{"x":[{"value":6134575104},{"value":0},{"value":6134038528},{"value":0},{"value":278532},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6134575104},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":6641705192},"far":{"value":0}}},{"id":8885622,"frames":[{"imageOffset":1308216,"symbol":"Proc::collect(bool)","symbolLocation":2388,"imageIndex":0},{"imageOffset":1308100,"symbol":"Proc::collect(bool)","symbolLocation":2272,"imageIndex":0},{"imageOffset":27700,"symbol":"Runner::_runner(void*)","symbolLocation":6152,"imageIndex":0},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":6},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":6}],"threadState":{"x":[{"value":15720349696},{"value":0},{"value":612417536},{"value":6135715216},{"value":0},{"value":3},{"value":0},{"value":0},{"value":15720349704},{"value":76551873},{"value":76551872},{"value":4420833800},{"value":4985421800},{"value":16284937704},{"value":70573504},{"value":22},{"value":544},{"value":8463188376},{"value":0},{"value":993},{"value":76551874},{"value":16332764688},{"value":5033248776},{"value":13556379696},{"value":612414984},{"value":4334382216,"symbolLocation":448,"symbol":"_MergedGlobals"},{"value":550},{"value":993},{"value":4420833792}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4334171588},"cpsr":{"value":2684358656},"fp":{"value":6135720096},"sp":{"value":6135715456},"esr":{"value":2449473543,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4334171704},"far":{"value":4985421800}}},{"id":8891884,"frames":[{"imageOffset":1308216,"symbol":"Proc::collect(bool)","symbolLocation":2388,"imageIndex":0},{"imageOffset":1308100,"symbol":"Proc::collect(bool)","symbolLocation":2272,"imageIndex":0},{"imageOffset":27700,"symbol":"Runner::_runner(void*)","symbolLocation":6152,"imageIndex":0},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":6},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":6}],"threadState":{"x":[{"value":15107932160},{"value":0},{"value":0},{"value":6136862096},{"value":0},{"value":3},{"value":0},{"value":0},{"value":15107932168},{"value":76551873},{"value":76551872},{"value":4420833800},{"value":4985405416},{"value":15672503784},{"value":70571456},{"value":30},{"value":516},{"value":8463188384},{"value":0},{"value":993},{"value":76551874},{"value":15720347152},{"value":5033248776},{"value":14361948208},{"value":612414984},{"value":4334382216,"symbolLocation":448,"symbol":"_MergedGlobals"},{"value":550},{"value":993},{"value":4420833792}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4334171588},"cpsr":{"value":2684358656},"fp":{"value":6136866976},"sp":{"value":6136862336},"esr":{"value":2449473543,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4334171704},"far":{"value":4985405416}}},{"id":8904713,"frames":[{"imageOffset":1308216,"symbol":"Proc::collect(bool)","symbolLocation":2388,"imageIndex":0},{"imageOffset":1308100,"symbol":"Proc::collect(bool)","symbolLocation":2272,"imageIndex":0},{"imageOffset":27700,"symbol":"Runner::_runner(void*)","symbolLocation":6152,"imageIndex":0},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":6},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":6}],"threadState":{"x":[{"value":14495514624},{"value":0},{"value":0},{"value":0},{"value":50331649},{"value":3},{"value":0},{"value":0},{"value":14495514632},{"value":76551873},{"value":76551872},{"value":4420833800},{"value":4985421800},{"value":15060102632},{"value":70573504},{"value":4294934015},{"value":516},{"value":8463188384},{"value":0},{"value":1139},{"value":76551874},{"value":15107929616},{"value":5033248776},{"value":5906191816},{"value":612414984},{"value":4334382216,"symbolLocation":448,"symbol":"_MergedGlobals"},{"value":489},{"value":1139},{"value":4420833792}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4334171588},"cpsr":{"value":2684358656},"fp":{"value":6138013856},"sp":{"value":6138009216},"esr":{"value":2449473543,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4334171704},"far":{"value":4985421800}}}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64",
"base" : 4332863488,
"size" : 1490944,
"uuid" : "af3e0bcb-da74-3cc9-8bf4-509c0ca8f88a",
"path" : "\/opt\/local\/bin\/btop",
"name" : "btop"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6641455104,
"size" : 241656,
"uuid" : "9a72fd37-d827-3d6d-b6f4-422621e36c94",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6640230400,
"size" : 532476,
"uuid" : "a63f0ef9-59f1-3976-8a7e-2037cd50c605",
"path" : "\/usr\/lib\/system\/libsystem_c.dylib",
"name" : "libsystem_c.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6640762880,
"size" : 581628,
"uuid" : "57ffcb9d-a6c9-3e9a-aa82-40f192626527",
"path" : "\/usr\/lib\/libc++.1.dylib",
"name" : "libc++.1.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6638018560,
"size" : 534116,
"uuid" : "02e3ca05-e849-31c8-a4f2-c7292420dfad",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6641696768,
"size" : 53248,
"uuid" : "d09f4078-adad-3dd0-b17b-ce0142887b28",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6641926144,
"size" : 32740,
"uuid" : "3fac373b-5c41-3c83-8f9f-c9e781e887da",
"path" : "\/usr\/lib\/system\/libsystem_platform.dylib",
"name" : "libsystem_platform.dylib"
}
],
"sharedCache" : {
"base" : 6637207552,
"size" : 4728717312,
"uuid" : "d997b0e9-e31b-35fe-b129-3171b279b087"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=799.2M resident=0K(0%) swapped_out_or_unallocated=799.2M(100%)\nWritable regions: Total=5.4G written=867K(0%) resident=867K(0%) swapped_out=0K(0%) unallocated=5.4G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nKernel Alloc Once 32K 1 \nMALLOC 3.9G 85 \nMALLOC guard page 96K 6 \nMALLOC_LARGE (reserved) 1.5G 3 reserved VM address space (unallocated)\nSTACK GUARD 56.1M 6 \nStack 11.2M 8 \nStack Guard 16K 1 \nVM_ALLOCATE 16K 1 \n__AUTH 749K 154 \n__AUTH_CONST 12.4M 289 \n__DATA 3089K 270 \n__DATA_CONST 9889K 290 \n__DATA_DIRTY 460K 92 \n__FONT_DATA 2352 1 \n__LINKEDIT 582.9M 2 \n__OBJC_RW 2353K 1 \n__TEXT 216.3M 299 \n__TPRO_CONST 272K 2 \nmapped file 80K 2 \nowned unmapped memory 32K 1 \npage table in kernel 867K 1 \nshared memory 48K 2 \n=========== ======= ======= \nTOTAL 6.3G 1518 \nTOTAL, minus reserved VM space 4.8G 1518 \n",
"legacyInfo" : {
"threadTriggered" : {
}
},
"logWritingSignature" : "93cc1249c6209c202e881073404cdcb716854039",
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "63508950b3714d3622fc77f7",
"factorPackIds" : {
"SIRI_MEMORY_SYNC_CONFIG" : "6526e111d0c9ce2f459b54a8"
},
"deploymentId" : 240000015
},
{
"rolloutId" : "64c025b28b7f0e739e4fbe58",
"factorPackIds" : {
},
"deploymentId" : 240000019
}
],
"experiments" : [
{
"treatmentId" : "c47ab4cc-c9c3-4b5d-a87c-e2433ce02597",
"experimentId" : "6639bc6ba73d460582162323",
"deploymentId" : 400000006
},
{
"treatmentId" : "45f4e2a5-551b-4bc2-a2dc-19c244dda8f8",
"experimentId" : "6643969b3099cf28e049862f",
"deploymentId" : 400000007
}
]
}
}
Model: Mac14,14, BootROM 11881.1.1, proc 24:16:8 processors, 64 GB, SMC
Graphics: Apple M2 Ultra, Apple M2 Ultra, Built-In
Display: ROG PG279QM, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition), Main, MirrorOff, Online
Display: BenQ LCD, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition), MirrorOff, Online
Display: BenQ LCD, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition), MirrorOff, Online
Memory Module: LPDDR5, Micron
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4388), wl0: Jul 26 2024 20:00:10 version 23.10.888.0.41.51.162 FWID 01-958c4bd4
IO80211_driverkit-1302.71 "IO80211_driverkit-1302.71" Aug 5 2024 22:09:56
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Ethernet, Ethernet, en0
PCI Card: pci1b21,612, AHCI Controller, Thunderbolt@3,0,0
PCI Card: pci8086,15d4, USB eXtensible Host Controller, Thunderbolt@4,0,0
PCI Card: pci15b7,5030, NVM Express Controller, Thunderbolt@3,0,0
PCI Card: pci8086,15b6, USB eXtensible Host Controller, Thunderbolt@4,0,0
PCI Card: pci8086,15f0, USB eXtensible Host Controller, Thunderbolt@3,0,0
PCI Card: pci15b7,5041, NVM Express Controller, Thunderbolt@67,0,0
Serial ATA Device: ST8000VN004-3CP101, 8 TB
USB Device: USB31Bus
USB Device: USB3.1 Hub
USB Device: USB2.0 Hub
USB Device: USB31Bus
USB Device: USB3.2 Hub
USB Device: USB2.1 Hub
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: FiiO K3
USB Device: USB31Bus
USB Device: 4-Port USB 2.0 Hub
USB Device: 4-Port USB 2.0 Hub
USB Device: USB2.0 Hub
USB Device: G815 RGB MECHANICAL GAMING KEYBOARD
USB Device: USB 2.0 Hub
USB Device: flirc
USB Device: CTL-472
USB Device: AmusingKeyPadK5
USB Device: Pocket Voltex
USB Device: G502 X PLUS MILLENNIUM FALCON
USB Device: Magic Keyboard with Touch ID
USB Device: CP1500AVRLCD3
USB Device: 4-Port USB 2.0 Hub
USB Device: 4-Port USB 2.0 Hub
USB Device: 4-Port USB 3.0 Hub
USB Device: 4-Port USB 3.0 Hub
USB Device: Logitech StreamCam
USB Device: 4-Port USB 3.0 Hub
USB Device: 4-Port USB 3.0 Hub
USB Device: BD-RE BU40N
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB 2.0 BILLBOARD
USB Device: USB31Bus
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Device: USB4.0 SSD, Intel, 1, 68.1
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Device: d2 Thunderbolt 3, LaCie, 1, 34.2
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Device: RocketStor 6661A, HighPoint Technologies, Inc., 1, 26.1
And another one, this time using the attached binary:
2024/09/27 (02:58:54) | ===> btop++ v.1.3.2
2024/09/27 (02:58:54) | DEBUG: Running in DEBUG mode!
2024/09/27 (02:58:54) | INFO: Logger set to DEBUG
2024/09/27 (02:58:54) | DEBUG: Using locale en_US.UTF-8
2024/09/27 (02:58:54) | INFO: Running on /dev/ttys000
2024/09/27 (02:58:54) | DEBUG: get_sensors(): show_coretemp=1 check_temp=1
2024/09/27 (02:58:54) | DEBUG: checking intel
2024/09/27 (02:58:54) | DEBUG: no intel sensors found
2024/09/27 (03:06:48) | ERROR: Stall in Runner thread, restarting!
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: btop [4811]
Path: /Users/USER/Downloads/btop
Identifier: btop
Version: ???
Code Type: ARM-64 (Native)
Parent Process: bash [4755]
Responsible: Terminal [4753]
User ID: 501
Date/Time: 2024-09-27 05:48:09.4272 -0400
OS Version: macOS 15.0 (24A335)
Report Version: 12
Anonymous UUID: C085A648-C423-0BFE-B132-1AB3FE05851B
Time Awake Since Boot: 9300 seconds
System Integrity Protection: disabled
Crashed Thread: 2
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: btop [4811]
Application Specific Information:
abort() called
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x1977c4088 __pselect + 8
1 libsystem_kernel.dylib 0x1977d86e0 pselect + 112
2 btop 0x1040c58f4 Input::poll(unsigned long long) + 208
3 btop 0x10403d624 main + 10300
4 dyld 0x19747c274 start + 2840
Thread 1:
0 libsystem_pthread.dylib 0x1977fa0e8 start_wqthread + 0
Thread 2 Crashed:
0 libsystem_kernel.dylib 0x1977c6600 __pthread_kill + 8
1 libsystem_pthread.dylib 0x1977fef70 pthread_kill + 288
2 libsystem_c.dylib 0x19770b908 abort + 128
3 libsystem_malloc.dylib 0x19761567c malloc_vreport + 896
4 libsystem_malloc.dylib 0x19763d4a8 malloc_zone_error + 100
5 libsystem_malloc.dylib 0x19762c8a4 nanov2_guard_corruption_detected + 44
6 libsystem_malloc.dylib 0x19762c864 nanov2_allocate_outlined + 460
7 libsystem_malloc.dylib 0x19762af98 nanov2_malloc_type + 472
8 libc++abi.dylib 0x1977b936c operator new(unsigned long) + 52
9 btop 0x10407e440 Draw::Meter::operator()(int) + 1208
10 btop 0x10409884c Mem::draw(Mem::mem_info const&, bool, bool) + 38264
11 btop 0x1040362b4 Runner::_runner(void*) + 4420
12 libsystem_pthread.dylib 0x1977ff2e4 _pthread_start + 136
13 libsystem_pthread.dylib 0x1977fa0fc thread_start + 8
Thread 2 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000000073 x5: 0x000000000000002e x6: 0x0000000000000001 x7: 0x00000000000008e0
x8: 0x250508b5742ed909 x9: 0x250508b41fcba909 x10: 0x000000000000000a x11: 0x0000000000000000
x12: 0x0000000000000034 x13: 0x0000600000492dcc x14: 0x00000000001ff800 x15: 0x00000000000007fb
x16: 0x0000000000000148 x17: 0x00000002041140e8 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000001353 x21: 0x000000016be570e0 x22: 0x0000000000000003 x23: 0x000000016be55700
x24: 0x0000000000000000 x25: 0x0000000000000000 x26: 0x00000001fbca4397 x27: 0x000000016be57000
x28: 0x000000014205b738 fp: 0x000000016be55050 lr: 0x00000001977fef70
sp: 0x000000016be55030 pc: 0x00000001977c6600 cpsr: 0x40001000
far: 0x0000000000000000 esr: 0x56000080 Address size fault
Binary Images:
0x104030000 - 0x104167fff btop (*) <ad7ff2f8-77d0-3c25-abc5-6a8bd927b591> /Users/USER/Downloads/btop
0x1977bd000 - 0x1977f7ff7 libsystem_kernel.dylib (*) <9a72fd37-d827-3d6d-b6f4-422621e36c94> /usr/lib/system/libsystem_kernel.dylib
0x197476000 - 0x1974f8663 dyld (*) <02e3ca05-e849-31c8-a4f2-c7292420dfad> /usr/lib/dyld
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x1977f8000 - 0x197804fff libsystem_pthread.dylib (*) <d09f4078-adad-3dd0-b17b-ce0142887b28> /usr/lib/system/libsystem_pthread.dylib
0x197692000 - 0x197713ffb libsystem_c.dylib (*) <a63f0ef9-59f1-3976-8a7e-2037cd50c605> /usr/lib/system/libsystem_c.dylib
0x197607000 - 0x197647ff7 libsystem_malloc.dylib (*) <ed8c6bde-145d-3b94-8c86-4e5e5fd021d1> /usr/lib/system/libsystem_malloc.dylib
0x1977a2000 - 0x1977bcfff libc++abi.dylib (*) <676af2e8-ec78-3e6e-8275-2130fefcfe8e> /usr/lib/libc++abi.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=798.9M resident=0K(0%) swapped_out_or_unallocated=798.9M(100%)
Writable regions: Total=2.7G written=642K(0%) resident=642K(0%) swapped_out=0K(0%) unallocated=2.7G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
Kernel Alloc Once 32K 1
MALLOC 2.7G 64
MALLOC guard page 96K 6
STACK GUARD 56.0M 3
Stack 9296K 4
VM_ALLOCATE 32K 1
__AUTH 749K 154
__AUTH_CONST 12.4M 289
__DATA 3105K 271
__DATA_CONST 9889K 290
__DATA_DIRTY 460K 92
__FONT_DATA 2352 1
__LINKEDIT 582.9M 2
__OBJC_RW 2353K 1
__TEXT 216.1M 299
__TPRO_CONST 272K 2
mapped file 80K 2
owned unmapped memory 16K 1
page table in kernel 642K 1
shared memory 48K 2
=========== ======= =======
TOTAL 3.5G 1487
-----------
Full Report
-----------
{"app_name":"btop","timestamp":"2024-09-27 05:48:09.00 -0400","app_version":"","slice_uuid":"ad7ff2f8-77d0-3c25-abc5-6a8bd927b591","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 15.0 (24A335)","roots_installed":0,"incident_id":"0A496F53-265B-40AB-B006-DA73430B45F7","name":"btop"}
{
"uptime" : 9300,
"procRole" : "Unspecified",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "Mac14,14",
"coalitionID" : 2220,
"osVersion" : {
"train" : "macOS 15.0",
"build" : "24A335",
"releaseType" : "User"
},
"captureTime" : "2024-09-27 05:48:09.4272 -0400",
"codeSigningMonitor" : 1,
"incident" : "0A496F53-265B-40AB-B006-DA73430B45F7",
"pid" : 4811,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2024-09-27 04:11:11.8480 -0400",
"procStartAbsTime" : 83662379245,
"procExitAbsTime" : 223283764436,
"procName" : "btop",
"procPath" : "\/Users\/USER\/Downloads\/btop",
"parentProc" : "bash",
"parentPid" : 4755,
"coalitionName" : "com.apple.Terminal",
"crashReporterKey" : "C085A648-C423-0BFE-B132-1AB3FE05851B",
"responsiblePid" : 4753,
"responsibleProc" : "Terminal",
"codeSigningID" : "btop",
"codeSigningTeamID" : "",
"codeSigningFlags" : 570556417,
"codeSigningValidationCategory" : 10,
"codeSigningTrustLevel" : 4294967295,
"instructionByteStream" : {"beforePC":"fyMD1f17v6n9AwCRcuD\/l78DAJH9e8Go\/w9f1sADX9YQKYDSARAA1A==","atPC":"AwEAVH8jA9X9e7+p\/QMAkWfg\/5e\/AwCR\/XvBqP8PX9bAA1\/WcAqA0g=="},
"bootSessionUUID" : "DF363740-D6A9-43F0-8EC7-05D52B230AD2",
"sip" : "disabled",
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"flags":0,"code":6,"namespace":"SIGNAL","indicator":"Abort trap: 6","byProc":"btop","byPid":4811},
"asi" : {"libsystem_c.dylib":["abort() called"]},
"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" : 2,
"threads" : [{"id":207291,"threadState":{"x":[{"value":4},{"value":0},{"value":0},{"value":0},{"value":6104606800},{"value":4363568060,"symbolLocation":0,"symbol":"Input::signal_mask"},{"value":52},{"value":0},{"value":0},{"value":500000000},{"value":1000000},{"value":11376068507788127593},{"value":24000000},{"value":56659},{"value":2965790715},{"value":2963689477},{"value":394},{"value":8658173888},{"value":0},{"value":0},{"value":0},{"value":6104606816},{"value":1},{"value":4363568060,"symbolLocation":0,"symbol":"Input::signal_mask"},{"value":9},{"value":6104606800},{"value":1000},{"value":4363568128,"symbolLocation":0,"symbol":"Menu::active"},{"value":1727430489877}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6836553440},"cpsr":{"value":2684358656},"fp":{"value":6104606784},"sp":{"value":6104606672},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6836469896},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":28808,"symbol":"__pselect","symbolLocation":8,"imageIndex":1},{"imageOffset":112352,"symbol":"pselect","symbolLocation":112,"imageIndex":1},{"imageOffset":612596,"symbol":"Input::poll(unsigned long long)","symbolLocation":208,"imageIndex":0},{"imageOffset":54820,"symbol":"main","symbolLocation":10300,"imageIndex":0},{"imageOffset":25204,"symbol":"start","symbolLocation":2840,"imageIndex":2}]},{"id":207294,"frames":[{"imageOffset":8424,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}],"threadState":{"x":[{"value":6106312704},{"value":8451},{"value":6105776128},{"value":0},{"value":409602},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6106312704},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6836691176},"far":{"value":0}}},{"triggered":true,"id":365534,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":115},{"value":46},{"value":1},{"value":2272},{"value":2667547929718216969},{"value":2667547924007463177},{"value":10},{"value":0},{"value":52},{"value":105553121062348},{"value":2095104},{"value":2043},{"value":328},{"value":8658174184},{"value":0},{"value":6},{"value":4947},{"value":6105166048},{"value":3},{"value":6105159424},{"value":0},{"value":0},{"value":8519304087,"symbolLocation":839,"symbol":"dyld4::preallocator"},{"value":6105165824},{"value":5402638136}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6836711280},"cpsr":{"value":1073745920},"fp":{"value":6105157712},"sp":{"value":6105157680},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6836479488,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":38400,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":1},{"imageOffset":28528,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":4},{"imageOffset":497928,"symbol":"abort","symbolLocation":128,"imageIndex":5},{"imageOffset":59004,"symbol":"malloc_vreport","symbolLocation":896,"imageIndex":6},{"imageOffset":222376,"symbol":"malloc_zone_error","symbolLocation":100,"imageIndex":6},{"imageOffset":153764,"symbol":"nanov2_guard_corruption_detected","symbolLocation":44,"imageIndex":6},{"imageOffset":153700,"symbol":"nanov2_allocate_outlined","symbolLocation":460,"imageIndex":6},{"imageOffset":147352,"symbol":"nanov2_malloc_type","symbolLocation":472,"imageIndex":6},{"imageOffset":95084,"symbol":"operator new(unsigned long)","symbolLocation":52,"imageIndex":7},{"imageOffset":320576,"symbol":"Draw::Meter::operator()(int)","symbolLocation":1208,"imageIndex":0},{"imageOffset":428108,"symbol":"Mem::draw(Mem::mem_info const&, bool, bool)","symbolLocation":38264,"imageIndex":0},{"imageOffset":25268,"symbol":"Runner::_runner(void*)","symbolLocation":4420,"imageIndex":0},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":4},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64",
"base" : 4362272768,
"size" : 1277952,
"uuid" : "ad7ff2f8-77d0-3c25-abc5-6a8bd927b591",
"path" : "\/Users\/USER\/Downloads\/btop",
"name" : "btop"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6836441088,
"size" : 241656,
"uuid" : "9a72fd37-d827-3d6d-b6f4-422621e36c94",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6833004544,
"size" : 534116,
"uuid" : "02e3ca05-e849-31c8-a4f2-c7292420dfad",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6836682752,
"size" : 53248,
"uuid" : "d09f4078-adad-3dd0-b17b-ce0142887b28",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6835216384,
"size" : 532476,
"uuid" : "a63f0ef9-59f1-3976-8a7e-2037cd50c605",
"path" : "\/usr\/lib\/system\/libsystem_c.dylib",
"name" : "libsystem_c.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6834647040,
"size" : 266232,
"uuid" : "ed8c6bde-145d-3b94-8c86-4e5e5fd021d1",
"path" : "\/usr\/lib\/system\/libsystem_malloc.dylib",
"name" : "libsystem_malloc.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6836330496,
"size" : 110592,
"uuid" : "676af2e8-ec78-3e6e-8275-2130fefcfe8e",
"path" : "\/usr\/lib\/libc++abi.dylib",
"name" : "libc++abi.dylib"
}
],
"sharedCache" : {
"base" : 6832193536,
"size" : 4728717312,
"uuid" : "d997b0e9-e31b-35fe-b129-3171b279b087"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=798.9M resident=0K(0%) swapped_out_or_unallocated=798.9M(100%)\nWritable regions: Total=2.7G written=642K(0%) resident=642K(0%) swapped_out=0K(0%) unallocated=2.7G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nKernel Alloc Once 32K 1 \nMALLOC 2.7G 64 \nMALLOC guard page 96K 6 \nSTACK GUARD 56.0M 3 \nStack 9296K 4 \nVM_ALLOCATE 32K 1 \n__AUTH 749K 154 \n__AUTH_CONST 12.4M 289 \n__DATA 3105K 271 \n__DATA_CONST 9889K 290 \n__DATA_DIRTY 460K 92 \n__FONT_DATA 2352 1 \n__LINKEDIT 582.9M 2 \n__OBJC_RW 2353K 1 \n__TEXT 216.1M 299 \n__TPRO_CONST 272K 2 \nmapped file 80K 2 \nowned unmapped memory 16K 1 \npage table in kernel 642K 1 \nshared memory 48K 2 \n=========== ======= ======= \nTOTAL 3.5G 1487 \n",
"legacyInfo" : {
"threadTriggered" : {
}
},
"logWritingSignature" : "eab8ed7988036efa7a05a13c6d1472a3292ae202",
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "63508950b3714d3622fc77f7",
"factorPackIds" : {
"SIRI_MEMORY_SYNC_CONFIG" : "6526e111d0c9ce2f459b54a8"
},
"deploymentId" : 240000015
},
{
"rolloutId" : "64c025b28b7f0e739e4fbe58",
"factorPackIds" : {
},
"deploymentId" : 240000019
}
],
"experiments" : [
{
"treatmentId" : "c47ab4cc-c9c3-4b5d-a87c-e2433ce02597",
"experimentId" : "6639bc6ba73d460582162323",
"deploymentId" : 400000006
},
{
"treatmentId" : "45f4e2a5-551b-4bc2-a2dc-19c244dda8f8",
"experimentId" : "6643969b3099cf28e049862f",
"deploymentId" : 400000007
}
]
}
}
Model: Mac14,14, BootROM 11881.1.1, proc 24:16:8 processors, 64 GB, SMC
Graphics: Apple M2 Ultra, Apple M2 Ultra, Built-In
Display: ROG PG279QM, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition), Main, MirrorOff, Online
Display: BenQ LCD, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition), MirrorOff, Online
Display: BenQ LCD, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition), MirrorOff, Online
Memory Module: LPDDR5, Micron
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4388), wl0: Jul 26 2024 20:00:10 version 23.10.888.0.41.51.162 FWID 01-958c4bd4
IO80211_driverkit-1302.71 "IO80211_driverkit-1302.71" Aug 5 2024 22:09:56
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Ethernet, Ethernet, en0
PCI Card: pci15b7,5030, NVM Express Controller, Thunderbolt@3,0,0
PCI Card: pci8086,15b6, USB eXtensible Host Controller, Thunderbolt@4,0,0
PCI Card: pci1b21,612, AHCI Controller, Thunderbolt@3,0,0
PCI Card: pci8086,15d4, USB eXtensible Host Controller, Thunderbolt@4,0,0
PCI Card: pci8086,15f0, USB eXtensible Host Controller, Thunderbolt@3,0,0
PCI Card: pci15b7,5041, NVM Express Controller, Thunderbolt@67,0,0
Serial ATA Device: ST8000VN004-3CP101, 8 TB
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB3.1 Hub
USB Device: USB2.0 Hub
USB Device: USB31Bus
USB Device: USB3.2 Hub
USB Device: USB2.1 Hub
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: FiiO K3
USB Device: USB31Bus
USB Device: 4-Port USB 2.0 Hub
USB Device: 4-Port USB 2.0 Hub
USB Device: USB2.0 Hub
USB Device: G815 RGB MECHANICAL GAMING KEYBOARD
USB Device: USB 2.0 Hub
USB Device: flirc
USB Device: CTL-472
USB Device: AmusingKeyPadK5
USB Device: Pocket Voltex
USB Device: G502 X PLUS MILLENNIUM FALCON
USB Device: Magic Keyboard with Touch ID
USB Device: CP1500AVRLCD3
USB Device: 4-Port USB 2.0 Hub
USB Device: 4-Port USB 2.0 Hub
USB Device: 4-Port USB 3.0 Hub
USB Device: 4-Port USB 3.0 Hub
USB Device: Logitech StreamCam
USB Device: 4-Port USB 3.0 Hub
USB Device: 4-Port USB 3.0 Hub
USB Device: BD-RE BU40N
USB Device: USB31Bus
USB Device: USB 2.0 BILLBOARD
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Device: USB4.0 SSD, Intel, 1, 68.1
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Device: d2 Thunderbolt 3, LaCie, 1, 34.2
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Device: RocketStor 6661A, HighPoint Technologies, Inc., 1, 26.1
I think I'm having the same or similar issue:
17:33:54 ❯ brew info btop
==> btop: stable 1.4.0 (bottled), HEAD
Resource monitor. C++ version and continuation of bashtop and bpytop
https://github.com/aristocratos/btop
Installed
/usr/local/Cellar/btop/1.4.0 (43 files, 1.3MB) *
Poured from bottle using the formulae.brew.sh API on 2024-09-25 at 14:39:05
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/b/btop.rb
License: Apache-2.0
==> Dependencies
Build: lowdown ✘, coreutils ✔
==> Options
--HEAD
Install HEAD version
==> Analytics
install: 7,178 (30 days), 12,912 (90 days), 43,667 (365 days)
install-on-request: 7,180 (30 days), 12,914 (90 days), 43,665 (365 days)
build-error: 33 (30 days)
2024/09/27 (17:03:59) | ===> btop++ v.1.4.0
2024/09/27 (17:03:59) | INFO: Logger set to DEBUG
2024/09/27 (17:03:59) | DEBUG: Using locale en_US.UTF-8
2024/09/27 (17:03:59) | INFO: Running on /dev/ttys018
2024/09/27 (17:03:59) | DEBUG: get_sensors(): show_coretemp=1 check_temp=1
2024/09/27 (17:03:59) | DEBUG: checking intel
2024/09/27 (17:03:59) | DEBUG: intel sensors found
2024/09/27 (17:13:31) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:13:31) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:16:13) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:16:13) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:17:34) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:17:34) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:17:40) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:17:40) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:18:15) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:18:49) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:20:08) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:20:14) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:20:20) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:22:13) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:23:04) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:23:41) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:23:47) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:23:53) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:24:05) | ERROR: Stall in Runner thread, restarting!
2024/09/27 (17:24:18) | ERROR: Stall in Runner thread, restarting!
Describe the bug After running for a period of time btop will crash with SIGABRT.
To Reproduce
Expected behavior It runs indefinitely
Screenshots
Info (please complete the following information):
arm64
Additional context
Contents of
~/.config/btop/btop.log
GDB Backtrace
If btop++ is crashing at start the following steps could be helpful:
(Extra helpful if compiled with
make OPTFLAGS="-O0 -g"
)run (linux):
gdb btop
(macos):lldb btop
r
to run, wait for crash and press enter if prompted, CTRL+L to clear screen if needed.(gdb):
thread apply all bt
(lldb):bt all
to get backtrace for all threadsCopy and paste the backtrace here: