GNU bug report logs -
#31373
26.1; frame-list-z-order segfaults on initial daemon frame
Previous Next
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
On 7 May 2018 at 13:59, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> Date: Mon, 07 May 2018 08:26:01 +0200
>> From: martin rudalics <rudalics <at> gmx.at>
>>
>> - if (XFRAME (frame)->output_data.x->parent_desc == children[i]
>> - || FRAME_OUTER_WINDOW (XFRAME (frame)) == children[i])
>> + if (FRAME_X_P (frame)
>> + && (XFRAME (frame)->output_data.x->parent_desc == children[i]
>> + || FRAME_OUTER_WINDOW (XFRAME (frame)) == children[i]))
>>
>> 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.
I would also note that w32_frame_list_z_order makes the equivalent
FRAME_W32_P check via x_window_to_frame.
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.