Your message dated Mon, 16 Feb 2009 13:17:03 +0000
with message-id <[email protected]>
and subject line Bug#515229: fixed in dash 0.5.5.1-2
has caused the Debian Bug report #515229,
regarding New dash has serious problems with waiting for spawned processes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
515229: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=515229
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dash
Version: 0.5.5.1-1
Severity: critical

Hello,
new dash has some serious problems with waiting on spawned processes, which completely breaks apt-move - at the end apt-move spawns pipe as shown below:

p...@gwy:~$ cat /tmp/err
20768 tty4     S+     0:00      \_ dash /usr/bin/apt-move sync
21840 tty4     S+     0:00          \_ sort
21841 tty4 S+ 0:00 \_ awk -f /usr/share/apt-move/cmpbignum.awk -f /usr/share/apt-move/cmpversion.awk -f /usr/share/apt-move/getdist.awk -f /usr/share/apt-move/get2
21843 tty4     S+     0:00          \_ sort
21844 tty4 D+ 0:00 \_ /usr/bin/awk -f /usr/share/apt-move/pkg1 /tmp/MOVE_lfwAkG/make_pkg_files-fifo1 /tmp/MOVE_lfwAkG/make_pkg_files-contents/unstable/main/binary-i386
21845 tty4     S+     0:00          \_ gzip
21846 tty4 S+ 0:00 \_ tee dists/unstable/main/binary-i386/Packages /tmp/MOVE_lfwAkG/make_pkg_files-fifogz

Once 'tee' completes, it starts consuming 100% CPU, and can be killed only by -9...

p...@gwy:~$ cat /tmp/err2
20768 tty4     R+     0:02      \_ dash /usr/bin/apt-move sync

And strace shows that it is doing endless stream of calls to wait4(), waiting for someone who does not exist anymore:

p...@gwy:~$ head -10 /tmp/err3
wait4(-1, 0xffd236e8, 0, NULL)          = -1 ECHILD (No child processes)
wait4(-1, 0xffd236e8, 0, NULL)          = -1 ECHILD (No child processes)
wait4(-1, 0xffd236e8, 0, NULL)          = -1 ECHILD (No child processes)
wait4(-1, 0xffd236e8, 0, NULL)          = -1 ECHILD (No child processes)
wait4(-1, 0xffd236e8, 0, NULL)          = -1 ECHILD (No child processes)
wait4(-1, 0xffd236e8, 0, NULL)          = -1 ECHILD (No child processes)
wait4(-1, 0xffd236e8, 0, NULL)          = -1 ECHILD (No child processes)
wait4(-1, 0xffd236e8, 0, NULL)          = -1 ECHILD (No child processes)
wait4(-1, 0xffd236e8, 0, NULL)          = -1 ECHILD (No child processes)
wait4(-1, 0xffd236e8, 0, NULL)          = -1 ECHILD (No child processes)
p...@gwy:~$

I suspect that it could be same as bug 515064, but maybe not. In any case, as far as I can tell, severity should be critical as it breaks unrelated package (apt-move). Downgrading back to 0.5.4 fixes the problem.
                                                Thanks,
                                                        Petr



--- End Message ---
--- Begin Message ---
Source: dash
Source-Version: 0.5.5.1-2

We believe that the bug you reported is fixed in the latest version of
dash, which is due to be installed in the Debian FTP archive:

ash_0.5.5.1-2_all.deb
  to pool/main/d/dash/ash_0.5.5.1-2_all.deb
dash_0.5.5.1-2.diff.gz
  to pool/main/d/dash/dash_0.5.5.1-2.diff.gz
dash_0.5.5.1-2.dsc
  to pool/main/d/dash/dash_0.5.5.1-2.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gerrit Pape <[email protected]> (supplier of updated dash package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 16 Feb 2009 12:49:32 +0000
Source: dash
Binary: dash ash
Architecture: all source
Version: 0.5.5.1-2
Distribution: unstable
Urgency: low
Maintainer: Gerrit Pape <[email protected]>
Changed-By: Gerrit Pape <[email protected]>
Description: 
 ash        - compatibility package for dash
 dash       - POSIX-compliant shell
Closes: 515064 515229
Changes: 
 dash (0.5.5.1-2) unstable; urgency=low
 .
   * debian/diff/0001--SHELL-execute-EXIT-trap-if-the-shell-...diff;
     remove; patch is faulty (reopens: #390433, closes: #515229,
     #515064).
Checksums-Sha1: 
 298e4cc8dca4e35503c018a5148fc4b9c2bbb07c 1018 dash_0.5.5.1-2.dsc
 1d0aaf980a158c20ae9ba7cdf66a1ecb836be6be 30224 dash_0.5.5.1-2.diff.gz
 fe731cb7cd614505eaa3a421df93e0e37d97c6a0 22456 ash_0.5.5.1-2_all.deb
Checksums-Sha256: 
 793e4a21464b4fca086300b77ff1457b7637387f9784d745d3c00fb0eabf7a4b 1018 
dash_0.5.5.1-2.dsc
 fd5bf5db5719804b1f8b49911b07de66ec18d3a3312ba5c3c233a888823f1739 30224 
dash_0.5.5.1-2.diff.gz
 7ecf7402f1d2e07d016840547955f75d2eff3f72941c87ed2796cca7f5c8cfcd 22456 
ash_0.5.5.1-2_all.deb
Files: 
 133af072fe67f71bff680f3cd5505158 1018 shells optional dash_0.5.5.1-2.dsc
 f87ac3f1dc0ac4e585ba9fc932988485 30224 shells optional dash_0.5.5.1-2.diff.gz
 4261936d5d1efd215d429d9aef216822 22456 shells optional ash_0.5.5.1-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJmWTJGJoyQbxwpv8RAlb4AJ9BL2nw5zBRp8CzMDk/2VWCNKcwmwCfX/6R
QpqQTVLxF8dwzmCTA7OKYSw=
=cFA1
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to