GNU bug report logs - #32258
27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2]

Previous Next

Package: emacs;

Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>

Date: Tue, 24 Jul 2018 12:07:02 UTC

Severity: normal

Found in version 27.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: kaushal.modi <at> gmail.com
Cc: 32258 <at> debbugs.gnu.org
Subject: Re: bug#32258: 27.0.50;
 Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8
 GTK2]
Date: Thu, 26 Jul 2018 23:13:53 +0300
> Date: Thu, 26 Jul 2018 22:20:36 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 32258 <at> debbugs.gnu.org
> 
> But since you cannot trigger the problem at will, it sounds
> impractical.  So it sounds like we are stuck, sorry.

OK, stabbing in the dark here: in this fragment of xdisp.c:

      /* Redisplay, then check if cursor has been set during the
	 redisplay.  Give up if new fonts were loaded.  */
      /* We used to issue a CHECK_MARGINS argument to try_window here,
	 but this causes scrolling to fail when point begins inside
	 the scroll margin (bug#148) -- cyd  */
      if (!try_window (window, startp, 0))
	{
	  w->force_start = true;
	  clear_glyph_matrix (w->desired_matrix);
	  goto need_larger_matrices;
	}

which on the current trunk is around line 16920, please insert this
line:

      clear_glyph_matrix (w->desired_matrix);

before this line:

      if (!try_window (window, startp, 0))

Then try running with this change for a while, and see if it solves
the assertion violations and doesn't produce any unintended adverse
effects.

Thanks.




This bug report was last modified 6 years and 293 days ago.

Previous Next


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