From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: broken input mechanism Date: 24 Feb 2004 22:10:50 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040224.110750.186976779.Takaaki.Ota@am.sony.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1077657759 19579 80.91.224.253 (24 Feb 2004 21:22:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2004 21:22:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Feb 24 22:22:27 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Avk0Y-0007oW-00 for ; Tue, 24 Feb 2004 22:22:26 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Avk0Y-0002Rc-00 for ; Tue, 24 Feb 2004 22:22:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Avk0E-0004gA-Ii for emacs-devel@quimby.gnus.org; Tue, 24 Feb 2004 16:22:06 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1Avjyl-0003xY-JT for emacs-devel@gnu.org; Tue, 24 Feb 2004 16:20:35 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1Avjwh-0002mP-U3 for emacs-devel@gnu.org; Tue, 24 Feb 2004 16:19:00 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1Avjvt-0002M7-T5 for emacs-devel@gnu.org; Tue, 24 Feb 2004 16:17:37 -0500 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by mx20.gnu.org with esmtp (Exim 4.30) id 1Avitb-0003zI-DN for emacs-devel@gnu.org; Tue, 24 Feb 2004 15:11:11 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id 4503D47FE0B; Tue, 24 Feb 2004 21:10:58 +0100 (CET) Original-To: Tak Ota In-Reply-To: <20040224.110750.186976779.Takaaki.Ota@am.sony.com> Original-Lines: 42 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20161 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20161 Tak Ota 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 http://www.cua.dk