[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11081: 24.0.94; "emacsclient --create-frame" occasionally crashes da
From: |
Eli Zaretskii |
Subject: |
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@swipnet.se>
> Date: Sat, 31 Mar 2012 19:16:55 +0200
> Cc: 11081@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?