Bug#1103418: openssh-server irregularly crashing since 10.0p1 upgrade

Liam Stitt <[email protected]>
Newsgroups gmane.linux.debian.devel.ssh
Message-ID <alpine.DEB.2.20.2504172249040.5296__14280.8053338499$1744953689$gmane$org@arnold.cuug.ab.ca>
On Thu, 17 Apr 2025, Colin Watson wrote:

I got this far:

> * install the gdb and systemd-coredump packages

Whereupon I discovered that, obviously enough, it's also necessary to 
restart the sshd service. You may want to make note of that if these are 
canned instructions.

This minor speedbump aside, I have attached the 'bt' output from gdb.


-- 
Liam Stitt
[email protected]
sshd-backtrace.txt (text/plain, 2.6 KB)
#0  0x00007f1ad4d0361d in __printf_buffer (buf=buf@entry=0x7ffd280c1110,
    format=0x7f1ad4809000 "%s/.ecryptfs/%s", ap=ap@entry=0x7ffd280c1240,
    mode_flags=mode_flags@entry=2) at ./stdio-common/vfprintf-internal.c:600
#1  0x00007f1ad4d28a6b in __vasprintf_internal (result=0x7ffd280c1328,
    format=<optimized out>, args=args@entry=0x7ffd280c1240,
    mode_flags=mode_flags@entry=2) at ./libio/vasprintf.c:102
#2  0x00007f1ad4dbbbef in ___asprintf_chk (
    result_ptr=result_ptr@entry=0x7ffd280c1328, flag=flag@entry=1,
    format=format@entry=0x7f1ad4809000 "%s/.ecryptfs/%s") at ./debug/asprintf_chk.c:34
#3  0x00007f1ad48073d7 in asprintf (__ptr=0x7ffd280c1328,
    __fmt=0x7f1ad4809000 "%s/.ecryptfs/%s")
    at /usr/include/x86_64-linux-gnu/bits/stdio2.h:206
#4  file_exists_dotecryptfs (homedir=homedir@entry=0x559b2722eec0 "/home/frink",
    filename=filename@entry=0x7f1ad4809026 "auto-mount")
    at ./src/pam_ecryptfs/pam_ecryptfs.c:55
#5  0x00007f1ad4807ace in pam_sm_authenticate (pamh=0x559b272603d0,
    flags=<optimized out>, argc=<optimized out>, argv=<optimized out>)
    at ./src/pam_ecryptfs/pam_ecryptfs.c:169
#6  0x00007f1ad56634de in _pam_dispatch_aux (pamh=0x559b272811f0, flags=1,
    h=0x559b272811f0, resumed=<optimized out>, use_cached_chain=<optimized out>)
    at ../libpam/pam_dispatch.c:110
#7  _pam_dispatch (pamh=pamh@entry=0x559b272603d0, flags=1, choice=choice@entry=1)
    at ../libpam/pam_dispatch.c:411
--Type <RET> for more, q to quit, c to continue without paging--c
#8  0x00007f1ad5662be3 in pam_authenticate (pamh=0x559b272603d0, flags=flags@entry=1)
    at ../libpam/pam_auth.c:34
#9  0x0000559aee761a70 in sshpam_auth_passwd (authctxt=authctxt@entry=0x559b2726ae90,
    password=password@entry=0x559b27288cb0 "mmAhpCs-") at ../../auth-pam.c:1378
#10 0x0000559aee72da8b in auth_password (ssh=ssh@entry=0x559b27267480,
    password=0x559b27288cb0 "mmAhpCs-") at ../../auth-passwd.c:116
#11 0x0000559aee74dab7 in mm_answer_authpassword (ssh=0x559b27267480, sock=9,
    m=0x559b2726b220) at ../../monitor.c:1050
#12 0x0000559aee75066e in monitor_read (ssh=ssh@entry=0x559b27267480,
    pmonitor=pmonitor@entry=0x559b2726ae40,
    ent=0x559aee82d350 <mon_dispatch_proto20+112>, pent=pent@entry=0x7ffd281016d0)
    at ../../monitor.c:550
#13 0x0000559aee753b96 in monitor_child_preauth (ssh=ssh@entry=0x559b27267480,
    pmonitor=0x559b2726ae40) at ../../monitor.c:319
#14 0x0000559aee72b621 in privsep_preauth (ssh=0x559b27267480)
    at ../../sshd-session.c:367
#15 main (ac=<optimized out>, av=<optimized out>) at ../../sshd-session.c:1320
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.