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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: rudalics <at> gmx.at, 31373 <at> debbugs.gnu.org
Subject: bug#31373: 26.1; frame-list-z-order segfaults on initial daemon frame
Date: Mon, 07 May 2018 22:30:22 +0300
> From: Noam Postavsky <npostavs <at> gmail.com>
> Date: Mon, 7 May 2018 14:08:19 -0400
> Cc: martin rudalics <rudalics <at> gmx.at>, 31373 <at> debbugs.gnu.org
> 
> >> Thank you.  Eli, I think Noam should push this to 26.1, if still
> >> possible.
> >
> > Why?  The workaround is very simple: don't call that function in a
> > daemon session that has no GUI frames.
> 
> Ah, I think you missed that the segfault happens in a daemon session
> that *does* have GUI frames.

Ugh! why did no one bump into this until now??  We had this
function for a year!

OK, let's push it to emacs-26, and thanks...

Btw, is it reasonable for this function to return nil on TTY frames?
One frame is definitely displayed "on top".





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.