From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <836011u54u.fsf@gnu.org> References: <83va94vgsy.fsf@gnu.org> <83pnzcv6pe.fsf@gnu.org> <83muugv4z8.fsf@gnu.org> <83k1pkv45f.fsf@gnu.org> <83d0v9ubcq.fsf@gnu.org> <838t5xu7ln.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1532635989 4985 195.159.176.226 (26 Jul 2018 20:13:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2018 20:13:09 +0000 (UTC) Cc: 32258@debbugs.gnu.org To: kaushal.modi@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 26 22:13:04 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fimdD-00016U-Gi for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jul 2018 22:13:03 +0200 Original-Received: from localhost ([::1]:37961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fimfI-0003iJ-VR for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jul 2018 16:15:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fimfC-0003i2-AC for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2018 16:15:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fimf8-00028U-AV for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2018 16:15:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54327) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fimf8-00027w-5k for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2018 16:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fimf7-0001n1-Ui for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2018 16:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Jul 2018 20:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32258 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32258-submit@debbugs.gnu.org id=B32258.15326360496804 (code B ref 32258); Thu, 26 Jul 2018 20:15:01 +0000 Original-Received: (at 32258) by debbugs.gnu.org; 26 Jul 2018 20:14:09 +0000 Original-Received: from localhost ([127.0.0.1]:59345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fimeH-0001lg-1A for submit@debbugs.gnu.org; Thu, 26 Jul 2018 16:14:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fimeC-0001l3-Du for 32258@debbugs.gnu.org; Thu, 26 Jul 2018 16:14:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fime3-0000Z4-7w for 32258@debbugs.gnu.org; Thu, 26 Jul 2018 16:13:59 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fime3-0000Yo-3z; Thu, 26 Jul 2018 16:13:55 -0400 Original-Received: from [176.228.60.248] (port=2715 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fime2-0008MQ-Dt; Thu, 26 Jul 2018 16:13:54 -0400 In-reply-to: <838t5xu7ln.fsf@gnu.org> (message from Eli Zaretskii on Thu, 26 Jul 2018 22:20:36 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148984 Archived-At: > Date: Thu, 26 Jul 2018 22:20:36 +0300 > From: Eli Zaretskii > 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.