GNU bug report logs - #31373
26.1; frame-list-z-order segfaults on initial daemon frame

Previous Next

Package: emacs;

Reported by: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Date: Sun, 6 May 2018 13:36:02 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 31373 <at> debbugs.gnu.org
Subject: Re: bug#31373: 26.1;
 frame-list-z-order segfaults on initial daemon frame
Date: Sun, 06 May 2018 15:58:37 +0100
Noam Postavsky <npostavs <at> gmail.com> writes:

> "Basil L. Contovounesios" <contovob <at> tcd.ie> writes:
>
>> On the latest emacs-26 and master branches, calling the function
>> frame-list-z-order crashes a daemon Emacs via segfault:
>>
>> 1. ./src/emacs -Q --daemon=<name>
>> 2. ./lib-src/emacsclient --socket-name=<name> --create-frame
>> 3. cd src
>> 4. gdb -p <PID of step (1)>
>> 5. Issue 'continue' in gdb
>
> You can also use
>
> 1. gdb ./emacs -Q --fg-daemon=<name>
> 2. Issue 'run' in gdb
> 3. ../lib-src/emacsclient --socket-name=<name> --create-frame

Ah, yes, thank you.  I forgot about --fg-daemon (which I now remembered
is documented in '(emacs) Initial Options') because it is not mentioned
in the emacs(1) man page; do you think this option should be added there?

-- 
Basil




This bug report was last modified 7 years and 11 days ago.

Previous Next


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