Bug#153723: dpkg: segfault removing zapping
Package: dpkg
Version: 1.9.21
Severity: important
I have Debug::pkgDPkgPM "true"; in my apt.conf, but this problem persists
without it
tv:/home/tparker# apt-get remove zapping
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
tv:/home/tparker# dpkg --configure -a
tv:/home/tparker# apt-get remove zapping
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
zapping
0 packages upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
Need to get 0B of archives. After unpacking 1978kB will be freed.
Do you want to continue? [Y/n] y
/usr/bin/dpkg --force-depends --force-remove-essential --remove zapping
tv:/home/tparker# /usr/bin/dpkg --force-depends --force-remove-essential --remove zapping
(Reading database ... Segmentation fault
tv:/home/tparker# find / -name core
/dev/core
/proc/sys/net/core
tv:/home/tparker#
I get this interesting entry in /var/log/messages:
Jul 21 21:43:13 tv kernel: invalid operand: 0000
Jul 21 21:43:13 tv kernel: CPU: 0
Jul 21 21:43:13 tv kernel: EIP: 0010:[<c017c634>] Not tainted
Jul 21 21:43:13 tv kernel: EFLAGS: 00010202
Jul 21 21:43:13 tv kernel: eax: 0000000f ebx: 00001000 ecx: 0000000d edx: 00000000
Jul 21 21:43:13 tv kernel: esi: 00000000 edi: c255e000 ebp: c754d0d8 esp: c440fc68
Jul 21 21:43:13 tv kernel: ds: 0018 es: 0018 ss: 0018
Jul 21 21:43:13 tv kernel: Process dpkg (pid: 287, stackpage=c440f000)
Jul 21 21:43:13 tv kernel: Stack: 00000001 00000000 00004000 00000000 00000000 c255d000 c754f180 0000032a
Jul 21 21:43:13 tv kernel: 0000d5c6 00000001 fffffffe 00040000 4000044b 00000000 c77130e0 0000032a
Jul 21 21:43:13 tv kernel: 0000d5c6 00000001 0000022b 00000000 00000003 00000000 00000282 00000004
Jul 21 21:43:13 tv kernel: Call Trace: [<c017d99c>] [<c017e0bf>] [<c017e0da>] [<c017a504>] [<c0131b84>]
Jul 21 21:43:13 tv kernel: [<c0140cb6>] [<c0132738>] [<c012b1e0>] [<c01249ac>] [<c017cb90>] [
Invoking the remove command again causes dpkg to hang with no messages in the
log and no way to kill it. kill -9 does nothing. Attempting to attach gdb
causes gdb to hang also.
Last night I discovered filesystem corruption and rebuilt the reiserfs tree,
possibly some parts of the package management system are corrupt. If you are
interested I can provide copies of any files that might be useful.
This is completely repeatable, after a reboot exactly the same thing happens,
although I haven't checked to see if the log entries differ. I can provide 2
or 3 more if that helps.
I haven't checked to see if removing other packages, or adding packages,
also causes this problem.
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux tv 2.4.18 #2 Mon Mar 11 22:39:40 NZDT 2002 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages dpkg depends on:
ii libc6 2.2.5-10 GNU C Library: Shared libraries an
ii libncurses5 5.2.20020112a-7 Shared libraries for terminal hand
ii libstdc++2.10-glibc2.2 1:2.95.4-7 The GNU stdc++ library
--
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: