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#45898: 27.1; wedged in redisplay again Date: Sat, 25 Jun 2022 10:17:45 +0300 Message-ID: <83o7yhb49y.fsf@gnu.org> References: <165605725704.24125.17210424600068379407@vcs2.savannah.gnu.org> <20220624075417.BFA82C0169C@vcs2.savannah.gnu.org> <87wnd6v34k.fsf@gnus.org> <83mte2coqg.fsf@gnu.org> <87fsjuqpzi.fsf@gnus.org> <83k096clsx.fsf@gnu.org> <8735fup5oh.fsf@gnus.org> <83a6a2cher.fsf@gnu.org> <874k09nau4.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29994"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , 45898@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 25 09:19:15 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 1o504Z-0007d5-Fj for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jun 2022 09:19:15 +0200 Original-Received: from localhost ([::1]:58022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o504X-0003lL-TQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jun 2022 03:19:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o504M-0003lD-Rb for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2022 03:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o504M-0004ds-J0 for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2022 03:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o504M-0003PW-Ce for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2022 03:19: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: Sat, 25 Jun 2022 07:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45898 X-GNU-PR-Package: emacs Original-Received: via spool by 45898-submit@debbugs.gnu.org id=B45898.165614148913041 (code B ref 45898); Sat, 25 Jun 2022 07:19:02 +0000 Original-Received: (at 45898) by debbugs.gnu.org; 25 Jun 2022 07:18:09 +0000 Original-Received: from localhost ([127.0.0.1]:44041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o503U-0003OH-Vd for submit@debbugs.gnu.org; Sat, 25 Jun 2022 03:18:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o503I-0003NY-Hm for 45898@debbugs.gnu.org; Sat, 25 Jun 2022 03:18:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o503D-0004Wd-41; Sat, 25 Jun 2022 03:17:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=RQH7f1QQWqfTj+h5OBoM0q4xt7nPu7DQA6/JnEvVukI=; b=oQHuNV8jIzHrD5K9GwbJ Q2kvXaKQpof3Xg2TBGqMIfstU7y6w63VPXWx+tW0jN2DnQXriyL3V76El5OvUfdPPK9KSL2W5CtfJ +dHkyn8jlBA3sGZ91KElJsCmhadYG3Vm6SEBhIkToGQSd9hM6sZm0VCPWnlp9OJFQ4LvV5Fy76CKu /I2+LIMj5HYbD/AhLMMeDrL2+lRHqpffFmZFTE4q0ESC+6+3+FmDSqTsX5Buyepp5zWzFYoq/fbeV yqVBkC1UbA/87exCzYHCn2PZFtFmsAsj3Bd30aFf3X/hJLjQSN74bVVJodJZUFrige5ySlILiX+UK LL4OJbD4lcZp5Q==; Original-Received: from [87.69.77.57] (port=1275 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 1o503C-0007qX-FX; Sat, 25 Jun 2022 03:17:50 -0400 In-Reply-To: <874k09nau4.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 24 Jun 2022 21:02:59 +0200) 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:235234 Archived-At: [I've redirected the discussion here, since emacs-diffs isn't the right place for it.] > From: Lars Ingebrigtsen > Cc: emacs-diffs@gnu.org > Date: Fri, 24 Jun 2022 21:02:59 +0200 > > Eli Zaretskii writes: > > >> > I cannot reproduce this. Does it happen with the latest master? If > >> > so, can you put a breakpoint in xdisp.c here: > >> > > >> > if (w && w->desired_matrix) > >> > w->desired_matrix->no_scrolling_p = true; > >> > error ("Window showing buffer %s takes too long to redisplay", bufname); > >> > > >> > on the line that calls 'error', and when it breaks, show the > >> > backtrace, both the C backtrace and Lisp backtrace? > > (gdb) bt > #0 update_redisplay_ticks (ticks=1, w=0x55555619b040) at xdisp.c:17256 > #1 0x00005555555d894e in set_iterator_to_next (it=0x7fffffff6d40, reseat_p=true) at xdisp.c:8189 > #2 0x00005555555ddabd in move_it_in_display_line_to (it=0x7fffffff6d40, to_charpos=69407, to_x=-1, op=MOVE_TO_POS) at xdisp.c:9967 > #3 0x00005555555de979 in move_it_to (it=0x7fffffff6d40, to_charpos=69407, to_x=-1, to_y=1494, to_vpos=-1, op=10) at xdisp.c:10221 > #4 0x00005555555e06c8 in partial_line_height (it_origin=0x7fffffff80b0) at xdisp.c:10852 > #5 0x00005555555f8cd5 in try_window (window=XIL(0x55555619b045), pos=..., flags=1) at xdisp.c:20229 > #6 0x00005555555f5e16 in redisplay_window (window=XIL(0x55555619b045), just_this_one_p=false) at xdisp.c:19606 > #7 0x00005555555ee563 in redisplay_window_0 (window=XIL(0x55555619b045)) at xdisp.c:17184 > #8 0x00005555557e6222 in internal_condition_case_1 (bfun=0x5555555ee521 , arg=XIL(0x55555619b045), handlers=XIL(0x7ffff17549f3), hfun=0x5555555ee43a ) at eval.c:1509 > #9 0x00005555555ee410 in redisplay_windows (window=XIL(0x55555619b045)) at xdisp.c:17154 > #10 0x00005555555ed2ce in redisplay_internal () at xdisp.c:16609 > #11 0x00005555555edd94 in redisplay_preserve_echo_area (from_where=9) at xdisp.c:16967 > #12 0x000055555584c9f5 in wait_reading_process_output (time_limit=45, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=XIL(0), wait_proc=0x0, just_wait_proc=0) at process.c:5334 > #13 0x00005555555aa9f8 in sit_for (timeout=make_fixnum(45), reading=true, display_option=1) at dispnew.c:6238 > #14 0x000055555572aa94 in read_char (commandflag=1, map=XIL(0x55555941e113), prev_event=XIL(0), used_mouse_menu=0x7fffffffd9df, end_time=0x0) at keyboard.c:2840 > #15 0x000055555573ab2b in read_key_sequence (keybuf=0x7fffffffdbe0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9988 > #16 0x0000555555726f35 in command_loop_1 () at keyboard.c:1391 > #17 0x00005555557e617b in internal_condition_case (bfun=0x555555726adf , handlers=XIL(0x90), hfun=0x5555557260e7 ) at eval.c:1485 > #18 0x000055555572678f in command_loop_2 (handlers=XIL(0x90)) at keyboard.c:1132 > #19 0x00005555557e583d in internal_catch (tag=XIL(0xf660), func=0x555555726765 , arg=XIL(0x90)) at eval.c:1208 > #20 0x0000555555726721 in command_loop () at keyboard.c:1110 > #21 0x0000555555725c89 in recursive_edit_1 () at keyboard.c:719 > #22 0x0000555555725e35 in Frecursive_edit () at keyboard.c:802 > #23 0x0000555555722188 in main (argc=3, argv=0x7fffffffe0f8) at emacs.c:2517 > > Lisp Backtrace: > "redisplay_internal (C function)" (0x0) > (gdb) Thanks. I tried to fix this on master, please see if the problem is gone.