Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intermittent collapse on MacOS Monterey #672

Closed
sammytan opened this issue Apr 19, 2022 · 1 comment
Closed

intermittent collapse on MacOS Monterey #672

sammytan opened this issue Apr 19, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@sammytan
Copy link

OS: OSX
OS Version: Monterey 12.3.1
Model: MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)
CPU: 2.3 GHz Intel Core i5

Crash error message

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

Process: WindTerm [21011]
Path: /Applications/WindTerm.app/Contents/MacOS/WindTerm
Identifier: KingToolbox.WindTerm
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2022-04-19 15:46:12.5227 +0800
OS Version: macOS 12.3.1 (21E258)
Report Version: 12
Anonymous UUID: 9219C804-D94F-9DEB-0EA0-FD67474E6A2B

Sleep/Wake UUID: 6575048E-5155-4561-A6B7-B893341EC82A

Time Awake Since Boot: 59000 seconds
Time Since Wake: 9708 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called
terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff8051e000e __pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff8052161ff pthread_kill + 263
2 libsystem_c.dylib 0x7ff805161d24 abort + 123
3 libc++abi.dylib 0x7ff8051d2082 abort_message + 241
4 libc++abi.dylib 0x7ff8051c31a5 demangling_terminate_handler() + 242
5 libobjc.A.dylib 0x7ff8050bfe09 _objc_terminate() + 104
6 libc++abi.dylib 0x7ff8051d14a7 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x7ff8051d1458 std::terminate() + 56
8 WindTerm 0x10ebd3b6e CGlobalConfig::~CGlobalConfig() + 14
9 WindTerm 0x10ebd88e6 (anonymous namespace)::Q_QGS_staticGlobalConfig::innerFunction()::Cleanup::~Cleanup() + 22
10 libsystem_c.dylib 0x7ff80510edd4 __cxa_finalize_ranges + 409
11 libsystem_c.dylib 0x7ff80510ebee exit + 35
12 libdyld.dylib 0x7ff805222375 dyld4::LibSystemHelpers::exit(int) const + 11
13 dyld 0x11ecfc548 start + 504

Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x7ff8051d997a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x7ff8051d9ce8 mach_msg + 56
2 CoreFoundation 0x7ff8052dccdd __CFRunLoopServiceMachPort + 319
3 CoreFoundation 0x7ff8052db368 __CFRunLoopRun + 1276
4 CoreFoundation 0x7ff8052da7ac CFRunLoopRunSpecific + 562
5 AppKit 0x7ff807e6ef5e _NSEventThread + 132
6 libsystem_pthread.dylib 0x7ff8052164e1 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff805211f6b thread_start + 15

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

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

Thread 4:
0 libsystem_pthread.dylib 0x7ff805211f48 start_wqthread + 0

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

Thread 6:
0 libsystem_pthread.dylib 0x7ff805211f48 start_wqthread + 0

Thread 7:
0 libsystem_pthread.dylib 0x7ff805211f48 start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000011ed77600 rcx: 0x00007ff7b13c0328 rdx: 0x0000000000000000
rdi: 0x0000000000000103 rsi: 0x0000000000000006 rbp: 0x00007ff7b13c0350 rsp: 0x00007ff7b13c0328
r8: 0x00007ff7b13c01f0 r9: 0x00007ff8051d4f78 r10: 0x0000000000000000 r11: 0x0000000000000246
r12: 0x0000000000000103 r13: 0x0000003000000008 r14: 0x0000000000000006 r15: 0x0000000000000016
rip: 0x00007ff8051e000e rfl: 0x0000000000000246 cr2: 0x00007ff846a21f58

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

