tech-pkg archive

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

odd pkg_info segfault



While dealing with the pthread upgrade issue, I noticed pkg_info is a
wee bit too fragile.  This is netbsd base system pkg_info from current,
on amd64.  Is anyone else seeing this?  Just mkdir /var/db/pkg/foo and
run pkg_info to reproduce.


foobar root 46 /var/db/pkg #> pkg_info
bash-3.2.25         The GNU Bourne Again Shell
sudo-1.6.9p10       Allow others to run commands as root
ir-account-0.1nb1   Copy accounts among systems and manage sudo privs
m4-1.4.11nb1        GNU version of UNIX m4 macro language processor
pkg_chk-1.94        Check installed package versions against pkgsrc
pkg_tarup-1.7.1     Generates binary package(s) from installed pkg(s)
pkg_rolling-replace-0.16nb1 Replace/upgrade packages in-place
readline-5.2nb1     GNU library that can recall and edit previous input
libltdl-1.5.24      Generic shared library support (libltdl abstraction library)
gmp-4.2.2nb1        Library for arbitrary precision arithmetic
guile-1.8.5         GNU's Ubiquitous Intelligent Language for Extension
digest-20080510     Message digest wrapper utility
jpeg-6bnb4          IJG's jpeg compression utilities
tiff-3.8.2nb3       Library and tools for reading and writing TIFF data files
png-1.2.29          Library for manipulating PNG images
libungif-4.1.4nb1   Tools and library routines for working with GIF images
emacs-22.1nb5       GNU editing macros (editor)
rsync-3.0.2         Network file distribution/synchronisation utility
apr-1.2.12          Apache Portable Runtime
expat-2.0.1         XML parser library written in C
apr-util-1.2.10     Apache Portable Runtime utilities
neon-0.26.3nb2      HTTP and WebDAV client library
subversion-base-1.4.6nb4 Version control system, base programs and libraries
gmake-3.81          GNU version of 'make' utility
bison-2.3           GNU yacc(1) replacement
flex-2.5.35         Fast clone of lex(1), the lexical scanner generator
etcmanage-0.4       Automatically manage files in /etc
paranoia-960101     Highly paranoid test of IEEE 754 conformance
foobar root 47 /var/db/pkg #> mkdir bogus-3.3
foobar root 48 /var/db/pkg #> pkg_info
bash-3.2.25         The GNU Bourne Again Shell
sudo-1.6.9p10       Allow others to run commands as root
ir-account-0.1nb1   Copy accounts among systems and manage sudo privs
m4-1.4.11nb1        GNU version of UNIX m4 macro language processor
pkg_chk-1.94        Check installed package versions against pkgsrc
pkg_tarup-1.7.1     Generates binary package(s) from installed pkg(s)
pkg_rolling-replace-0.16nb1 Replace/upgrade packages in-place
readline-5.2nb1     GNU library that can recall and edit previous input
libltdl-1.5.24      Generic shared library support (libltdl abstraction library)
gmp-4.2.2nb1        Library for arbitrary precision arithmetic
guile-1.8.5         GNU's Ubiquitous Intelligent Language for Extension
digest-20080510     Message digest wrapper utility
Segmentation fault (core dumped)



Home | Main Index | Thread Index | Old Index