isontheline / pro.webssh.net

iOS / iPadOS / macOS SSH Client
https://apps.apple.com/us/app/id497714887
MIT License
317 stars 46 forks source link

WebSSH crashing when opening new tabs #1236

Open WeterPeter opened 13 hours ago

WeterPeter commented 13 hours ago

Bug description

Put here a clear and concise description of what the bug is When I open a new tab with CMD-T WebSSH crashes. This does not happen just after startup but after a while using it (only SSH sessions).

Steps to reproduce

  1. CMD-T after some time only using several SSH logins to Linux servers.
  2. crash, no error messages

crash report:

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

Process:               WebSSH [6312]
Path:                  /Applications/WebSSH.app/Contents/MacOS/WebSSH
Identifier:            com.itimeteo.webssh
Version:               28.1 (1440)
App Item ID:           497714887
App External ID:       870435375
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-11-21 10:40:32.8372 +0100
OS Version:            macOS 15.1 (24B83)
Report Version:        12
Anonymous UUID:        A9A29DF4-5CD1-2F54-10B3-1AB3E436D8A7

Time Awake Since Boot: 340000 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x0000000185688228

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [6312]

Application Specific Backtrace 0:
0   CoreFoundation                      0x00000001818fc300 __exceptionPreprocess + 176
1   libobjc.A.dylib                     0x00000001813e2cd8 objc_exception_throw + 88
2   Foundation                          0x0000000182af9478 -[NSCalendarDate initWithCoder:] + 0
3   UIKitCore                           0x00000001b32437ac -[UINavigationBar layoutSubviews] + 692
4   UIKitCore                           0x00000001b320e65c -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1856
5   UIKitCore                           0x00000001b324347c -[UINavigationBar layoutSublayersOfLayer:] + 192
6   QuartzCore                          0x000000018a304a0c _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 516
7   QuartzCore                          0x000000018a49384c _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 516
8   QuartzCore                          0x000000018a2e7888 _ZN2CA11Transaction6commitEv + 648
9   AppKit                              0x00000001854d73b0 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 272
10  AppKit                              0x0000000185eae79c ___NSRunLoopObserverCreateWithHandler_block_invoke + 64
11  CoreFoundation                      0x0000000181889078 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
12  CoreFoundation                      0x0000000181888f64 __CFRunLoopDoObservers + 552
13  CoreFoundation                      0x0000000181888594 __CFRunLoopRun + 788
14  CoreFoundation                      0x0000000181887bc4 CFRunLoopRunSpecific + 588
15  HIToolbox                           0x000000018ccf7f64 RunCurrentEventLoopInMode + 292
16  HIToolbox                           0x000000018ccfdd54 ReceiveNextEventCommon + 636
17  HIToolbox                           0x000000018ccfdeb8 _BlockUntilNextEventMatchingListInModeWithFilter + 76
18  AppKit                              0x00000001853b3a08 _DPSNextEvent + 660
19  AppKit                              0x0000000185cf3e0c -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
20  AppKit                              0x00000001853a6ae0 -[NSApplication run] + 480
21  AppKit                              0x000000018537d364 NSApplicationMain + 888
22  AppKit                              0x00000001855cb870 +[NSWindow _savedFrameFromString:] + 0
23  UIKitMacHelper                      0x000000019c0bab38 UINSApplicationMain + 972
24  UIKitCore                           0x00000001b31863a8 UIApplicationMain + 148
25  WebSSH                              0x000000010076e0bc main + 76
26  dyld                                0x0000000181420274 start + 2840

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   AppKit                                 0x185688228 -[NSApplication _crashOnException:] + 256
1   AppKit                                 0x1854d7524 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 644
2   AppKit                                 0x185eae79c ___NSRunLoopObserverCreateWithHandler_block_invoke + 64
3   CoreFoundation                         0x181889078 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
4   CoreFoundation                         0x181888f64 __CFRunLoopDoObservers + 552
5   CoreFoundation                         0x181888594 __CFRunLoopRun + 788
6   CoreFoundation                         0x181887bc4 CFRunLoopRunSpecific + 588
7   HIToolbox                              0x18ccf7f64 RunCurrentEventLoopInMode + 292
8   HIToolbox                              0x18ccfdd54 ReceiveNextEventCommon + 636
9   HIToolbox                              0x18ccfdeb8 _BlockUntilNextEventMatchingListInModeWithFilter + 76
10  AppKit                                 0x1853b3a08 _DPSNextEvent + 660
11  AppKit                                 0x185cf3e0c -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
12  AppKit                                 0x1853a6ae0 -[NSApplication run] + 480
13  AppKit                                 0x18537d364 NSApplicationMain + 888
14  AppKit                                 0x1855cb870 _NSApplicationMainWithInfoDictionary + 24
15  UIKitMacHelper                         0x19c0bab38 UINSApplicationMain + 972
16  UIKitCore                              0x1b31863a8 UIApplicationMain + 148
17  WebSSH                                 0x10076e0bc main + 76
18  dyld                                   0x181420274 start + 2840

