GNU bug report logs - #70049
30.0.50; (server-running-p) in mode line freezes emacs

Previous Next

Package: emacs;

Reported by: "Pedro A. Aranda" <paaguti <at> gmail.com>

Date: Thu, 28 Mar 2024 10:46:01 UTC

Severity: normal

Tags: moreinfo

Found in version 30.0.50

Full log


Message #20 received at 70049 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>
Cc: 70049 <at> debbugs.gnu.org
Subject: Re: bug#70049: 30.0.50; (server-running-p) in mode line freezes emacs
Date: Fri, 29 Mar 2024 09:55:46 +0300
> From: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>
> Date: Fri, 29 Mar 2024 07:37:32 +0100
> Cc: 70049 <at> debbugs.gnu.org
> 
>  Can you look at the CPU meter and tell if Emacs consumes CPU in this
>  state or not?
> 
> I've fired up the system monitor on my Ubuntu 22.04. waited the CPU curves stabilised before activating
> server-mode, 
> then waited again until everything was quiet again and then resized Emacs to trigger the 'Emacs is not
> responding'
> dialog. There was no significant raise in CPU or memory consumption. Then repeated the same with the
> process tab
> and couldn't detect any significant change.

OK, thanks.  This means Emacs is waiting for something.

Can you provide the GDB backtrace from this situation?  To do this,
repeat your sequence that causes Emacs to freeze, then do the
following from a separate shell prompt:

  $ cd /path/to/emacs/src
  $ gdb -p PID
  GNU gdb (GDB) XY.Z
  Copyright (C) NNNN Free Software Foundation, Inc.
  ...
  (gdb) source .gdbinit
  (gdb) thread apply all bt

where PID is the process ID of the frozen Emacs process, and
/path/to/emacs/src is the absolute file name of the directory where
you have the Emacs C source files -- there is a .gdbinit file there
which will cause GDB to produce both C and Lisp backtrace when you
type the "bt" command at the (gdb) prompt.

Then post the results here.

Thanks.




This bug report was last modified 115 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.