unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: Emacs-Devel <emacs-devel@gnu.org>
Subject: Re: assertion failed: c == event->code
Date: Wed, 12 Dec 2007 18:54:38 +0100	[thread overview]
Message-ID: <4760205E.7050608@gmx.at> (raw)
In-Reply-To: <f7ccd24b0712120714p37b2a96cwe1a6216823c894a9@mail.gmail.com>

 > 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 ;-)

      parent reply	other threads:[~2007-12-12 17:54 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-12 15:14 assertion failed: c == event->code Juanma Barranquero
2007-12-12 17:30 ` Stefan Monnier
2007-12-12 18:00   ` Juanma Barranquero
2007-12-12 20:05     ` Stefan Monnier
2007-12-12 22:54       ` Juanma Barranquero
2007-12-12 23:41       ` Jason Rumney
2007-12-13 14:16     ` Jason Rumney
2007-12-13 15:09       ` Juanma Barranquero
2007-12-13 16:37         ` Jason Rumney
2007-12-13 16:44           ` Juanma Barranquero
2007-12-14  9:24             ` Jason Rumney
2007-12-14 10:11               ` Juanma Barranquero
2007-12-14  1:08       ` Kenichi Handa
2007-12-14  8:47         ` Jason Rumney
2007-12-14 11:11           ` Kenichi Handa
2007-12-14 12:23             ` Jason Rumney
2007-12-14 14:25               ` Juanma Barranquero
2007-12-16 15:19               ` Juanma Barranquero
2007-12-16 20:49                 ` Jason Rumney
2007-12-16 20:53                   ` Juanma Barranquero
2007-12-16 20:59                     ` Juanma Barranquero
2007-12-16 21:25                     ` Miles Bader
2007-12-17  1:52                   ` Jason Rumney
2007-12-17  9:06                     ` Juanma Barranquero
2007-12-12 18:36   ` Andreas Schwab
2007-12-12 17:54 ` martin rudalics [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4760205E.7050608@gmx.at \
    --to=rudalics@gmx.at \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).