Thread 1:: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib                 0x181761e34 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x1817745d0 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x18176a9d8 mach_msg_overwrite + 480
3   libsystem_kernel.dylib                 0x18176217c mach_msg + 24
4   CoreFoundation                         0x181889edc __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x18188873c __CFRunLoopRun + 1212
6   CoreFoundation                         0x181887bc4 CFRunLoopRunSpecific + 588
7   Foundation                             0x182a46808 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8   Foundation                             0x182ab9d4c -[NSRunLoop(NSRunLoop) runUntilDate:] + 100
9   UIKitCore                              0x1b3187774 -[UIEventFetcher threadMain] + 104
10  Foundation                             0x182a40734 __NSThread__start__ + 724
11  libsystem_pthread.dylib                0x1817a32e4 _pthread_start + 136
12  libsystem_pthread.dylib                0x18179e0fc thread_start + 8

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib                 0x181761e34 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x1817745d0 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x18176a9d8 mach_msg_overwrite + 480
3   libsystem_kernel.dylib                 0x18176217c mach_msg + 24
4   CoreFoundation                         0x181889edc __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x18188873c __CFRunLoopRun + 1212
6   CoreFoundation                         0x181887bc4 CFRunLoopRunSpecific + 588
7   AppKit                                 0x1854d8b8c _NSEventThread + 148
8   libsystem_pthread.dylib                0x1817a32e4 _pthread_start + 136
9   libsystem_pthread.dylib                0x18179e0fc thread_start + 8

Thread 3:
0   libsystem_kernel.dylib                 0x181761db0 semaphore_wait_trap + 8
1   libdispatch.dylib                      0x1815f0bf4 _dispatch_sema4_wait + 28
2   libdispatch.dylib                      0x1815f12a8 _dispatch_semaphore_wait_slow + 132
3   UIKitCore                              0x1b3609e58 0x1b3182000 + 4750936
4   UIKitCore                              0x1b33ea3c4 0x1b3182000 + 2524100
5   Foundation                             0x182a40734 __NSThread__start__ + 724
6   libsystem_pthread.dylib                0x1817a32e4 _pthread_start + 136
7   libsystem_pthread.dylib                0x18179e0fc thread_start + 8

