From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Han Boetes Newsgroups: gmane.emacs.bugs Subject: bug#51689: emacs Date: Sat, 20 Nov 2021 15:59:32 +0100 Message-ID: References: <83czn2tu7i.fsf@gnu.org> <838rxptx7m.fsf@gnu.org> <83sfvw1bf0.fsf@gnu.org> <83v90qx7gf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21625"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51689@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 20 16:00:22 2021 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 1moRqn-0005PN-NI for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Nov 2021 16:00:21 +0100 Original-Received: from localhost ([::1]:36162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moRql-0005WS-J4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Nov 2021 10:00:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moRqU-0005W3-Mw for bug-gnu-emacs@gnu.org; Sat, 20 Nov 2021 10:00:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60188) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1moRqU-0000Ct-E0 for bug-gnu-emacs@gnu.org; Sat, 20 Nov 2021 10:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1moRqU-00008K-AI for bug-gnu-emacs@gnu.org; Sat, 20 Nov 2021 10:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Han Boetes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Nov 2021 15:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51689 X-GNU-PR-Package: emacs Original-Received: via spool by 51689-submit@debbugs.gnu.org id=B51689.1637420378446 (code B ref 51689); Sat, 20 Nov 2021 15:00:02 +0000 Original-Received: (at 51689) by debbugs.gnu.org; 20 Nov 2021 14:59:38 +0000 Original-Received: from localhost ([127.0.0.1]:43501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moRq6-000077-0W for submit@debbugs.gnu.org; Sat, 20 Nov 2021 09:59:38 -0500 Original-Received: from dahud.boetes.org ([136.144.229.186]:19853) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moRq2-00006s-KS for 51689@debbugs.gnu.org; Sat, 20 Nov 2021 09:59:36 -0500 Original-Received: by dahud.boetes.org (Postfix, from userid 1026) id 974FAD1597; Sat, 20 Nov 2021 15:59:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boetes.org; s=woosh; t=1637420372; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WOBXPTvMh2vJ3GiEef6AfcR6AVkdFk4a1XOce5q49fA=; b=vOrADqMG/qfy8Pr1CL3Qee+0UC2A0+EfwvENJzhyMGuR5MDkSWK16MPRdaVku9Vc3rHS6l LPV5/ifLYBB9YHXfcYWpkUTS5XfwgJ9EG+wc162LCPPVGlB4LkdkJ2teKE4cOwWQXt/133 v1wRnUiPU0AQlstncTPPmvGgkp5NbymDcfXDZ0vBNieQhYhm2y5TNNDDH3u7zCENTsEBUF iWFsK7HnMwtFqN8tGjIx8/2gto7rxwK1TZY00bZ73zHXeIqSmRPWfO68eUNfsWugByoyC3 sm3H8raSKiZpdbbGCij3wAE2fTKWjPiYX0nIDWmYe4tKCn3kpwkbupFebOHTxg== Content-Disposition: inline In-Reply-To: <83v90qx7gf.fsf@gnu.org> 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:220505 Archived-At: Eli Zaretskii wrote: > I think at this point only running under a debugger will help us > efficiently. So please act according to the instructions below, and > show the backtrace it produces: > > $ cd /path/to/emacs/src/ > $ gdb ./emacs > GNU gdb (GDB) 11.1 > Copyright (C) 2021 Free Software Foundation, Inc. > ... > (gdb) source ./.gdbinit > (gdb) break Fsignal > (gdb) commands > Type commands for breakpoint(s) 2, one per line. > End with a line saying just "end". > > pp error_symbol > > pp data > > end > (gdb) run -Q -nw > > When the breakpoint breaks, look at the error_symbol and data printed > by GDB; if the symbol are not "void-function", type "continue" at > GDB's prompt to run Emacs further. When you eventually get symbol as > "void-function" and data that mentions regexp-opt-group, type: > > (gdb) thread apply all bt > > This should produce both C-level backtrace and Lisp-level backtrace of > all the threads in Emacs. Please post that here in its entirety. Ah! Symbols! How could I forget! There we go! Thread 1 (thread 539720): #0 Fsignal (error_symbol=XIL(0xe100), data=XIL(0x9c8f1ef8c23)) at eval.c:1790 #1 0x000009c69f24c271 in xsignal (error_symbol=XIL(0xe100), data=XIL(0x9c8f1ef8c23)) at lisp.h:4155 #2 0x000009c69f252211 in xsignal1 (error_symbol=XIL(0xe100), arg=XIL(0x2b1578948)) at eval.c:1949 #3 0x000009c69f22d539 in Fdefault_value (symbol=XIL(0x2b1578948)) at data.c:1824 #4 0x000009c69f24e5a1 in Fdefault_toplevel_value (symbol=XIL(0x2b1578948)) at eval.c:755 #5 0x000009c69f25633a in funcall_subr (subr=0x9c69f72ca00 , numargs=1, args=0x7f7ffffe9568) at eval.c:3143 #6 0x000009c69f255d66 in Ffuncall (nargs=2, args=0x7f7ffffe9560) at eval.c:3068 #7 0x000009c8cd6fcc36 in F637573746f6d2d696e697469616c697a652d7265736574_custom_initialize_reset_0 () from /usr/obj/work/emacs/src/emacs/src/../native-lisp/29.0.50-8f1f8882/preloaded/custom-e63dc4f2-1b2226d6.eln #8 0x000009c69f25635e in funcall_subr (subr=0x9c95095fc00, numargs=2, args=0x7f7ffffe9738) at eval.c:3145 #9 0x000009c69f255d66 in Ffuncall (nargs=3, args=0x7f7ffffe9730) at eval.c:3068 #10 0x000009c8cd6fd492 in F637573746f6d2d6465636c6172652d7661726961626c65_custom_declare_variable_0 () from /usr/obj/work/emacs/src/emacs/src/../native-lisp/29.0.50-8f1f8882/preloaded/custom-e63dc4f2-1b2226d6.eln #11 0x000009c69f256207 in funcall_subr (subr=0x9c95092cf30, numargs=7, args=0x7f7ffffe9940) at eval.c:3123 #12 0x000009c69f255d66 in Ffuncall (nargs=8, args=0x7f7ffffe9938) at eval.c:3068 #13 0x000009c69f2b6fb4 in exec_byte_code (bytestr=XIL(0x9c93e356a44), vector=XIL(0x9c93135b2a5), maxdepth=make_fixnum(8), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:632 #14 0x000009c69f2b60a5 in Fbyte_code (bytestr=XIL(0x9c93e356a44), vector=XIL(0x9c93135b2a5), maxdepth=make_fixnum(8)) at bytecode.c:334 #15 0x000009c69f25436e in eval_sub (form=XIL(0x9c8e1175223)) at eval.c:2549 #16 0x000009c69f2536cc in Feval (form=XIL(0x9c8e1175223), lexical=XIL(0x30)) at eval.c:2372 #17 0x000009c91457a821 in top_level_run () from /usr/obj/work/emacs/src/emacs/native-lisp/29.0.50-8f1f8882/bytecomp-4f134b45-abb2ff90.eln #18 0x000009c69f2c8c2c in load_comp_unit (comp_u=0x9c931340908, loading_dump=false, late_load=false) at comp.c:5093 #19 0x000009c69f2c9bad in Fnative_elisp_load (filename=XIL(0x9c93133c8c4), late_load=XIL(0)) at comp.c:5309 #20 0x000009c69f297527 in Fload (file=XIL(0x9c950d0fdac), noerror=XIL(0), nomessage=XIL(0x30), nosuffix=XIL(0), must_suffix=XIL(0x30)) at lread.c:1564 #21 0x000009c69f2978b3 in save_match_data_load (file=XIL(0x9c950d0fdac), noerror=XIL(0), nomessage=XIL(0x30), nosuffix=XIL(0), must_suffix=XIL(0x30)) at lread.c:1628 #22 0x000009c69f269c2f in Frequire (feature=XIL(0x2b1558dd8), filename=XIL(0), noerror=XIL(0)) at fns.c:3188 #23 0x000009c69f25638d in funcall_subr (subr=0x9c69f72f940 , numargs=1, args=0x7f7ffffea3f0) at eval.c:3148 #24 0x000009c69f255d66 in Ffuncall (nargs=2, args=0x7f7ffffea3e8) at eval.c:3068 #25 0x000009c69f2b6fb4 in exec_byte_code (bytestr=XIL(0x9c8e35bf664), vector=XIL(0x9c8ac9a3755), maxdepth=make_fixnum(10), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:632 #26 0x000009c69f2b60a5 in Fbyte_code (bytestr=XIL(0x9c8e35bf664), vector=XIL(0x9c8ac9a3755), maxdepth=make_fixnum(10)) at bytecode.c:334 #27 0x000009c69f25436e in eval_sub (form=XIL(0x9c90d9e8293)) at eval.c:2549 #28 0x000009c69f2536cc in Feval (form=XIL(0x9c90d9e8293), lexical=XIL(0x30)) at eval.c:2372 #29 0x000009c8daf2a7f2 in top_level_run () from /usr/obj/work/emacs/src/emacs/native-lisp/29.0.50-8f1f8882/comp-af992f0e-a040a5e7.eln #30 0x000009c69f2c8c2c in load_comp_unit (comp_u=0x9c8ac9bd328, loading_dump=false, late_load=false) at comp.c:5093 #31 0x000009c69f2c9bad in Fnative_elisp_load (filename=XIL(0x9c93e37cca4), late_load=XIL(0)) at comp.c:5309 #32 0x000009c69f297527 in Fload (file=XIL(0x9c9509a82e4), noerror=XIL(0), nomessage=XIL(0x30), nosuffix=XIL(0), must_suffix=XIL(0x30)) at lread.c:1564 #33 0x000009c69f2978b3 in save_match_data_load (file=XIL(0x9c9509a82e4), noerror=XIL(0), nomessage=XIL(0x30), nosuffix=XIL(0), must_suffix=XIL(0x30)) at lread.c:1628 #34 0x000009c69f269c2f in Frequire (feature=XIL(0x3cc0), filename=XIL(0), noerror=XIL(0)) at fns.c:3188 #35 0x000009c69f2c80d3 in maybe_defer_native_compilation (function_name=XIL(0x29ebd14f0), definition=XIL(0x9c8ac9b58ed)) at comp.c:4870 #36 0x000009c69f22a71e in Fdefalias (symbol=XIL(0x29ebd14f0), definition=XIL(0x9c8ac9b58ed), docstring=XIL(0)) at data.c:830 #37 0x000009c69f25436e in eval_sub (form=XIL(0x9c8d0c35ce3)) at eval.c:2549 #38 0x000009c69f29a0c2 in readevalloop (readcharfun=XIL(0x6990), infile0=0x7f7ffffeb2f0, sourcename=XIL(0x9c93e36f6a4), printflag=false, unibyte=XIL(0), readfun=XIL(0), start=XIL(0), end=XIL(0)) at lread.c:2325 #39 0x000009c69f2975ec in Fload (file=XIL(0x9c93e36f444), noerror=XIL(0), nomessage=XIL(0x30), nosuffix=XIL(0), must_suffix=XIL(0)) at lread.c:1578 #40 0x000009c69f2978b3 in save_match_data_load (file=XIL(0x9c93e36f444), noerror=XIL(0), nomessage=XIL(0x30), nosuffix=XIL(0), must_suffix=XIL(0x30)) at lread.c:1628 #41 0x000009c69f269c2f in Frequire (feature=XIL(0x2d0b6d670), filename=XIL(0), noerror=XIL(0)) at fns.c:3188 #42 0x000009c69f25638d in funcall_subr (subr=0x9c69f72f940 , numargs=1, args=0x7f7ffffeb540) at eval.c:3148 #43 0x000009c69f255d66 in Ffuncall (nargs=2, args=0x7f7ffffeb538) at eval.c:3068 #44 0x000009c69f2b6fb4 in exec_byte_code (bytestr=XIL(0x9c93e36f404), vector=XIL(0x9c8ac9c3ab5), maxdepth=make_fixnum(10), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:632 #45 0x000009c69f2b60a5 in Fbyte_code (bytestr=XIL(0x9c93e36f404), vector=XIL(0x9c8ac9c3ab5), maxdepth=make_fixnum(10)) at bytecode.c:334 #46 0x000009c69f25436e in eval_sub (form=XIL(0x9c8d0c36fc3)) at eval.c:2549 #47 0x000009c69f29a0c2 in readevalloop (readcharfun=XIL(0x6990), infile0=0x7f7ffffebc70, sourcename=XIL(0x9c93e384fa4), printflag=false, unibyte=XIL(0), readfun=XIL(0), start=XIL(0), end=XIL(0)) at lread.c:2325 #48 0x000009c69f2975ec in Fload (file=XIL(0x9c93e384dc4), noerror=XIL(0x30), nomessage=XIL(0x30), nosuffix=XIL(0), must_suffix=XIL(0)) at lread.c:1578 #49 0x000009c94e6e8842 in F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_50 () from /usr/obj/work/emacs/src/emacs/src/../native-lisp/29.0.50-8f1f8882/preloaded/faces-e245131e-8647c9a2.eln #50 0x000009c69f25633a in funcall_subr (subr=0x9c950dde6b0, numargs=1, args=0x7f7ffffebe58) at eval.c:3143 #51 0x000009c69f255d66 in Ffuncall (nargs=2, args=0x7f7ffffebe50) at eval.c:3068 #52 0x000009c94e6e8646 in F7474792d66696e642d74797065_tty_find_type_0 () from /usr/obj/work/emacs/src/emacs/src/../native-lisp/29.0.50-8f1f8882/preloaded/faces-e245131e-8647c9a2.eln #53 0x000009c69f25635e in funcall_subr (subr=0x9c9509c3ca0, numargs=2, args=0x7f7ffffec038) at eval.c:3145 #54 0x000009c69f255d66 in Ffuncall (nargs=3, args=0x7f7ffffec030) at eval.c:3068 #55 0x000009c94e6e8a70 in F7474792d72756e2d7465726d696e616c2d696e697469616c697a6174696f6e_tty_run_terminal_initialization_0 () from /usr/obj/work/emacs/src/emacs/src/../native-lisp/29.0.50-8f1f8882/preloaded/faces-e245131e-8647c9a2.eln #56 0x000009c69f25638d in funcall_subr (subr=0x9c950c44d50, numargs=3, args=0x7f7ffffec1e8) at eval.c:3148 #57 0x000009c69f255d66 in Ffuncall (nargs=4, args=0x7f7ffffec1e0) at eval.c:3068 #58 0x000009c986a3ad0d in F636f6d6d616e642d6c696e65_command_line_0 () from /usr/obj/work/emacs/src/emacs/src/../native-lisp/29.0.50-8f1f8882/preloaded/startup-a18662e4-026a11a7.eln #59 0x000009c69f256321 in funcall_subr (subr=0x9c950c21030, numargs=0, args=0x7f7ffffec3c0) at eval.c:3141 #60 0x000009c69f255d66 in Ffuncall (nargs=1, args=0x7f7ffffec3b8) at eval.c:3068 #61 0x000009c986a363a6 in F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0 () from /usr/obj/work/emacs/src/emacs/src/../native-lisp/29.0.50-8f1f8882/preloaded/startup-a18662e4-026a11a7.eln #62 0x000009c69f2542e3 in eval_sub (form=XIL(0x9c950d57a43)) at eval.c:2540 #63 0x000009c69f2536cc in Feval (form=XIL(0x9c950d57a43), lexical=XIL(0)) at eval.c:2372 #64 0x000009c69f166219 in top_level_2 () at keyboard.c:1143 #65 0x000009c69f2510cc in internal_condition_case (bfun=0x9c69f1661ef , handlers=XIL(0x90), hfun=0x9c69f165948 ) at eval.c:1495 #66 0x000009c69f166271 in top_level_1 (ignore=XIL(0)) at keyboard.c:1151 #67 0x000009c69f2501a9 in internal_catch (tag=XIL(0xd110), func=0x9c69f16621b , arg=XIL(0)) at eval.c:1226 #68 0x000009c69f16612b in command_loop () at keyboard.c:1111 #69 0x000009c69f1653c9 in recursive_edit_1 () at keyboard.c:721 #70 0x000009c69f165604 in Frecursive_edit () at keyboard.c:804 #71 0x000009c69f160ff3 in main (argc=3, argv=0x7f7ffffec838) at emacs.c:2345 Lisp Backtrace: "default-toplevel-value" (0xfffe9568) "custom-initialize-reset" (0xfffe9738) "custom-declare-variable" (0xfffe9940) "byte-code" (0xfffe9db0) "require" (0xfffea3f0) "byte-code" (0xfffea9b0) "defalias" (0xfffeb030) "require" (0xfffeb540) "byte-code" (0xfffeb9b0) 0x50dde6b0 PVEC_SUBR "tty-find-type" (0xfffec038) "tty-run-terminal-initialization" (0xfffec1e8) "command-line" (0xfffec3c0) "normal-top-level" (0xfffec4d0) Breakpoint 3, Fsignal (error_symbol=XIL(0xe100), data=XIL(0x9c9423a4e03)) at eval.c:1790 1790 if (NILP (error_symbol) && NILP (data)) void-variable (byte-compile-verbose)