all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Suspicious error in GTk
Date: Mon, 11 Jun 2007 16:37:43 -0400	[thread overview]
Message-ID: <871wgixm5k.fsf@stupidchicken.com> (raw)
In-Reply-To: <jwvhcpe45eo.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon\, 11 Jun 2007 16\:19\:56 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> While trying out SYNC_INPUT with Gtk together with the `eassert' debugging
> I bumped into the appended backtrace, right at startup.  Basically, the code
> run from XTread_socket (run asynchronously at any time) can call
> update_frame_tool_bar which in turn calls xpm_load which ends up calling
> encode_coding_string (to encode the file's name) which fiddles with
> specpdl_ptr (via record_unwind_protect) and may run elisp code.
>
> Most likely it will usually not lead to any problem, but I believe it'll
> bite every now and then and will be difficult to trace.

ISTR that parts of alloc.c are carried out inside BLOCK_INPUT, but
only if SYNC_INPUT is off.  Does this mean that we need BLOCK_INPUT
even when SYNC_INPUT is on?

  reply	other threads:[~2007-06-11 20:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-11 20:19 Suspicious error in GTk Stefan Monnier
2007-06-11 20:37 ` Chong Yidong [this message]
2007-06-11 21:16   ` Stefan Monnier
2007-06-12  6:13 ` Jan Djärv

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=871wgixm5k.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.