Thread 4::  Dispatch queue: com.apple.root.utility-qos
0   libsystem_kernel.dylib                 0x18176ce9c __select + 8
1   WebSSH                                 0x101a93204 ChilkatSocket::waitReadableMsHB(unsigned int, SocketParams&, LogBase&) + 508
2   WebSSH                                 0x101a93de8 ChilkatSocket::sockRecv_nb(unsigned char*, unsigned int&, bool, unsigned int, SocketParams&, LogBase&) + 528
3   WebSSH                                 0x101a94018 ChilkatSocket::sockRecvN_nb(unsigned char*, unsigned int&, bool, unsigned int, SocketParams&, LogBase&) + 104
4   WebSSH                                 0x101c02d9c s972668zz::tlsRecvN_nb(unsigned char*, unsigned int&, bool, unsigned int, SocketParams&, LogBase&) + 108
5   WebSSH                                 0x101c13920 s495908zz::rcvFirstBlock(unsigned int, unsigned char*, bool, unsigned int, SocketParams&, LogBase&) + 148
6   WebSSH                                 0x101c13af8 s495908zz::s828766zz(DataBuffer&, bool, unsigned int, SocketParams&, LogBase&) + 124
7   WebSSH                                 0x101c2025c s495908zz::s18087zz(SshReadParams&, SocketParams&, LogBase&) + 348
8   WebSSH                                 0x101c25b58 s495908zz::readChannelData2(unsigned int, bool, SshReadParams&, SocketParams&, LogBase&) + 520
9   WebSSH                                 0x101940030 ClsSsh::ChannelPoll(int, int, ProgressEvent*) + 580
10  WebSSH                                 0x10177faec CkSsh::ChannelPoll(int, int) + 112
11  WebSSH                                 0x1015070ac -[CkoSsh ChannelPoll:pollTimeoutMs:] + 60
12  WebSSH                                 0x10078cd18 -[SSHWrapper isDataAvailableForRead] + 204
13  WebSSH                                 0x10078c80c -[SSHWrapper checkDataAvailable] + 424
14  libdispatch.dylib                      0x1815ee8f8 _dispatch_call_block_and_release + 32
15  libdispatch.dylib                      0x1815f0658 _dispatch_client_callout + 20
16  libdispatch.dylib                      0x1816024e8 _dispatch_root_queue_drain + 860
17  libdispatch.dylib                      0x181602b20 _dispatch_worker_thread2 + 156
18  libsystem_pthread.dylib                0x18179f39c _pthread_wqthread + 228
19  libsystem_pthread.dylib                0x18179e0f0 start_wqthread + 8

Thread 5::  Dispatch queue: com.apple.root.utility-qos
0   libsystem_kernel.dylib                 0x18176ce9c __select + 8
1   WebSSH                                 0x101a93204 ChilkatSocket::waitReadableMsHB(unsigned int, SocketParams&, LogBase&) + 508
2   WebSSH                                 0x101a93de8 ChilkatSocket::sockRecv_nb(unsigned char*, unsigned int&, bool, unsigned int, SocketParams&, LogBase&) + 528
3   WebSSH                                 0x101a94018 ChilkatSocket::sockRecvN_nb(unsigned char*, unsigned int&, bool, unsigned int, SocketParams&, LogBase&) + 104
4   WebSSH                                 0x101c02d9c s972668zz::tlsRecvN_nb(unsigned char*, unsigned int&, bool, unsigned int, SocketParams&, LogBase&) + 108
5   WebSSH                                 0x101c13920 s495908zz::rcvFirstBlock(unsigned int, unsigned char*, bool, unsigned int, SocketParams&, LogBase&) + 148
6   WebSSH                                 0x101c13af8 s495908zz::s828766zz(DataBuffer&, bool, unsigned int, SocketParams&, LogBase&) + 124
7   WebSSH                                 0x101c2025c s495908zz::s18087zz(SshReadParams&, SocketParams&, LogBase&) + 348
8   WebSSH                                 0x101c25b58 s495908zz::readChannelData2(unsigned int, bool, SshReadParams&, SocketParams&, LogBase&) + 520
9   WebSSH                                 0x101940030 ClsSsh::ChannelPoll(int, int, ProgressEvent*) + 580
10  WebSSH                                 0x10177faec CkSsh::ChannelPoll(int, int) + 112
11  WebSSH                                 0x1015070ac -[CkoSsh ChannelPoll:pollTimeoutMs:] + 60
12  WebSSH                                 0x10078cd18 -[SSHWrapper isDataAvailableForRead] + 204
13  WebSSH                                 0x10078c80c -[SSHWrapper checkDataAvailable] + 424
14  libdispatch.dylib                      0x1815ee8f8 _dispatch_call_block_and_release + 32
15  libdispatch.dylib                      0x1815f0658 _dispatch_client_callout + 20
16  libdispatch.dylib                      0x1816024e8 _dispatch_root_queue_drain + 860
17  libdispatch.dylib                      0x181602b20 _dispatch_worker_thread2 + 156
18  libsystem_pthread.dylib                0x18179f39c _pthread_wqthread + 228
19  libsystem_pthread.dylib                0x18179e0f0 start_wqthread + 8

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

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

