emacs-devel
[Top][All Lists]
Advanced

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

Re: cvs head crash on woe32


From: Tak Ota
Subject: Re: cvs head crash on woe32
Date: Wed, 25 Feb 2004 15:02:06 -0800 (PST)

Have you tried the attached patch?

-Tak

Wed, 25 Feb 2004 17:30:54 -0500: Sam Steingold <address@hidden> wrote:

> GNU Emacs 21.3.50.1 (i386-msvc-nt5.0.2195)
>  of 2004-02-25 on WINSTEINGOLDLAP
> --with-msvc (12.00)
> 
> I get a fairly reproducible crash on w32:
> when emacs is busy (reading a large file, dired a network directory,
> gnus &c), hit arrow keys at random.  the result is a crash - apparently
> as soon as the lengthy operation is over.
> 
> -- 
> Sam Steingold (http://www.podval.org/~sds) running w2k
> <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
> <http://www.mideasttruth.com/> <http://www.honestreporting.com>
> If abortion is murder, then oral sex is cannibalism.
> 
> 
> _______________________________________________
> Emacs-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/emacs-devel
--- Begin Message --- Subject: Re: broken input mechanism Date: 24 Feb 2004 22:10:50 +0100 User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
Tak Ota <address@hidden> 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 <address@hidden> http://www.cua.dk



_______________________________________________
Emacs-devel mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/emacs-devel

--- End Message ---

reply via email to

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