From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56561: 29.0.50; Infloop in try_window Date: Fri, 15 Jul 2022 09:14:10 +0300 Message-ID: <83sfn2sy19.fsf@gnu.org> References: <874jzjwmhn.fsf@md5i.com> <83v8rzsdd1.fsf@gnu.org> <878rovxqjo.fsf@md5i.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11232"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56561@debbugs.gnu.org To: Michael Welsh Duggan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 15 08:16:36 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oCEct-0002h5-H3 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Jul 2022 08:16:35 +0200 Original-Received: from localhost ([::1]:43498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCEcr-000257-VF for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Jul 2022 02:16:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCEbO-0001Xm-L2 for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2022 02:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41499) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCEbO-0001Wx-AP for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2022 02:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCEbN-0003R8-Uo for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2022 02:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jul 2022 06:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56561 X-GNU-PR-Package: emacs Original-Received: via spool by 56561-submit@debbugs.gnu.org id=B56561.165786567113155 (code B ref 56561); Fri, 15 Jul 2022 06:15:01 +0000 Original-Received: (at 56561) by debbugs.gnu.org; 15 Jul 2022 06:14:31 +0000 Original-Received: from localhost ([127.0.0.1]:39258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCEas-0003Q7-Os for submit@debbugs.gnu.org; Fri, 15 Jul 2022 02:14:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCEan-0003Pr-Qz for 56561@debbugs.gnu.org; Fri, 15 Jul 2022 02:14:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57584) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCEah-0001Sg-7e; Fri, 15 Jul 2022 02:14:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=uOb+j73by7eEhqi94DiHHt1+rB9ysJk4NT0gbbvTn9s=; b=OoStq64Fy/TB 81QVd7WZcNw0tmc6qGx+0s//LXBcIALU1JX8P62Ijvpa17xF2unE54Yp4U8F40aIsb9wbsNRZE3P/ IoibckkqKBSMhOG62/J08oh+9esnn9qrK1C8u0LGGdhbEx9aiZtH/33/Fem1/AdRlK9C9b6+oZhUf Fxqiy27wF+iboQICoaJyA8av2vG8tfysGafrOi0p7yOpkuk3GyWoxcPddS1pxsCFAJlnvOp+Wd4ED AUrEkY5sonDjB+q76RB1VlJknx2wsCTh9sfKxz67bN70x0ROpnZRU7V7IqvvXiPkvHmKL5zkYOkgE ffTeW1IrX/iQrc4oMNy5xg==; Original-Received: from [87.69.77.57] (port=3363 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCEad-0005tk-Ey; Fri, 15 Jul 2022 02:14:17 -0400 In-Reply-To: <878rovxqjo.fsf@md5i.com> (message from Michael Welsh Duggan on Thu, 14 Jul 2022 18:44:43 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237054 Archived-At: > From: Michael Welsh Duggan > Cc: 56561@debbugs.gnu.org > Date: Thu, 14 Jul 2022 18:44:43 -0400 > > Moving my cursor between frames and either clicking or typing C-p, I > think. The emacs was on a remote machine at the time, visible via X11 > over ssh. This may have slowed X events enough for some corner > condition to be achieved. All I see is that Emacs tried to display a tooltip. > (gdb) p current_thread->m_current_buffer->text->beg > $15 = (unsigned char *) 0x555557bb75a0 "mouse-2: correct word at point" > (gdb) p it->current > $16 = { > pos = { > charpos = 31, > bytepos = 31 > }, > overlay_string_index = -1, > string_pos = { > charpos = -1, > bytepos = -1 > }, > dpvec_index = -1 > } > (gdb) p it->w->desired_matrix->nrows > $17 = 35 > > (gdb) p MATRIX_ROW_VPOS(row, it->w->desired_matrix) > No symbol "MATRIX_ROW_VPOS" in current context. > (gdb) p row - it->w->desired_matrix->rows > $18 = 35 Hmm... so the short tooltip text somehow causes us to exceed the number of glyph rows of the matrix? Please tell what the commands below show: (gdb) pgrowx it->w->desired_matrix->rows (gdb) pgrowx it->w->desired_matrix->rows+1 (gdb) pgrowx it->w->desired_matrix->rows+2 (gdb) pgrowx it->w->desired_matrix->rows+3 ... (gdb) pgrowx it->w->desired_matrix->rows+34 That is, I want to see the entire contents of the glyph rows. Also (gdb) p it->last_visible_x (gdb) p it->last_visible_y Thanks.