Subject: Re: bug#31373: 26.1; frame-list-z-order segfaults on initial daemon frame

From: Eli Zaretskii <[email-masked]>
Date: Mon, 07 May 2018 22:30:22 +0300

> From: Noam Postavsky <[email-masked]>
> Date: Mon, 7 May 2018 14:08:19 -0400
> Cc: martin rudalics <[email-masked]>, [email-masked]
> 
> >> 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".