unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: kaushal.modi@gmail.com
Cc: 32258@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <836011u54u.fsf@gnu.org> (raw)
In-Reply-To: <838t5xu7ln.fsf@gnu.org> (message from Eli Zaretskii on Thu, 26 Jul 2018 22:20:36 +0300)

> Date: Thu, 26 Jul 2018 22:20:36 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 32258@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.





  reply	other threads:[~2018-07-26 20:13 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-24 12:06 bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] Kaushal Modi
2018-07-24 13:36 ` Kaushal Modi
2018-07-24 13:52   ` Noam Postavsky
2018-07-24 13:59     ` Kaushal Modi
2018-07-24 14:39   ` Eli Zaretskii
2018-07-24 15:55     ` Kaushal Modi
2018-07-24 18:17       ` Eli Zaretskii
2018-07-24 18:26         ` Kaushal Modi
2018-07-24 18:55           ` Eli Zaretskii
2018-07-24 19:04             ` Kaushal Modi
2018-07-24 19:13               ` Eli Zaretskii
2018-07-24 19:35                 ` Kaushal Modi
2018-07-26 13:42                   ` Kaushal Modi
2018-07-26 17:59                     ` Eli Zaretskii
2018-07-26 18:07                       ` Kaushal Modi
2018-07-26 19:20                         ` Eli Zaretskii
2018-07-26 20:13                           ` Eli Zaretskii [this message]
2018-07-26 20:46                             ` Kaushal Modi
2018-08-01 19:21                               ` Kaushal Modi
2018-08-02 14:00                                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=836011u54u.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=32258@debbugs.gnu.org \
    --cc=kaushal.modi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).