Your message dated Fri, 03 Mar 2006 17:32:13 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#224543: fixed in bash 3.1-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: bash
Version: 2.05b-12
Severity: normal


OK, this is crazy, not sure where to report the bug.  But I noticed
that when running "vipw", "crontab -e", "vigr", etc, with
EDITOR="emacs", emacs will completely hang on startup about 25% of the
time, and the presense of a bash option can trigger it.

TEST CASE 1:
------------
env -i EDITOR=emacs TERM=linux SHELLOPTS= bash --noprofile --norc -c "while 
true; do crontab -e ; done"

Hit ^X ^C rapidly to keep exiting emacs.  No problems.

TEST CASE 2:
------------
env -i EDITOR=emacs TERM=linux SHELLOPTS=monitor bash --noprofile --norc -c 
"while true; do crontab -e ; done"

Hit ^X ^C rapidly to keep exiting emacs.  Soon, a copy hangs on
startup, process in stopped state (T), cannot be restarted with
SIGCONT, only killed with SIGKILL.

TEST CASE 3:
------------
env -i EDITOR=nano TERM=linux SHELLOPTS=monitor bash --noprofile --norc -c 
"while true; do crontab -e ; done"

Hold ^X.  Works fine with nano.

============

OK, after some more testing, this may be some strange interaction with
kernel 2.6.  The problem shows up on machine 1:
   bash 2.05b-12, emacs21 21.3+1-4, linux 2.6.0-test11-bk12
and machine 2:
   bash 2.05b-11, emacs21 21.3+1-4, linux 2.6.0-test9
but NOT machine 3:
   bash 2.05b-12, emacs21 21.3+1-4, linux 2.4.21
   bash 2.05b-8.3, emacs20 20.7-13.1, linux 2.4.21

But I still don't know where the problem lies -- it seems to be
related to bash's job control, somehow, since the problem goes away
when "monitor" is disabled.  Something that changed in 2.6 perhaps?

Not sure how to debug this further:
  strace crontab  causes the problem to not show up
  strace attaching to a hung emacs process shows nothing
  gdb hangs while attaching to the hung emacs process

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux neurosis 2.6.0-test11-bk12 #5 Wed Dec 17 23:11:04 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages bash depends on:
ii  base-files                3.0.12         Debian base system miscellaneous f
ii  libc6                     2.3.2.ds1-10   GNU C Library: Shared libraries an
ii  libncurses5               5.3.20030719-4 Shared libraries for terminal hand

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: bash
Source-Version: 3.1-3

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

bash-builtins_3.1-3_i386.deb
  to pool/main/b/bash/bash-builtins_3.1-3_i386.deb
bash-doc_3.1-3_all.deb
  to pool/main/b/bash/bash-doc_3.1-3_all.deb
bash-minimal_3.1-3_i386.deb
  to pool/main/b/bash/bash-minimal_3.1-3_i386.deb
bash-static_3.1-3_i386.deb
  to pool/main/b/bash/bash-static_3.1-3_i386.deb
bash_3.1-3.diff.gz
  to pool/main/b/bash/bash_3.1-3.diff.gz
bash_3.1-3.dsc
  to pool/main/b/bash/bash_3.1-3.dsc
bash_3.1-3_i386.deb
  to pool/main/b/bash/bash_3.1-3_i386.deb



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.
Matthias Klose <[EMAIL PROTECTED]> (supplier of updated bash 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.7
Date: Sat,  4 Mar 2006 01:54:25 +0100
Source: bash
Binary: bashdb bash-builtins bash bash-minimal bash-static bash-doc
Architecture: source i386 all
Version: 3.1-3
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <[EMAIL PROTECTED]>
Changed-By: Matthias Klose <[EMAIL PROTECTED]>
Description: 
 bash       - The GNU Bourne Again SHell
 bash-builtins - Bash loadable builtins - headers & examples
 bash-doc   - Documentation and examples for the The GNU Bourne Again SHell
 bash-minimal - The GNU Bourne Again SHell (minimal version)
 bash-static - The GNU Bourne Again SHell (static version)
Closes: 224543 323824 324169 325056 327414 331504 340452 343312 345861 349677 
351848
Changes: 
 bash (3.1-3) unstable; urgency=low
 .
   * Apply upstream patches 006, 007, 008, 009, 010 and 011.
   * Define PGRP_PIPE to avoid race condition; monitor mode causes emacs as
     $EDITOR to hang on kernel 2.6 (Jim Paris). Closes: #224543.
   * Fix read memleak when reading from non-blocking fd (Tim Waugh).
   * Recognize 'exec -l /bin/bash' as login shell (Tim Waugh).
   * Fix parameter expansion: Array member length expansion fails with nested
     index expression (Jan C. Nordholz). Closes: #345861.
   * Add swedish translation of message strings. Closes: #349677.
 .
   Merge from Ubuntu:
   * clear_console: New helper program to clear the console, including
     the scrollback buffer.
   * /etc/skel/.bash_logout: Install it again and use clear_console.
     Ubuntu #29405. Closes: #331504.
   * /etc/skel/.bashrc: Enable bash_completion.
     Ubuntu #11414, #25096.
   * bash_completion:
     - Fix ssh completion to match lines starting with `Hostname' as well.
       Closes: #343312.
   * Add ulimit options -e and -r.
 .
   * Update bash_completion to 20060301:
     - Completion for minicom(1), mtr(8), sysctl(8), smartctl(8), vncviewer(1),
       invoke-rc.d, update-rc.d and dpkg-source has been added.
       Closes: #323824, #327414.
     - gdb completion of second parameter was broken when first parameter
       contained white space.
     - gdb completion wasn't completing second parameter correctly when it was
       a file, rather than a PID.
     - Ruby ri completion has been broken for some time. This is now fixed.
     - Various fixes to work around change in how POSIX quoting is handled in
       bash 3.1.
     - subversion completion has been reimplemented from scratch and integrated
       into the main file.
     - iconv(1) completion has been improved.
     - yum(8) completion has been updated for current version of yum.
     - ant completion will now make use of complete-ant-cmd.pl, if available.
     - cvs(1) completion has been improved with 'update' and 'stat' completion.
     - 'aptitude show' now works in the same way as 'apt-cache show'.
     - make(1) now also completes on file names.
     - MPlayer will now also complete on .flac, .mpc and .3gp files.
       Closes: #340452.
     - wine will now also complete on .exe.so files.
     - unzip will now also complete on oowriter's .ott files.
     - xine et al will now complete on .mng files.
     - The list of programs completing on .dvi files has been expanded.
     - The range of files on which timidity and evince complete has been
       expanded. Closes: #351848.
     - mkisofs completion now defaults to treating results as file names.
     - $DEBUG has been renamed $BASH_COMPLETION_DEBUG to avoid namespace clashes
       with other software.
     - man(1) completion now works correctly on OpenBSD.
     - svk and Mercurial completion have been added to contribs. Closes: 
#324169.
     - Many other small optimisations and fixes. Closes: #325056.
Files: 
 4c1893a53b0ed2d60a725597d530e332 719 base required bash_3.1-3.dsc
 ec9a63ad7c96913914776db0b60feca9 217516 base required bash_3.1-3.diff.gz
 eecc83a256e9a70419224200070fd691 729746 doc optional bash-doc_3.1-3_all.deb
 48010fc93084f63e66e9142ca5dbc34f 870510 shells required bash_3.1-3_i386.deb
 b934656f2e9babd446dfca23b5c616c3 98984 utils optional 
bash-builtins_3.1-3_i386.deb
 6375d23abb17fd5d6f21c0eb085a60f4 704422 shells optional 
bash-static_3.1-3_i386.deb
 e35d8e327b709f9cf53cea8925a665f1 196192 shells optional 
bash-minimal_3.1-3_i386.deb

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

iD8DBQFECOc3StlRaw+TLJwRAmvIAKCNIpG5soTtXZRyXUvxKlOAJ4iUFwCggBbQ
ye07SuxeLrXKDXz2H5L7T6A=
=HiNo
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to