[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs locks up
From: |
Joe Riel |
Subject: |
Re: Emacs locks up |
Date: |
Sun, 20 Jun 2021 09:05:20 -0700 |
On Sun, 20 Jun 2021 09:40:27 -0400
Stefan Monnier via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> wrote:
> Joe Riel [2021-06-19 14:15:22] wrote:
> > I've written a debugger controlled by Emacs. It uses make-network-process
> > to communicate with a client over TCP. Works fine on linux and Windows.
> > However, when running the client in Windows 10 in virtualbox, with Emacs
> > running on the host system (linux), occasionally Emacs locks up.
> >
> > When that occurs I have to kill Emacs---it is otherwise unresponsive.
> > Have no good idea how to fix or debug this. Just being able to restore
> > Emacs
> > without killing it would be useful. Any suggestions are appreciated.
>
> You might like to try `kill -USR2` which may(!) bring Emacs back to life
> and give you a Lisp backtrace of where it's stuck.
> If that doesn't work, you'll need to attach to the process with
> a debugger to get the C level backtrace.
Thanks,
`kill -SIGUSR2` did restore emacs, which will be a big help.
--
Joe Riel