Re: SIGINT not passed to java process

2013-02-28 Thread Thomas Wolff
Am 11.05.2012 19:29, schrieb Franz Kettwig: After updating to the latest cygwin, my Java processes no longer receive SIGINT signals. I have attached a simple Java program that adds a ShutdownHook that will print out when the correct signal is received and the main program sleeps indefinitely w

Re: SIGINT not passed to java process

2013-02-26 Thread Corinna Vinschen
On Feb 26 12:31, Escay wrote: > Olivier Lefevre yahoo.com> writes: > > > > > Since apparently nobody wants to take ownership of this regression > > I'll point out the workaround, for the benefit of those googling > > and landing on this thread: start Java with -Xrs and use Ctrl-Break > > instead

Re: SIGINT not passed to java process

2013-02-26 Thread Escay
Olivier Lefevre yahoo.com> writes: > > Since apparently nobody wants to take ownership of this regression > I'll point out the workaround, for the benefit of those googling > and landing on this thread: start Java with -Xrs and use Ctrl-Break > instead of Ctrl-C. This will disable thread dump an

Re: SIGINT not passed to java process

2012-05-22 Thread Olivier Lefevre
Since apparently nobody wants to take ownership of this regression I'll point out the workaround, for the benefit of those googling and landing on this thread: start Java with -Xrs and use Ctrl-Break instead of Ctrl-C. This will disable thread dump and break any application that relies on normal s

Re: SIGINT not passed to java process

2012-05-18 Thread Earnie Boyd
On Fri, May 18, 2012 at 1:54 PM, Christopher Faylor wrote: > On Fri, May 18, 2012 at 01:33:08PM -0400, Earnie Boyd wrote: >>On Fri, May 18, 2012 at 1:10 PM, Christopher Faylor wrote: >>> ??d:\cyginst>bash >>> ??bash-4.1$ python >>> ??Python 2.6.7 (r267:88850, Feb ??2 2012, 23:50:20) >>> ??[GCC 4.5.

Re: SIGINT not passed to java process

2012-05-18 Thread Christopher Faylor
On Fri, May 18, 2012 at 01:33:08PM -0400, Earnie Boyd wrote: >On Fri, May 18, 2012 at 1:10 PM, Christopher Faylor wrote: >> ??d:\cyginst>bash >> ??bash-4.1$ python >> ??Python 2.6.7 (r267:88850, Feb ??2 2012, 23:50:20) >> ??[GCC 4.5.3] on cygwin >> ??Type "help", "copyright", "credits" or "license"

Re: SIGINT not passed to java process

2012-05-18 Thread Earnie Boyd
On Fri, May 18, 2012 at 1:10 PM, Christopher Faylor wrote: >  d:\cyginst>bash >  bash-4.1$ python >  Python 2.6.7 (r267:88850, Feb  2 2012, 23:50:20) >  [GCC 4.5.3] on cygwin >  Type "help", "copyright", "credits" or "license" for more information. >  >>> >Hit CTRL-C here< >  KeyboardInterrupt > >

Re: SIGINT not passed to java process

2012-05-18 Thread Christopher Faylor
On Fri, May 18, 2012 at 06:48:56PM +0200, Olivier Lefevre wrote: >On 5/17/2012 7:23 PM, Christopher Faylor wrote: >> On Thu, May 17, 2012 at 05:30:26PM +0200, Olivier Lefevre wrote: >>> On 5/11/2012 7:29 PM, Franz Kettwig wrote: After updating to the latest cygwin, my Java processes no longer

Re: SIGINT not passed to java process

2012-05-18 Thread Olivier Lefevre
python has the same problem. If you send it a Ctrl-C under cmd.com it will print "KeyboardInterrupt" whereas under Cygwin it prints nothing. Is python more to your taste? On 5/17/2012 7:23 PM, Christopher Faylor wrote: On Thu, May 17, 2012 at 05:30:26PM +0200, Olivier Lefevre wrote: On 5/11/201

Re: SIGINT not passed to java process

2012-05-17 Thread Christopher Faylor
On Thu, May 17, 2012 at 05:30:26PM +0200, Olivier Lefevre wrote: >On 5/11/2012 7:29 PM, Franz Kettwig wrote: >>After updating to the latest cygwin, my Java processes no longer >>receive SIGINT signals. [...] > >I can attest that Franz is not the only one with this problem. I just >upgraded to Cyg

Re: SIGINT not passed to java process

2012-05-17 Thread Olivier Lefevre
On 5/11/2012 7:29 PM, Franz Kettwig wrote: After updating to the latest cygwin, my Java processes no longer receive SIGINT signals. [...] I can attest that Franz is not the only one with this problem. I just upgraded to Cygwin 1.7.15-1 but in vain. Is a fix in the works? Regards, -- O.L.

SIGINT not passed to java process

2012-05-11 Thread Franz Kettwig
After updating to the latest cygwin, my Java processes no longer receive SIGINT signals. I have attached a simple Java program that adds a ShutdownHook that will print out when the correct signal is received and the main program sleeps indefinitely waiting for the signal. I used to be able inte