emacs-devel
[Top][All Lists]
Advanced

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

Re: assertion failed: c == event->code


From: martin rudalics
Subject: Re: assertion failed: c == event->code
Date: Wed, 12 Dec 2007 18:54:38 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> I'm getting a failed assertion:
>
> keyboard.c:5548: Emacs fatal error: assertion failed: c == event->code
>
> Breakpoint 1, w32_abort () at w32fns.c:9127
> 9127      button = MessageBox (NULL,
> (gdb) bt
> #0  w32_abort () at w32fns.c:9127
...
> That's on Windows XP, with an up-to-date trunk build, built with "gcc
> (GCC) 4.2.1-sjlj (mingw32-2)".
>
> The error happens (repeatably) whenever I press Ctrl + a non-ASCII key
> (for example, C-Ñ, C-ç, C-º).

I can't resist adding my personal favorite in this department here:

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread -335645.0xfffad9b7]
w32_wnd_proc (hwnd=0x69c, msg=256, wParam=4287102993, lParam=1075642369) at 
w32fns.c:3082
(gdb) backtrace
#0  w32_wnd_proc (hwnd=0x69c, msg=256, wParam=4287102993, lParam=1075642369) at 
w32fns.c:3082
#1  0xbff63613 in _libwinspool_a_iname ()
#2  0xbff848f7 in _libwinspool_a_iname ()
#3  0x21028d7a in ?? ()
#4  0x00058f64 in ?? ()
#5  0x280a0d0a in ?? ()

where the offending line in w32fns.c is

          if (lispy_function_keys[wParam] == 0)

Repeatable on WindowsME ever since by scrolling the mouse-wheel with the
control or meta key pressed down.

Note: The bug occurs iff "enhanced scroll-mode" is turned on, that is
C-h k for spinning the mouse-wheel gives

<vertical-scroll-bar> <mouse-1> (translated from <mouse-1>) at that spot runs 
the command scroll-bar-toolkit-scroll

Maybe the person handling Juanma's problem could have a kind look at
this one too ;-)






reply via email to

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