delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/26/11:11:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <406455DC.3000205@scytek.de>
Date: Fri, 26 Mar 2004 11:10:04 -0500
From: Volker Quetschke <quetschke AT scytek DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Bash hangs with the 20040325 snapshot
References: <191690-22004352694028591 AT cantv DOT net> <1qo4qlskpqfbh$.dlg AT thorstenkampe DOT de> <20040326150829 DOT GJ17229 AT cygbert DOT vinschen DOT de>
In-Reply-To: <20040326150829.GJ17229@cygbert.vinschen.de>
X-Enigmail-Version: 0.82.6.0
X-Enigmail-Supports: pgp-inline, pgp-mime
X-Scanned-By: MIMEDefang 2.39
X-IsSubscribed: yes

--------------enig6B8988B22F794BF60459CC48
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

>>>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

--------------enig6B8988B22F794BF60459CC48
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAZFXiPTXJup+KeF0RAguSAKDZGFARbf7dPLP5RrPm610Rf9lS9wCgosZj
j2BdzcIUnDRS0H3iv/QJbb4=
=W0t7
-----END PGP SIGNATURE-----

--------------enig6B8988B22F794BF60459CC48--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019