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

David T. Lewis lewis at mail.msen.com
Mon Sep 1 17:09:48 UTC 2014


On Sun, Aug 31, 2014 at 03:19:05PM -0700, 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?

Windows does not have a direct equivalent to SIGUSR1. I have no direct experience,
but I gather that the recommended approach for that sort of notification would
be to use SendMessage or SendNotifyMessage. Presumably this would involve writing
some sort of small stand alone program to send a message to the VM, as well as
a handler in the VM to accept the message.

This is based on some notes half way through this post (see "Table 4"):
  http://www.zemris.fer.hr/predmeti/os1/misc/Unix2Win.htm

And also the overview here:
  http://technet.microsoft.com/en-us/library/bb496993.aspx

Dave

> 
> Eliot (phone)
> 
> On Aug 31, 2014, at 11:15 AM, Ryan Macnak <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


More information about the Vm-dev mailing list