Thread 8:
0   libsystem_pthread.dylib                0x18179e0e8 start_wqthread + 0

Thread 9:: JavaScriptCore libpas scavenger
0   libsystem_kernel.dylib                 0x1817655cc __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1817a3894 _pthread_cond_wait + 1204
2   JavaScriptCore                         0x1c8c588bc scavenger_thread_main + 1308
3   libsystem_pthread.dylib                0x1817a32e4 _pthread_start + 136
4   libsystem_pthread.dylib                0x18179e0fc thread_start + 8

Thread 10:
0   libsystem_pthread.dylib                0x18179e0e8 start_wqthread + 0

Thread 11:
0   libsystem_pthread.dylib                0x18179e0e8 start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x00000001529a9000   x1: 0x0000000152dc8a46   x2: 0xffffffffffffffe5   x3: 0x00000001529a9a25
    x4: 0x000000000041f001   x5: 0x0000000000000020   x6: 0x00000001529a9000   x7: 0x0000000000000a65
    x8: 0x00000001e48a8000   x9: 0x8444ab0c7d6f00ce  x10: 0x8444ab0c7d6f00ce  x11: 0x00000000000000ff
   x12: 0x000000000000002f  x13: 0x000000015293bee0  x14: 0x01000001e68d05b1  x15: 0x00000001e68d05b0
   x16: 0x00000001817d7db0  x17: 0x00000001eeb117c0  x18: 0x0000000000000000  x19: 0x000060000846c570
   x20: 0x0000600001e00040  x21: 0x00000775c8fbb7f7  x22: 0x000000015200e070  x23: 0x000000016f696190
   x24: 0x000000015200e068  x25: 0x0000000000000000  x26: 0x0000600003a0fca0  x27: 0x0000600008408150
   x28: 0x0000000181889650   fp: 0x000000016f696000   lr: 0x0000000185688220
    sp: 0x000000016f695fc0   pc: 0x0000000185688228 cpsr: 0x60001000
   far: 0x0000000000000000  esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
       0x100768000 -        0x103efffff com.itimeteo.webssh (28.1) <d65539a1-1f6a-3184-804d-0877403bfb6c> /Applications/WebSSH.app/Contents/MacOS/WebSSH
       0x105a28000 -        0x105a37fff Acube.ios-system (1.0) <3f2b8293-6a16-3c88-abd7-1f41ad2969f6> /Applications/WebSSH.app/Contents/Frameworks/ios_system.framework/Versions/A/ios_system
       0x105cbc000 -        0x105ceffff Nicolas-Holzschuch.tar (1.0) <d2827b65-fb86-394a-a1a5-100e265f7276> /Applications/WebSSH.app/Contents/Frameworks/tar.framework/Versions/A/tar
       0x105e94000 -        0x105ecbfff Nicolas-Holzschuch.files (1.0) <05144df4-8cbc-3719-a8e4-6bc8c8e27ed6> /Applications/WebSSH.app/Contents/Frameworks/files.framework/Versions/A/files
       0x1070a4000 -        0x1072abfff Nicolas-Holzschuch.curl (1.0) <b89f233e-8f85-3d54-882a-7d11d4876643> /Applications/WebSSH.app/Contents/Frameworks/curl_ios.framework/Versions/A/curl_ios
       0x10665c000 -        0x106817fff com.github.krzyzanowskim.OpenSSL (1.1.1100) <2718f084-11f4-32a9-9970-261ec3ec9346> /Applications/WebSSH.app/Contents/Frameworks/OpenSSL.framework/Versions/A/OpenSSL
       0x108c34000 -        0x108e5ffff Nicolas-Holzschuch.ssh-cmd (1.0) <59b77dac-2c67-3c72-bf96-e6f36eb2cf0e> /Applications/WebSSH.app/Contents/Frameworks/ssh_cmd.framework/Versions/A/ssh_cmd
       0x106150000 -        0x10617ffff Nicolas-Holzschuch.text (1.0) <0bbb1d70-08af-328d-9231-b29e5b25920c> /Applications/WebSSH.app/Contents/Frameworks/text.framework/Versions/A/text
       0x10985c000 -        0x109a07fff Nicolas-Holzschuch.network-ios (1.0) <4efca1f1-2741-3fd3-b102-e90bba4a6ab5> /Applications/WebSSH.app/Contents/Frameworks/network_ios.framework/Versions/A/network_ios
       0x105994000 -        0x1059affff Nicolas-Holzschuch.awk (1.0) <348fe108-8743-3223-ad2d-f74e2add14f9> /Applications/WebSSH.app/Contents/Frameworks/awk.framework/Versions/A/awk
       0x105b58000 -        0x105b67fff Nicolas-Holzschuch.shell (1.0) <8bea6283-7fff-3765-ac4e-f638c553ff93> /Applications/WebSSH.app/Contents/Frameworks/shell.framework/Versions/A/shell
       0x105c34000 -        0x105c3ffff libobjc-trampolines.dylib (*) <f1242604-dcb7-30a9-a19a-182991e6e645> /usr/lib/libobjc-trampolines.dylib
       0x10f28c000 -        0x10f92bfff com.apple.AGXMetalG13X (322.10) <e863b7d4-d308-3f26-a59f-9dc04134c15e> /System/Library/Extensions/AGXMetalG13X.bundle/Contents/MacOS/AGXMetalG13X
       0x114480000 -        0x11448bfff com.apple.UIKitMacHelper.axbundle (1.0) <8fdc2f01-1c6f-3050-ba5b-6ffc8d42f6fe> /System/Library/Accessibility/BundlesBase/com.apple.UIKitMacHelper.axbundle/Versions/A/com.apple.UIKitMacHelper
       0x185379000 -        0x186774fff com.apple.AppKit (6.9) <49d8b1b6-0ea8-36ad-89fd-a41acf00a742> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x18180c000 -        0x181d00fff com.apple.CoreFoundation (6.9) <ae4610f8-7c5c-3484-858e-cae7457d206e> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x18cbec000 -        0x18cef3fff com.apple.HIToolbox (2.1.1) <738685cb-aca1-3dfe-91c5-192bab97a042> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
       0x19c0b6000 -        0x19c1d0fff com.apple.UIKitMacHelper (1.0) <588088d6-e882-3da6-93ec-c4122a4782cc> /System/Library/PrivateFrameworks/UIKitMacHelper.framework/Versions/A/UIKitMacHelper
       0x1b3182000 -        0x1b4e92fff com.apple.UIKitCore (1.0) <ca64b2f8-5483-319f-ad06-04f9e79eb017> /System/iOSSupport/System/Library/PrivateFrameworks/UIKitCore.framework/Versions/A/UIKitCore
       0x18141a000 -        0x18149c7b3 dyld (*) <6beafde4-b011-3e47-8aae-4d7b6e4bb7e8> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x1817d4000 -        0x1817dbfe3 libsystem_platform.dylib (*) <7d01a5f7-2dbb-36b1-b44d-04d289d8f4b0> /usr/lib/system/libsystem_platform.dylib
       0x181761000 -        0x18179bff7 libsystem_kernel.dylib (*) <9fea25a4-e8ca-3f3d-901c-a53ff2bc7217> /usr/lib/system/libsystem_kernel.dylib
       0x1829ec000 -        0x18382bfff com.apple.Foundation (6.9) <9b5ba00d-2241-342d-9949-f2f517d6989e> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
       0x18179c000 -        0x1817a8fff libsystem_pthread.dylib (*) <3b8268be-4e02-3b4a-8b41-baed2bbaacff> /usr/lib/system/libsystem_pthread.dylib
       0x1815ec000 -        0x181632fff libdispatch.dylib (*) <9ea577db-73c2-39d8-9fc0-544fa595a142> /usr/lib/system/libdispatch.dylib
       0x1c7596000 -        0x1c8e37f1f com.apple.JavaScriptCore (20619) <d260c4dc-4c69-321d-addc-864f8e115617> /System/iOSSupport/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore

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.7G resident=0K(0%) swapped_out_or_unallocated=1.7G(100%)
Writable regions: Total=9.5G written=2779K(0%) resident=2779K(0%) swapped_out=0K(0%) unallocated=9.4G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               512K        4 
Activity Tracing                   256K        1 
AttributeGraph Data               1024K        1 
CG image                          1296K       42 
ColorSync                          560K       29 
CoreAnimation                     23.6M      639 
CoreGraphics                        48K        3 
CoreImage                          528K        2 
CoreServices                       624K        2 
CoreUI image data                 3792K       28 
Foundation                         144K        3 
Kernel Alloc Once                   32K        1 
MALLOC                             5.1G      167 
MALLOC guard page                  384K       24 
STACK GUARD                       56.2M       12 
Stack                             13.8M       12 
VM_ALLOCATE                      128.6M       31 
VM_ALLOCATE (reserved)             3.9G        1         reserved VM address space (unallocated)
WebKit Malloc                    352.1M       11 
__AUTH                            6296K      764 
__AUTH_CONST                      76.6M     1004 
__CTF                               824        1 
__DATA                            32.0M      999 
__DATA_CONST                      27.1M     1024 
__DATA_DIRTY                      2813K      349 
__FONT_DATA                        2352        1 
__INFO_FILTER                         8        1 
__LINKEDIT                       609.7M       15 
__LLVM                            32.2M        9 
__OBJC_RW                         2354K        1 
__TEXT                             1.1G     1046 
__TPRO_CONST                       272K        2 
mapped file                      370.0M       96 
owned unmapped memory             3040K        1 
page table in kernel              2779K        1 
shared memory                     1440K       17 
===========                     =======  ======= 
TOTAL                             11.8G     6344 
TOTAL, minus reserved VM space     7.9G     6344 
github-actions[bot] commented 13 hours ago

