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

Bug#2804: dpkg 1.1.5 segfaults with local passwd "diversion"



Package: dpkg
Version: 1.1.5elf

dpkg dumped core when I tried to install the new "passwd" package.  I
have a local version of the passwd program, so I have used:
dpkg-divert --local /usr/bin/passwd
so that passwd is diverted to passwd.distrib.

When I removed this diversion the install worked fine.

I could upload the core, strace or output with --debug to chiark, if you
want any of it.

Here are the last few lines of the strace:

read(7, "root:*:0:root\ndaemon:*:1:\nbin:"..., 4096) = 697
lseek(7, -683, SEEK_CUR)                = 14
close(7)                                = 0
lstat("/usr/bin/passwd.distrib", 0xbffff588) = -1 ERRNO_2 (No such file or directory)
rename("/usr/bin/passwd.distrib.dpkg-tmp", "/usr/bin/passwd.distrib") = -1 ERRNO_2 (No such file or directory)
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

and those of the debug:

D001000: process_archive checking disappearance hdparm
D002000: process_archive saved by `/usr/sbin/hdparm'
D001000: process_archive checking disappearance amslatex
D002000: process_archive saved by `/usr/doc/copyright/amslatex'
D000010: process_archive looking for overwriting `/etc/shells'
D000100: process_archive ... found in passwd


Michael.

--
Michael Nonweiler <mrn20@cam.ac.uk>
Trinity College, Cambridge.


Reply to: