emacs-devel
[Top][All Lists]
Advanced

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

Re: Hard bug caused by window management code?


From: Dmitry Antipov
Subject: Re: Hard bug caused by window management code?
Date: Wed, 27 Mar 2013 13:26:32 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4

On 03/27/2013 11:23 AM, martin rudalics wrote:

It seems to hang in `set-window-configuration'.

Now I'm seeing that enormously huge SIZE (3151760 !!!) passed from Lisp
to Fset_window_new_total causes an attempt to allocate appropriately huge
glyph matrix (window_resize_apply propagates this value from w->new_total
to w->total_lines, next it's used in window_box_height, and finally in
required_matrix_height, etc.). So:

1) Can you check lisp/window.el and find from where this SIZE comes?

2) Shouldn't we check whether SIZE in Fset_window_new_total and
   Fset_window_new_normal isn't too large, for example, not larger
   than the appropriate dimension of the frame contains WINDOW?

Dmitry




reply via email to

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