Thank you for your feedback! 🙏 Arnaud (@isontheline) will respond within a few hours. In the meantime, please feel free to add any additional information that may help us resolve or improve WebSSH.

isontheline commented 10 hours ago

Hello @WeterPeter 👋

Thank you a lot for your crash report!

I'm now searching the root cause and hope to provide a fix very soon.

isontheline commented 10 hours ago

In the meantime @WeterPeter if you some time, could you please use WebSSH beta? It will allow me to receive further crash reports seamlessly : https://testflight.apple.com/join/QSrBK59z

isontheline commented 10 hours ago

I'm trying to reproduce with no luck, yet

isontheline commented 10 hours ago

OK found a trace

*** Assertion failure in -[UINavigationBar layoutSubviews], UINavigationBar.m:3895
Layout requested for visible navigation bar, <UINavigationBar: 0x12fd4bee0; frame = (0 103; 1588.5 50); opaque = NO; autoresize = W; tintColor = UIExtendedSRGBColorSpace 1 1 1 1; gestureRecognizers = <NSArray: 0x600002358810>; layer = <CALayer: 0x600002ef0880>> delegate=0x128917a00 standardAppearance=0x600000419420 scrollEdgeAppearance=0x60000041bd40, when the top item belongs to a different navigation bar. topItem = <UINavigationItem: 0x12fe10b10> title='Review' style=navigator hidesBackButton leftBarButtonItems=0x600002d059a0 rightBarButtonItems=0x600002eb3820, navigation bar = <UINavigationBar: 0x1298c65e0; frame = (0 103; 1588.5 50); opaque = NO; autoresize = W; tintColor = <UIDynamicProviderColor: 0x600002d0c7c0; provider = <__NSGlobalBlock__: 0x1f11f66d8>>; gestureRecognizers = <NSArray: 0x600002053ed0>; layer = <CALayer: 0x600002fc4f40>> delegate=0x129101a00 standardAppearance=0x60000041b720 scrollEdgeAppearance=0x60000041a3e0, possibly from a client attempt to nest wrapped navigation controllers.
(
    0   CoreFoundation                      0x0000000187dd8ec0 __exceptionPreprocess + 176
    1   libobjc.A.dylib                     0x00000001878becd8 objc_exception_throw + 88
    2   Foundation                          0x0000000188fd5588 -[NSCalendarDate initWithCoder:] + 0
    3   UIKitCore                           0x00000001b9502cb4 -[UINavigationBar layoutSubviews] + 692
    4   UIKitCore                           0x00000001b94cdc3c -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1856
    5   UIKitCore                           0x00000001b9502984 -[UINavigationBar layoutSublayersOfLayer:] + 192
    6   QuartzCore                          0x00000001907aef24 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 516
    7   QuartzCore                          0x000000019093ce98 _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 516
    8   QuartzCore                          0x0000000190791db0 _ZN2CA11Transaction6commitEv + 648
    9   AppKit                              0x000000018b9cc3e8 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 272
    10  AppKit                              0x000000018c387e8c ___NSRunLoopObserverCreateWithHandler_block_invoke + 64
    11  CoreFoundation                      0x0000000187d657a8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
    12  CoreFoundation                      0x0000000187d65694 __CFRunLoopDoObservers + 552
    13  CoreFoundation                      0x0000000187d64cc4 __CFRunLoopRun + 788
    14  CoreFoundation                      0x0000000187d64334 CFRunLoopRunSpecific + 572
    15  HIToolbox                           0x000000019319d0cc RunCurrentEventLoopInMode + 292
    16  HIToolbox                           0x00000001931a2d1c ReceiveNextEventCommon + 220
    17  HIToolbox                           0x00000001931a3020 _BlockUntilNextEventMatchingListInModeWithFilter + 76
    18  AppKit                              0x000000018b8a8a70 _DPSNextEvent + 660
    19  AppKit                              0x000000018c1ce7b8 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
    20  AppKit                              0x000000018b89bb7c -[NSApplication run] + 480
    21  AppKit                              0x000000018b87244c NSApplicationMain + 888
    22  AppKit                              0x000000018bac08e4 +[NSWindow _savedFrameFromString:] + 0
    23  UIKitMacHelper                      0x00000001a24e58b0 UINSApplicationMain + 972
    24  UIKitCore                           0x00000001b9445c40 UIApplicationMain + 148
    25  WebSSH.debug.dylib                  0x000000010c3dfa64 __debug_main_executable_dylib_entry_point + 96
    26  dyld                                0x00000001878fc274 start + 2840
)
isontheline commented 10 hours ago

Happens when you do "CMD + T" or "CMD + T" and then choosing an existing session?

WeterPeter commented 2 hours ago

No, Only cmd-t then crash but not always and only after running some time (hours).

WeterPeter commented 2 hours ago

I'm trying to reproduce with no luck, yet

  • When you mean several sessions, how many are you using?
  • Do you have any forwardings running while crash occurs?

Two or three sessions max, I have no more servers to connect to. I do not use any forwardings.

WeterPeter commented 2 hours ago

In the meantime @WeterPeter if you some time, could you please use WebSSH beta?

It will allow me to receive further crash reports seamlessly :

https://testflight.apple.com/join/QSrBK59z

Ok, I will tomorrow.