[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: segfault when using XIM with multi-tty on gnu/linux
From: |
Zsitvai János |
Subject: |
Re: segfault when using XIM with multi-tty on gnu/linux |
Date: |
Sat, 13 Dec 2008 18:18:50 +0100 |
On Sat, Dec 13, 2008 at 15:46, Chong Yidong <address@hidden> 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.