pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39544: pkg_info dumps core on bogus pkg-db-dir



>Number:         39544
>Category:       pkg
>Synopsis:       pkg_info dumps core on bogus pkg-db-dir
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 14 16:35:00 +0000 2008
>Originator:     hubertf
>Release:        -current as of 20080913
>Organization:
NetBSD
>Environment:
# pkg_info -V
20080223
>Description:
I had all pkgs deleted with "pkg_delete -rR \*". During that process, perl 
somehow dumped core in /var/db/pkg/perl-*. Subsequently, pkg_info dumped core - 
apparently it cannot handle malformed/non-standard pkg-db-dir contents.

>How-To-Repeat:
vmnetbsd# mkdir /var/db/pkg/foo-17.42
vmnetbsd# pkg_info
pkg_install-20080423 Package management and administration tools for pkgsrc
Segmentation fault (core dumped)

>Fix:
nfi



Home | Main Index | Thread Index | Old Index