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:   [Bug 284276] ports-mgmt/pkg: pkg-2.0.0 version often segfaults with -o or --origin option
Message-ID:  <bug-284276-32340@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 284276
           Summary: ports-mgmt/pkg: pkg-2.0.0 version often segfaults with
                    -o or --origin option
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: discipline@tiscali.it
             Flags: maintainer-feedback?(pkg@FreeBSD.org)
          Assignee: pkg@FreeBSD.org

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.

--=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-284276-32340>