From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 11081@debbugs.gnu.org, brad@bradtown.com
Subject: bug#11081: 24.0.94; "emacsclient --create-frame" occasionally crashes daemon or causes daemon to hang
Date: Sun, 1 Apr 2012 11:33:28 +0200 [thread overview]
Message-ID: <32C38409-1EB5-4864-B217-07F05D7925C5@swipnet.se> (raw)
In-Reply-To: <83k420k5v6.fsf@gnu.org>
31 mar 2012 kl. 20:00 skrev Eli Zaretskii:
>> 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?
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.
next prev parent reply other threads:[~2012-04-01 9:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-23 23:19 bug#11081: 24.0.94; "emacsclient --create-frame" occasionally crashes daemon or causes daemon to hang Brad Town
2012-03-24 12:01 ` Jan Djärv
2012-03-29 16:27 ` Brad Town
2012-03-31 17:16 ` Jan Djärv
2012-03-31 18:00 ` Eli Zaretskii
2012-04-01 9:33 ` Jan Djärv [this message]
2021-12-04 20:02 ` Lars Ingebrigtsen
2021-12-04 20:50 ` Brad Town via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-04 21:02 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=32C38409-1EB5-4864-B217-07F05D7925C5@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=11081@debbugs.gnu.org \
--cc=brad@bradtown.com \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).