From nobody Tue Dec 13 22:48:44 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NWtvc5zGVz4jm5l for ; Tue, 13 Dec 2022 22:48:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NWtvc4F2Nz3s1L for ; Tue, 13 Dec 2022 22:48:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670971724; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/lESRx7mECp4mAYs/ntc48C0iGzwBhEyfKf+lrm/pz4=; b=OFgybNw8nL8LvOAl3alkD9AFQBqzwNxaB+GOzUX8S/HLgPE5XD//hJf/RioD01OkpzAVzf OcPx8PQkOMSVKw2GPMiD7OVo22YiLx0jGuTZ2SvsQuBnyMxtufN/OzvT078LuxUid3eqF1 Qn4Hkvy3VMhWTxbrPuyektqBF+neqLKfb2yRE1ESDzVeiGaLZ3xEUqy0f3cQ13Y1nxN5kQ ye4Ns0NM8rPvTJS0WYUYUf5ZOo69Iiisjulcxbxd9ruFz05H4+DYY8E+4YjitmpCNEwzVw 2h4rk9hiflDNMKVPAjPn3qTO6IcmtrroYAhDl8ILbby/hG7olzD+4laF/QSJoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670971724; a=rsa-sha256; cv=none; b=K8aPqyY9D4s7ppj0NTc8/KI9MrSAx9KgeJaqspbIUjBfJM2jjVG1F1WAoU9oFew+wOPf6e oyYRn7MyCC/FndY6CXCf3ZeCBJYfMd06Gf3ZQubbe19OKo/jyUYBraf4xo6qGx9iq5r7X6 zN9iNu5MIsVoFFgHVxUsG0pkXmJTyVpb96TZqnYm8PQQFMi+oI6UoazdpVhxsLmOB3LZ03 L8ah51AJEG8czv/q+t7c0IfxOiOuiFwvyAD5+F9k2CsM6zf1PHm86wUGrC3NcCHmTZGHz8 Bbjskg83zTrNCy05HJrRfFvGv/+AJqxJIpU+/F+5sNcUYcS8K7v5Sswr//0YAQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NWtvc31YFzWdH for ; Tue, 13 Dec 2022 22:48:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BDMmi40034889 for ; Tue, 13 Dec 2022 22:48:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BDMmiSZ034888 for ports-bugs@FreeBSD.org; Tue, 13 Dec 2022 22:48:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268033] x11/xscreensaver: Crashing and dumping core on unlock Date: Tue, 13 Dec 2022 22:48:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: duncan@bayne.id.au X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268033 --- Comment #6 from Duncan Bayne --- 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 () 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.=