ctrl+c problem when non-cygwin process is invoked by cygwin-process.

jojelino jojelino@gmail.com
Tue Dec 6 15:06:00 GMT 2011


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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test
URL: <http://cygwin.com/pipermail/cygwin/attachments/20111206/eb8a6769/attachment.ksh>
-------------- next part --------------
--
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


More information about the Cygwin mailing list