all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: GTK stack-busting loop
Date: Mon, 01 Nov 2010 12:43:07 +0100	[thread overview]
Message-ID: <4CCEA7CB.1040608@swipnet.se> (raw)
In-Reply-To: <8739rn810g.fsf@stupidchicken.com>

2010-10-31 05:00, Chong Yidong skrev:
> On the trunk, with GTK, the following recipe causes an infloop:
>
> 1. emacs -Q -nw -f server-start
> 2. emacsclient -c
> 3. In another terminal, run `xkill' and click on the GTK toolbar
>
> The backtrace is at the end of this message.  It can be obtained by
> attaching to the looping Emacs process in another gdb session.
> Eventually, the loop overflows the stack.
>
> This bug does not occur on the emacs-23 branch, nor if you click `xkill'
> on other parts of the graphical frame.  In those cases, Emacs aborts as
> it now ought to.
>

I get the same behaviour in Emacs-23 and trunk, i.e.:
Connection lost to X server `:0.0'
When compiled with GTK, Emacs cannot recover from X disconnects.
This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715
For details, see etc/PROBLEMS.

(emacs:8582): GLib-WARNING **: g_main_context_prepare() called recursively 
from within a source's check() or prepare() member.

(emacs:8582): GLib-WARNING **: g_main_context_check() called recursively from 
within a source's check() or prepare() member.
Fatal error (6)Avbruten (SIGABRT)

	Jan D.



  parent reply	other threads:[~2010-11-01 11:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-31  4:00 GTK stack-busting loop Chong Yidong
2010-11-01  1:28 ` Stefan Monnier
2010-11-01 11:43 ` Jan Djärv [this message]
2010-11-01 16:03   ` Chong Yidong

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CCEA7CB.1040608@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.