SSH Shell crash while connect to URL addresses(latest ver.)

anybody else face it?

crash report:

System Integrity Protection: enabled

Crashed Thread: 3 Dispatch queue: com.codinn.libssh.session_queue

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

Application Specific Information:
*** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘NSWindow drag regions should only be invalidated on the Main Thread!’
terminating with uncaught exception of type NSException
abort() called

Ethan, SSH Shell is known has lots of bugs, could you please migrate to Core Shell?

migrated ,but it can’t afford features I need so I decide to use the old feature for now.but in last ver. of SSH shell this isn’t a problem.so what changes that?

Seemed like we introduced a bug in our last maintains release, will investigate it, sorry about the problem.

hello,

unusable since the update 18.11 …
you can not make a VI without the application crashing …

Time Awake Since Boot: 99000 seconds
Time Since Wake: 940 seconds

System Integrity Protection: disabled

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

Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [4935]

Could you please paste full crash log here? Thanks

It seemed to be related to a preference file. When I removed all files associated with the app except the app itself it started without any issues.

Process: SSH Shell [6388]
Path: /Applications/SSH Shell.app/Contents/MacOS/SSH Shell
Identifier: com.codinnstudio.sshshell
Version: 18.11 (646)
App Item ID: 981765152
App External ID: 829289528
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: SSH Shell [6388]
User ID: 502

Date/Time: 2018-11-22 14:15:02.569 +0100
OS Version: Mac OS X 10.14 (18A391)
Report Version: 12
Anonymous UUID: 07BF9849-9D9D-198B-FFAE-A547A2BE046E

Sleep/Wake UUID: 9A1B77C6-6F94-41F3-9D58-3D3CCC0B90B3

Time Awake Since Boot: 100000 seconds
Time Since Wake: 4700 seconds

System Integrity Protection: disabled

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

Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [6388]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.codinn.TermKit 0x00000001007b4686 0x10079d000 + 95878
1 com.codinn.TermKit 0x00000001007b5d8b 0x10079d000 + 101771
2 com.apple.AppKit 0x00007fff46e41ac3 -[NSView(NSInternal) _updateLayerGeometryFromView] + 735
3 com.apple.AppKit 0x00007fff46e66487 -[NSView setFrameSize:] + 1453
4 com.apple.AppKit 0x00007fff46ef9055 -[NSTextView(NSPrivate) _setFrameSize:forceScroll:] + 1056
5 com.apple.AppKit 0x00007fff46ef8b72 -[NSTextView setFrameSize:] + 138
6 com.apple.AppKit 0x00007fff46e52b24 -[NSTextView setConstrainedFrameSize:] + 627
7 com.apple.UIFoundation 0x00007fff71a80b7b -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] + 1118
8 com.apple.UIFoundation 0x00007fff71a7fda0 -[NSLayoutManager(NSPrivate) _recalculateUsageForTextContainerAtIndex:] + 2442
9 com.apple.UIFoundation 0x00007fff71a7f379 _enableTextViewResizing + 228
10 com.apple.UIFoundation 0x00007fff71a7d727 -[NSLayoutManager setTextStorage:] + 997
11 com.apple.UIFoundation 0x00007fff71ab6d80 -[NSTextStorage removeLayoutManager:] + 71
12 com.apple.UIFoundation 0x00007fff71ab6c61 -[NSLayoutManager replaceTextStorage:] + 809
13 com.codinn.TermKit 0x00000001007ee575 0x10079d000 + 333173
14 com.codinn.TermKit 0x00000001007f3145 0x10079d000 + 352581
15 com.codinn.TermKit 0x00000001007bbc8c 0x10079d000 + 126092
16 com.codinn.TermKit 0x00000001007f3181 0x10079d000 + 352641
17 com.codinn.TermKit 0x00000001007f31c1 0x10079d000 + 352705
18 com.codinn.TermKit 0x00000001007e6bee 0x10079d000 + 302062
19 libdispatch.dylib 0x00007fff768cfdcb _dispatch_client_callout + 8
20 libdispatch.dylib 0x00007fff768dbae9 _dispatch_async_and_wait_invoke + 87
21 libdispatch.dylib 0x00007fff768cfdcb _dispatch_client_callout + 8
22 libdispatch.dylib 0x00007fff768daf5f _dispatch_main_queue_callback_4CF + 1125
23 com.apple.CoreFoundation 0x00007fff4988a147 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
24 com.apple.CoreFoundation 0x00007fff49889856 __CFRunLoopRun + 2335
25 com.apple.CoreFoundation 0x00007fff49888ce4 CFRunLoopRunSpecific + 463
26 com.apple.HIToolbox 0x00007fff48b22895 RunCurrentEventLoopInMode + 293
27 com.apple.HIToolbox 0x00007fff48b225cb ReceiveNextEventCommon + 618
28 com.apple.HIToolbox 0x00007fff48b22348 _BlockUntilNextEventMatchingListInModeWithFilter + 64
29 com.apple.AppKit 0x00007fff46ddf95b _DPSNextEvent + 997
30 com.apple.AppKit 0x00007fff46dde6fa -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
31 com.apple.AppKit 0x00007fff46dd875d -[NSApplication run] + 699
32 com.apple.AppKit 0x00007fff46dc7e97 NSApplicationMain + 780
33 libdyld.dylib 0x00007fff7691e085 start + 1

