[MacPorts] #63405: openssh @8.4p1_6 on El Capitan broken today - also keychain gives error message.
MacPorts
noreply at macports.org
Thu Aug 26 12:42:18 UTC 2021
#63405: openssh @8.4p1_6 on El Capitan broken today - also keychain gives error
message.
---------------------------------------+--------------------
Reporter: snowflake | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.99
Resolution: | Keywords:
Port: openssh keychain openssl |
---------------------------------------+--------------------
Comment (by snowflake):
I compiled openssh with debugging symbols. `ssh` without any arguments
crashes.
Here's the lldb log:
{{{
Script started on Thu Aug 26 13:26:27 2021
command: lldb -X -f ssh
"crashlog" and "save_crashlog" command installed, use the "--help" option
for detailed help
"malloc_info", "ptr_refs", "cstr_refs", "find_variable", and "objc_refs"
commands have been installed, use the "--help" options on these commands
for detailed help.
(lldb) target create "ssh"
Current executable set to 'ssh' (x86_64).
(lldb) run
Process 42888 launched: '/Users/davidevans/junk/hello/ssh' (x86_64)
Process 42888 stopped
* thread #1: tid = 0x2e178, 0x00007fff85e4083a
libsystem_kernel.dylib`close + 10,
queue = 'com.apple.main-thread', stop reason = EXC_GUARD
(code=4611686022722355203, subcode=0x7fff74599568)
frame #0: 0x00007fff85e4083a libsystem_kernel.dylib`close + 10
libsystem_kernel.dylib`close:
-> 0x7fff85e4083a <+10>: jae 0x7fff85e40844 ; <+20>
0x7fff85e4083c <+12>: movq %rax, %rdi
0x7fff85e4083f <+15>: jmp 0x7fff85e3a7f2 ; cerror
0x7fff85e40844 <+20>: retq
(lldb) up 1
frame #1: 0x00000001000ad5b6 ssh`closefrom(lowfd=3) + 278 at bsd-
closefrom.c:114
111 goto fallback;
112 for (i = 0; i < r / (int)PROC_PIDLISTFD_SIZE; i++) {
113 if (fdinfo_buf[i].proc_fd >= lowfd)
-> 114 close(fdinfo_buf[i].proc_fd);
115 }
116 free(fdinfo_buf);
117 return;
(lldb) up 1
frame #2: 0x0000000100003b9f ssh`main(ac=1, av=0x00000001006043b0) + 415
at ssh.c:683
680 * Discard other fds that are hanging around. These can
cause problem
681 * with backgrounded ssh processes started by
ControlPersist.
682 */
-> 683 closefrom(STDERR_FILENO + 1);
684
685 /* Get user data. */
686 pw = getpwuid(getuid());
(lldb) quit
--
Ticket URL: <https://trac.macports.org/ticket/63405#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list