Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2022 19:55:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262488] SIGSEGV in strlen() caused by "pkg upgrade -Ffy"
Message-ID:  <bug-262488-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262488-227>