From nobody Fri Mar 11 19:55:24 2022 X-Original-To: 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 E78B41A1B445 for ; Fri, 11 Mar 2022 19:55:24 +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 4KFc9S4KRSz3Jq9 for ; Fri, 11 Mar 2022 19:55:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 746071F474 for ; Fri, 11 Mar 2022 19:55:24 +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 22BJtOl0064902 for ; Fri, 11 Mar 2022 19:55:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22BJtOJX064901 for bugs@FreeBSD.org; Fri, 11 Mar 2022 19:55:24 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: bugs@FreeBSD.org Subject: [Bug 262488] SIGSEGV in strlen() caused by "pkg upgrade -Ffy" Date: Fri, 11 Mar 2022 19:55:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dclarke@blastwave.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647028524; 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; bh=aer+SDT9pkKAgsn+S0JsvGBk8ez1j9F+3Hwj0++VDoE=; b=aMhnzREpsRjAPGF5OPey8BQVofQYq4rzfmhWpQmyfwnXO98z5v1x4AOW4xP2jEuL1pgEwL Mlwazyo4JwLxNqKBpL3/uJxeLScrRDeUKp6MkSDmelhx1ukfNvNqat84uugztBc3L494al zkjq6PKRMyqIxARMaujOQ1l/HJyM+x0fjRiP9EyoOul9IRw72GvJx0rmbvaiTDR0x5MACh glcKtq7TYsWaJEs3Go6GqqOTs/s96t9C5mWXPl7Ayy+essKiAgF3Sub6nDNeAFsVTtsM72 ngmB9boSdJ0irgzb4QyHAxu30j3CXZm5ubOuEeUWpX32Oor+B3wym78PiX//ow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647028524; a=rsa-sha256; cv=none; b=dChcrzYAjy9LH5DZbAKGEuZgoKt0Ov83XQK7T2pQS8YLuHAGsboQqImHPmdamOBWdhEhHS NLQqN/7hP9lQXLPnPtIXb4uovjdVdHkjFCefhWyH7FeadnvB0EnldcsN31mPv/kR8lyPvM uGeafewUT08QcDwq/R/nTcVN+6NPqCdGtnAr2UOQcDaAXW7g4tYtrqIQHZG7ESUFLq8tN6 voum26dA1IZlYbGJua9bvxoCHDd01Gw4wIo8PPnQsbZWnKfklhJsrWPaZDriz3Q7KRrBUZ rK3PhicCm4aJk2d9eCs0zDc3/GZKIEHZthlrMtmy4AvEoHAZAfWCqsWShjWPAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262488 Bug ID: 262488 Summary: SIGSEGV in strlen() caused by "pkg upgrade -Ffy" Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: dclarke@blastwave.org europa# uname -apKU FreeBSD europa 13.0-RELEASE-p7 FreeBSD 13.0-RELEASE-p7 #0: Mon Jan 31 18:24= :03 UTC 2022=20=20=20=20 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC= =20 amd64 amd64 1300139 1300139 europa#=20 europa# gdb -q pkg Reading symbols from pkg... (No debugging symbols found in pkg) (gdb) run upgrade -Ffy Starting program: /usr/sbin/pkg upgrade -Ffy process 1182 is executing new program: /usr/local/sbin/pkg Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking for upgrades (395 candidates): 40% Program received signal SIGSEGV, Segmentation fault. Address not mapped to object. 0x0000000800cfc25f in strlen () from /lib/libc.so.7 (gdb) where #0 0x0000000800cfc25f in strlen () from /lib/libc.so.7 #1 0x0000000000484de5 in pkg_jobs_universe_find () #2 0x00000000004960be in pkg_jobs_try_remote_candidate () #3 0x0000000000495cf9 in pkg_jobs_find_upgrade () #4 0x0000000000492f14 in pkg_jobs_solve () #5 0x00000000002b245e in exec_upgrade () #6 0x00000000002ab986 in main () (gdb) quit=20 A debugging session is active. Inferior 1 [process 1182] will be killed. Quit anyway? (y or n) y europa#=20 This is repeatable and I have seen it four times today regardless=20 of gdb or not and I have core files. --=20 You are receiving this mail because: You are the assignee for the bug.=