all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Zsitvai János" <zsitvaij@gmail.com>
To: "Chong Yidong" <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: segfault when using XIM with multi-tty on gnu/linux
Date: Sat, 13 Dec 2008 18:18:50 +0100	[thread overview]
Message-ID: <29ba8f210812130918q6fcab179id7b978a90c4d4f50@mail.gmail.com> (raw)
In-Reply-To: <87vdto5e0w.fsf@cyd.mit.edu>

On Sat, Dec 13, 2008 at 15:46, Chong Yidong <cyd@stupidchicken.com> wrote:
> Does the following patch change anything?
>
> If not, could you run Emacs under a debugger with breakpoints at
> xim_close_dpy and xim_destroy_callback?  Is xim_destroy_callback called
> during frame deletion?  If not, could you verify that XIMClose is called
> by Emacs exactly once per frame deletion?

Sadly, the patch did not fix it. I set breakpoints at xterm.c:8203 and
xterm.c:10529
where xim_close_dpy and xim_destroy_callback are called. xim_close_dpy never
got called, and xim_destroy_callback was called only when creating an X frame.

The XCloseIM breakpoint at xterm.c:8328 claims that it was hit 3
times: once after deleting the first
X frame, twice after deleting the second.




  reply	other threads:[~2008-12-13 17:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-13  5:55 segfault when using XIM with multi-tty on gnu/linux Chong Yidong
2008-12-13 11:03 ` Zsitvai János
2008-12-13 14:46   ` Chong Yidong
2008-12-13 17:18     ` Zsitvai János [this message]
2008-12-13 17:31       ` Chong Yidong
2008-12-13 17:48         ` Zsitvai János
2008-12-13 22:11           ` Chong Yidong
2008-12-14  4:08             ` Zsitvai János
  -- strict thread matches above, loose matches on Subject: below --
2008-08-13 16:37 David Smith

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=29ba8f210812130918q6fcab179id7b978a90c4d4f50@mail.gmail.com \
    --to=zsitvaij@gmail.com \
    --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.