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

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249323

            Bug ID: 249323
           Summary: ports-mgmt/pkg audit -F Segmentation fault - 1.15.1,
                    regression
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: asomers@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)
          Assignee: pkg@FreeBSD.org

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

--=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-249323-7788>