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

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

infinite loop on frame resize


From: YAMAMOTO Mitsuharu
Subject: infinite loop on frame resize
Date: Sun, 14 Nov 2004 13:46:39 +0900 (JST)
User-agent: SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

If Emacs is invoked as

  emacs -Q --eval "(progn (split-window) (set-frame-parameter nil 'height 1))"

then it falls into infinite loop in xdisp.c:

2682      while (total_shrink > total_removed)
2683        {
2684          for (i = 0; i < nchildren; ++i)
2685            if (new_sizes[i] > min_size)
2686              {
2687                --new_sizes[i];
2688                ++total_removed;
2689    
2690                /* Out of for, just shrink one window at the time and
2691                   check again if we have enough space.  */
2692                break;
2693              }
2694        }

where total_shrink = 40, total_removed = 37, nchildren = 2, new_sizes
= {0, 4}, min_size = 4.

In GNU Emacs 21.3.50.1 (sparc-sun-solaris2.8, X toolkit, Xaw3d scroll bars)
 of 2004-11-14 on church
Distributor `The XFree86 Project, Inc', version 11.0.40300000
configured using `configure '--x-libraries=/usr/local/lib' 'CFLAGS=-O2 -mv8''




reply via email to

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