Date: Tue, 13 Dec 2022 22:48:44 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268033] x11/xscreensaver: Crashing and dumping core on unlock Message-ID: <bug-268033-7788-hmgNxcpV92@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-268033-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-268033-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268033 --- Comment #6 from Duncan Bayne <duncan@bayne.id.au> --- Okay, it seems to be going bang inside the PAM auth code. Having rebuilt w= ith -faddress=3Dsanitize in both CFLAGS and LDFLAGS: xscreensaver-auth: 09:46:59: pwnam: couldn't get password of "duncan" xscreensaver-auth: 09:46:59: running as user "duncan" xscreensaver-auth: 09:46:59: PAM: pam_start ("xscreensaver", "duncan", ...)= =3D=3D> 0 (Success) xscreensaver-auth: 09:46:59: pam_set_item (p, PAM_TTY, ":0.0") =3D=3D> 0 (Success) xscreensaver-auth: 09:46:59: pam_authenticate (...) ... xscreensaver-auth: 09:46:59: pam_conversation (ECHO_OFF=3D"Password:") = ... xscreensaver-auth: 09:46:59: mouse is at 1669,594 on monitor 0 1920x1080+0+0 "eDP-1" xscreensaver-auth: 09:46:59: theme: default xscreensaver-auth: 09:47:00: kbd layout: English (US) xscreensaver-auth: 09:47:00: re-creating window: size changed xscreensaver-auth: 09:47:02: X11 KeyPress xscreensaver-auth: 09:47:02: X11 KeyPress ... redacted ... xscreensaver-auth: 09:47:04: X11 KeyPress xscreensaver-auth: 09:47:04: authentication input finished xscreensaver-auth: 09:47:04: pam_conversation (...) =3D=3D> PAM_SUCCESS xscreensaver-auth: 09:47:04: pam_authenticate (...) =3D=3D> 0 (Success) xscreensaver-auth: 09:47:04: pam_acct_mgmt (...) =3D=3D> 0 (Success) AddressSanitizer:DEADLYSIGNAL =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D11906=3D=3DERROR: AddressSanitizer: SEGV on unknown address 0x0000000= 00000 (pc 0x0008007e9e84 bp 0x7fffffffdf30 sp 0x7fffffffd6e8 T0) =3D=3D11906=3D=3DThe signal is caused by a READ memory access. =3D=3D11906=3D=3DHint: address points to the zero page. #0 0x8007e9e84 in strlen (/lib/libc.so.7+0x157e84) #1 0x8018f60c0 (/usr/lib/pam_exec.so.6+0x20c0) #2 0x8018f674f (/usr/lib/pam_exec.so.6+0x274f) #3 0x8005c3a21 in openpam_dispatch (/usr/lib/libpam.so.6+0x7a21) #4 0x8005c7e4b in pam_setcred (/usr/lib/libpam.so.6+0xbe4b) #5 0x31a138 in pam_try_unlock /usr/ports/x11/xscreensaver/work/xscreensaver-6.04/driver/passwd-pam.c:251:= 17 #6 0x3165eb in xscreensaver_auth /usr/ports/x11/xscreensaver/work/xscreensaver-6.04/driver/passwd.c:245:14 #7 0x2f78bf in main /usr/ports/x11/xscreensaver/work/xscreensaver-6.04/driver/xscreensaver-auth= .c:325:12 #8 0x273dcf in _start /usr/src/lib/csu/amd64/crt1_c.c:75:7 #9 0x800357007 (<unknown module>) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/lib/libc.so.7+0x157e84) in strlen =3D=3D11906=3D=3DABORTING --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268033-7788-hmgNxcpV92>