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#29789: 25.1; Emacs blocks user input when using visual-fill-column in wide terminals Date: Thu, 21 Dec 2017 05:37:10 +0200 Message-ID: <838tdwoiop.fsf@gnu.org> References: <20171220213530.g2xxrh7egjcliwqu@odonien.localdomain> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1513827379 9086 195.159.176.226 (21 Dec 2017 03:36:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 21 Dec 2017 03:36:19 +0000 (UTC) Cc: 29789@debbugs.gnu.org To: Vasilij Schneidermann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 21 04:36:14 2017 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 1eRreX-0001i4-9r for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Dec 2017 04:36:13 +0100 Original-Received: from localhost ([::1]:56566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRrgT-00077O-W6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Dec 2017 22:38:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRrgN-00076M-4v for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2017 22:38:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRrgJ-0005Nr-Tz for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2017 22:38:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36384) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eRrgJ-0005NZ-Pq for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2017 22:38:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eRrgI-0005iz-8y for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2017 22:38:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Dec 2017 03:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29789-submit@debbugs.gnu.org id=B29789.151382742721945 (code B ref 29789); Thu, 21 Dec 2017 03:38:02 +0000 Original-Received: (at 29789) by debbugs.gnu.org; 21 Dec 2017 03:37:07 +0000 Original-Received: from localhost ([127.0.0.1]:45065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRrfP-0005ht-CG for submit@debbugs.gnu.org; Wed, 20 Dec 2017 22:37:07 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRrfN-0005hP-LN for 29789@debbugs.gnu.org; Wed, 20 Dec 2017 22:37:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRrfE-0004Za-Nb for 29789@debbugs.gnu.org; Wed, 20 Dec 2017 22:37:00 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRrfE-0004ZS-Ja; Wed, 20 Dec 2017 22:36:56 -0500 Original-Received: from [176.228.60.248] (port=3945 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eRrfE-00024L-2H; Wed, 20 Dec 2017 22:36:56 -0500 In-reply-to: <20171220213530.g2xxrh7egjcliwqu@odonien.localdomain> (message from Vasilij Schneidermann on Wed, 20 Dec 2017 22:35:30 +0100) 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:141320 Archived-At: > Date: Wed, 20 Dec 2017 22:35:30 +0100 > From: Vasilij Schneidermann > > I can reproduce this on Arch Linux, with Emacs master and Termite. I've > tried making a full backtrace in gdb, let me know if there's anything > else I can do to help debugging this issue. Thanks. > Thread 1 "emacs" received signal SIGTSTP, Stopped (user). > 0x00007f5ccb9f9b47 in kill () from /usr/lib/libc.so.6 > Continuing. > > Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=6, > backtrace_limit=40) at emacs.c:364 > 364 { > #0 0x0000000000569e7a in terminate_due_to_signal (sig=6, backtrace_limit=40) > at emacs.c:364 > #1 0x00000000005919c8 in emacs_abort () at sysdep.c:2426 > #2 0x00000000005829d2 in handle_interrupt (in_signal_handler=true) > at keyboard.c:10501 > #3 0x0000000000582795 in handle_interrupt_signal (sig=2) at keyboard.c:10371 > #4 0x0000000000590f88 in deliver_process_signal (sig=2, handler=0x582743 ) at sysdep.c:1709 > #5 0x00000000005827b4 in deliver_interrupt_signal (sig=2) at keyboard.c:10378 > #6 0x00007f5ccc8a9da0 in () at /usr/lib/libpthread.so.0 > #7 0x00000000005083c0 in append_glyph (it=0x7ffcb39bc150) at term.c:1476 > #8 0x00000000005087d5 in produce_glyphs (it=0x7ffcb39bc150) at term.c:1584 > #9 0x00000000004722e7 in extend_face_to_end_of_line (it=0x7ffcb39bc150) > at xdisp.c:20318 > #10 0x00000000004773eb in display_line (it=0x7ffcb39bc150, cursor_vpos=3) > at xdisp.c:21740 > #11 0x0000000000469edf in try_window (window=XIL(0xd7f9a5), pos=..., flags=1) > at xdisp.c:17610 > #12 0x000000000046799c in redisplay_window (window=XIL(0xd7f9a5), just_this_one_p=false) at xdisp.c:17057 > #13 0x0000000000460734 in redisplay_window_0 (window=XIL(0xd7f9a5)) > at xdisp.c:14814 > #14 0x000000000061975f in internal_condition_case_1 (bfun=0x4606f2 , arg=XIL(0xd7f9a5), handlers=XIL(0xd6bf13), hfun=0x4606ba ) at eval.c:1356 > #15 0x000000000046068c in redisplay_windows (window=XIL(0xd7f9a5)) at xdisp.c:14794 > #16 0x000000000045f4b8 in redisplay_internal () at xdisp.c:14283 > #17 0x000000000045ff5e in redisplay_preserve_echo_area (from_where=2) > at xdisp.c:14613 > #18 0x0000000000426d03 in Fredisplay (force=XIL(0)) at dispnew.c:5828 > #19 0x000000000061d47a in funcall_subr (subr=0x951720 , numargs=0, args=Quit > #0 0x0000000000569e7a in terminate_due_to_signal (sig=6, backtrace_limit=40) > at emacs.c:364 > #1 0x00000000005919c8 in emacs_abort () at sysdep.c:2426 > #2 0x00000000005829d2 in handle_interrupt (in_signal_handler=true) > at keyboard.c:10501 > c = 121 'y' > #3 0x0000000000582795 in handle_interrupt_signal (sig=2) at keyboard.c:10371 > terminal = 0x12cfe40 > #4 0x0000000000590f88 in deliver_process_signal (sig=2, handler=0x582743 ) at sysdep.c:1709 > old_errno = 22 > on_main_thread = true > #5 0x00000000005827b4 in deliver_interrupt_signal (sig=2) at keyboard.c:10378 > #6 0x00007f5ccc8a9da0 in () at /usr/lib/libpthread.so.0 > #7 0x00000000005083c0 in append_glyph (it=0x7ffcb39bc150) at term.c:1476 > glyph = 0x7f5cd4622fd0 > end = 0x7f5cd4622fd0 > i = 0 This says Emacs got SIGINT and then aborted. Did you type C-g more then once and then answered YES to the question whether to abort and dump core? > #8 0x00000000005087d5 in produce_glyphs (it=0x7ffcb39bc150) at term.c:1584 > #9 0x00000000004722e7 in extend_face_to_end_of_line (it=0x7ffcb39bc150) > at xdisp.c:20318 The "hang" sounds like some infloop in redisplay. It will be helpful if instead of trying to interrupt Emacs with C-g, you could attach the debugger, produce a backtrace from the place where Emacs was caught, and then use the technique described in etc/DEBUG under "If the symptom of the bug is that Emacs fails to respond", starting at "If Emacs is in an infinite loop", to find out where it loops. Also, I need to know what version of Emacs is that, to match line numbers in the backtrace to the sources.