[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs locks up

From: Stefan Monnier
Subject: Re: Emacs locks up
Date: Sun, 20 Jun 2021 09:40:27 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]