[MacPorts] #67539: openssh @9.3p1_1 Nearly all client programs crash with Segmentation Fault.
MacPorts
noreply at macports.org
Wed May 31 23:56:56 UTC 2023
#67539: openssh @9.3p1_1 Nearly all client programs crash with Segmentation Fault.
------------------------+----------------------
Reporter: snowflake | Owner: artkiver
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.99
Resolution: | Keywords:
Port: openssh |
------------------------+----------------------
Comment (by neverpanic):
Okay, this is weird. I can reproduce this with openssh @9.2p1_1 built from
source, openssh @9.3p1_1 built from source against OpenSSL 3.1.1, but not
openssh @9.2p1_1 downloaded from the buildbots when used with OpenSSL
3.1.1.
If I revert to OpenSSL 3.1.0 and rebuild openssl @9.3p1_1 from source,
that also crashes.
This makes me think the problem isn't OpenSSL, but the recompilation.
Maybe actually an issue with the generated binary?
The backtrace looks like something very early, potentially while loading
the binary or its libraries. The backtrace is in the ssh binary, though,
so this is very likely not related to OpenSSL:
{{{
:) cllang at cllang-mac:/opt/dports/net/openssh$ lldb /opt/local/bin/ssh
(lldb) target create "/opt/local/bin/ssh"
Current executable set to '/opt/local/bin/ssh' (x86_64).
(lldb) run -V
Process 49916 launched: '/opt/local/bin/ssh' (x86_64)
Process 49916 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x0)
frame #0: 0x00007ff8027dda82
libsystem_platform.dylib`_platform_memmove$VARIANT$Haswell + 194
libsystem_platform.dylib`:
-> 0x7ff8027dda82 <+194>: movb (%rsi,%r8), %cl
0x7ff8027dda86 <+198>: movb %cl, (%rdi,%r8)
0x7ff8027dda8a <+202>: subq $0x1, %rdx
0x7ff8027dda8e <+206>: je 0x7ff8027ddaa4 ; <+228>
Target 0: (ssh) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x0)
* frame #0: 0x00007ff8027dda82
libsystem_platform.dylib`_platform_memmove$VARIANT$Haswell + 194
frame #1: 0x000000010006ec66 ssh`___lldb_unnamed_symbol1199 + 36
frame #2: 0x0000000100004470 ssh`___lldb_unnamed_symbol412 + 368
frame #3: 0x00007ff80245941f dyld`start + 1903
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67539#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list