Thread 1:
0 libsystem_pthread.dylib 0x00007fff76b0f408 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796

Thread 2:
0 libsystem_pthread.dylib 0x00007fff76b0f408 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796

Thread 3:: Dispatch queue: com.codinn.termkit.running
0 libsystem_kernel.dylib 0x00007fff76a5936a __ulock_wait + 10
1 libdispatch.dylib 0x00007fff768d05a8 _dispatch_ulock_wait + 47
2 libdispatch.dylib 0x00007fff768d0687 _dispatch_thread_event_wait_slow + 33
3 libdispatch.dylib 0x00007fff768dbc86 DISPATCH_WAIT_FOR_QUEUE + 294
4 libdispatch.dylib 0x00007fff768db8cb _dispatch_sync_f_slow + 171
5 com.codinn.TermKit 0x00000001007ecc01 0x10079d000 + 326657
6 com.codinn.TermKit 0x00000001007ee09c 0x10079d000 + 331932
7 com.codinn.TermKit 0x00000001007f3a26 0x10079d000 + 354854
8 com.codinn.TermKit 0x00000001007e84f0 0x10079d000 + 308464
9 libdispatch.dylib 0x00007fff768cfdcb _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff768d25d8 _dispatch_continuation_pop + 427
11 libdispatch.dylib 0x00007fff768e18e1 _dispatch_source_invoke + 2013
12 libdispatch.dylib 0x00007fff768d5fc5 _dispatch_lane_serial_drain + 271
13 libdispatch.dylib 0x00007fff768d6bd8 _dispatch_lane_invoke + 388
14 libdispatch.dylib 0x00007fff768df084 _dispatch_workloop_worker_thread + 603
15 libsystem_pthread.dylib 0x00007fff76b0f61c _pthread_wqthread + 409
16 libsystem_pthread.dylib 0x00007fff76b0f415 start_wqthread + 13

Thread 4:
0 libsystem_pthread.dylib 0x00007fff76b0f408 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796

Thread 5:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff76a56c2a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff76a57174 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff4988a05e __CFRunLoopServiceMachPort + 337
3 com.apple.CoreFoundation 0x00007fff498895ad __CFRunLoopRun + 1654
4 com.apple.CoreFoundation 0x00007fff49888ce4 CFRunLoopRunSpecific + 463
5 com.apple.AppKit 0x00007fff46de8581 _NSEventThread + 160
6 libsystem_pthread.dylib 0x00007fff76b1033d _pthread_body + 126
7 libsystem_pthread.dylib 0x00007fff76b132a7 _pthread_start + 70
8 libsystem_pthread.dylib 0x00007fff76b0f425 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000030 rdx: 0x7fffffffffffffff
rdi: 0x0000000000000000 rsi: 0x00007fff479f691c rbp: 0x00007ffeef64b050 rsp: 0x00007ffeef64aff0
r8: 0x0000000000000001 r9: 0x0000000000000001 r10: 0x000000010081ff98 r11: 0x00007fca41a549c0
r12: 0x0000000000000160 r13: 0x00007fca4075faa0 r14: 0x0000000000000118 r15: 0x0000000000000030
rip: 0x00000001007b4686 rfl: 0x0000000000010246 cr2: 0x000060000031d000

Logical CPU: 0
Error Code: 0x00000000
Trap Number: 6

Thanks for the log, I did a quick test with vim, but could not reproduce the issue. Could you please tell more about how to reproduce it?

seems like the dark mode gone with the bug. so pity

I know, that is the cost :neutral_face:

Version 18.11 was built on macOS Mojave, dark mode also enabled automatically, but can led compatibility issues which may be caused by Mojave SDK.

just using vi:

exploit@appliprod ~]$ vi test_sftp

The latest version of SSH Shell should have fixed the issue.