[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: utf-8 input under X11
From: |
Gerd Moellmann |
Subject: |
Re: utf-8 input under X11 |
Date: |
24 Oct 2001 11:59:16 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 |
David Monniaux <monniaux@di.ens.fr> writes:
> Started Emacs, tried both, with same result (segfault):
> - hitting the EuroSign keysym using AltGr-E
> - hitting Multi_key E =
> (both those keysym sequences are decoded as the UTF-8 character for
> the Euro sign).
Thanks, David.
> Starting program: /opt/emacs-21/bin/emacs -xrm "emacs.synchronous:
> true"
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x081086be in kbd_buffer_get_event (kbp=0xbfffeb9c,
> used_mouse_menu=0x0)
> at keyboard.c:3713
> (gdb) bt
> #0 0x081086be in kbd_buffer_get_event (kbp=0xbfffeb9c,
> used_mouse_menu=0x0)
> at keyboard.c:3713
A Heisenbug? It's somewhere else now than before. Anyway...
Could you please apply this patch, and see if the abort is hit?
*** xterm.c.~1.650.4.4.~ Wed Oct 24 11:15:47 2001
--- xterm.c Wed Oct 24 11:55:42 2001
***************
*** 10606,10615 ****
modifiers);
bufp->timestamp = event.xkey.time;
bufp++;
}
-
- count += nchars;
- numchars -= nchars;
if (keysym == NoSymbol)
break;
--- 10606,10616 ----
modifiers);
bufp->timestamp = event.xkey.time;
bufp++;
+ ++count;
+ --numchars;
+ if (numchars < 0)
+ abort ();
}
if (keysym == NoSymbol)
break;
- Re: utf-8 input under X11, (continued)
- Re: utf-8 input under X11, Andreas Schwab, 2001/10/23
- Re: utf-8 input under X11, Eli Zaretskii, 2001/10/23
- Re: utf-8 input under X11, David Monniaux, 2001/10/23
- Re: utf-8 input under X11, Eli Zaretskii, 2001/10/23
- Re: utf-8 input under X11, David Monniaux, 2001/10/23
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/23
- Re: utf-8 input under X11, David Monniaux, 2001/10/23
- Re: utf-8 input under X11, Eli Zaretskii, 2001/10/24
- Re: utf-8 input under X11, David Monniaux, 2001/10/24
- Re: utf-8 input under X11, Eli Zaretskii, 2001/10/24
- Re: utf-8 input under X11,
Gerd Moellmann <=
- Re: utf-8 input under X11, David Monniaux, 2001/10/26
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/26
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/26
- Re: utf-8 input under X11, David Monniaux, 2001/10/26
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/26
- Re: utf-8 input under X11, David Monniaux, 2001/10/26
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/26
- Re: utf-8 input under X11, David Monniaux, 2001/10/26
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/26
- Re: utf-8 input under X11, Gerd Moellmann, 2001/10/26