GNU bug report logs - #61704
29.0.60; Crash in get_narrowed_begv

Previous Next

Package: emacs;

Reported by: Po Lu <luangruo <at> yahoo.com>

Date: Wed, 22 Feb 2023 12:23:01 UTC

Severity: normal

Found in version 29.0.60

Full log


Message #26 received at 61704 <at> debbugs.gnu.org (full text, mbox):

From: Gregory Heytings <gregory <at> heytings.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 61704 <at> debbugs.gnu.org
Subject: Re: bug#61704: 29.0.60; Crash in get_narrowed_begv
Date: Wed, 22 Feb 2023 13:40:41 +0000
>>> How can len possibly be 0 at that point?  It is (in short)
>
> Because the pixel width of W is less than its frame's column width. The 
> division performed window_body_width is truncating, i.e:
>
>  24 / 25 = 0
>
> and I suspect the actual width being divded at that point is less than 
> w->pixel_width, since that window had fringes.
>

In that case it's a bug in window_body_width I guess, which should do

/* Don't return a non-positive value.  */
return max (width / denom, 1);

>
> I did say that this happened while resizing the window.  It was being 
> displayed in an ediff-created frame.
>

You mean, the ediff popup control frame?





This bug report was last modified 2 years and 114 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.