From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joe Riel Newsgroups: gmane.emacs.help Subject: Re: Emacs locks up Date: Sun, 20 Jun 2021 09:05:20 -0700 Message-ID: <20210620090520.530857e9@gauss> References: <20210619141522.21e71ae3@gauss> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17149"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier To: Stefan Monnier via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 20 18:05:48 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1luzxE-0004Ha-CW for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Jun 2021 18:05:48 +0200 Original-Received: from localhost ([::1]:44976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luzxD-000155-Db for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Jun 2021 12:05:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luzwq-00014x-Sb for help-gnu-emacs@gnu.org; Sun, 20 Jun 2021 12:05:24 -0400 Original-Received: from p-impout006aa.msg.pkvw.co.charter.net ([47.43.26.137]:53736 helo=p-impout006.msg.pkvw.co.charter.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luzwp-0006wu-6d for help-gnu-emacs@gnu.org; Sun, 20 Jun 2021 12:05:24 -0400 Original-Received: from gauss ([172.88.73.110]) by cmsmtp with ESMTP id uzwmlkoL1B5K5uzwnl1GSJ; Sun, 20 Jun 2021 16:05:21 +0000 X-Authority-Analysis: v=2.4 cv=ZqIol/3G c=1 sm=1 tr=0 ts=60cf6741 a=eqZDI7O9Z11/THDmO/+FSA==:117 a=eqZDI7O9Z11/THDmO/+FSA==:17 a=kj9zAlcOel0A:10 a=mDV3o1hIAAAA:8 a=ErFWDovnnqi_xqqUKJ0A:9 a=CjuIK1q_8ugA:10 a=_FVE-zBwftR9WsbkzFJk:22 In-Reply-To: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-CMAE-Envelope: MS4xfHl9MG62/vNU4EfHDurbTdU3DY7xtJt1dRIhSpcLXDuUg6RVKBCMrMtKz0gk5aEAluI+Y1cLZcpY2AVfI7PF6+LMFsyh/zR/CDfmtfLCY8vjqVnqXE8i nGMwR95O2HJx1GGbnxG03q41zzZ0DNtHgxVBFK1i02YGzf/30OOQVlA7l+c8UJ8/UASGf2fyi+FLY/pwYQUExsw8rao7eViVRK8= Received-SPF: pass client-ip=47.43.26.137; envelope-from=joer@san.rr.com; helo=p-impout006.msg.pkvw.co.charter.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:131102 Archived-At: On Sun, 20 Jun 2021 09:40:27 -0400 Stefan Monnier via Users list for the GNU Emacs text editor 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