emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: segfault when using XIM with multi-tty on gnu/linux


From: Chong Yidong
Subject: Re: segfault when using XIM with multi-tty on gnu/linux
Date: Sat, 13 Dec 2008 00:55:03 -0500

> Is the call to XCloseIM() in xim_close_dpy (xterm.c:8316) necessary?
> Since if we HAVE_X11R6_XIM, xim_destroy_callback is called, and it
> claims there is no need to call XCloseIM (xterm.c:8143). A small patch
> is attached that changes the logic of xim_close_dpy slightly to call
> XCloseIM iff HAVE_XIM && !HAVE_X11R6_XIM. This fixes the segfault
> here.

I reverted your patch, as it was causing a memory leak.

> Steps to reproduce:
>  1. start emacs -nw
>  2. have XIM active for your X session (run scim -d)
>  3. start X11-capable emacs frame with emacsclient -c
>  4. close the X11 emacs frame
>  5. segfault with error 

I can't reproduce this bug, even now that Emacs calls XCloseIM.  Do you
still see the segfault?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]