From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.bugs Subject: bug#56862: 29.0.50; crashes while compiling native code Date: Mon, 01 Aug 2022 10:55:11 +0200 Message-ID: <87sfmgs5qo.fsf@no.workgroup> References: <877d3txg5y.fsf@no.workgroup> <838ro93xqb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14554"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56862@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 01 10:56:12 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 1oIRDg-0003af-8y for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Aug 2022 10:56:12 +0200 Original-Received: from localhost ([::1]:48640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIRDe-0004Do-OI for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Aug 2022 04:56:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIRDW-0004DR-BY for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2022 04:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIRDW-0005k1-1u for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2022 04:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oIRDV-0000rl-Mk for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2022 04:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregor Zattler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Aug 2022 08:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56862 X-GNU-PR-Package: emacs Original-Received: via spool by 56862-submit@debbugs.gnu.org id=B56862.16593441303271 (code B ref 56862); Mon, 01 Aug 2022 08:56:01 +0000 Original-Received: (at 56862) by debbugs.gnu.org; 1 Aug 2022 08:55:30 +0000 Original-Received: from localhost ([127.0.0.1]:39231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIRCz-0000qh-DP for submit@debbugs.gnu.org; Mon, 01 Aug 2022 04:55:29 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:50709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIRCu-0000qL-6H for 56862@debbugs.gnu.org; Mon, 01 Aug 2022 04:55:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1659344115; bh=Xfz6+XOf1yWE236EC11HMCaY4ykVu4Di6RRVZy9Eyw8=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=R1YEaXHZ3J8ID/WS5OuSYwaXVaGUbHkKXTFtC5cIPB1iJy22/BxReeL8W0xnzv7bK oLMgz/LFocK/MjmIyODvL5gKTGe50Ec0A9F9zqx+JLCv2kT+AJb0umpT+SAOH0sbjG rQDloTwmF0eEQFSZOqNiOADt7bwPJ36HXKxvc36o= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from localhost ([90.187.24.217]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N6KUd-1nP7iU2xXV-016hu1; Mon, 01 Aug 2022 10:55:15 +0200 In-Reply-To: <838ro93xqb.fsf@gnu.org> X-Provags-ID: V03:K1:N6+CtnyxWnPFLz22SeN1ChyV76KnMAC/OFtzOxZ5t9VlZjHncEp Dnp6impN/mCxB5yUD/7MVzvWoheU0mekCnZgIPC94mCQeDxXwgKCzrkW65sHZl11/1pxC/D TZnuR7llbFjbdM3EBt7KaTR/tBZ/yrpem92NRyk1oKE3EZHcGjxwAhU5YriDdusF/xJPYuH e/8zMzphIsrzok4HIKxsg== X-UI-Out-Filterresults: notjunk:1;V03:K0:nv2UyplBtxw=:AnmezGyrn7V0+TvntGVvvR KhBwnuRj8qxzJ/6Ly3QpBEintHitbBhMK2Xy/hOhq48FIhZMYwklFyphQXjL6h4DcKSwIaarn YtS/tI2BheLIXPuw+pgkKIVIvywN3Pk9h23cVLROV9InDkpinG7lBI7p4QOt3Lyy0p2GCUYwz 8NIO5BEQhU0lQtbyWuHjSsSxa1yJHAnsn8dxjzfr1/wbj8SFWZK0ZQa9azWoDL2Vi7OMqoxIu bYn7ZfIB5F8TpXeQVFVY1O+BKQtzLDxgxo7zVIb+0filqTysU/X9HjdeU+mGw2J7Yjiaa/VHV gK4Pji1NI2rfVR7KsLrcvCqtmtqvQ/Hqt1+9cHWgzegUFoiRMrjgV72HAaEO//+ys+KfvLbwI WtkKBZLycxeSaO7aLUAEo4eM50/0Uw66lz/61ieioBR0e8W6t0SojhuTXWau8AJm0jtu+336W nY2KFIdNa0PERPSX/HLzRVddMa4HHIYPn0hTnCavlmhrzvj18HiOWZqAmLj1Y22h3ymeJEbyO NuVM/8NoYiZAy2pisLmbly709m/LT8OObJ/sNZ6cBKl8AtAJcSGpmoFI2gMNe2qgTNcv4VH/H O7DknIFH1jdYTGM40azgIoLsirwUiM8JM66MCYJI3ZAo0v7iqYSqXksfdsTcIXyUEAHRx4E4R MFrjnXtSigueKSbRi8fYfiufUhK1SSefg2l9zzvzrzrNDsNd95PPxZ+mtlP6ZFpE+qnuGHVJz yQd2hF4fh7v2/v6GW8Tw0ML97+Yjm4MsEJLTEJa2M0wjd59PRsGNCbeGGsFyupgn2DWYhHLt 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:238395 Archived-At: Hi Eli, * Eli Zaretskii [2022-07-31; 22:09]: > From the only readable backtrace, the one you produced from GDB, I can > only deduce that some timer was run by Emacs, and that timer's code > caused the crash in some way. It's hard to say more, especially since > your GDB seems to be misconfigured and causes Python exceptions > instead of showing useful information. > > If you can reproduce this at will, please try producing a GDB > backtrace after you fix your GDB installation. And please try a newer > checkout of the master branch. Sorry, I had the very same problem in February, you told me to fix my gdb installation, which was plain Debian bullseye, I compiled from debian source, then it worked. Since then I reinstalled Debian bullseye, hence the same problem, I did the same and build Emacs without optimazion and with max debug symbols from a even newer moment of the repo: $ git log -n 1 commit eef591072ab1cbcf2168d7b30b3e1ca1f50717ad (HEAD -> master, origin/ma= ster, origin/HEAD) Author: Lars Ingebrigtsen Date: Sun Jul 31 20:00:25 2022 +0200 Regenerate ldefs-boot.el These are the results: lisp.h:3549: Emacs fatal error: assertion failed: pdl->kind =3D=3D SPECPDL= _BACKTRACE ;; removing the contents of org-persist-directory before opening Emacs? Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=3D6, backt= race_limit=3D2147483647) at emacs.c:420 (gdb) bt #0 terminate_due_to_signal (sig=3D6, backtrace_limit=3D2147483647) at ema= cs.c:420 #1 0x0000555555823505 in die (msg=3D0x555555a24530 "pdl->kind =3D=3D SPEC= PDL_BACKTRACE", file=3D0x555555a243c8 "lisp.h", line=3D3549) at alloc.c:76= 70 #2 0x00005555558c73d4 in backtrace_debug_on_exit (pdl=3D0x55555613f670) a= t lisp.h:3549 #3 0x00005555558c8edd in exec_byte_code (fun=3DXIL(0x7ffff07b75f5), args_= template=3D771, nargs=3D3, args=3D0x7fffef8ad228) at bytecode.c:887 #4 0x0000555555862f17 in fetch_and_exec_byte_code (fun=3DXIL(0x7ffff05905= 35), args_template=3D0, nargs=3D0, args=3D0x7fffef8ad058) at eval.c:3045 #5 0x00005555558633a6 in funcall_lambda (fun=3DXIL(0x7ffff0590535), nargs= =3D0, arg_vector=3D0x7fffef8ad058) at eval.c:3117 #6 0x0000555555862688 in funcall_general (fun=3DXIL(0x7ffff0590535), numa= rgs=3D0, args=3D0x7fffef8ad058) at eval.c:2908 #7 0x0000555555862913 in Ffuncall (nargs=3D1, args=3D0x7fffef8ad050) at e= val.c:2958 #8 0x0000555555861751 in Fapply (nargs=3D2, args=3D0x7fffef8ad050) at eva= l.c:2582 #9 0x0000555555862d8f in funcall_subr (subr=3D0x555555eadb00 , nu= margs=3D2, args=3D0x7fffef8ad050) at eval.c:3023 #10 0x00005555558c89d4 in exec_byte_code (fun=3DXIL(0x7ffff026714d), args_= template=3D257, nargs=3D1, args=3D0x7fffef8ad198) at bytecode.c:809 #11 0x0000555555862f17 in fetch_and_exec_byte_code (fun=3DXIL(0x7ffff0939a= c5), args_template=3D257, nargs=3D1, args=3D0x7fffffffc6e8) at eval.c:3045 #12 0x00005555558633a6 in funcall_lambda (fun=3DXIL(0x7ffff0939ac5), nargs= =3D1, arg_vector=3D0x7fffffffc6e8) at eval.c:3117 #13 0x0000555555862688 in funcall_general (fun=3DXIL(0x7ffff0939ac5), numa= rgs=3D1, args=3D0x7fffffffc6e8) at eval.c:2908 #14 0x0000555555862913 in Ffuncall (nargs=3D2, args=3D0x7fffffffc6e0) at e= val.c:2958 #15 0x000055555576e0eb in call1 (fn=3DXIL(0xf4b0), arg1=3DXIL(0x55555608bb= 65)) at lisp.h:3239 #16 0x000055555577bb14 in timer_check_2 (timers=3DXIL(0), idle_timers=3DXI= L(0x5555563c8083)) at keyboard.c:4636-------------------------------------= ----------------------------------------------- #17 0x000055555577bc84 in timer_check () at keyboard.c:4702 #18 0x00005555557789c9 in readable_events (flags=3D1) at keyboard.c:3484 #19 0x0000555555783030 in get_input_pending (flags=3D1) at keyboard.c:7277 #20 0x000055555578cd51 in detect_input_pending_run_timers (do_display=3Dtr= ue) at keyboard.c:10807 #21 0x00005555558ee1e7 in wait_reading_process_output (time_limit=3D30, ns= ecs=3D0, read_kbd=3D-1, do_display=3Dtrue, wait_for_cell=3DXIL(0), wait_pr= oc=3D0x0, just_wait_proc=3D0) at process.c:5732 #22 0x00005555555ac046 in sit_for (timeout=3Dmake_fixnum(30), reading=3Dtr= ue, display_option=3D1) at dispnew.c:6238 #23 0x000055555577611d in read_char (commandflag=3D1, map=3DXIL(0x5555563c= 87b3), prev_event=3DXIL(0), used_mouse_menu=3D0x7fffffffd05d, end_time=3D0= x0) at keyboard.c:2832 #24 0x000055555578abee in read_key_sequence (keybuf=3D0x7fffffffd250, prom= pt=3DXIL(0), dont_downcase_last=3Dfalse, can_return_switch_frame=3Dtrue, f= ix_current_buffer=3Dtrue, prevent_redisplay=3Dfalse) at keyboard.c:9984 #25 0x0000555555771456 in command_loop_1 () at keyboard.c:1382 #26 0x000055555585e278 in internal_condition_case (bfun=3D0x555555771026 <= command_loop_1>, handlers=3DXIL(0x90), hfun=3D0x555555770460 ) = at eval.c:1485 #27 0x0000555555770c0f in command_loop_2 (handlers=3DXIL(0x90)) at keyboar= d.c:1132 #28 0x000055555585d428 in internal_catch (tag=3DXIL(0xf7b0), func=3D0x5555= 55770be8 , arg=3DXIL(0x90)) at eval.c:1208 #29 0x0000555555770ba4 in command_loop () at keyboard.c:1110 #30 0x000055555576ff23 in recursive_edit_1 () at keyboard.c:719 #31 0x0000555555770140 in Frecursive_edit () at keyboard.c:802 #32 0x000055555576b804 in main (argc=3D4, argv=3D0x7fffffffd6e8) at emacs.= c:2517 Lisp Backtrace: "show-paren--default" (0xef8ad0a8) "show-paren-function" (0xef8ad058) "apply" (0xef8ad050) "timer-event-handler" (0xffffc6e8) (gdb) (gdb) xbacktrace "show-paren--default" (0xef8ad0a8) "show-paren-function" (0xef8ad058) "apply" (0xef8ad050) "timer-event-handler" (0xffffc6e8) (gdb) Ciao; Gregor =2D- -... --- .-. . -.. ..--.. ...-.-