GNU bug report logs -
#56528
29.0.50; Emacs lucid segfaults when X dies
Previous Next
Reported by: visuweshm <at> gmail.com
Date: Wed, 13 Jul 2022 04:33:02 UTC
Severity: normal
Tags: moreinfo
Found in version 29.0.50
Done: Po Lu <luangruo <at> yahoo.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
visuweshm <at> gmail.com writes:
> When X dies, Emacs lucid segfaults (backtrace attached as
> emacs.backtrace). I confirmed that xrdb read 'emacs.synchronous: true'
> by running xrdb -q.
>
> After starting Emacs in the gdb session, I switched over to the right X
> display and ran,
>
> 1. M-x server-start RET
> 2. Said emacsclient -c in a terminal
> 3. In the spawned emacsclient, I ran proced to find out the pid for
> the Xorg server and killed it by saying M-! kill <pid> RET
> 4. Switched over to the gdb session, and produced the backtrace.
>
> [ It doesn't seem to always segfault tho, but the Emacs process certainly
> always dies when X goes down. I also produced the backtrace for
> not-segfault case and I'm attaching it as emacs.backtrace.nosegfault. ]
Can you type the following commands at the gdb prompt after the crash
happens, and show me the output?
(gdb) up
(gdb) p *terminal
(gdb) p *terminal->display_info.x
This bug report was last modified 3 years and 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.