delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_XF |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | jojelino <jojelino AT gmail DOT com> |
Subject: | Re: ctrl+c problem when non-cygwin process is invoked by cygwin-process. |
Date: | Wed, 07 Dec 2011 00:06:19 +0900 |
Lines: | 50 |
Message-ID: | <jblavt$b0u$2@dough.gmane.org> |
References: | <20111206093746 DOT GA6222 AT calimero DOT vinschen DOT de> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows NT 5.2; rv:10.0a2) Gecko/20111205 Thunderbird/10.0a2 |
In-Reply-To: | <20111206093746.GA6222@calimero.vinschen.de> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
--------------090101020204020804020905 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2011-12-06 PM 6:37, Corinna Vinschen wrote: > A lot of changes and fixes have been made in Cygwin since 1.7.9 has > been released, so we're looking forward to release Cygwin 1.7.10 soon. > > Please test the latest developer snapshots at http://cygwin.com/snapshots/ > which should have "Release Candidate" quality. > here is simple shell script attached. i'm using 32-bit windows. and the attached doesn't invoke timeout of cygwin land. . execute following line in non-cygwin process.(typically in cmd.exe) sh ./test . ctrl+c before *press any key to continue* disappear, and you are *jammed* . whenever you ctrl+c while process hang, ctrlc handler thread would continue to be attached to child sh process. -- here is strace log. http://pastebin.com/dSVAXtsd -- (gdb) x 7C8451C5 0x7c8451c5 <SetUnhandledExceptionFilter+12461>: 0xfffc4d83 (gdb) x/i 7C8451C5 => 0x7c8451c5 <SetUnhandledExceptionFilter+12461>: orl $0xffffffff,-0x4(%ebp) (gdb) 0x7c8451c9 <SetUnhandledExceptionFilter+12465>: jmp 0x7c845235 <SetUnhandledExceptionFilter+12573> (gdb) Regards. -- Regards. --------------090101020204020804020905 Content-Type: text/plain; name="test" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="test" IyEvYmluL3NoDQplY2hvIHNsZWVwIGZvciAzIHNlY29uZA0KJFdJTkRJUi9z eXN0ZW0zMi90aW1lb3V0IDM= --------------090101020204020804020905 Content-Type: text/plain; charset=us-ascii -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple --------------090101020204020804020905--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |