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: Thu, 14 Jul 2022 22:28:26 +0300 Message-ID: <83v8rzsdd1.fsf@gnu.org> References: <874jzjwmhn.fsf@md5i.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9341"; 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 Thu Jul 14 21:29:10 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 1oC4WM-0002Eu-4C for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 21:29:10 +0200 Original-Received: from localhost ([::1]:47674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oC4WK-0000MV-9X for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 15:29:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oC4WD-0000MK-Vk for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 15:29:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oC4WD-0006oK-Mt for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 15:29:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oC4WD-0003UG-HD for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 15:29: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: Thu, 14 Jul 2022 19:29: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.165782692013374 (code B ref 56561); Thu, 14 Jul 2022 19:29:01 +0000 Original-Received: (at 56561) by debbugs.gnu.org; 14 Jul 2022 19:28:40 +0000 Original-Received: from localhost ([127.0.0.1]:38929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oC4Vr-0003Td-RC for submit@debbugs.gnu.org; Thu, 14 Jul 2022 15:28:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oC4Vp-0003TO-Bm for 56561@debbugs.gnu.org; Thu, 14 Jul 2022 15:28:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oC4Vk-0006lG-35; Thu, 14 Jul 2022 15:28:32 -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=Qoqh80e8Trb36tLC3DZnfBclgRUM6hElKZA9tjDkyeM=; b=JZD4G30DjkeC FAK4uBLX0zPWihNzte1leyX7qyydxeBjw4U8yV52ku4bwHPKPczdIHRWH7kPNo9XmO2p22lb2lNp+ PfzWUsrQkwuXkkovZQZ3ED+nEX4RWbCmST1FzISEqDh42fEZTCW43hD/1adegOJ+G4ymJ8QJzvcGu 5sRt8i+Y68Ez9GfBOHgLZFiXTnaRV2ADbvdNFwVrrqhEXByAo/s3HQUqnEx/ToIKEz57HU5a6Gmg2 1pHk2KkAolu0yRIhKsCXytBm+kcmoB6TJRIQf2q3hFZTwwNaxiNf0bLL5ycoCbM0Ynj0v2CXtoMFV voTh/t1H7TPQvCGQaYU94A==; Original-Received: from [87.69.77.57] (port=3815 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 1oC4Vj-0005t3-GK; Thu, 14 Jul 2022 15:28:31 -0400 In-Reply-To: <874jzjwmhn.fsf@md5i.com> (message from Michael Welsh Duggan on Thu, 14 Jul 2022 14:57:40 -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:237038 Archived-At: > From: Michael Welsh Duggan > Date: Thu, 14 Jul 2022 14:57:40 -0400 > > I've connected to this in gdb. `try_window' is calling `display_line' > in a loop until the iterator hits a certain point. But `display_line', > in this case, isn't modifying the iterator, so the loop never ends. > Here follows part of the debugging session demonstrating this. I'll > keep this gdb session alive for a while. I need to see what's in the buffer and some other variables. These are for the call-stack frame inside display_line: (gdb) p current_buffer->text->beg (gdb) p it->current (gdb) p it->w->desired_matrix->nrows (gdb) p MATRIX_ROW_VPOS(row, it->w->desired_matrix) (gdb) thread apply all bt (gdb) xbacktrace And finally, any idea what you were doing when this happened? Thanks.