emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: emacs hangs; 100% cpu usage


From: Kim F. Storm
Subject: Re: emacs hangs; 100% cpu usage
Date: Tue, 18 Jan 2005 15:40:43 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

address@hidden writes:

>> Could you try the suggestions in etc/DEBUG for infinite loops?
> Following the procedure described in etc/DEBUG I got the following:
> (gdb) finish
> Run till exit from #0  0x000000000055339c in sweep_weak_table (h=0xf29680, 
>     remove_entries_p=0) at fns.c:4792

Does the following patch fix the infinite loop ?

*** fns.c       12 Jan 2005 09:27:55 +0100      1.381
--- fns.c       18 Jan 2005 15:38:16 +0100      
***************
*** 4836,4841 ****
--- 4836,4845 ----
  
                  h->count = make_number (XFASTINT (h->count) - 1);
                }
+             else
+               {
+                 prev = idx;
+               }
            }
          else
            {

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





reply via email to

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