On Sun, Aug 31, 2014 at 7:16 PM, Ben Coman btc@openinworld.com wrote:
Ben Coman wrote:
Eliot Miranda wrote:
Alas I don't know a mechanism to deliver an interrupt. If there's a mechanism I can implement the stack trace. Anyone have any suggestions? Eliot (phone)
Does the cygwin `kill` command work with USR1 when run from a cmd.exe prompt? Could that executable just be included with distributions in the same folder as the VM?
AFAIR no.
Just for reference, Apache simulates USR1 with its own program ([1] search for 'equivalent')
That jives with what David said. So looks like we need to buld above SendNotifyMessage. Thanks for your searches Ben!
I'm not very familiar with this area, but I poked around for interest and
summarize a few findings. Sorry I'm not set up to experiment with them myself.
The UNIX Application Migration Guide [2] provides some alternatives (click 'Signals and Signal Handling') Someone provides an alternative at [3] - but I don't follow it. There is some discussion at [4], which references [5] as a possible option. Another alternative a [6].
[1] http://httpd.apache.org/docs/current/platform/windows.html [2] http://www.zemris.fer.hr/predmeti/os1/misc/Unix2Win.htm [3] https://www.allegro.cc/forums/thread/602466 [4] http://stackoverflow.com/questions/813086/can-i-send-a-ctrl-c-sigint-to-an-a... [5] http://www.latenighthacking.com/projects/2003/sendSignal/ [6] http://stackoverflow.com/questions/16826097/equivalent-to-sigint-posix-signa...
cheers -ben
On Aug 31, 2014, at 11:15 AM, Ryan Macnak rmacnak@gmail.com rmacnak@gmail.com wrote:
+vm-dev
Hi Eliot,
On Mac and Linux one can get a stack trace from a busy VM with the USR1 signal. Is there an analog on Windows?
Ryan