[Vm-dev] Re: Debugging lock-ups on Windows

Eliot Miranda eliot.miranda at gmail.com
Mon Sep 1 18:56:46 UTC 2014


On Sun, Aug 31, 2014 at 7:16 PM, Ben Coman <btc at 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-application-on-windows
> [5] http://www.latenighthacking.com/projects/2003/sendSignal/
> [6]
> http://stackoverflow.com/questions/16826097/equivalent-to-sigint-posix-signal-for-catching-ctrlc-under-windows-mingw
>
> cheers -ben
>
>  On Aug 31, 2014, at 11:15 AM, Ryan Macnak <rmacnak at gmail.com> <rmacnak at 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
>
>
>
>
>
>


-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140901/83f14839/attachment.htm


More information about the Vm-dev mailing list