Package: zlib1g
Version: 1:1.2.3.4.dfsg-1
Severity: grave
Justification: renders package unusable

Hi,

It seems that zlib1g 1:1.2.3.4.dfsg-1 broke something.

To reproduce: In a clean minimal unstable chroot (amd64), install man-db
=> hangs on "Setting up man-db (2.5.6-4) ...
Building database of manual pages ..."
Strace log:
stat("/usr/share/man/zh_CN/man8/useradd.8.gz", {st_mode=S_IFREG|0644,
st_size=3181, ...}) = 0
stat("/usr/share/man/zh_CN/man8/useradd.8.gz", {st_mode=S_IFREG|0644,
st_size=3181, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/usr/share/man/zh_CN/man8/useradd.8.gz", O_RDONLY) = 7
pipe([8, 9])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x7f2d102727c0) = 27409
close(7)                                = 0
close(9)                                = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pipe([7, 9])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x7f2d102727c0) = 27410
close(8)                                = 0
close(9)                                = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) =
27409
wait4(-1, 0x7fff1dd0ab34, WNOHANG, NULL) = 0
rt_sigreturn(0xffffffffffffffff)        = 0
read(7, ".\\\" $Id: useradd.8 1342 2007-11-"..., 1024) = 1024
read(7, "LIED WARRANTIES OF MERCHANTABILI"..., 1024) = 1024
read(7, "n_dir ] \" |\" \" \" \\-M ]\n.RB [ \\-s"..., 1024) = 1024
read(7, "\351\220\247 \351\215\217 \351\217\203 \351\216\265
\346\265\243 \351\220\242 \351\220\250 \\fIh"..., 1024) = 1024
read(7,  <unfinished ...>

With strace -f:
open("/usr/share/man/zh_CN/man8/useradd.8", O_RDONLY) = 7
pipe([8, 9])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
clone(Process 31180 attached (waiting for parent)
Process 31180 resumed (parent 27450 ready)
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f00585b37c0) = 31180
[pid 31180] rt_sigaction(SIGHUP, NULL, {0x411290, [], SA_RESTORER, 
0x7f0057c5efd0}, 8) = 0
[pid 31180] rt_sigaction(SIGHUP, {0x411290, [], SA_RESTORER, 0x7f0057c5efd0}, 
NULL, 8) = 0
[pid 31180] rt_sigaction(SIGINT, NULL, {0x411290, [], SA_RESTORER, 
0x7f0057c5efd0}, 8) = 0
[pid 31180] rt_sigaction(SIGINT, {0x411290, [], SA_RESTORER, 0x7f0057c5efd0}, 
NULL, 8) = 0
[pid 31180] rt_sigaction(SIGTERM, NULL, {0x411290, [], SA_RESTORER, 
0x7f0057c5efd0}, 8) = 0
[pid 31180] rt_sigaction(SIGTERM, {0x411290, [], SA_RESTORER, 0x7f0057c5efd0}, 
NULL, 8) = 0
[pid 31180] dup2(7, 0)                  = 0
[pid 31180] close(7)                    = 0
[pid 31180] dup2(9, 1)                  = 1
[pid 31180] close(9)                    = 0
[pid 31180] close(8)                    = 0
[pid 31180] dup(0)                      = 7
[pid 31180] rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
[pid 31180] rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
[pid 31180] pipe([8, 9])                = 0
[pid 31180] rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
[pid 31180] clone(Process 31181 attached (waiting for parent)
 <unfinished ...>
[pid 27450] close(7)                    = 0
[pid 27450] close(9)                    = 0
[pid 27450] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 27450] read(8, Process 31181 resumed (parent 31180 ready)
 <unfinished ...>
[pid 31180] <... clone resumed> child_stack=0, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f00585b37c0) = 31181
[pid 31181] rt_sigaction(SIGHUP, NULL, {0x411290, [], SA_RESTORER, 
0x7f0057c5efd0}, 8) = 0
[pid 31181] rt_sigaction(SIGHUP, {0x411290, [], SA_RESTORER, 0x7f0057c5efd0}, 
NULL, 8) = 0
[pid 31181] rt_sigaction(SIGINT, NULL, {0x411290, [], SA_RESTORER, 
0x7f0057c5efd0}, 8) = 0
[pid 31181] rt_sigaction(SIGINT, {0x411290, [], SA_RESTORER, 0x7f0057c5efd0}, 
NULL, 8) = 0
[pid 31181] rt_sigaction(SIGTERM, NULL, {0x411290, [], SA_RESTORER, 
0x7f0057c5efd0}, 8) = 0
[pid 31181] rt_sigaction(SIGTERM, {0x411290, [], SA_RESTORER, 0x7f0057c5efd0}, 
NULL, 8) = 0
[pid 31181] dup2(7, 0)                  = 0
[pid 31181] close(7)                    = 0
[pid 31181] dup2(9, 1)                  = 1
[pid 31181] close(9)                    = 0
[pid 31181] close(8)                    = 0
[pid 31181] close(8)                    = -1 EBADF (Bad file descriptor)
[pid 31181] dup(0)                      = 7
[pid 31181] fcntl(7, F_GETFL)           = 0x8000 (flags O_RDONLY|O_LARGEFILE)
[pid 31181] fstat(7, {st_mode=S_IFREG|0644, st_size=7691, ...}) = 0
[pid 31181] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x7f00585b6000
[pid 31181] lseek(7, 0, SEEK_CUR)       = 0
[pid 31181] read(7, ".\\\" $Id: useradd.8 1342 2007-11-"..., 16384) = 7691
[pid 31181] read(7, "", 8192)           = 0
[pid 31181] fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 31181] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x7f00585b5000
[pid 31181] write(1, ".\\\" $Id: useradd.8 1342 2007-11-"..., 4096) = 4096
[pid 31181] close(7)                    = 0
[pid 31181] munmap(0x7f00585b6000, 4096) = 0
[pid 31181] exit_group(0) 
Process 31181 detached
[pid 31180] close(7)                    = 0
[pid 31180] close(9)                    = 0
[pid 31180] rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
[pid 31180] read(8, ".\\\" $Id: useradd.8 1342 2007-11-"..., 4096) =
4096
[pid 31180] open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 7
[pid 31180] fstat(7, {st_mode=S_IFREG|0644, st_size=26048, ...}) = 0
[pid 31180] mmap(NULL, 26048, PROT_READ, MAP_SHARED, 7, 0) =
0x7f00585ac000
[pid 31180] close(7)                    = 0
[pid 31180] brk(0x1234000)              = 0x1234000
[pid 31180] read(8, "", 61440)          = 0
[pid 31180] read(8, "", 61440)          = 0
[pid 31180] brk(0x1264000)              = 0x1264000
[pid 31180] open("/usr/lib/gconv/GBK.so", O_RDONLY) = 7
[pid 31180] read(7,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\4\0\0\0\0\0\0"...,
832) = 832
[pid 31180] fstat(7, {st_mode=S_IFREG|0644, st_size=112664, ...}) = 0
[pid 31180] mmap(NULL, 2207792, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0x7f00571da000
[pid 31180] mprotect(0x7f00571f5000, 2093056, PROT_NONE) = 0
[pid 31180] mmap(0x7f00573f4000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x1a000) = 0x7f00573f4000
[pid 31180] close(7)                    = 0
[pid 31180] mprotect(0x7f00573f4000, 4096, PROT_READ) = 0
[pid 31180] read(8, "", 61440)          = 0
[pid 31180] read(8, "", 61440)          = 0
[pid 31180] fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 31180] mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f00585b6000
[pid 31180] write(1, ".\\\" $Id: useradd.8 1342 2007-11-"..., 4096
<unfinished ...>
[pid 27450] <... read resumed> ".\\\" $Id: useradd.8 1342 2007-11-"...,
1024) = 1024
[pid 27450] read(8, "LIED WARRANTIES OF MERCHANTABILI"..., 1024) = 1024
[pid 27450] read(8, "n_dir ] \" |\" \" \" \\-M ]\n.RB [ \\-s"..., 1024)
= 1024
[pid 27450] read(8, "\351\220\247 \351\215\217 \351\217\203 \351\216\265
\346\265\243 \351\220\242 \351\220\250 \\fIh"..., 1024) = 1024
[pid 27450] read(8,  <unfinished ...>
[pid 31180] <... write resumed> )       = 4096
[pid 31180] read(8, "", 65535)          = 0
[pid 31180] read(8, "", 65535)          = 0
[pid 31180] read(8, "", 65535)          = 0
[pid 31180] read(8, "", 65535)          = 0
[pid 31180] read(8, "", 65535)          = 0


If, in a clean minimal chroot, I install zlib1g from testing first, then
install man-db, it works fine.

My guess is that it is related to the fixing of #301283.

Lucas

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (700, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages zlib1g depends on:
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries

zlib1g recommends no packages.

zlib1g suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to