SIGINT not passed to java process

Franz Kettwig FKettwig@mwdtrading.com
Fri May 11 17:30:00 GMT 2012


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 interrupt the process with Ctrl+C and with kill -2 <pid>. Neither of those methods work for me now.

Here is the version of Java that I am using:
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode)

Thanks,

Franz Kettwig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 16335 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120511/c8ee3208/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.java
Type: application/octet-stream
Size: 355 bytes
Desc: test.java
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120511/c8ee3208/attachment-0001.obj>
-------------- 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