all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: broken input mechanism
Date: 24 Feb 2004 22:10:50 +0100	[thread overview]
Message-ID: <m34qtgkwth.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <20040224.110750.186976779.Takaaki.Ota@am.sony.com>

Tak Ota <Takaaki.Ota@am.sony.com> writes:

> The current keyboard.c is broken on W32 platform.  When key input
> accumulates substantially (auto repeating key faster than redisplay)
> Emacs crashes variety of way.  On the latest revision 1.766 it always
> crashes in get_filtered_input_pending where addr holding bogus value
> (mostly 0x04000000, rarely 0x00000000).  Strangely the call stack
> only shows get_filtered_input_pending and get_input_pending but
> nothing before under VC++ debugger.
> 
> Revision must go back to 1.761 to have a good build without this
> problem.

Does the following patch fix this?

Index: w32term.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/w32term.c,v
retrieving revision 1.206
diff -c -r1.206 w32term.c
*** w32term.c	22 Feb 2004 22:41:52 -0000	1.206
--- w32term.c	24 Feb 2004 20:09:24 -0000
***************
*** 4168,4174 ****
  
    /* TODO: tool-bars, ghostscript integration, mouse
       cursors. */
!   while (get_next_msg (&msg, FALSE))
      {
        switch (msg.msg.message)
  	{
--- 4168,4174 ----
  
    /* TODO: tool-bars, ghostscript integration, mouse
       cursors. */
!   while (numchars > 0 && get_next_msg (&msg, FALSE))
      {
        switch (msg.msg.message)
  	{

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2004-02-24 21:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-24 19:07 broken input mechanism Tak Ota
2004-02-24 21:10 ` Kim F. Storm [this message]
2004-02-25  2:41   ` Tak Ota

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

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

  git send-email \
    --in-reply-to=m34qtgkwth.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.