Bug#33647: dpkg segfault: more info.
Thanks God, I'm not the only one with that problem.
There are two problems here.
The first one (the one that causes the coredump) I'm assuming is a l10n
problem, since it goes away when I set LC_ALL to C. I guess the l10n people
should be told about that...
The second one (the one that's driving me up the wall) looks like this:
sysadmin@ptml2371:[~] #env LC_ALL=C dpkg -i libpam0g_0.66-4.deb
(Reading database ... 33445 files and directories currently installed.)
Preparing to replace libpam0g 0.66-4 (using libpam0g_0.66-4.deb) ...
Unpacking replacement libpam0g ...
gzip: stdout: Broken pipe
dpkg-deb: subprocess gzip -dc returned error exit status 1
dpkg: error processing libpam0g_0.66-4.deb (--install):
subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Errors were encountered while processing:
libpam0g_0.66-4.deb
Exit 1
But...
sysadmin@ptml2371:[~] #dpkg-deb --fsys-tarfile libpam0g_0.66-4.deb | tar tf -
[Snip - no errors reported by tar or dpkg-deb.]
dpkg-deb -e and dpkg-deb -x also complete without problems.
I also tried gzipping and gunzipping the /usr/doc and that completed
without errors, so I don't think the problem is gzip.
The problem is very repeatable, but it occurs only on some packages (samba,
gimp, libpam0g, etc. from unstable). I tried downgrading to the dpkg from
frozen and that didn't help.
I've attached the output of dpkg -D33 to this message.
Once again, HELP! This is driving me nuts.
Christian
ii libstdc++2.9 2.91.60-5 The GNU stdc++ library (egcs version)
ii dpkg 1.4.0.33 Package maintenance system for Debian Linux
ii libc6 2.0.7.19981211 GNU C Library: shared libraries
D000010: ensure_pathname_nonexisting `/var/lib/dpkg/tmp.ci'
(Reading database ... 33445 files and directories currently installed.)
Preparing to replace libpam0g 0.66-4 (using libpam0g_0.66-4.deb) ...
D000001: process_archive oldversionstatus=broken due to failed removal conflictor=<none>
D000002: fork/exec /var/lib/dpkg/tmp.ci/preinst ( preinst upgrade 0.66-4 )
Unpacking replacement libpam0g ...
D000010: tarobject ti->Name=`.' Mode=40755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/.' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/..dpkg-new'
D000010: ensure_pathname_nonexisting `/..dpkg-tmp'
D000010: tarobject ti->Name=`lib' Mode=40755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/lib' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/lib.dpkg-new'
D000010: ensure_pathname_nonexisting `/lib.dpkg-tmp'
D000010: tarobject ti->Name=`lib/libpam.so.0.66' Mode=100644 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/lib/libpam.so.0.66' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/lib/libpam.so.0.66.dpkg-new'
D000010: ensure_pathname_nonexisting `/lib/libpam.so.0.66.dpkg-tmp'
D000010: tarobject ti->Name=`lib/libpam_misc.so.0.66' Mode=100644 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/lib/libpam_misc.so.0.66' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/lib/libpam_misc.so.0.66.dpkg-new'
D000010: ensure_pathname_nonexisting `/lib/libpam_misc.so.0.66.dpkg-tmp'
D000010: tarobject ti->Name=`lib/security' Mode=40755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/lib/security' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/lib/security.dpkg-new'
D000010: ensure_pathname_nonexisting `/lib/security.dpkg-tmp'
D000010: tarobject ti->Name=`lib/libpam_misc.so.0' Mode=120777 owner=0.0 Type=50(l) ti->LinkName=`libpam_misc.so.0.66' namenode=`/lib/libpam_misc.so.0' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/lib/libpam_misc.so.0.dpkg-new'
D000010: ensure_pathname_nonexisting `/lib/libpam_misc.so.0.dpkg-tmp'
D000010: tarobject ti->Name=`lib/libpam.so.0' Mode=120777 owner=0.0 Type=50(l) ti->LinkName=`libpam.so.0.66' namenode=`/lib/libpam.so.0' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/lib/libpam.so.0.dpkg-new'
D000010: ensure_pathname_nonexisting `/lib/libpam.so.0.dpkg-tmp'
D000010: tarobject ti->Name=`usr' Mode=40755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/usr' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/usr.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr.dpkg-tmp'
D000010: tarobject ti->Name=`usr/doc' Mode=40755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/usr/doc' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/usr/doc.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/doc.dpkg-tmp'
D000010: tarobject ti->Name=`usr/doc/libpam0g' Mode=40755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/usr/doc/libpam0g' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g.dpkg-tmp'
D000010: tarobject ti->Name=`usr/doc/libpam0g/README.gz' Mode=100644 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/usr/doc/libpam0g/README.gz' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/README.gz.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/README.gz.dpkg-tmp'
D000010: tarobject ti->Name=`usr/doc/libpam0g/TODO' Mode=100644 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/usr/doc/libpam0g/TODO' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/TODO.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/TODO.dpkg-tmp'
D000010: tarobject ti->Name=`usr/doc/libpam0g/README.Debian' Mode=100644 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/usr/doc/libpam0g/README.Debian' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/README.Debian.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/README.Debian.dpkg-tmp'
D000010: tarobject ti->Name=`usr/doc/libpam0g/TODO.Debian' Mode=100644 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/usr/doc/libpam0g/TODO.Debian' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/TODO.Debian.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/TODO.Debian.dpkg-tmp'
D000010: tarobject ti->Name=`usr/doc/libpam0g/copyright' Mode=100644 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/usr/doc/libpam0g/copyright' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/copyright.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/copyright.dpkg-tmp'
D000010: tarobject ti->Name=`usr/doc/libpam0g/changelog.gz' Mode=100644 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/usr/doc/libpam0g/changelog.gz' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/changelog.gz.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/changelog.gz.dpkg-tmp'
D000010: tarobject ti->Name=`usr/doc/libpam0g/CHANGELOG.gz' Mode=100644 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/usr/doc/libpam0g/CHANGELOG.gz' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/CHANGELOG.gz.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/CHANGELOG.gz.dpkg-tmp'
D000010: tarobject ti->Name=`usr/doc/libpam0g/changelog.Debian.gz' Mode=100644 owner=0.0 Type=48(-) ti->LinkName=`' namenode=`/usr/doc/libpam0g/changelog.Debian.gz' flags=2 instead=`<none>'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/changelog.Debian.gz.dpkg-new'
D000010: ensure_pathname_nonexisting `/usr/doc/libpam0g/changelog.Debian.gz.dpkg-tmp'
gzip: stdout: Broken pipe
dpkg-deb: subprocess gzip -dc returned error exit status 1
dpkg: error processing libpam0g_0.66-4.deb (--install):
subprocess dpkg-deb --fsys-tarfile returned error exit status 2
D000010: cu_installnew `/usr/doc/libpam0g/changelog.Debian.gz' flags=12
D000010: cu_installnew `/usr/doc/libpam0g/CHANGELOG.gz' flags=12
D000010: cu_installnew `/usr/doc/libpam0g/changelog.gz' flags=12
D000010: cu_installnew `/usr/doc/libpam0g/copyright' flags=12
D000010: cu_installnew `/usr/doc/libpam0g/TODO.Debian' flags=12
D000010: cu_installnew `/usr/doc/libpam0g/README.Debian' flags=12
D000010: cu_installnew `/usr/doc/libpam0g/TODO' flags=12
D000010: cu_installnew `/usr/doc/libpam0g/README.gz' flags=12
D000010: cu_installnew `/lib/libpam.so.0' flags=12
D000010: cu_installnew `/lib/libpam_misc.so.0' flags=12
D000010: cu_installnew `/lib/libpam_misc.so.0.66' flags=12
D000010: cu_installnew `/lib/libpam.so.0.66' flags=12
D000002: maintainer_script_new nonexistent postrm `/var/lib/dpkg/tmp.ci/postrm'
D000010: ensure_pathname_nonexisting `/var/lib/dpkg/tmp.ci'
D000010: ensure_pathname_nonexisting running rm -rf
D000010: ensure_pathname_nonexisting `/var/lib/dpkg/reassemble.deb'
Errors were encountered while processing:
libpam0g_0.66-4.deb
Reply to: