From unknown Fri Aug 15 20:48:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#19852 <19852@debbugs.gnu.org> To: bug#19852 <19852@debbugs.gnu.org> Subject: Status: 25.0.50; show-paren-mode in sh-mode freezes Emacs Reply-To: bug#19852 <19852@debbugs.gnu.org> Date: Sat, 16 Aug 2025 03:48:31 +0000 retitle 19852 25.0.50; show-paren-mode in sh-mode freezes Emacs reassign 19852 emacs submitter 19852 Jorgen Schaefer severity 19852 normal tag 19852 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 13 06:26:59 2015 Received: (at submit) by debbugs.gnu.org; 13 Feb 2015 11:26:59 +0000 Received: from localhost ([127.0.0.1]:41347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YMEOg-0004I1-4q for submit@debbugs.gnu.org; Fri, 13 Feb 2015 06:26:59 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40564) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YMEOc-0004Hm-At for submit@debbugs.gnu.org; Fri, 13 Feb 2015 06:26:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMEOV-0001Fi-AW for submit@debbugs.gnu.org; Fri, 13 Feb 2015 06:26:49 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMEOV-0001FS-7M for submit@debbugs.gnu.org; Fri, 13 Feb 2015 06:26:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMEOT-0008J9-Do for bug-gnu-emacs@gnu.org; Fri, 13 Feb 2015 06:26:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMEOO-0001B0-B3 for bug-gnu-emacs@gnu.org; Fri, 13 Feb 2015 06:26:45 -0500 Received: from loki.jorgenschaefer.de ([87.230.15.51]:52157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMEOO-00019q-1j for bug-gnu-emacs@gnu.org; Fri, 13 Feb 2015 06:26:40 -0500 Received: by loki.jorgenschaefer.de (Postfix, from userid 1000) id E129E20136A; Fri, 13 Feb 2015 12:26:37 +0100 (CET) From: Jorgen Schaefer To: bug-gnu-emacs@gnu.org Subject: 25.0.50; show-paren-mode in sh-mode freezes Emacs Date: Fri, 13 Feb 2015 12:26:37 +0100 Message-ID: <87vbj6dpci.fsf@loki.jorgenschaefer.de> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Emacs 25.0.50, no GUI, git ref cf498e5b9a, run with -Q, will freeze hard and dump core when using show-paren-mode in certain situations with files not ending with a newline. Reproduction: Create a file with these contents: ---- #!/bin/bash if true then ---- Do *not* include a final newline after the "then" line, possibly using (setq require-final-newline nil). Move point to the beginning of the file, enable `show-paren-mode', and go down line by line. Once you hit next-line on the "i" of "if", Emacs freezes. C-g will make it ask to auto-save and dump core. Backtrace at that point from gdb: Program received signal SIGINT, Interrupt. find_interval (tree=0x131d8a0, position=21) at intervals.c:670 670 if (BUFFERP (parent)) (gdb) bt #0 find_interval (tree=0x131d8a0, position=21) at intervals.c:670 #1 0x0000000000546a34 in validate_interval_range (object=, begin=begin@entry=0x7fffffffb1e8, end=end@entry=0x7fffffffb1e8, force=force@entry=false) at textprop.c:194 #2 0x000000000054867b in Ftext_properties_at (position=position@entry=86, object=) at textprop.c:583 #3 0x00000000005486fc in Fget_text_property (position=position@entry=86, prop=prop@entry=17232, object=) at textprop.c:603 #4 0x00000000005488e7 in get_char_property_and_overlay ( position=position@entry=86, prop=prop@entry=17232, object=, object@entry=0, overlay=overlay@entry=0x0) at textprop.c:673 #5 0x0000000000548c37 in Fget_char_property (position=position@entry=86, prop=prop@entry=17232, object=object@entry=0) at textprop.c:687 #6 0x00000000004f5334 in Fconstrain_to_field (new_pos=58, old_pos=86, escape_from_edge=0, only_in_line=only_in_line@entry=39696, inhibit_capture_property=inhibit_capture_property@entry=0) at editfns.c:714 #7 0x00000000004f5547 in Fline_beginning_position (n=) at editfns.c:802 #8 0x00000000004fdd55 in Ffuncall (nargs=1, args=) at eval.c:2718 #9 0x000000000053018d in exec_byte_code (bytestr=20043936, vector=21, maxdepth=15546869, args_template=0, nargs=75, args=0x1) at bytecode.c:919 #10 0x00000000004fd8e8 in funcall_lambda (fun=14270420, nargs=nargs@entry=0, arg_vector=0x7fffffffb550, arg_vector@entry=0x7fffffffb6a8) at eval.c:2885 #11 0x00000000004fdb73 in Ffuncall (nargs=1, args=0x7fffffffb6a0) at eval.c:2779 #12 0x000000000053018d in exec_byte_code (bytestr=20043936, vector=21, maxdepth=15546869, args_template=1, nargs=9, args=0x1) at bytecode.c:919 #13 0x00000000004fd8e8 in funcall_lambda (fun=14213108, nargs=nargs@entry=0, arg_vector=0x7fffffffb6a0, arg_vector@entry=0x7fffffffb808) at eval.c:2885 #14 0x00000000004fdb73 in Ffuncall (nargs=1, args=0x7fffffffb800) at eval.c:2779 #15 0x000000000053018d in exec_byte_code (bytestr=20043936, vector=21, maxdepth=15546869, args_template=0, nargs=61, args=0x1) at bytecode.c:919 #16 0x00000000004fd8e8 in funcall_lambda (fun=14270420, nargs=nargs@entry=0, arg_vector=0x7fffffffb800, arg_vector@entry=0x7fffffffb960) at eval.c:2885 #17 0x00000000004fdb73 in Ffuncall (nargs=1, args=0x7fffffffb958) at eval.c:2779 #18 0x000000000053018d in exec_byte_code (bytestr=20043936, vector=21, maxdepth=15546869, args_template=0, nargs=0, args=0x1) at bytecode.c:919 #19 0x00000000004fd8e8 in funcall_lambda (fun=14212852, nargs=nargs@entry=0, --- arg_vector=0x7fffffffb958, arg_vector@entry=0x7fffffffbac8) at eval.c:2885 #20 0x00000000004fdb73 in Ffuncall (nargs=1, args=0x7fffffffbac0) at eval.c:2779 #21 0x000000000053018d in exec_byte_code (bytestr=20043936, vector=21, maxdepth=15546869, args_template=1, nargs=17, args=0x1) at bytecode.c:919 #22 0x00000000004fd8e8 in funcall_lambda (fun=14268180, nargs=nargs@entry=1, arg_vector=0x7fffffffbac0, arg_vector@entry=0x7fffffffbc20) at eval.c:2885 #23 0x00000000004fdb73 in Ffuncall (nargs=2, args=0x7fffffffbc18) ---Type to continue, or q to quit--- at eval.c:2779 #24 0x000000000053018d in exec_byte_code (bytestr=20043936, vector=21, maxdepth=15546869, args_template=0, nargs=146, args=0x2) at bytecode.c:919 #25 0x00000000004fd8e8 in funcall_lambda (fun=14270420, nargs=nargs@entry=0, arg_vector=0x7fffffffbc18, arg_vector@entry=0x7fffffffbd78) at eval.c:2885 #26 0x00000000004fdb73 in Ffuncall (nargs=1, args=0x7fffffffbd70) at eval.c:2779 #27 0x000000000053018d in exec_byte_code (bytestr=20043936, vector=21, maxdepth=15546869, args_template=1, nargs=9, args=0x1) at bytecode.c:919 #28 0x00000000004fd8e8 in funcall_lambda (fun=14213108, nargs=nargs@entry=0, arg_vector=0x7fffffffbd70, arg_vector@entry=0x7fffffffbed0) at eval.c:2885 #29 0x00000000004fdb73 in Ffuncall (nargs=1, args=0x7fffffffbec8) at eval.c:2779 #30 0x000000000053018d in exec_byte_code (bytestr=20043936, vector=21, maxdepth=15546869, args_template=0, nargs=37, args=0x1) at bytecode.c:919 #31 0x00000000004fd8e8 in funcall_lambda (fun=14269220, nargs=nargs@entry=0, arg_vector=0x7fffffffbec8, arg_vector@entry=0x7fffffffc068) at eval.c:2885 #32 0x00000000004fdb73 in Ffuncall (nargs=1, args=0x7fffffffc060) at eval.c:2779 #33 0x000000000053018d in exec_byte_code (bytestr=20043936, vector=21, maxdepth=15546869, args_template=140737488339064, nargs=81, args=0x1) at bytecode.c:919 #34 0x00000000004fd8e8 in funcall_lambda (fun=20004260, nargs=nargs@entry=5, arg_vector=0x7fffffffc060, arg_vector@entry=0x7fffffffc218) at eval.c:2885 #35 0x00000000004fdb73 in Ffuncall (nargs=6, args=0x7fffffffc210) at eval.c:2779 #36 0x000000000053018d in exec_byte_code (bytestr=20043936, vector=21, maxdepth=15546869, args_template=1, nargs=1, args=0x6) at bytecode.c:919 #37 0x00000000004fd8e8 in funcall_lambda (fun=20006292, nargs=nargs@entry=1, arg_vector=0x7fffffffc210, arg_vector@entry=0x7fffffffc398) at eval.c:2885 #38 0x00000000004fdb73 in Ffuncall (nargs=2, args=0x7fffffffc390) at eval.c:2779 #39 0x000000000053018d in exec_byte_code (bytestr=20043936, vector=21, maxdepth=15546869, args_template=1, nargs=108, args=0x2) at bytecode.c:919 #40 0x00000000004fd8e8 in funcall_lambda (fun=20010868, nargs=nargs@entry=1, arg_vector=0x7fffffffc390, arg_vector@entry=0x7fffffffc630) at eval.c:2885 #41 0x00000000004fdb73 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffffffc628) at eval.c:2779 #42 0x00000000004fec3b in Fapply (nargs=3, args=0x7fffffffc628) at eval.c:2289 #43 0x00000000004fdc5a in Ffuncall (nargs=4, args=0x7fffffffc620) at eval.c:2698 #44 0x000000000053018d in exec_byte_code (bytestr=20043936, vector=21, maxdepth=15546869, args_template=0, nargs=0, args=0x4) at bytecode.c:919 #45 0x00000000004fd8e8 in funcall_lambda (fun=16412004, nargs=nargs@entry=0, arg_vector=0x7fffffffc620, arg_vector@entry=0x7fffffffc780) at eval.c:2885 #46 0x00000000004fdb73 in Ffuncall (nargs=1, args=0x7fffffffc778) at eval.c:2779 #47 0x000000000053018d in exec_byte_code (bytestr=20043936, vector=21, maxdepth=15546869, args_template=0, nargs=6, args=0x1) at bytecode.c:919 ---Type to continue, or q to quit--- #48 0x00000000004fd7d3 in funcall_lambda (fun=17070101, nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7fffffffca58) at eval.c:2951 #49 0x00000000004fdb73 in Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7fffffffca50) at eval.c:2779 #50 0x00000000004fec3b in Fapply (nargs=2, args=0x7fffffffca50) at eval.c:2289 #51 0x00000000004fdc5a in Ffuncall (nargs=3, args=0x7fffffffca48) at eval.c:2698 #52 0x000000000053018d in exec_byte_code (bytestr=20043936, vector=21, maxdepth=15546869, args_template=1, nargs=140737488341592, args=0x3) at bytecode.c:919 #53 0x00000000004fd7d3 in funcall_lambda (fun=9342949, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fffffffcc18) at eval.c:2951 #54 0x00000000004fdb73 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffffffcc10) at eval.c:2779 #55 0x00000000004fdf2a in call1 (fn=fn@entry=40320, arg1=arg1@entry=17077685) at eval.c:2573 #56 0x000000000049220a in timer_check_2 (idle_timers=, timers=) at keyboard.c:4522 #57 timer_check () at keyboard.c:4589 #58 0x00000000004925a9 in readable_events (flags=) at keyboard.c:3422 #59 0x0000000000493888 in get_input_pending (flags=1) at keyboard.c:6804 #60 0x0000000000495ccc in detect_input_pending_run_timers ( do_display=do_display@entry=true) at keyboard.c:9949 #61 0x0000000000537c76 in wait_reading_process_output ( time_limit=time_limit@entry=30, nsecs=nsecs@entry=0, read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true, wait_for_cell=wait_for_cell@entry=0, wait_proc=wait_proc@entry=0x0, just_wait_proc=just_wait_proc@entry=0) at process.c:4689 #62 0x000000000040ff7c in sit_for (timeout=timeout@entry=122, reading=reading@entry=true, display_option=display_option@entry=1) at dispnew.c:5742 #63 0x0000000000498507 in read_char (commandflag=commandflag@entry=1, map=map@entry=14515971, prev_event=0, used_mouse_menu=used_mouse_menu@entry=0x7fffffffd90b, end_time=end_time@entry=0x0) at keyboard.c:2780 #64 0x0000000000498fd1 in read_key_sequence ( keybuf=keybuf@entry=0x7fffffffd9e0, prompt=prompt@entry=0, dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, bufsize=30) at keyboard.c:9144 #65 0x000000000049a3e2 in command_loop_1 () at keyboard.c:1407 #66 0x00000000004fc1d2 in internal_condition_case ( bfun=bfun@entry=0x49a1b0 , handlers=handlers@entry=15792, hfun=hfun@entry=0x490d80 ) at eval.c:1348 #67 0x000000000048f33c in command_loop_2 (ignore=ignore@entry=0) at keyboard.c:1139 ---Type to continue, or q to quit--- #68 0x00000000004fc0db in internal_catch (tag=tag@entry=40800, func=func@entry=0x48f320 , arg=arg@entry=0) at eval.c:1108 #69 0x000000000048f2f7 in command_loop () at keyboard.c:1118 #70 0x0000000000490983 in recursive_edit_1 () at keyboard.c:728 #71 0x0000000000490cad in Frecursive_edit () at keyboard.c:799 #72 0x0000000000406bc3 in main (argc=, argv=) at emacs.c:1607 In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu) of 2015-02-07 on loki.jorgenschaefer.de Repository revision: cf498e5b9a73329edea0bdbf1bd8dfe06fdd75e2 System Description: Debian GNU/Linux 7.8 (wheezy) Configured using: `configure --without-x' Configured features: SOUND NOTIFY LIBXML2 ZLIB Important settings: value of $LC_ALL: value of $LC_COLLATE: de_DE.UTF-8 value of $LC_CTYPE: de_DE.UTF-8 value of $LC_MESSAGES: POSIX value of $LC_MONETARY: POSIX value of $LC_NUMERIC: POSIX value of $LC_TIME: POSIX value of $LANG: POSIX locale-coding-system: utf-8-unix From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 19 09:28:54 2016 Received: (at 19852) by debbugs.gnu.org; 19 Mar 2016 13:28:54 +0000 Received: from localhost ([127.0.0.1]:53295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahGw2-0003C7-AN for submit@debbugs.gnu.org; Sat, 19 Mar 2016 09:28:54 -0400 Received: from mail.mojserwer.eu ([195.110.48.8]:42405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahGvz-0003By-Tl for 19852@debbugs.gnu.org; Sat, 19 Mar 2016 09:28:52 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 8D0CCA2B0C1; Sat, 19 Mar 2016 14:28:50 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0RDFwcJr0t3W; Sat, 19 Mar 2016 14:28:48 +0100 (CET) Received: from localhost (98-171.echostar.pl [213.156.98.171]) by mail.mojserwer.eu (Postfix) with ESMTPSA id F2E23A2B0C0; Sat, 19 Mar 2016 14:28:47 +0100 (CET) From: Marcin Borkowski To: Jorgen Schaefer Subject: Re: bug#19852: 25.0.50; show-paren-mode in sh-mode freezes Emacs References: <87vbj6dpci.fsf@loki.jorgenschaefer.de> Date: Sat, 19 Mar 2016 14:28:44 +0100 In-Reply-To: <87vbj6dpci.fsf@loki.jorgenschaefer.de> (Jorgen Schaefer's message of "Fri, 13 Feb 2015 12:26:37 +0100") Message-ID: <87wpoyegvn.fsf@mbork.pl> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19852 Cc: 19852@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2015-02-13, at 12:26, Jorgen Schaefer wrote: > Emacs 25.0.50, no GUI, git ref cf498e5b9a, run with -Q, will freeze hard > and dump core when using show-paren-mode in certain situations with > files not ending with a newline. > > Reproduction: > > Create a file with these contents: > > ---- > #!/bin/bash > > if true > then > ---- > > Do *not* include a final newline after the "then" line, possibly using > (setq require-final-newline nil). > > Move point to the beginning of the file, enable `show-paren-mode', and > go down line by line. Once you hit next-line on the "i" of "if", Emacs > freezes. C-g will make it ask to auto-save and dump core. Hi, I just checked on GNU Emacs 25.1.50.7 (commit fa2524b), and it seems to work fine. Can you confirm that the bug went away so that I could close it? Best, -- Marcin From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 19 09:32:08 2016 Received: (at 19852) by debbugs.gnu.org; 19 Mar 2016 13:32:08 +0000 Received: from localhost ([127.0.0.1]:53299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahGz9-0003IM-Nx for submit@debbugs.gnu.org; Sat, 19 Mar 2016 09:32:07 -0400 Received: from mail-lf0-f45.google.com ([209.85.215.45]:33807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahGz8-0003Hs-3B for 19852@debbugs.gnu.org; Sat, 19 Mar 2016 09:32:06 -0400 Received: by mail-lf0-f45.google.com with SMTP id e196so6806664lfg.1 for <19852@debbugs.gnu.org>; Sat, 19 Mar 2016 06:32:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=55bZrV0j7slEK27h91kzAc3aiDaftkKBzwGLowSsqtE=; b=dCMB/lNu3AXHB6/cph8qR1Pk91eW2V2yswglhVHwCWFzVnFZcq4thL1V4kffWXDkhm iTQDIBxWYonUkZGJOkc2Qpw5RbrntqiATixke8JFMlPEsKL0pCUWa8CFIWZeeXtpbwVP 2ldsvGxI98jJedPhTaBy9+hp1fQ0LJ6ZwFNG+lFDfeTRNiMVrVxxDJCObMKsOSlhPlyf TGGaf1YglKi4RaUACJWCWlmgXZ85A6uUkIjRKPLDb33aDO9uoEoZHXsG19qi3csFXmGu B6YgiXG88i/dy9Y88sNLDLLeOMcGT5WC/YtmovEVoR2pJT5pbYAl5LtXU01IC2BGWua8 rPKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=55bZrV0j7slEK27h91kzAc3aiDaftkKBzwGLowSsqtE=; b=Mdugy/hI7hlYYUUMhXuvuF7ALvHC0J4nmpBRMTvwJlSPiOXz8aeXsaxlA0FNi8UnfO NwRc0BsxWmXTG4zTIm3kQBGkL72NzTxP02Y8Yft0sfqpXaytRJHX32qlLgLs+WWcEHWA UFq3o1UYQm76dk1U1c01SSiIzzs+r6tLhcubtvJegkEwAAUcbQoN2gxFlvYYP9EAiUiH qWqxtBHPKe5F50l9ZWfaI1XJlGynl65A+FEhZAor6VOLI/sOh0P1qreyeZbEKAY760G/ cHmKUoGBVqUm0mRcfvYYy6B2AWo0jYxlFoYd9jF/aX/xDPLUZHq7HaZnEvYe+DCVkXdm cAvg== X-Gm-Message-State: AD7BkJLH8LVxUAYcoz5pT5VukOrIfYMU8BP8wDuQgBPLz9yihFuuFKSZosa3SKOO+4IMSqEuWeY0Zn9N77kDZg== X-Received: by 10.25.86.195 with SMTP id k186mr7643517lfb.155.1458394320335; Sat, 19 Mar 2016 06:32:00 -0700 (PDT) MIME-Version: 1.0 References: <87vbj6dpci.fsf@loki.jorgenschaefer.de> <87wpoyegvn.fsf@mbork.pl> In-Reply-To: <87wpoyegvn.fsf@mbork.pl> From: =?UTF-8?Q?Jorgen_Sch=C3=A4fer?= Date: Sat, 19 Mar 2016 13:31:50 +0000 Message-ID: Subject: Re: bug#19852: 25.0.50; show-paren-mode in sh-mode freezes Emacs To: Marcin Borkowski Content-Type: multipart/alternative; boundary=001a11410d8467fbde052e66e3f0 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19852 Cc: 19852@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11410d8467fbde052e66e3f0 Content-Type: text/plain; charset=UTF-8 Yep, looks like this is fixed now. Thanks for checking it! On Sat, Mar 19, 2016 at 2:28 PM Marcin Borkowski wrote: > On 2015-02-13, at 12:26, Jorgen Schaefer > wrote: > > > Emacs 25.0.50, no GUI, git ref cf498e5b9a, run with -Q, will freeze hard > > and dump core when using show-paren-mode in certain situations with > > files not ending with a newline. > > > > Reproduction: > > > > Create a file with these contents: > > > > ---- > > #!/bin/bash > > > > if true > > then > > ---- > > > > Do *not* include a final newline after the "then" line, possibly using > > (setq require-final-newline nil). > > > > Move point to the beginning of the file, enable `show-paren-mode', and > > go down line by line. Once you hit next-line on the "i" of "if", Emacs > > freezes. C-g will make it ask to auto-save and dump core. > > Hi, I just checked on GNU Emacs 25.1.50.7 (commit fa2524b), and it seems > to work fine. Can you confirm that the bug went away so that I could > close it? > > Best, > > -- > Marcin > --001a11410d8467fbde052e66e3f0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yep, looks like this is fixed now. Thanks for checking it!=