Binary Images:
0x7ff8051d8000 - 0x7ff80520ffff libsystem_kernel.dylib () <26a59789-b846-3ed4-96dc-8dbef3c0c8e7> /usr/lib/system/libsystem_kernel.dylib
0x7ff805210000 - 0x7ff80521bfff libsystem_pthread.dylib (
) <2f6c275d-7e14-3d31-a924-e1bb41d2415f> /usr/lib/system/libsystem_pthread.dylib
0x7ff8050e0000 - 0x7ff805168fff libsystem_c.dylib () <8e54eca2-9bd8-3482-9589-b9574434d1aa> /usr/lib/system/libsystem_c.dylib
0x7ff8051c2000 - 0x7ff8051d7fff libc++abi.dylib (
) <8507b51e-2cfe-3790-a25c-c47c7c8b0de8> /usr/lib/libc++abi.dylib
0x7ff80509f000 - 0x7ff8050dcfff libobjc.A.dylib () <6d51b7b2-136e-336d-95ca-442af1009ec2> /usr/lib/libobjc.A.dylib
0x10eb3f000 - 0x10f4cafff KingToolbox.WindTerm (
) <6213938e-deea-390c-8eb9-313591a9282a> /Applications/WindTerm.app/Contents/MacOS/WindTerm
0x7ff80521c000 - 0x7ff805227fff libdyld.dylib () <6627654a-f427-3e04-98ac-492a1ca26fcc> /usr/lib/system/libdyld.dylib
0x11ecf7000 - 0x11ed62fff dyld (
) /usr/lib/dyld
0x7ff80525d000 - 0x7ff80575efff com.apple.CoreFoundation (6.9) <743f0cb7-e962-3e42-8653-7bd141129561> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7ff807cc3000 - 0x7ff808b50fff com.apple.AppKit (6.9) <92a78ebd-bba5-3f18-a5e1-768c955539d7> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit

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=960.7M resident=0K(0%) swapped_out_or_unallocated=960.7M(100%)
Writable regions: Total=136.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=136.6M(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 256K 2
Activity Tracing 256K 1
CG backing stores 3840K 4
CG image 1108K 9
ColorSync 236K 27
CoreAnimation 44K 4
CoreGraphics 12K 2
CoreUI image data 1156K 8
Dispatch continuations 32.0M 1
Foundation 44K 2
Image IO 8K 2
Kernel Alloc Once 8K 1
MALLOC 87.1M 95
MALLOC guard page 32K 7
STACK GUARD 56.0M 8
Stack 11.6M 8
VM_ALLOCATE 508K 18
VM_ALLOCATE (reserved) 8K 1 reserved VM address space (unallocated)
__DATA 22.1M 367
__DATA_CONST 16.4M 200
__DATA_DIRTY 864K 117
__FONT_DATA 4K 1
__LINKEDIT 662.5M 23
__OBJC_RO 82.6M 1
__OBJC_RW 3200K 2
__TEXT 298.2M 379
__UNICODE 592K 1
dyld private memory 1024K 1
mapped file 489.1M 94
shared memory 1284K 16
=========== ======= =======
TOTAL 1.7G 1402
TOTAL, minus reserved VM space 1.7G 1402


Full Report

{"app_name":"WindTerm","timestamp":"2022-04-19 15:46:13.00 +0800","app_version":"","slice_uuid":"6213938e-deea-390c-8eb9-313591a9282a","build_version":"","platform":1,"bundleID":"KingToolbox.WindTerm","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.3.1 (21E258)","incident_id":"33E7EC2A-4FA9-42CA-8834-74D0CA4F1841","name":"WindTerm"}
{
"uptime" : 59000,
"procLaunch" : "2022-04-19 15:37:09.5852 +0800",
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro14,1",
"procStartAbsTime" : 58689680795339,
"coalitionID" : 9083,
"osVersion" : {
"train" : "macOS 12.3.1",
"build" : "21E258",
"releaseType" : "User"
},
"captureTime" : "2022-04-19 15:46:12.5227 +0800",
"incident" : "33E7EC2A-4FA9-42CA-8834-74D0CA4F1841",
"bug_type" : "309",
"pid" : 21011,
"procExitAbsTime" : 59232569180071,
"cpuType" : "X86-64",
"procName" : "WindTerm",
"procPath" : "/Applications/WindTerm.app/Contents/MacOS/WindTerm",
"bundleInfo" : {"CFBundleIdentifier":"KingToolbox.WindTerm"},
"storeInfo" : {"deviceIdentifierForVendor":"DE4EA93B-4C59-535A-955F-4E557231EE31","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "KingToolbox.WindTerm",
"crashReporterKey" : "9219C804-D94F-9DEB-0EA0-FD67474E6A2B",
"wakeTime" : 9708,
"sleepWakeUUID" : "6575048E-5155-4561-A6B7-B893341EC82A",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"asi" : {"libc++abi.dylib":["terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument"],"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" : 0,
"threads" : [{"triggered":true,"id":550715,"threadState":{"r13":{"value":206158430216},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":6},"rsi":{"value":6},"r8":{"value":140701807149552},"cr2":{"value":140704313646936},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":140703214423928},"r15":{"value":22},"rbx":{"value":4812404224,"symbolLocation":0,"symbol":"_main_thread"},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140703214469134,"matchesCrashFrame":1},"rbp":{"value":140701807149904},"rsp":{"value":140701807149864},"r12":{"value":259},"rcx":{"value":140701807149864},"flavor":"x86_THREAD_STATE","rdi":{"value":259}},"queue":"com.apple.main-thread","frames":[{"imageOffset":32782,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":0},{"imageOffset":25087,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":1},{"imageOffset":531748,"symbol":"abort","symbolLocation":123,"imageIndex":2},{"imageOffset":65666,"symbol":"abort_message","symbolLocation":241,"imageIndex":3},{"imageOffset":4517,"symbol":"demangling_terminate_handler()","symbolLocation":242,"imageIndex":3},{"imageOffset":134665,"symbol":"_objc_terminate()","symbolLocation":104,"imageIndex":4},{"imageOffset":62631,"symbol":"std::__terminate(void (*)())","symbolLocation":8,"imageIndex":3},{"imageOffset":62552,"symbol":"std::terminate()","symbolLocation":56,"imageIndex":3},{"imageOffset":609134,"symbol":"CGlobalConfig::~CGlobalConfig()","symbolLocation":14,"imageIndex":5},{"imageOffset":628966,"symbol":"(anonymous namespace)::Q_QGS_staticGlobalConfig::innerFunction()::Cleanup::~Cleanup()","symbolLocation":22,"imageIndex":5},{"imageOffset":191956,"symbol":"__cxa_finalize_ranges","symbolLocation":409,"imageIndex":2},{"imageOffset":191470,"symbol":"exit","symbolLocation":35,"imageIndex":2},{"imageOffset":25461,"symbol":"dyld4::LibSystemHelpers::exit(int) const","symbolLocation":11,"imageIndex":6},{"imageOffset":21832,"symbol":"start","symbolLocation":504,"imageIndex":7}]},{"id":551034,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6522,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":0},{"imageOffset":523485,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":8},{"imageOffset":516968,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":8},{"imageOffset":513964,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":8},{"imageOffset":1752926,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":9},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":555125,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":557217,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":557717,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":557849,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":558942,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":558943,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703214436352,
"size" : 229376,
"uuid" : "26a59789-b846-3ed4-96dc-8dbef3c0c8e7",
"path" : "/usr/lib/system/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703214665728,
"size" : 49152,
"uuid" : "2f6c275d-7e14-3d31-a924-e1bb41d2415f",
"path" : "/usr/lib/system/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703213420544,
"size" : 561152,
"uuid" : "8e54eca2-9bd8-3482-9589-b9574434d1aa",
"path" : "/usr/lib/system/libsystem_c.dylib",
"name" : "libsystem_c.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703214346240,
"size" : 90112,
"uuid" : "8507b51e-2cfe-3790-a25c-c47c7c8b0de8",
"path" : "/usr/lib/libc++abi.dylib",
"name" : "libc++abi.dylib"
},
{
"source" : "P",
"arch" : "x86_64h",
"base" : 140703213154304,
"size" : 253952,
"uuid" : "6d51b7b2-136e-336d-95ca-442af1009ec2",
"path" : "/usr/lib/libobjc.A.dylib",
"name" : "libobjc.A.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4541640704,
"CFBundleIdentifier" : "KingToolbox.WindTerm",
"size" : 10010624,
"uuid" : "6213938e-deea-390c-8eb9-313591a9282a",
"path" : "/Applications/WindTerm.app/Contents/MacOS/WindTerm",
"name" : "WindTerm"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703214714880,
"size" : 49152,
"uuid" : "6627654a-f427-3e04-98ac-492a1ca26fcc",
"path" : "/usr/lib/system/libdyld.dylib",
"name" : "libdyld.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4811878400,
"size" : 442368,
"uuid" : "dd9e80de-fb3b-349b-96a4-46874ad34d11",
"path" : "/usr/lib/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "x86_64h",
"base" : 140703214981120,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 5251072,
"uuid" : "743f0cb7-e962-3e42-8653-7bd141129561",
"path" : "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "1858.112"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703259439104,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.AppKit",
"size" : 15261696,
"uuid" : "92a78ebd-bba5-3f18-a5e1-768c955539d7",
"path" : "/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit",
"name" : "AppKit",
"CFBundleVersion" : "2113.40.127"
}
],
"sharedCache" : {
"base" : 140703211393024,
"size" : 15224815616,
"uuid" : "6cc5ecdc-5119-37f0-9a85-4f48a50f5f78"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=960.7M resident=0K(0%) swapped_out_or_unallocated=960.7M(100%)\nWritable regions: Total=136.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=136.6M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 256K 2 \nActivity Tracing 256K 1 \nCG backing stores 3840K 4 \nCG image 1108K 9 \nColorSync 236K 27 \nCoreAnimation 44K 4 \nCoreGraphics 12K 2 \nCoreUI image data 1156K 8 \nDispatch continuations 32.0M 1 \nFoundation 44K 2 \nImage IO 8K 2 \nKernel Alloc Once 8K 1 \nMALLOC 87.1M 95 \nMALLOC guard page 32K 7 \nSTACK GUARD 56.0M 8 \nStack 11.6M 8 \nVM_ALLOCATE 508K 18 \nVM_ALLOCATE (reserved) 8K 1 reserved VM address space (unallocated)\n__DATA 22.1M 367 \n__DATA_CONST 16.4M 200 \n__DATA_DIRTY 864K 117 \n__FONT_DATA 4K 1 \n__LINKEDIT 662.5M 23 \n__OBJC_RO 82.6M 1 \n__OBJC_RW 3200K 2 \n__TEXT 298.2M 379 \n__UNICODE 592K 1 \ndyld private memory 1024K 1 \nmapped file 489.1M 94 \nshared memory 1284K 16 \n=========== ======= ======= \nTOTAL 1.7G 1402 \nTOTAL, minus reserved VM space 1.7G 1402 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "5fc94383418129005b4e9ae0",
"factorPackIds" : {

  },
  "deploymentId" : 240000334
},
{
  "rolloutId" : "6112e14f37f5d11121dcd519",
  "factorPackIds" : {
    "SIRI_TEXT_TO_SPEECH" : "6254bfaedadcf4388c93b4b4"
  },
  "deploymentId" : 240000094
}

],
"experiments" : [

]
}
}

Model: MacBookPro14,1, BootROM 447.80.3.0.0, 2 processors, Dual-Core Intel Core i5, 2.3 GHz, 16 GB, SMC 2.43f11
Graphics: Intel Iris Plus Graphics 640, Intel Iris Plus Graphics 640, Built-In
Display: LU28R55, 5120 x 2880 (5K/UHD+ - Ultra High Definition Plus), Main, MirrorOff, Online
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x170), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.3)
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB30Bus
USB Device: USB2.0 Hub
USB Device: USB Keyboard
USB Device: Keychron K1
USB Device: USB 2.0 BILLBOARD
USB Device: USB3.0 Hub
USB Device: USB 10/100/1000 LAN
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.5
`

@kingToolbox
Copy link
Owner

Thank you for such a detailed report. I have replied to you in the discussion. When the new bugfix version is released, I will keep you informed.

BTW:
This crash is just a simple crash and doesn't affect usage of WindTerm.

@kingToolbox kingToolbox added the duplicate This issue or pull request already exists label Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants