Bash hangs with the 20040325 snapshot

Volker Quetschke quetschke@scytek.de
Fri Mar 26 18:19:00 GMT 2004


>>>I have to report that bash hangs with the 20040325 snapshot.
>>>The rxvt window appears, but the prompt never apprears.
Press CTRL-c and it appears, but the login scripts are not
executed.

>>I can confirm that. Same with Windows Console. zsh works okay.
In a cmd shell, starting:
   C:\cygwin\bin>bash -i
   bash-2.05b$

works, but:
   C:\cygwin\bin>bash --login -i
hangs until CTRL-c is pressed.

System: Windows XP home, SP1
bash-2.05b$ uname -a
CYGWIN_NT-5.1 Baltasar 1.5.10s(0.112/4/2) 20040325 22:22:10 i686 unknown 
unknown Cygwin

I can attach a cygcheck output, but just there are already enough
for this notebook in the cygwin archives.

BTW,the last lines of strace bash --login -i are below, before the
signature. If there is interest I can put the whole picture of
the accident on a web page.

    Volker

P.S. The patch to path.cc is not responsible, I build a cygwin dll
from cvs with "cvs up -D 2004-03-24 ..." plus the new revision 1.290
and I don't get this problem. Thanks cgf, by the way.

P.P.S: The last part of the strace:
    32  330638 [main] bash 728 sig_send: returning 0x0 from sending 
signal -34
    38  330676 [main] bash 728 wait4: calling proc_subproc, pid -1, 
options 0
    25  330701 [main] bash 728 proc_subproc: args: 4, 2292680
    25  330726 [main] bash 728 proc_subproc: wval->pid -1, wval->options 0
    25  330751 [main] bash 728 checkstate: nchildren 1, nzombies 0
    24  330775 [main] bash 728 checkstate: checking alive children
    24  330799 [main] bash 728 stopped_or_terminated: considering pid 1124
    24  330823 [main] bash 728 checkstate: returning -1
123569  330854 [read_pipe] bash 1736 fhandler_base::read: read 0 bytes ()
    47  330901 [read_pipe] bash 1736 fhandler_base::read: returning 89, 
text mode
    68  330969 [main] bash 1736 readv: 89 = readv (4, 0x22EA10, 1), errno 0
    89  331058 [main] bash 1736 readv: readv (4, 0x22EA10, 1) blocking, 
sigcatchers 19
   952   26528 [main] sort 1124 fhandler_console::close: decremented 
open_fhs, now 1
    32   26560 [main] sort 1124 fhandler_base::close: closing 
'/tmp/sh-thd-1080315483' handle 0x6D4
    45   26605 [main] sort 1124 sigproc_terminate: entering
    45   26650 [sig] sort 1124 wait_sig: done
    47   26697 [sig] sort 1124 _cygtls::remove: wait 0x0
   124   26821 [main] sort 1124 proc_terminate: nchildren 0, nzombies 0
    31   26852 [main] sort 1124 proc_terminate: leaving
    58   26910 [main] sort 1124 __to_clock_t: dwHighDateTime 0, 
dwLowDateTime 0
    25   26935 [main] sort 1124 __to_clock_t: total 00000000 00000000
    25   26960 [main] sort 1124 __to_clock_t: dwHighDateTime 0, 
dwLowDateTime 200288
    24   26984 [main] sort 1124 __to_clock_t: total 00000000 00000014
  1224   28208 [main] sort 1124 _pinfo::exit: Calling ExitProcess 0
  2843  333666 [main] bash 728 proc_subproc: only found non-terminated 
children
    68  333734 [main] bash 728 proc_subproc: finished processing 
terminated/stopped child
    31  333765 [main] bash 728 proc_subproc: returning 1
  1036  334801 [proc] bash 728 proc_subproc: args: 2, 0
    49  334850 [proc] bash 728 proc_subproc: pid 1124[0] terminated, 
handle 0x708, nchildren 1, nzombies 0
    31  334881 [proc] bash 728 proc_subproc: zombifying [0], pid 1124, 
handle 0x708, nchildren 1
    26  334907 [proc] bash 728 proc_subproc: returning 1
    29  334936 [proc] bash 728 sig_send: sendsig 0x734, pid 728, signal 
20, its_me 1
    57  334993 [proc] bash 728 sig_send: Not waiting for sigcomplete. 
its_me 1 signal 20
    33  335026 [proc] bash 728 sig_send: returning 0x0 from sending 
signal 20
    26  335052 [proc] bash 728 wait_subproc: looping

-- 
If you like my work consider:  http://www.scytek.de/donations.html
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 254 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040326/d24b3a58/attachment.sig>


More information about the Cygwin mailing list