GNU bug report logs - #11081
24.0.94; "emacsclient --create-frame" occasionally crashes daemon or causes daemon to hang

Previous Next

Package: emacs;

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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 11081 <at> debbugs.gnu.org, brad <at> bradtown.com
Subject: Re: bug#11081: 24.0.94;
	"emacsclient --create-frame" occasionally crashes daemon or
	causes	daemon to hang
Date: Sat, 31 Mar 2012 21:00:45 +0300
> 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?





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.