[Bug 262488] SIGSEGV in strlen() caused by "pkg upgrade -Ffy"
Date: Fri, 11 Mar 2022 19:55:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262488
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
root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
amd64 amd64 1300139 1300139
europa#
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
A debugging session is active.
Inferior 1 [process 1182] will be killed.
Quit anyway? (y or n) y
europa#
This is repeatable and I have seen it four times today regardless
of gdb or not and I have core files.
--
You are receiving this mail because:
You are the assignee for the bug.