GNU bug report logs -
#11081
24.0.94; "emacsclient --create-frame" occasionally crashes daemon or causes daemon to hang
Previous Next
Reported by: Brad Town <brad <at> bradtown.com>
Date: Fri, 23 Mar 2012 23:59:02 UTC
Severity: normal
Tags: moreinfo
Found in version 24.0.94
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
31 mar 2012 kl. 20:00 skrev Eli Zaretskii:
>> From: Jan Djärv <jan.h.d <at> swipnet.se>
>> Date: Sat, 31 Mar 2012 19:16:55 +0200
>> Cc: 11081 <at> debbugs.gnu.org
>>
>> The crash happens because of the abort in the SELECTED_FRAME macro:
>>
>> #define SELECTED_FRAME() \
>> ((FRAMEP (selected_frame) \
>> && FRAME_LIVE_P (XFRAME (selected_frame))) \
>> ? XFRAME (selected_frame) \
>> : (abort (), (struct frame *) 0))
>>
>> FRAME_LIVE_P return false. There is some timing issue here, but I dont easily see it yet. Anybody got a clue?
>
> You are saying that the selected frame was already deleted when the
> code in update_tool_bar gets to its last lines, is that it?
No, the new frame that is being created is not live when this code is executed. The crash happens when emacsclient --create-frame is run, not when exiting the frame. The f->terminal is indeed NULL, and x_display_list is NULL.
Jan D.
This bug report was last modified 3 years and 247 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.