This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Attachment: test
Description: Text document

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]