On Sat, Mar 19, 2016 at= 2:28 PM Marcin Borkowski <mbork@mbork= .pl> wrote:
On 2015-02-13, a= t 12:26, Jorgen Schaefer <contact@jorgenschaefer.de> wrote:

> Emacs 25.0.50, no GUI, git ref cf498e5b9a, run with -Q, will freeze ha= rd
> and dump core when using show-paren-mode in certain situations with > files not ending with a newline.
>
> Reproduction:
>
> Create a file with these contents:
>
> ----
> #!/bin/bash
>
> if true
> then
> ----
>
> Do *not* include a final newline after the "then" line, poss= ibly using
> (setq require-final-newline nil).
>
> Move point to the beginning of the file, enable `show-paren-mode',= and
> go down line by line. Once you hit next-line on the "i" of &= quot;if", Emacs
> freezes. C-g will make it ask to auto-save and dump core.

Hi, I just checked on GNU Emacs 25.1.50.7 (commit fa2524b), and it seems to work fine.=C2=A0 Can you confirm that the bug went away so that I could<= br> close it?

Best,

--
Marcin
--001a11410d8467fbde052e66e3f0-- From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 19 10:12:31 2016 Received: (at 19852-done) by debbugs.gnu.org; 19 Mar 2016 14:12:31 +0000 Received: from localhost ([127.0.0.1]:53784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahHcF-0004NX-H7 for submit@debbugs.gnu.org; Sat, 19 Mar 2016 10:12:31 -0400 Received: from mail.mojserwer.eu ([195.110.48.8]:43293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahHcD-0004NQ-SH for 19852-done@debbugs.gnu.org; Sat, 19 Mar 2016 10:12:30 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 93A16A2B511; Sat, 19 Mar 2016 15:12:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AqoqNms4SJl2; Sat, 19 Mar 2016 15:12:24 +0100 (CET) Received: from localhost (98-171.echostar.pl [213.156.98.171]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 8D747A2B50F; Sat, 19 Mar 2016 15:12:24 +0100 (CET) References: <87vbj6dpci.fsf@loki.jorgenschaefer.de> <87wpoyegvn.fsf@mbork.pl> User-agent: mu4e 0.9.13; emacs 25.1.50.7 From: Marcin Borkowski To: Jorgen =?utf-8?Q?Sch=C3=A4fer?= Subject: Re: bug#19852: 25.0.50; show-paren-mode in sh-mode freezes Emacs In-reply-to: Date: Sat, 19 Mar 2016 15:12:24 +0100 Message-ID: <87vb4ieeuv.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19852-done Cc: 19852-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2016-03-19, at 14:31, Jorgen Schäfer wrote: > Yep, looks like this is fixed now. Thanks for checking it! Thanks, so I'm closing this bug. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From unknown Fri Aug 15 20:48:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 17 Apr 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Wed May 04 11:39:21 2016 Received: (at control) by debbugs.gnu.org; 4 May 2016 15:39:21 +0000 Received: from localhost ([127.0.0.1]:37930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axytU-0004vS-Uj for submit@debbugs.gnu.org; Wed, 04 May 2016 11:39:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60985) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axytT-0004vF-HG for control@debbugs.gnu.org; Wed, 04 May 2016 11:39:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axytE-00064t-OX for control@debbugs.gnu.org; Wed, 04 May 2016 11:39:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axytE-00064B-Lm for control@debbugs.gnu.org; Wed, 04 May 2016 11:39:04 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1axyt9-00048k-VS for control@debbugs.gnu.org; Wed, 04 May 2016 11:39:00 -0400 Subject: control message for bug 23445 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 04 May 2016 11:38:59 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.1 (-------) unarchive 19852 forcemerge 19852 23445 From debbugs-submit-bounces@debbugs.gnu.org Wed May 04 11:41:38 2016 Received: (at control) by debbugs.gnu.org; 4 May 2016 15:41:38 +0000 Received: from localhost ([127.0.0.1]:37944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axyvi-000507-NF for submit@debbugs.gnu.org; Wed, 04 May 2016 11:41:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axyvg-0004zu-Ma for control@debbugs.gnu.org; Wed, 04 May 2016 11:41:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axyvS-0006nl-Ax for control@debbugs.gnu.org; Wed, 04 May 2016 11:41:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axyvS-0006ml-84 for control@debbugs.gnu.org; Wed, 04 May 2016 11:41:22 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1axyvN-0004U7-JP for control@debbugs.gnu.org; Wed, 04 May 2016 11:41:17 -0400 Subject: control message for bug 23445 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 04 May 2016 11:41:17 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.1 (-------) unarchive 22112 merge 22112 23445 From unknown Fri Aug 15 20:48:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 04 Jun 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator