当我尝试读入 400+ 的 WireGuard 配置的时候, Surge 🤚停止响应了
-> % grep WireGuard ./out/mullvad.conf | wc -l
485
-> % ps aux|grep Surge
lug 2759 99.7 0.4 413034080 445920 ?? R 12:42PM 11:15.86 /Users/lug/Applications/Surge.app/Contents/MacOS/Surge
而且看起来还挺忙的, 不知道这个能不能 ladzyload
Date/Time: 2025-03-01 15:34:03.640 +0900
End time: 2025-03-01 15:45:06.241 +0900
OS Version: macOS 15.3.1 (Build 24D70)
Architecture: arm64e
Report Version: 55
Incident Identifier: 7B0C8B8A-30BB-4439-9F52-8CFC546D1997
Data Source: Stackshots
Shared Cache: D272B91E-F9F0-3854-B5B9-508B21C25DCC slid base address 0x1974cc000, slide 0x174cc000 (System Primary)
Shared Cache: 2CE61F01-A42A-375D-8D6E-89C3E585622D slid base address 0x197184000, slide 0x17184000 (DriverKit)
Shared Cache: A0FACF45-C723-3E28-AAC2-50565679C9B7 slid base address 0x7ff8141f8000, slide 0x141f8000 (Rosetta)
Command: Surge
Path: /Users/USER/*/Surge.app/Contents/MacOS/Surge
Identifier: com.nssurge.surge-mac
Version: 5.4.3 (2540)
Team ID: YCKFLA6N72
Is First Party: No
Beta Identifier: 034DD599-82F3-50BC-AF4A-720220AE6AB9
Architecture: arm64
Parent: launchd [1]
PID: 2759
Time Since Fork: 10932s
Event: hang
Duration: 662.60s
Duration Sampled: 1.10s (process was unresponsive for 662 seconds before sampling)
Steps: 11 (100ms sampling interval)
Hardware model: Mac14,6
Active cpus: 12
HW page size: 16384
VM page size: 16384
Boot args: -arm64e_preview_abi
Time Since Boot: 16396s
Time Awake Since Boot: 14557s
Time Since Wake: 11229s
Fan speed: 0 rpm
Total CPU Time: 2.524s (7.3G cycles, 16.5G instructions, 0.44c/i)
Advisory levels: Battery -> 3, User -> 2, ThermalPressure -> 0, Combined -> 2
Free disk space: 857.89 GB/1858.19 GB, low space threshold 3072 MB
Vnodes Available: 58.21% (153203/263168)
Models: none
Preferred User Language: en-US, zh-Hans-US
Country Code: US
Keyboards: ABC
OS Cryptex File Extents: 1
--------------------------------------------------
Timeline format: stacks are sorted chronologically
Use -i and -heavy to re-report with count sorting
--------------------------------------------------
Heaviest stack for the main thread of the target process:
11 start + 2840 (dyld + 25204) [0x197598274]
11 ??? (Surge + 2345444) [0x102cf09e4]
11 NSApplicationMain + 888 (AppKit + 20584) [0x19b540068]
11 -[NSApplication run] + 480 (AppKit + 190580) [0x19b569874]
11 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688 (AppKit + 10099748) [0x19bedcc24]
11 _DPSNextEvent + 660 (AppKit + 243784) [0x19b576848]
11 _BlockUntilNextEventMatchingListInModeWithFilter + 76 (HIToolbox + 1119496) [0x1a2f73508]
11 ReceiveNextEventCommon + 216 (HIToolbox + 1118588) [0x1a2f7317c]
11 RunCurrentEventLoopInMode + 292 (HIToolbox + 1094960) [0x1a2f6d530]
11 CFRunLoopRunSpecific + 588 (CoreFoundation + 505652) [0x1979fe734]
11 __CFRunLoopRun + 1996 (CoreFoundation + 509372) [0x1979ff5bc]
11 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CoreFoundation + 772560) [0x197a3f9d0]
11 _dispatch_main_queue_callback_4CF + 44 (libdispatch.dylib + 76888) [0x197773c58]
11 _dispatch_main_queue_drain + 984 (libdispatch.dylib + 77888) [0x197774040]
11 _dispatch_client_callout + 20 (libdispatch.dylib + 17844) [0x1977655b4]
11 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 10324) [0x197763854]
11 ??? (Surge + 1363148) [0x102c00ccc]
11 ??? (Surge + 1347792) [0x102bfd0d0]
11 ??? (Surge + 1360544) [0x102c002a0]
11 ??? (Surge + 1347964) [0x102bfd17c]
11 ??? (Surge + 1700740) [0x102c53384]
11 ??? (Surge + 1220200) [0x102bdde68]
11 _dispatch_sync_f_slow + 148 (libdispatch.dylib + 81056) [0x197774ca0]
11 __DISPATCH_WAIT_FOR_QUEUE__ + 340 (libdispatch.dylib + 82136) [0x1977750d8]
11 _dispatch_event_loop_wait_for_ownership + 436 (libdispatch.dylib + 163904) [0x197789040]
11 kevent_id + 8 (libsystem_kernel.dylib + 11304) [0x1978d8c28]
*11 ??? (kernel.release.t6020 + 5656428) [0xfffffe0008c74f6c]
Process: Surge [2759]
UUID: EA2680EB-81DD-35DF-AD4A-157259428467
Path: /Users/USER/*/Surge.app/Contents/MacOS/Surge
Identifier: com.nssurge.surge-mac
Version: 5.4.3 (2540)
Team ID: YCKFLA6N72
Is First Party: No
Beta Identifier: 034DD599-82F3-50BC-AF4A-720220AE6AB9
Shared Cache: D272B91E-F9F0-3854-B5B9-508B21C25DCC slid base address 0x1974cc000, slide 0x174cc000 (System Primary)
Architecture: arm64
Parent: launchd [1]
UID: 501
Footprint: 171.29 MB
Time Since Fork: 10932s
Num samples: 11 (1-11)
CPU Time: 1.003s (3.7G cycles, 12.0G instructions, 0.31c/i)
Note: Unresponsive for 662 seconds before sampling
Num threads: 12
Note: 5 idle work queue threads omitted
Thread 0x10906 DispatchQueue "com.apple.main-thread"(1) 11 samples (1-11) priority 47 (base 47)
<process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [391], process received importance donation from distnoted [634], IO tier 0>
11 start + 2840 (dyld + 25204) [0x197598274] 1-11
11 ??? (Surge + 2345444) [0x102cf09e4] 1-11
11 NSApplicationMain + 888 (AppKit + 20584) [0x19b540068] 1-11
11 -[NSApplication run] + 480 (AppKit + 190580) [0x19b569874] 1-11
11 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688 (AppKit + 10099748) [0x19bedcc24] 1-11
11 _DPSNextEvent + 660 (AppKit + 243784) [0x19b576848] 1-11
11 _BlockUntilNextEventMatchingListInModeWithFilter + 76 (HIToolbox + 1119496) [0x1a2f73508] 1-11
11 ReceiveNextEventCommon + 216 (HIToolbox + 1118588) [0x1a2f7317c] 1-11
11 RunCurrentEventLoopInMode + 292 (HIToolbox + 1094960) [0x1a2f6d530] 1-11
11 CFRunLoopRunSpecific + 588 (CoreFoundation + 505652) [0x1979fe734] 1-11
11 __CFRunLoopRun + 1996 (CoreFoundation + 509372) [0x1979ff5bc] 1-11
11 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CoreFoundation + 772560) [0x197a3f9d0] 1-11
11 _dispatch_main_queue_callback_4CF + 44 (libdispatch.dylib + 76888) [0x197773c58] 1-11
11 _dispatch_main_queue_drain + 984 (libdispatch.dylib + 77888) [0x197774040] 1-11
11 _dispatch_client_callout + 20 (libdispatch.dylib + 17844) [0x1977655b4] 1-11
11 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 10324) [0x197763854] 1-11
11 ??? (Surge + 1363148) [0x102c00ccc] 1-11
11 ??? (Surge + 1347792) [0x102bfd0d0] 1-11
11 ??? (Surge + 1360544) [0x102c002a0] 1-11
11 ??? (Surge + 1347964) [0x102bfd17c] 1-11
11 ??? (Surge + 1700740) [0x102c53384] 1-11
11 ??? (Surge + 1220200) [0x102bdde68] 1-11
11 _dispatch_sync_f_slow + 148 (libdispatch.dylib + 81056) [0x197774ca0] 1-11
11 __DISPATCH_WAIT_FOR_QUEUE__ + 340 (libdispatch.dylib + 82136) [0x1977750d8] 1-11
11 _dispatch_event_loop_wait_for_ownership + 436 (libdispatch.dylib + 163904) [0x197789040] 1-11
11 kevent_id + 8 (libsystem_kernel.dylib + 11304) [0x1978d8c28] 1-11
*11 ??? (kernel.release.t6020 + 5656428) [0xfffffe0008c74f6c] (blocked by turnstile waiting for Surge [2759] thread 0x346fb) 1-11
Thread 0x346fb DispatchQueue "SGTCPConnectionManager"(1216) 11 samples (1-11) priority 47 (base 47) cpu time 1.001s (3.7G cycles, 12.0G instructions, 0.31c/i)
<process frontmost, thread QoS user interactive (requested user initiated, promote user interactive, workloop servicer override user initiated), process unclamped, process received importance donation from WindowServer [391], process received importance donation from distnoted [634], IO tier 0>
11 start_wqthread + 8 (libsystem_pthread.dylib + 8432) [0x1979130f0] 1-11
11 _pthread_wqthread + 288 (libsystem_pthread.dylib + 13272) [0x1979143d8] 1-11
11 _dispatch_workloop_worker_thread + 540 (libdispatch.dylib + 94700) [0x1977781ec] 1-11
11 _dispatch_root_queue_drain_deferred_wlh + 288 (libdispatch.dylib + 96672) [0x1977789a0] 1-11
11 _dispatch_lane_invoke + 380 (libdispatch.dylib + 50992) [0x19776d730] 1-11
11 _dispatch_lane_serial_drain + 768 (libdispatch.dylib + 48088) [0x19776cbd8] 1-11
11 _dispatch_client_callout + 20 (libdispatch.dylib + 17844) [0x1977655b4] 1-11
11 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 10324) [0x197763854] 1-11
11 ??? (Surge + 1220668) [0x102bde03c] 1-11
11 ??? (Surge + 1710820) [0x102c55ae4] 1-11
11 ??? (Surge + 2186640) [0x102cc9d90] 1-11
11 ??? (Surge + 1220200) [0x102bdde68] 1-11
11 _dispatch_lane_barrier_sync_invoke_and_complete + 56 (libdispatch.dylib + 81416) [0x197774e08] 1-11
11 _dispatch_client_callout + 20 (libdispatch.dylib + 17844) [0x1977655b4] 1-11
11 ??? (Surge + 1220388) [0x102bddf24] 1-11
11 ??? (Surge + 2187292) [0x102cca01c] 1-11
11 ??? (Surge + 2189752) [0x102cca9b8] 1-11
11 ??? (Surge + 1220240) [0x102bdde90] 1-11
11 ??? (Surge + 2191500) [0x102ccb08c] 1-11
1 ??? (Surge + 3333524) [0x102de1d94] (running) 1
1 ??? (Surge + 3333552) [0x102de1db0] (running) 2
1 ??? (Surge + 3333524) [0x102de1d94] (running) 3
1 ??? (Surge + 3333552) [0x102de1db0] (running) 4
1 ??? (Surge + 3333580) [0x102de1dcc] (running) 5
1 ??? (Surge + 3333524) [0x102de1d94] (running) 6
1 ??? (Surge + 3333500) [0x102de1d7c] (running) 7
1 ??? (Surge + 3333524) [0x102de1d94] (running) 8
2 ??? (Surge + 3333500) [0x102de1d7c] (running) 9-10
1 ??? (Surge + 3333472) [0x102de1d60] (running) 11
Thread 0x1091d Thread name "KSCrash Exception Handler (Secondary)" 11 samples (1-11) priority 31 (base 31)
<process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [391], process received importance donation from distnoted [634], IO tier 0>
11 thread_start + 8 (libsystem_pthread.dylib + 8444) [0x1979130fc] 1-11
11 _pthread_start + 136 (libsystem_pthread.dylib + 29412) [0x1979182e4] 1-11
11 ksmachexc_i_handleExceptions + 100 (Bugsnag + 176636) [0x1034d31fc] 1-11
11 thread_suspend + 108 (libsystem_kernel.dylib + 197720) [0x197906458] 1-11
11 mach_msg2_trap + 8 (libsystem_kernel.dylib + 3924) [0x1978d6f54] 1-11
*11 ??? (kernel.release.t6020 + 774572) [0xfffffe00087cd1ac] (suspended) 1-11
Thread 0x1091e Thread name "KSCrash Exception Handler (Primary)" 11 samples (1-11) priority 31 (base 31)
<process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [391], process received importance donation from distnoted [634], IO tier 0>
11 thread_start + 8 (libsystem_pthread.dylib + 8444) [0x1979130fc] 1-11
11 _pthread_start + 136 (libsystem_pthread.dylib + 29412) [0x1979182e4] 1-11
11 ksmachexc_i_handleExceptions + 152 (Bugsnag + 176688) [0x1034d3230] 1-11
11 mach_msg + 24 (libsystem_kernel.dylib + 4764) [0x1978d729c] 1-11
11 mach_msg_overwrite + 480 (libsystem_kernel.dylib + 39672) [0x1978dfaf8] 1-11
11 mach_msg2_trap + 8 (libsystem_kernel.dylib + 3924) [0x1978d6f54] 1-11
*11 ??? (kernel.release.t6020 + 237264) [0xfffffe0008749ed0] 1-11
Thread 0x10920 Thread name "com.bugsnag.app-hang-detector" 11 samples (1-11) priority 31 (base 31)
<process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [391], process received importance donation from distnoted [634], IO tier 0>
11 thread_start + 8 (libsystem_pthread.dylib + 8444) [0x1979130fc] 1-11
11 _pthread_start + 136 (libsystem_pthread.dylib + 29412) [0x1979182e4] 1-11
11 DetectAppHangs + 12 (Bugsnag + 193288) [0x1034d7308] 1-11
11 -[BSGAppHangDetector detectAppHangs] + 284 (Bugsnag + 193584) [0x1034d7430] 1-11
11 _dispatch_semaphore_wait_slow + 132 (libdispatch.dylib + 20996) [0x197766204] 1-11
11 semaphore_wait_trap + 8 (libsystem_kernel.dylib + 3792) [0x1978d6ed0] 1-11
*11 ??? (kernel.release.t6020 + 666712) [0xfffffe00087b2c58] 1-11
Thread 0x10926 Thread name "com.apple.NSEventThread" 11 samples (1-11) priority 47 (base 47) cpu time 0.002s (5.6M cycles, 8.5M instructions, 0.66c/i)
<process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [391], process received importance donation from distnoted [634], IO tier 0>
11 thread_start + 8 (libsystem_pthread.dylib + 8444) [0x1979130fc] 1-11
11 _pthread_start + 136 (libsystem_pthread.dylib + 29412) [0x1979182e4] 1-11
11 _NSEventThread + 148 (AppKit + 1442424) [0x19b69b278] 1-11
11 CFRunLoopRunSpecific + 588 (CoreFoundation + 505652) [0x1979fe734] 1-11
11 __CFRunLoopRun + 1212 (CoreFoundation + 508588) [0x1979ff2ac] 1-11
11 __CFRunLoopServiceMachPort + 160 (CoreFoundation + 514636) [0x197a00a4c] 1-11
11 mach_msg + 24 (libsystem_kernel.dylib + 4764) [0x1978d729c] 1-11
11 mach_msg_overwrite + 480 (libsystem_kernel.dylib + 39672) [0x1978dfaf8] 1-11
11 mach_msg2_trap + 8 (libsystem_kernel.dylib + 3924) [0x1978d6f54] 1-11
*11 ??? (kernel.release.t6020 + 237264) [0xfffffe0008749ed0] 1-11
Thread 0x10927 Thread name "com.apple.NSURLConnectionLoader" 11 samples (1-11) priority 31 (base 31)
<process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [391], process received importance donation from distnoted [634], IO tier 0>
11 thread_start + 8 (libsystem_pthread.dylib + 8444) [0x1979130fc] 1-11
11 _pthread_start + 136 (libsystem_pthread.dylib + 29412) [0x1979182e4] 1-11
11 __NSThread__start__ + 724 (Foundation + 345156) [0x198bc9444] 1-11
11 +[__CFN_CoreSchedulingSetRunnable _run:] + 416 (CFNetwork + 2447004) [0x19d30669c] 1-11
11 CFRunLoopRunSpecific + 588 (CoreFoundation + 505652) [0x1979fe734] 1-11
11 __CFRunLoopRun + 1212 (CoreFoundation + 508588) [0x1979ff2ac] 1-11
11 __CFRunLoopServiceMachPort + 160 (CoreFoundation + 514636) [0x197a00a4c] 1-11
11 mach_msg + 24 (libsystem_kernel.dylib + 4764) [0x1978d729c] 1-11
11 mach_msg_overwrite + 480 (libsystem_kernel.dylib + 39672) [0x1978dfaf8] 1-11
11 mach_msg2_trap + 8 (libsystem_kernel.dylib + 3924) [0x1978d6f54] 1-11
*11 ??? (kernel.release.t6020 + 237264) [0xfffffe0008749ed0] 1-11
Binary Images:
0x102ab4000 - 0x10318ffff com.nssurge.surge-mac 5.4.3 (2540) <EA2680EB-81DD-35DF-AD4A-157259428467> /Users/USER/*/Surge.app/Contents/MacOS/Surge
0x1034a8000 - 0x103503fff com.bugsnag.Bugsnag 6.27.0 (1) <9EAE454D-8523-3B48-8DB3-B58352906945> /Users/USER/*/Surge.app/Contents/Frameworks/Bugsnag.framework/Versions/A/Bugsnag
0x197592000 - 0x197613f3f dyld (1245.1) <398A133C-9BCB-317F-A064-A40D3CEA3C0F> /usr/lib/dyld
0x197761000 - 0x1977a7fff libdispatch.dylib (1504.60.7) <5576E4FD-AAD2-3608-8C8F-4EEC421236F9> /usr/lib/system/libdispatch.dylib
0x1978d6000 - 0x197910ff7 libsystem_kernel.dylib (11215.81.4) <EEE9D0D3-DFFC-37CB-9CED-B27CD0286D8C> /usr/lib/system/libsystem_kernel.dylib
0x197911000 - 0x19791dfff libsystem_pthread.dylib (535) <642FAF7A-874E-37E6-8ABA-2B0CC09A3025> /usr/lib/system/libsystem_pthread.dylib
0x197983000 - 0x197e77fff com.apple.CoreFoundation 6.9 (3302.1.400) <190E6A36-FCAA-3EA3-94BB-7009C44653DA> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x198b75000 - 0x1999bcfff com.apple.Foundation 6.9 (3302.1.400) <16D282D0-8B48-3E76-8036-FCB45DECE518> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x19b53b000 - 0x19c977fff com.apple.AppKit 6.9 (2575.40.6) <B88A44C1-D617-33DC-90ED-B6AB417C428E> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x19d0b1000 - 0x19d479fff com.apple.CFNetwork 1.0 (3826.400.120) <446389BE-E9E5-34D6-B055-567FAB324E8B> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x1a2e62000 - 0x1a3169fff com.apple.HIToolbox 2.1.1 (1219.3) <950F1236-ACAF-379D-819F-6C6B0B5DEABD> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
*0xfffffe0008710000 - 0xfffffe0008fd7fff kernel.release.t6020 (11215.81.4) <7D1BBF28-C747-36F9-9506-AB1E730EB3E5>__TEXT_EXEC /System/Library/Kernels/kernel.release.t6020