From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 02 14:26:25 2022 Received: (at submit) by debbugs.gnu.org; 2 Jun 2022 18:26:25 +0000 Received: from localhost ([127.0.0.1]:54581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwpWa-0001C1-Fp for submit@debbugs.gnu.org; Thu, 02 Jun 2022 14:26:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:34792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwpWV-0001Br-Kp for submit@debbugs.gnu.org; Thu, 02 Jun 2022 14:26:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwpWV-00089S-Dc for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 14:26:19 -0400 Received: from md5i.com ([75.151.244.229]:39142) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwpWS-0004hL-Cc for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 14:26:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:Sender: Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=XU/RyZHHFi3JPJTU5vhE1U7kmraI0V3yaWQCIOQwb0k=; b=u1qNk3c/Hqb4kR8ZoaIH07BmS6 06xNPi9VDMIV83ItdrUpkABixY0ngiZwLDUwM58T9cgyey3+xqO86pXMA0lS/uvfEeN9LMrYePL13 dKqh71nHUYDVnXK/Tk1fOfxb5; Received: from abode ([192.168.177.1] helo=miko) by md5i.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nwpWQ-00Ed9R-Ga for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 14:26:14 -0400 From: Michael Welsh Duggan To: bug-gnu-emacs@gnu.org Subject: 29.0.50; cc-mode based uninterruptible infloop Date: Thu, 02 Jun 2022 14:26:08 -0400 Message-ID: <874k12rkfz.fsf@md5i.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=75.151.244.229; envelope-from=md5i@md5i.com; helo=md5i.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit 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: -2.4 (--) --=-=-= Content-Type: text/plain Create a directory containing the following two files: .dir-locals.el --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=.dir-locals.el Content-Transfer-Encoding: quoted-printable ((c++-mode . ((c-noise-macro-names . ("IPFIX__NAMESPACE_\\(OPEN\\|CLOSE\\)"= )) (c-noise-macro-with-parens-names . ("IPFIX__NEW_NAMESPACE")))= )) --=-=-= Content-Type: text/plain bug.el --=-=-= Content-Type: text/x-c++hdr Content-Disposition: attachment; filename=bug.hpp #ifndef IPFIX_FLOATPOINT_HPP #define IPFIX_FLOATPOINT_HPP IPFIX__NEW_NAMESPACE #endif // IPFIX_FLOATPOINT_HPP --=-=-= Content-Type: text/plain >From that directory, run "emacs -Q bug.hpp". The result is an inflooping emacs from which `C-g' and `ESC ESC ESC' seem to do nothing useful. I stopped it in the debugger and ran `fin' several times, interspersing with `xbacktrace' calls until `fin` did not return. The result is copied herein: Starting program: /home/md5i/src/emacs/build/src/emacs -Q bug.hpp [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffee55e640 (LWP 3028629)] [New Thread 0x7fffedcf5640 (LWP 3028636)] [New Thread 0x7fffed4f4640 (LWP 3028637)] Thread 1 "emacs" received signal SIGTSTP, Stopped (user). process_mark_stack (base_sp=0) at ../../md5i/src/alloc.c:6735 6735 void *po = XPNTR (obj); "Automatic GC" (0x0) 0x5658b1c0 PVEC_COMPILED "c-forward-sws" (0xffff7740) "c-forward-over-token-and-ws" (0xffff7898) "c-forward-token-2" (0xffff79e8) "c-forward-noise-clause" (0xffff7b40) "c-forward-declarator" (0xffff7ca8) "c-fl-decl-end" (0xffff7de8) "c-context-expand-fl-region" (0xee5920a8) 0x56429cf0 PVEC_COMPILED "c-before-context-fl-expand-region" (0xffff82a8) "c-font-lock-fontify-region" (0xffff8438) "font-lock-fontify-region" (0xee592040) 0x55e86658 PVEC_COMPILED "jit-lock--run-functions" (0xffff88b8) "jit-lock-fontify-now" (0xffff8a58) "jit-lock-function" (0xffff8ba8) "redisplay_internal (C function)" (0x0) Run till exit from #0 process_mark_stack (base_sp=0) at ../../md5i/src/alloc.c:6735 0x0000555555730efa in mark_object (obj=XIL(0x7d40)) at ../../md5i/src/alloc.c:7025 7025 } Run till exit from #0 0x0000555555730efa in mark_object (obj=XIL(0x7d40)) at ../../md5i/src/alloc.c:7025 0x00005555557310ca in mark_object_root_visitor (root_ptr=, type=, data=) at ../../md5i/src/alloc.c:5978 5978 } Run till exit from #0 0x00005555557310ca in mark_object_root_visitor ( root_ptr=, type=, data=) at ../../md5i/src/alloc.c:5978 visit_vectorlike_root (visitor=..., ptr=0x555555c57c00 , type=GC_ROOT_BUFFER_LOCAL_DEFAULT) at ../../md5i/src/alloc.c:5927 5927 for (i = 0; i < size; i++) Run till exit from #0 visit_vectorlike_root (visitor=..., ptr=0x555555c57c00 , type=GC_ROOT_BUFFER_LOCAL_DEFAULT) at ../../md5i/src/alloc.c:5927 0x000055555572aed3 in visit_buffer_root (visitor=..., buffer=, type=) at ../../md5i/src/alloc.c:5944 5944 } Run till exit from #0 0x000055555572aed3 in visit_buffer_root (visitor=..., buffer=, type=) at ../../md5i/src/alloc.c:5944 visit_static_gc_roots (visitor=...) at ../../md5i/src/alloc.c:5958 5958 visit_buffer_root (visitor, Run till exit from #0 visit_static_gc_roots (visitor=...) at ../../md5i/src/alloc.c:5958 garbage_collect () at ../../md5i/src/alloc.c:6181 6181 mark_pinned_objects (); Run till exit from #0 garbage_collect () at ../../md5i/src/alloc.c:6181 0x00005555557316b1 in maybe_garbage_collect () at ../../md5i/src/alloc.c:6089 6089 } Run till exit from #0 0x00005555557316b1 in maybe_garbage_collect () at ../../md5i/src/alloc.c:6089 0x0000555555754fa1 in maybe_gc () at ../../md5i/src/lisp.h:5530 5530 maybe_garbage_collect (); Run till exit from #0 0x0000555555754fa1 in maybe_gc () at ../../md5i/src/lisp.h:5530 Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7fffffff74f8) at ../../md5i/src/eval.c:2940 2940 if (debug_on_next_call) Run till exit from #0 Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7fffffff74f8) at ../../md5i/src/eval.c:2940 0x000055555579fc3b in bcall0 (f=) at ../../md5i/src/comp.c:844 844 } Value returned is $1 = (struct Lisp_X *) 0x0 Run till exit from #0 0x000055555579fc3b in bcall0 (f=) at ../../md5i/src/comp.c:844 do_one_unbind (this_binding=this_binding@entry=0x7fffffff7540, unwinding=unwinding@entry=true, bindflag=bindflag@entry=SET_INTERNAL_UNBIND) at ../../md5i/src/eval.c:3570 3570 break; Run till exit from #0 do_one_unbind ( this_binding=this_binding@entry=0x7fffffff7540, unwinding=unwinding@entry=true, bindflag=bindflag@entry=SET_INTERNAL_UNBIND) at ../../md5i/src/eval.c:3570 unbind_to (count=..., value=value@entry=XIL(0)) at ../../md5i/src/eval.c:3698 3698 while (specpdl_ptr != specpdl_ref_to_ptr (count)) Run till exit from #0 unbind_to (count=..., value=value@entry=XIL(0)) at ../../md5i/src/eval.c:3698 0x00005555557a1017 in helper_unbind_n (n=) at ../../md5i/src/comp.c:4988 4988 } Value returned is $2 = (struct Lisp_X *) 0x0 Run till exit from #0 0x00005555557a1017 in helper_unbind_n ( n=) at ../../md5i/src/comp.c:4988 0x00007fffec8e8345 in F632d666f72776172642d737773_c_forward_sws_0 () from /home/md5i/.config/emacs/eln-cache/29.0.50-0e65c843/cc-engine-ccfcb170-09002edc.eln Value returned is $3 = (struct Lisp_X *) 0x0 Run till exit from #0 0x00007fffec8e8345 in F632d666f72776172642d737773_c_forward_sws_0 () from /home/md5i/.config/emacs/eln-cache/29.0.50-0e65c843/cc-engine-ccfcb170-09002edc.eln 0x0000555555756b79 in funcall_subr (subr=0x5555562f6aa0, numargs=numargs@entry=0, args=args@entry=0x7fffffff7740) at ../../md5i/src/eval.c:2979 2979 return subr->function.a0 (); "c-forward-sws" (0xffff7740) "c-forward-over-token-and-ws" (0xffff7898) "c-forward-token-2" (0xffff79e8) "c-forward-noise-clause" (0xffff7b40) "c-forward-declarator" (0xffff7ca8) "c-fl-decl-end" (0xffff7de8) "c-context-expand-fl-region" (0xee5920a8) 0x56429cf0 PVEC_COMPILED "c-before-context-fl-expand-region" (0xffff82a8) "c-font-lock-fontify-region" (0xffff8438) "font-lock-fontify-region" (0xee592040) 0x55e86658 PVEC_COMPILED "jit-lock--run-functions" (0xffff88b8) "jit-lock-fontify-now" (0xffff8a58) "jit-lock-function" (0xffff8ba8) "redisplay_internal (C function)" (0x0) Run till exit from #0 0x0000555555756b79 in funcall_subr ( subr=0x5555562f6aa0, numargs=numargs@entry=0, args=args@entry=0x7fffffff7740) at ../../md5i/src/eval.c:2979 0x0000555555754a9e in funcall_general (fun=, numargs=numargs@entry=0, args=args@entry=0x7fffffff7740) at ../../md5i/src/eval.c:2889 2889 return funcall_subr (XSUBR (fun), numargs, args); Value returned is $4 = (struct Lisp_X *) 0x0 Run till exit from #0 0x0000555555754a9e in funcall_general ( fun=, numargs=numargs@entry=0, args=args@entry=0x7fffffff7740) at ../../md5i/src/eval.c:2889 Ffuncall (nargs=1, args=0x7fffffff7738) at ../../md5i/src/eval.c:2945 2945 lisp_eval_depth--; Value returned is $5 = (struct Lisp_X *) 0x0 Run till exit from #0 Ffuncall (nargs=1, args=0x7fffffff7738) at ../../md5i/src/eval.c:2945 0x00007fffec8f9b11 in F632d666f72776172642d6f7665722d746f6b656e2d616e642d7773_c_forward_over_token_and_ws_0 () from /home/md5i/.config/emacs/eln-cache/29.0.50-0e65c843/cc-engine-ccfcb170-09002edc.eln Value returned is $6 = (struct Lisp_X *) 0x0 Run till exit from #0 0x00007fffec8f9b11 in F632d666f72776172642d6f7665722d746f6b656e2d616e642d7773_c_forward_over_token_and_ws_0 () from /home/md5i/.config/emacs/eln-cache/29.0.50-0e65c843/cc-engine-ccfcb170-09002edc.eln 0x0000555555756b84 in funcall_subr (subr=0x5555560c2418, numargs=numargs@entry=1, args=args@entry=0x7fffffff7898) at ../../md5i/src/eval.c:2981 2981 return subr->function.a1 (a[0]); Run till exit from #0 0x0000555555756b84 in funcall_subr ( subr=0x5555560c2418, numargs=numargs@entry=1, args=args@entry=0x7fffffff7898) at ../../md5i/src/eval.c:2981 0x0000555555754a9e in funcall_general (fun=, numargs=numargs@entry=1, args=args@entry=0x7fffffff7898) at ../../md5i/src/eval.c:2889 2889 return funcall_subr (XSUBR (fun), numargs, args); Value returned is $7 = (struct Lisp_X *) 0x30 Run till exit from #0 0x0000555555754a9e in funcall_general ( fun=, numargs=numargs@entry=1, args=args@entry=0x7fffffff7898) at ../../md5i/src/eval.c:2889 Ffuncall (nargs=2, args=0x7fffffff7890) at ../../md5i/src/eval.c:2945 2945 lisp_eval_depth--; Value returned is $8 = (struct Lisp_X *) 0x30 Run till exit from #0 Ffuncall (nargs=2, args=0x7fffffff7890) at ../../md5i/src/eval.c:2945 0x00007fffec8f9e06 in F632d666f72776172642d746f6b656e2d32_c_forward_token_2_0 () from /home/md5i/.config/emacs/eln-cache/29.0.50-0e65c843/cc-engine-ccfcb170-09002edc.eln Value returned is $9 = (struct Lisp_X *) 0x30 Run till exit from #0 0x00007fffec8f9e06 in F632d666f72776172642d746f6b656e2d32_c_forward_token_2_0 () from /home/md5i/.config/emacs/eln-cache/29.0.50-0e65c843/cc-engine-ccfcb170-09002edc.eln 0x0000555555756ba6 in funcall_subr (subr=0x5555560c2470, numargs=numargs@entry=0, args=args@entry=0x7fffffff79e8) at ../../md5i/src/eval.c:2985 2985 return subr->function.a3 (a[0], a[1], a[2]); "c-forward-token-2" (0xffff79e8) "c-forward-noise-clause" (0xffff7b40) "c-forward-declarator" (0xffff7ca8) "c-fl-decl-end" (0xffff7de8) "c-context-expand-fl-region" (0xee5920a8) 0x56429cf0 PVEC_COMPILED "c-before-context-fl-expand-region" (0xffff82a8) "c-font-lock-fontify-region" (0xffff8438) "font-lock-fontify-region" (0xee592040) 0x55e86658 PVEC_COMPILED "jit-lock--run-functions" (0xffff88b8) "jit-lock-fontify-now" (0xffff8a58) "jit-lock-function" (0xffff8ba8) "redisplay_internal (C function)" (0x0) Run till exit from #0 0x0000555555756ba6 in funcall_subr ( subr=0x5555560c2470, numargs=numargs@entry=0, args=args@entry=0x7fffffff79e8) at ../../md5i/src/eval.c:2985 0x0000555555754a9e in funcall_general (fun=, numargs=numargs@entry=0, args=args@entry=0x7fffffff79e8) at ../../md5i/src/eval.c:2889 2889 return funcall_subr (XSUBR (fun), numargs, args); Value returned is $10 = (struct Lisp_X *) 0x6 Run till exit from #0 0x0000555555754a9e in funcall_general ( fun=, numargs=numargs@entry=0, args=args@entry=0x7fffffff79e8) at ../../md5i/src/eval.c:2889 Ffuncall (nargs=1, args=0x7fffffff79e0) at ../../md5i/src/eval.c:2945 2945 lisp_eval_depth--; Value returned is $11 = (struct Lisp_X *) 0x6 Run till exit from #0 Ffuncall (nargs=1, args=0x7fffffff79e0) at ../../md5i/src/eval.c:2945 0x00007fffec91187a in F632d666f72776172642d6e6f6973652d636c61757365_c_forward_noise_clause_0 () from /home/md5i/.config/emacs/eln-cache/29.0.50-0e65c843/cc-engine-ccfcb170-09002edc.eln Value returned is $12 = (struct Lisp_X *) 0x6 Run till exit from #0 0x00007fffec91187a in F632d666f72776172642d6e6f6973652d636c61757365_c_forward_noise_clause_0 () from /home/md5i/.config/emacs/eln-cache/29.0.50-0e65c843/cc-engine-ccfcb170-09002edc.eln 0x0000555555756b79 in funcall_subr (subr=0x555555ec5660, numargs=numargs@entry=0, args=args@entry=0x7fffffff7b40) at ../../md5i/src/eval.c:2979 2979 return subr->function.a0 (); "c-forward-noise-clause" (0xffff7b40) "c-forward-declarator" (0xffff7ca8) "c-fl-decl-end" (0xffff7de8) "c-context-expand-fl-region" (0xee5920a8) 0x56429cf0 PVEC_COMPILED "c-before-context-fl-expand-region" (0xffff82a8) "c-font-lock-fontify-region" (0xffff8438) "font-lock-fontify-region" (0xee592040) 0x55e86658 PVEC_COMPILED "jit-lock--run-functions" (0xffff88b8) "jit-lock-fontify-now" (0xffff8a58) "jit-lock-function" (0xffff8ba8) "redisplay_internal (C function)" (0x0) Run till exit from #0 0x0000555555756b79 in funcall_subr ( subr=0x555555ec5660, numargs=numargs@entry=0, args=args@entry=0x7fffffff7b40) at ../../md5i/src/eval.c:2979 0x0000555555754a9e in funcall_general (fun=, numargs=numargs@entry=0, args=args@entry=0x7fffffff7b40) at ../../md5i/src/eval.c:2889 2889 return funcall_subr (XSUBR (fun), numargs, args); Value returned is $13 = (struct Lisp_X *) 0x30 Run till exit from #0 0x0000555555754a9e in funcall_general ( fun=, numargs=numargs@entry=0, args=args@entry=0x7fffffff7b40) at ../../md5i/src/eval.c:2889 Ffuncall (nargs=1, args=0x7fffffff7b38) at ../../md5i/src/eval.c:2945 2945 lisp_eval_depth--; Value returned is $14 = (struct Lisp_X *) 0x30 Run till exit from #0 Ffuncall (nargs=1, args=0x7fffffff7b38) at ../../md5i/src/eval.c:2945 0x00007fffec91d397 in F632d666f72776172642d6465636c617261746f72_c_forward_declarator_0 () from /home/md5i/.config/emacs/eln-cache/29.0.50-0e65c843/cc-engine-ccfcb170-09002edc.eln Value returned is $15 = (struct Lisp_X *) 0x30 Run till exit from #0 0x00007fffec91d397 in F632d666f72776172642d6465636c617261746f72_c_forward_declarator_0 () from /home/md5i/.config/emacs/eln-cache/29.0.50-0e65c843/cc-engine-ccfcb170-09002edc.eln In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0) of 2022-06-02 built on miko Repository revision: 8f279c8666dc642ed1f8f49aa709530fcea47374 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure --without-toolkit-scroll-bars --with-x-toolkit=lucid --with-native-compilation --with-xinput2 'CFLAGS=-Og -ggdb'' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: flyspell-mode: t display-time-mode: t magit-wip-initial-backup-mode: t magit-wip-before-change-mode: t magit-wip-after-apply-mode: t magit-wip-after-save-mode: t magit-wip-mode: t global-git-commit-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t line-number-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/md5i/.config/emacs/elpa/transient-20220514.945/transient hides /home/md5i/src/emacs/md5i/lisp/transient Features: (shadow sort mail-extr gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file url-dired svg gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud gnus-spec gnus-win emacsbug flyspell ispell view pacproxy descr-text tramp tramp-loaddefs trampver tramp-integration cus-edit pp cus-load files-x tramp-compat parse-time iso8601 ls-lisp time sieve-manage sasl sasl-anonymous sasl-login sasl-plain rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util sgml-mode facemenu dom python ps-print ps-print-loaddefs ps-def lpr picture nm dbus xml magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff diff-mode easy-mmode git-commit log-edit pcvs-util add-log magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor shell pcomplete server magit-mode transient comp comp-cstr warnings rx cl-extra edmacro kmacro help-mode magit-git magit-base magit-section format-spec crm dash compat-27 compat-26 compat nnimap nnmail gnus-int mail-source gnus-range message sendmail yank-media rfc822 mml mml-sec epa mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader utf7 netrc nnoo gnus wid-edit nnheader gnus-util time-date mail-utils range gnus-o365-oauth2 oauth2 url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny plstore generated generic-x epg rfc6068 epg-config ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util dired-x dired dired-loaddefs compile text-property-search comint ring ansi-color cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs derived debian-el info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 447554 18766) (symbols 48 26788 2) (strings 32 133201 15134) (string-bytes 1 4589077) (vectors 16 85150) (vector-slots 8 1194859 35646) (floats 8 907 430) (intervals 56 433 53) (buffers 992 15)) -- Michael Welsh Duggan (md5i@md5i.com) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 03 14:24:19 2022 Received: (at control) by debbugs.gnu.org; 3 Jun 2022 18:24:19 +0000 Received: from localhost ([127.0.0.1]:57002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxBy7-0005X5-03 for submit@debbugs.gnu.org; Fri, 03 Jun 2022 14:24:19 -0400 Received: from taper.sei.cmu.edu ([147.72.252.16]:43156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxBy4-0005Wm-Pa for control@debbugs.gnu.org; Fri, 03 Jun 2022 14:24:17 -0400 Received: from korb.sei.cmu.edu (korb.sei.cmu.edu [10.64.21.30]) by taper.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id 253IOA8I028047 for ; Fri, 3 Jun 2022 14:24:10 -0400 Received: from miko (neva-vpn-10-64-202-131.sei.cmu.edu [10.64.202.131]) by korb.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id 253IO5gY027514 for ; Fri, 3 Jun 2022 14:24:06 -0400 From: Michael Welsh Duggan To: control@debbugs.gnu.org Subject: Re: bug#55771: 29.0.50; cc-mode based uninterruptible infloop References: <874k12rkfz.fsf@md5i.com> Date: Fri, 03 Jun 2022 14:24:05 -0400 In-Reply-To: <874k12rkfz.fsf@md5i.com> (Michael Welsh Duggan's message of "Thu, 02 Jun 2022 14:26:08 -0400") Message-ID: <87wndxobay.fsf@md5i.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.4 (-) 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: -2.4 (--) reassign 55771 cc-mode thanks -- Michael Welsh Duggan (md5i@md5i.com) From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 07 16:45:21 2022 Received: (at 55771) by debbugs.gnu.org; 7 Jun 2022 20:45:21 +0000 Received: from localhost ([127.0.0.1]:41660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyg4d-0004oe-VL for submit@debbugs.gnu.org; Tue, 07 Jun 2022 16:45:21 -0400 Received: from colin.muc.de ([193.149.48.1]:44425 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1nyg4b-0004oO-Uv for 55771@debbugs.gnu.org; Tue, 07 Jun 2022 16:45:10 -0400 Received: (qmail 95622 invoked by uid 3782); 7 Jun 2022 20:45:02 -0000 Received: from acm.muc.de (p4fe15504.dip0.t-ipconnect.de [79.225.85.4]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 07 Jun 2022 22:45:02 +0200 Received: (qmail 7434 invoked by uid 1000); 7 Jun 2022 20:45:02 -0000 Date: Tue, 7 Jun 2022 20:45:02 +0000 To: Michael Welsh Duggan Subject: Re: [Michael Welsh Duggan] bug#55771: 29.0.50; cc-mode based uninterruptible infloop Message-ID: References: <87zgipkuni.fsf@md5i.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87zgipkuni.fsf@md5i.com> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55771 Cc: acm@muc.de, 55771@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: -1.0 (-) Hello, Michael. On Mon, Jun 06, 2022 at 23:41:05 -0400, Michael Welsh Duggan wrote: > I just wanted to poke you on this one, as I'm not certain it entered > your notice due to the shoddy way I submitted it. Apologies. I missed it. [ .... ] > -------------------- Start of forwarded message -------------------- > Subject: bug#55771: 29.0.50; cc-mode based uninterruptible infloop > To: 55771@debbugs.gnu.org > From: Michael Welsh Duggan > Date: Thu, 02 Jun 2022 14:26:08 -0400 > Create a directory containing the following two files: > .dir-locals.el > bug.el > #ifndef IPFIX_FLOATPOINT_HPP > #define IPFIX_FLOATPOINT_HPP > > IPFIX__NEW_NAMESPACE > > #endif // IPFIX_FLOATPOINT_HPP > >From that directory, run "emacs -Q bug.hpp". > The result is an inflooping emacs from which `C-g' and `ESC ESC ESC' > seem to do nothing useful. > I stopped it in the debugger and ran `fin' several times, interspersing > with `xbacktrace' calls until `fin` did not return. The result is > copied herein: [ .... ] Thanks, that backtrace was extraordinarily helpful. It was one of these places where I'd neglected to test the return code of c-forward-token-2. As a result, point stayed in the same place in a loop which thus became an infinite loop. Can I ask you, please, to try out the following patch, and let me know if it fixes the bug in your real C++ code. I don't want to commit this yet, since I haven't yet checked CC Mode for the same bug somewhere else (and it's getting late, here). I may not have much time to look at this in the next few days. diff -r 6057991425e3 cc-engine.el --- a/cc-engine.el Tue May 24 16:11:52 2022 +0000 +++ b/cc-engine.el Tue Jun 07 20:33:41 2022 +0000 @@ -8312,9 +8312,10 @@ (defun c-forward-noise-clause () ;; Point is at a c-noise-macro-with-parens-names macro identifier. Go ;; forward over this name, any parenthesis expression which follows it, and - ;; any syntactic WS, ending up at the next token. If there is an unbalanced - ;; paren expression, leave point at it. Always Return t. - (c-forward-token-2) + ;; any syntactic WS, ending up at the next token or EOB. If there is an + ;; unbalanced paren expression, leave point at it. Always Return t. + (or (zerop (c-forward-token-2)) + (goto-char (point-max))) (if (and (eq (char-after) ?\() (c-go-list-forward)) (c-forward-syntactic-ws)) > In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0) > of 2022-06-02 built on miko > Repository revision: 8f279c8666dc642ed1f8f49aa709530fcea47374 > Repository branch: master > Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 > System Description: Debian GNU/Linux bookworm/sid > Configured using: > 'configure --without-toolkit-scroll-bars --with-x-toolkit=lucid > --with-native-compilation --with-xinput2 'CFLAGS=-Og -ggdb'' [ .... ] > -- > Michael Welsh Duggan > (md5i@md5i.com) -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 08 00:30:57 2022 Received: (at 55771) by debbugs.gnu.org; 8 Jun 2022 04:30:57 +0000 Received: from localhost ([127.0.0.1]:42191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nynLN-0008Sd-Ip for submit@debbugs.gnu.org; Wed, 08 Jun 2022 00:30:57 -0400 Received: from md5i.com ([75.151.244.229]:36034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nynLJ-0008SN-4T for 55771@debbugs.gnu.org; Wed, 08 Jun 2022 00:30:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=wvPkT9uhGW58zAwwtB3areRdZbuSUVUs09JaRI8y5B8=; b=GSfs+XT0zAcmnZAwgqxoejPRCS JP+pvlzOlBHzf9GnLex0G35JT4wUtlxUuCv0/3Eksr7J0gD6/wAPmAq3YjRsvn5+XlrGEJ9LE/XA1 Be1MD8vBzQkdozyW3QbY/RFBl; Received: from abode ([192.168.177.1] helo=miko) by md5i.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nynLB-00Eym0-VD; Wed, 08 Jun 2022 00:30:45 -0400 From: Michael Welsh Duggan To: Alan Mackenzie Subject: Re: [Michael Welsh Duggan] bug#55771: 29.0.50; cc-mode based uninterruptible infloop References: <87zgipkuni.fsf@md5i.com> Date: Wed, 08 Jun 2022 00:30:45 -0400 In-Reply-To: (Alan Mackenzie's message of "Tue, 7 Jun 2022 20:45:02 +0000") Message-ID: <87bkv3u68a.fsf@md5i.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55771 Cc: Michael Welsh Duggan , 55771@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: -1.0 (-) Alan Mackenzie writes: > Can I ask you, please, to try out the following patch, and let me know > if it fixes the bug in your real C++ code. > > I don't want to commit this yet, since I haven't yet checked CC Mode for > the same bug somewhere else (and it's getting late, here). I may not > have much time to look at this in the next few days. It seems to have fixed this problem. I'll let you know if I run into anything else. > diff -r 6057991425e3 cc-engine.el > --- a/cc-engine.el Tue May 24 16:11:52 2022 +0000 > +++ b/cc-engine.el Tue Jun 07 20:33:41 2022 +0000 > @@ -8312,9 +8312,10 @@ > (defun c-forward-noise-clause () > ;; Point is at a c-noise-macro-with-parens-names macro identifier. Go > ;; forward over this name, any parenthesis expression which follows it, and > - ;; any syntactic WS, ending up at the next token. If there is an unbalanced > - ;; paren expression, leave point at it. Always Return t. > - (c-forward-token-2) > + ;; any syntactic WS, ending up at the next token or EOB. If there is an > + ;; unbalanced paren expression, leave point at it. Always Return t. > + (or (zerop (c-forward-token-2)) > + (goto-char (point-max))) > (if (and (eq (char-after) ?\() > (c-go-list-forward)) > (c-forward-syntactic-ws)) > > > >> In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0) >> of 2022-06-02 built on miko >> Repository revision: 8f279c8666dc642ed1f8f49aa709530fcea47374 >> Repository branch: master >> Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 >> System Description: Debian GNU/Linux bookworm/sid > >> Configured using: >> 'configure --without-toolkit-scroll-bars --with-x-toolkit=lucid >> --with-native-compilation --with-xinput2 'CFLAGS=-Og -ggdb'' > > [ .... ] > >> -- >> Michael Welsh Duggan >> (md5i@md5i.com) -- Michael Welsh Duggan (md5i@md5i.com) From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 08 00:49:17 2022 Received: (at 55771) by debbugs.gnu.org; 8 Jun 2022 04:49:17 +0000 Received: from localhost ([127.0.0.1]:42202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nynd6-0000Ug-T7 for submit@debbugs.gnu.org; Wed, 08 Jun 2022 00:49:17 -0400 Received: from md5i.com ([75.151.244.229]:36036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nynd5-0000US-EG for 55771@debbugs.gnu.org; Wed, 08 Jun 2022 00:49:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=9kvtUpWrDeW5DN90EbcqwFnttRTVpNa+fMhoIxrXSi8=; b=K6aTQqV4zWAG0KOX7BEPTVRDRv F5bUw6YMXCK3fJRtmXBKVI0yy8x1o7idOSaVRWWeowij+wzBWSQAeKFrQXEITfYcNPjd6IefnkCxH IC4FH4jQNqbXKNxgMV0GZSxvV; Received: from abode ([192.168.177.1] helo=miko) by md5i.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nyncy-00Eynp-EN; Wed, 08 Jun 2022 00:49:08 -0400 From: Michael Welsh Duggan To: Michael Welsh Duggan Subject: Re: [Michael Welsh Duggan] bug#55771: 29.0.50; cc-mode based uninterruptible infloop References: <87zgipkuni.fsf@md5i.com> <87bkv3u68a.fsf@md5i.com> Date: Wed, 08 Jun 2022 00:49:08 -0400 In-Reply-To: <87bkv3u68a.fsf@md5i.com> (Michael Welsh Duggan's message of "Wed, 08 Jun 2022 00:30:45 -0400") Message-ID: <874k0vu5dn.fsf@md5i.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55771 Cc: Alan Mackenzie , 55771@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: -1.0 (-) Followup question: Is it a bug that there was no way to cancel this loop with `C-g'? Or was it being canceled but then immediately restarting? `M-x toggle-debug-on-quit' didn't trigger, though. -- Michael Welsh Duggan (md5i@md5i.com) From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 18 00:43:00 2022 Received: (at 55771) by debbugs.gnu.org; 18 Jun 2022 04:43:00 +0000 Received: from localhost ([127.0.0.1]:47357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2QIW-0005kr-7N for submit@debbugs.gnu.org; Sat, 18 Jun 2022 00:43:00 -0400 Received: from md5i.com ([75.151.244.229]:36038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2QIU-0005kb-76 for 55771@debbugs.gnu.org; Sat, 18 Jun 2022 00:42:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=CKanenI4F9kIDJNEzUBjE8XjrdL95fyh9l7jkgEJKEw=; b=coaPnZRbDihSh6Sv1yg9BUhy2A QIm5oR9XQ6JpVMDbFLpJm5hz9/iAx5HZWPASXXihsnRTEqsWJqZwEECb85Lgl3oQXVAS1IE0wNqfn VcaBI/tpVXqzKAmrHfyn//K7S; Received: from abode ([192.168.177.1] helo=miko) by md5i.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1o2QIM-00Fwnt-Ts; Sat, 18 Jun 2022 00:42:50 -0400 From: Michael Welsh Duggan To: Michael Welsh Duggan Subject: Re: bug#55771: [Michael Welsh Duggan] bug#55771: 29.0.50; cc-mode based uninterruptible infloop References: <87zgipkuni.fsf@md5i.com> <87bkv3u68a.fsf@md5i.com> <874k0vu5dn.fsf@md5i.com> Date: Sat, 18 Jun 2022 00:42:50 -0400 In-Reply-To: <874k0vu5dn.fsf@md5i.com> (Michael Welsh Duggan's message of "Wed, 08 Jun 2022 00:49:08 -0400") Message-ID: <8735g2wpit.fsf@md5i.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55771 Cc: Alan Mackenzie , 55771@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: -1.0 (-) Michael Welsh Duggan writes: > Followup question: Is it a bug that there was no way to cancel this loop > with `C-g'? Or was it being canceled but then immediately restarting? > `M-x toggle-debug-on-quit' didn't trigger, though. Ping? -- Michael Welsh Duggan (md5i@md5i.com) From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 18 07:48:05 2022 Received: (at 55771-done) by debbugs.gnu.org; 18 Jun 2022 11:48:06 +0000 Received: from localhost ([127.0.0.1]:47718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Wvt-0001qd-Nb for submit@debbugs.gnu.org; Sat, 18 Jun 2022 07:48:05 -0400 Received: from colin.muc.de ([193.149.48.1]:59246 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1o2Wvr-0001q6-8u for 55771-done@debbugs.gnu.org; Sat, 18 Jun 2022 07:48:03 -0400 Received: (qmail 36369 invoked by uid 3782); 18 Jun 2022 11:47:56 -0000 Received: from acm.muc.de (p2e5d506c.dip0.t-ipconnect.de [46.93.80.108]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 18 Jun 2022 13:47:55 +0200 Received: (qmail 6487 invoked by uid 1000); 18 Jun 2022 11:47:50 -0000 Date: Sat, 18 Jun 2022 11:47:50 +0000 To: Michael Welsh Duggan Subject: Re: bug#55771: [Michael Welsh Duggan] bug#55771: 29.0.50; cc-mode based uninterruptible infloop Message-ID: References: <87zgipkuni.fsf@md5i.com> <87bkv3u68a.fsf@md5i.com> <874k0vu5dn.fsf@md5i.com> <8735g2wpit.fsf@md5i.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8735g2wpit.fsf@md5i.com> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55771-done Cc: acm@muc.de, 55771-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: -1.0 (-) Hello, Michael. On Sat, Jun 18, 2022 at 00:42:50 -0400, Michael Welsh Duggan wrote: > Michael Welsh Duggan writes: > > Followup question: Is it a bug that there was no way to cancel this loop > > with `C-g'? Or was it being canceled but then immediately restarting? > > `M-x toggle-debug-on-quit' didn't trigger, though. > Ping? Yes. I had a visitor this week, so had no time for Emacs. The cause of the bug was a failure to check the result code from c-forward-token-2, so I took the time to scan the rest of CC Mode for similar failures to check that result code, also from c-backward-token-2. There were around 20 suspicious occurrences, which took some time to check. In the end only one of these (in addition to the main one) needed amending. I committed the fixes to CC Mode and to the savannah master branch this morning, so I am closing the bug with this post. > -- > Michael Welsh Duggan > (md5i@md5i.com) -- Alan Mackenzie (Nuremberg, Germany). From unknown Fri Sep 12 10:41:37 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 Jul 2022 11:24:06 +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