Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2025 20:54:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 284276] ports-mgmt/pkg: pkg-2.0.0 version often segfaults with -o or --origin option
Message-ID:  <bug-284276-32340-LRvoZqa3wA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-284276-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-284276-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 284276: ports-mgmt/pkg: pkg-2.0.0 version often segfaults with -o or
--origin option
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284276



--- Description ---
Starting from today, after the upgrade to pkg-2.0.0, I'm facing some segfau=
lts
using pkg version with the -o option.
Initially I noticed that because I use the 'pkg version -o -l "<"' every ti=
me I
update the ports tree, but later I tested that again and now it seems it is=
 not
happening anymore.

Anyway, the following are quite reproducible:
$ pkg version -o -l ">"
Child process pid=3D17984 terminated abnormally: Segmentation fault
$ pkg version -o -l "=3D"
Child process pid=3D57595 terminated abnormally: Segmentation fault
$ pkg version -o
Child process pid=3D65434 terminated abnormally: Segmentation fault

Omitting the -o option it exits with 0.

As I'm writing this, I ran
# gitup ports && pkg version -o -l "<"
and after a while it exited printing:
Child process pid=3D66670 terminated abnormally: Segmentation fault
Some files for a port I have installed have been downloaded and now it seems
that running 'pkg version -o' also with '-l "<"' is regularly crashing agai=
n.



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