Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2020 17:49:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 249323] ports-mgmt/pkg audit -F Segmentation fault - 1.15.1, regression
Message-ID:  <bug-249323-32340-LnRsIVaV2c@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249323-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249323-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody)
<pkg@FreeBSD.org> for maintainer-feedback:
Bug 249323: ports-mgmt/pkg audit -F Segmentation fault - 1.15.1, regression
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249323



--- Description ---
pkg 1.15.1 crashes reliably during "pkg audit -F":

$ pkg audit -F
Fetching vuln.xml.bz2:	 0%Child process pid=3D53558 terminated abnormally:
Segmentation fault

Here's a stack trace from GDB:
(gdb) bt
#0  0x0000000800cc1e4e in fread_unlocked () from /lib/libc.so.7
#1  0x0000000800cc1db3 in fread () from /lib/libc.so.7
#2  0x00000000005002bc in pkg_fetch_file_to_fd (repo=3D0x0,=20
    url=3D0x800fba0f0 "http://vuxml.freebsd.org/freebsd/vuln.xml.bz2", dest=
=3D5,
t=3D0x7fffffffd798,=20
    offset=3D0, size=3D-1, silent=3Dfalse) at fetch.c:302
#3  0x00000000004ffa82 in pkg_fetch_file_tmp (repo=3D0x0,=20
    url=3D0x800fba0f0 "http://vuxml.freebsd.org/freebsd/vuln.xml.bz2",=20
    dest=3D0x7fffffffd920 "/tmp/vuln.xml.bz2.N5kBf2cN", t=3D0) at fetch.c:1=
12
#4  0x000000000047bfa2 in pkg_audit_fetch (
    src=3D0x800fba0f0 "http://vuxml.freebsd.org/freebsd/vuln.xml.bz2", dest=
=3D0x0)
    at pkg_audit.c:276
#5  0x00000000002adc00 in exec_audit (argc=3D0, argv=3D0x7fffffffe5b0) at
audit.c:164
#6  0x00000000002bbde9 in main (argc=3D2, argv=3D0x7fffffffe5a0) at main.c:=
886



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