From nobody Tue Dec 13 22:48:44 2022 X-Original-To: x11@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 4NWtvc5zFlz4jly9 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 4NWtvc45Bkz3sDG 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=D6vEJoLlSPCkw0dddX63i6O5WpTEufwBqIjyKXAf8g0=; b=Jk0e78qVBq1adXwBzwsLnbR6wBgAGNQCRWH1Zvp1Ujtz/PRBL74DUBHjjbPX8dr7g4B158 1Em9iEz9STB9EeFV8aOfaAVutWeEVkjxCyfPygV4whPHQqYw9P6C+JNN2Gu/kfIOSCyPJ/ s6bqLF+sF4yrkPMYFJ7J/qohvfSgJ23SBYv7fB58SkItAnSH2wiyuzmuyVs6IGIKPq9yrz 2PT5tvZ4LEw7AotaTT8NywSht/hxWBKzSRgk4KvYB75IaX9wAp8gXo26j5T1QD3arsN8YC TtCx+6BMIYStyq1/BzUHdxm1RpTQnbUs08esgLiUnggg0HwjM+LUHLb4M0F1UQ== 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=Sztuq4ic9jR962hRuuMCD8prNiM32K/uTRL1+kc4YlbSzNzkAysRsIcXY0QFECk3x8YpMi +wftvAkr4UJ0u9tPOJAqIKiYss1yeoLtDVGqv/OJQCyy4SSMGa9ZQ7ofGXoIgK7laiYnvr VkPb6E9ME2VQTgB5KwNUVJZAzeYs7H8IwfzGQObYSTo6CxeVK9ptjqXxG27R6cV52YaTGn zqvV5+oQgzobnlITjtvPbW5v0Zl2WTQA2Rv3JF5c9ah0l09QSiLMpY/n/hrqDSRgbOUH9C zY8ait5IhdRFTzocMlkx5QyxtYiQD2fG1thIwIjJBmGj6tKgRMJOP1yutKiyew== 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 4NWtvc2s3hzWKF 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 2BDMmiOi034885 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 2BDMmiin034883 for x11@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: x11@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: CC 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: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@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 on the CC list for the bug.=