tested on freebsd 11,4 and 12,1: pkg is homebuild on poudriere # pkg audit -F Child process pid=12392 terminated abnormally: Segmentation fault started this morning at 7 ish am after update to 1.15.1
it appears to resolve itself if installing a "original" pkg ala: # pkg The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/latest, please wait... Installing pkg-1.14.7... Extracting pkg-1.14.7: 100% pkg: not enough arguments Usage: pkg [-v] [-d] [-l] [-N] [-j <jail name or id>|-c <chroot path>|-r <rootdir>] [-C <configuration file>] [-R <repo config dir>] [-o var=value] [-4|-6] <command> [<args>] For more information on available commands and options see 'pkg help'. pkg audit -F Fetching vuln.xml.bz2: 100% 878 KiB 899.5kB/s 00:01 0 problem(s) in 0 installed package(s) found. and then reinstalling the poudriere version...
# pkg audit -F Fetching vuln.xml.bz2: 0%Child process pid=84575 terminated abnormally: Segmentation fault # pkg audit -F -f /usr/ports/security/vuxml/vuln.xml vulnxml file up-to-date 0 problem(s) in 0 installed package(s) found. # pkg -v 1.15.1
still on 1.15.2 # pkg audit -F Fetching vuln.xml.bz2: 0%Child process pid=90892 terminated abnormally: Segmentation fault # pkg -v 1.15.2
should be fixed in pkg 1.15.3, sorry about that
A commit references this bug: Author: bapt Date: Tue Sep 8 19:22:41 UTC 2020 New revision: 548043 URL: https://svnweb.freebsd.org/changeset/ports/548043 Log: Update to 1.15.3 - Fix fetching files not belonging to a repo (fixes pkg audit -F) PR: 249185 Reported by: Peter Larsen Changes: head/ports-mgmt/pkg/Makefile head/ports-mgmt/pkg/distinfo
confirmed fixed, thank you # pkg audit -F Fetching vuln.xml.bz2: 100% 878 KiB 899.5kB/s 00:01 0 problem(s) in 0 installed package(s) found. # pkg -v 1.15.3