unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Jan Djärv" <jan.h.d@swipnet.se>
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: Sat, 31 Mar 2012 21:00:45 +0300	[thread overview]
Message-ID: <83k420k5v6.fsf@gnu.org> (raw)
In-Reply-To: <BEBED992-481E-4131-9AD0-DD6D39EFB331@swipnet.se>

> 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?






  reply	other threads:[~2012-03-31 18:00 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 [this message]
2012-04-01  9:33         ` Jan Djärv
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=83k420k5v6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=11081@debbugs.gnu.org \
    --cc=brad@bradtown.com \
    --cc=jan.h.d@swipnet.se \
    /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).