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: Sun, 31 Jul 2022 20:58:49 +0200 Message-ID: <877d3txg5y.fsf@no.workgroup> 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="2246"; mail-complaints-to="usenet@ciao.gmane.io" To: 56862@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 31 21:01:01 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 1oIEBR-0000Q5-8h for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 Jul 2022 21:01:01 +0200 Original-Received: from localhost ([::1]:44604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIEBQ-0004Bq-0y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 Jul 2022 15:01:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIEAc-0004BV-1K for bug-gnu-emacs@gnu.org; Sun, 31 Jul 2022 15:00:14 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIEAU-0003Xn-Cu for bug-gnu-emacs@gnu.org; Sun, 31 Jul 2022 15:00:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oIEAU-0002BO-7F for bug-gnu-emacs@gnu.org; Sun, 31 Jul 2022 15:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregor Zattler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Jul 2022 19:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56862 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16592939458300 (code B ref -1); Sun, 31 Jul 2022 19:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Jul 2022 18:59:05 +0000 Original-Received: from localhost ([127.0.0.1]:38621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIE9Y-00029l-4z for submit@debbugs.gnu.org; Sun, 31 Jul 2022 14:59:05 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIE9V-00029M-DE for submit@debbugs.gnu.org; Sun, 31 Jul 2022 14:59:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIE9V-000423-5q for bug-gnu-emacs@gnu.org; Sun, 31 Jul 2022 14:59:01 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:44545) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIE9S-0003Sa-Vx for bug-gnu-emacs@gnu.org; Sun, 31 Jul 2022 14:59:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1659293935; bh=CxZyayLnDGxbwosUNQAMpjJofT53DcwKLGBAv0upwMo=; h=X-UI-Sender-Class:From:To:Subject:Date; b=OD3+C7LwfRmugSYHJqvr/3RCyKnxCJpXE8xri1fpq1IboeS8wEyu0Osz9xq+cfx0T SHdUFgeDixu5qarqd0Oa6+Ayfagjj2lWP3BsE44ZZTNdN+8iz5seGoTwesZxbdoVaX z7E4iYk3uwu8dOfwHv6AQFo7CSyLCZ2hE+5hetN4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from localhost ([95.90.239.132]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MXp5Q-1nxI0p0Mbk-00YEZk; Sun, 31 Jul 2022 20:58:55 +0200 X-Provags-ID: V03:K1:+E13TvYXP0hLax7sNGQ7XEn7Ky/E/HFzIasmtbGkAL4azrtQRqr vCKrtpbuHjVQZFXzmTgJesR832I+6CjOf9oi1aEmZVW7K0p7xe3F+c7v4YZEldvQtGS/bBG myu3NtOjFhxY61LW4tJlmMTUk5ZtRWsT8VK2ysiYy432N94to1kUbJLnjinm34ZcfaSop7A Nm3k1n7CuG+9rptVxUH+g== X-UI-Out-Filterresults: notjunk:1;V03:K0:lz4eqM7JRYQ=:93eUR5izTSyFRcKizH/uls EzUbmNqERUIilJFMWVhdrTvQ1094fq3YY3VwOM0vSUfGXKhTGlMnUUfETdA4dP/6qYPi9X3lM M/yKrw/gWxgK8RjfbazIBhmNp1LMCq40OeiUWabe4XsVFCH3S4LjOYpM+dLuZaUkUmZgTW98A 4eneS/t/E1lYXGnMKkiIlx/8sbu5I6KQ8fW9DKNs3PNFv5g+im0h0L4cMvYAwmfQughMJqHO+ Y9wI6/7NTfmcwQNyj1bAk7pgcUo3Kg5tPQoRRQK3HU6MU0Q5QMhzQNB3qedstcehjV7cKFLW9 kFBvuCz6cwd93BMrhSc/mG87iN2pssY5evF3dX89PANqNeY6NtvYfMCgGzw3h4FIAbg2R4PFY eXe1V/lycDV1DhgMSAD/7f/4nwDwmwShJltQbv+N67VXHfdSnPwKKL64XTkSksJB70FYnfedn bpSL6uLJIytF6Q/r23CllwZ+3LSvIB/gBfdaDIKub5DKq5IMJeN3mFyG3p5b4DjGrw9CNqn0c QWFPadmZFr+TAQUt7gCJTO6vSf1m/esmE8IwZ8Y0/iBM99TjJFUa24F1nDgleXAoFqG0uU/3H DXrPQVvtbLfNyDEzM1zjVBxKu+dxw6LMa9cz8ZkRupHLLjtDx0phl8qXOsfBzR3nG/p25FtZt R9zt0+9+nStFUt/JNZifQ0oNvrVzzfOWCMdyB2qBVCgHW3RNtbKWzgUlzEFxdLXF+/VqcWAKN pdZI3pgDR0N70B7G4x5WQ/YIz9j6engCc9wQWCFCoGdUSijwhje69g8r852Yzsdn4/iv57qI Received-SPF: pass client-ip=212.227.17.21; envelope-from=telegraph@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:238358 Archived-At: Dear emacs developers, earlier today a did build with the then most recent Emacs sources (107f832577123ea7ebe867cba55601d0142f546f) on a up-to-date Debian bullseye. This was *not* a fresh checkout / make bootstrap. GNU Emacs 29.0.50 (build 6, x86_64-pc-linux-gnu, X toolkit, cairo version = 1.16.0) of 2022-07-31 This Emacs build was configured like so: ./autogen.sh && ./configure -C $PREFIX =2D-enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/${EMACSMAJORV= ERSION}.${EMACSMINORVERSION}/site-lisp:/usr/local/share/emacs/site-lisp:/u= sr/share/emacs/${EMACSMAJORVERSION}.${EMACSMINORVERSION}/site-lisp:/usr/sh= are/emacs/site-lisp =2D-with-sound=3Dyes --without-gconf --with-mailutils --build x86_64-linux-gnu =2D-infodir=3D/usr/local/share/info:/usr/share/info --with-json =2D-with-file-notification=3Dyes --with-cairo --with-x=3Dyes =2D-with-x-toolkit=3Dlucid --without-toolkit-scroll-bars =2D-enable-checking=3Dyes,glyphs --enable-check-lisp-object-type =2D-with-native-compilation CFLAGS=3D-g3 -O0 -ffile-prefix-map=3D/home/grfz/src/emacs-master=3D. -fsta= ck-protector-strong -Wformat -Werror=3Dformat-security After starting up Emacs with my configuration it started compiling native code and after a few minutes it crashed. I realized that this also happens with emacs -Q -nw init.el (I wanted to outcomment something): first (I took a "screenshot" of the whole terminal emulator. Interesting perhaps is the right hand emacs window): ;; I do not use vcsh atm since it's clumsy = | ? Warning (comp): /usr/local/stow/emacs-snapshot/s= hare/emacs/29.0.50/lisp/emacs-lisp/rx.el.g\ ;; ;; Define /vcsh:repo: tramp method for use in init files. = |z: Error: Wrong type argument integer-or-marker-p ;; (use-package tramp = | ? Warning (comp): /usr/local/stow/emacs-snapshot/s= hare/emacs/29.0.50/lisp/emacs-lisp/icons.e\ ;; :ensure nil = |l.gz: Error: Wrong type argument integer-or-marker-p ;; :config = | ? Warning (comp): /usr/local/stow/emacs-snapshot/s= hare/emacs/29.0.50/lisp/emacs-lisp/subr-x.\ ;; (setq ange-ftp-ftp-program-name "ftp" = |el.gz: Error: Wrong type argument integer-or-marker-= p ;; tramp-use-ssh-controlmaster-options nil) = | ? Warning (comp): /usr/local/stow/emacs-snapshot/s= hare/emacs/29.0.50/lisp/emacs-lisp/comp-cs\ ;; (add-to-list 'tramp-methods '("vcsh" = |tr.el.gz: Error: Wrong type argument integer-or-mark= er-p ;; (tramp-login-program "vcsh") = | ? Warning (comp): /usr/local/stow/emacs-snapshot/s= hare/emacs/29.0.50/lisp/emacs-lisp/warning\ ;; (tramp-login-args = |s.el.gz: Error: Wrong type argument integer-or-marke= r-p ;; (("enter") = | ? Warning (comp): /usr/local/stow/emacs-snapshot/s= hare/emacs/29.0.50/lisp/emacs-lisp/comp.el\ ;; ("%h"))) = |.gz: Error: Wrong type argument integer-or-marker-p ;; (tramp-remote-shell "/bin/sh") = | ? Warning (comp): /usr/local/stow/emacs-snapshot/s= hare/emacs/29.0.50/lisp/misearch.el.gz: Er\ ;; (tramp-remote-shell-args = |ror: Wrong type argument integer-or-marker-p ;; ("-c"))))) = | -UUU:--- F1 init.el 67% L104 Git-master (ELisp/l ElDoc) -----= ---------------------|-UUU:%*- F1 *Warnings* All L2 (Special) = ------------------------------------------- Fatal error 6: Aborted Backtrace: emacs(+0x219994)[0x55ab7b17b994] emacs(+0x57602)[0x55ab7afb9602] emacs(+0x5f412)[0x55ab7afc1412] emacs(+0x6bb03)[0x55ab7afcdb03] emacs(+0x2aef60)[0x55ab7b210f60] emacs(+0x2b04e1)[0x55ab7b2124e1] emacs(+0x313510)[0x55ab7b275510] emacs(+0x2aef60)[0x55ab7b210f60] emacs(+0x1f8d57)[0x55ab7b15ad57] emacs(+0x1f933d)[0x55ab7b15b33d] emacs(+0x1f9523)[0x55ab7b15b523] emacs(+0x1ff118)[0x55ab7b161118] emacs(+0x32fe03)[0x55ab7b291e03] emacs(+0x846c8)[0x55ab7afe66c8] emacs(+0x201689)[0x55ab7b163689] emacs(+0x202b59)[0x55ab7b164b59] emacs(+0x204eb6)[0x55ab7b166eb6] emacs(+0x2ad447)[0x55ab7b20f447] emacs(+0x1e81f2)[0x55ab7b14a1f2] emacs(+0x2ad38c)[0x55ab7b20f38c] emacs(+0x1ea73f)[0x55ab7b14c73f] emacs(+0x1f336b)[0x55ab7b15536b] emacs(+0x1f39d4)[0x55ab7b1559d4] emacs(+0x752d2)[0x55ab7afd72d2] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7f62b8f5cd0a] emacs(+0x762fa)[0x55ab7afd82fa] Aborted 134 second: Fatal error 6: Aborted Backtrace: emacs(+0x219994)[0x55b7b88da994] emacs(+0x57602)[0x55b7b8718602] emacs(+0x5f412)[0x55b7b8720412] emacs(+0x6b94d)[0x55b7b872c94d] emacs(+0x6bb1c)[0x55b7b872cb1c] emacs(+0x2aef60)[0x55b7b896ff60] emacs(+0x2b04e1)[0x55b7b89714e1] emacs(+0x313510)[0x55b7b89d4510] emacs(+0x2aef60)[0x55b7b896ff60] emacs(+0x2b04e1)[0x55b7b89714e1] emacs(+0x313510)[0x55b7b89d4510] emacs(+0x2aef60)[0x55b7b896ff60] emacs(+0x2b04e1)[0x55b7b89714e1] emacs(+0x313510)[0x55b7b89d4510] emacs(+0x2aef60)[0x55b7b896ff60] emacs(+0x2b04e1)[0x55b7b89714e1] emacs(+0x313510)[0x55b7b89d4510] emacs(+0x2aef60)[0x55b7b896ff60] emacs(+0x1f8d57)[0x55b7b88b9d57] emacs(+0x1f933d)[0x55b7b88ba33d] emacs(+0x1f9523)[0x55b7b88ba523] emacs(+0x1ff118)[0x55b7b88c0118] emacs(+0x32fe03)[0x55b7b89f0e03] emacs(+0x846c8)[0x55b7b87456c8] emacs(+0x201689)[0x55b7b88c2689] emacs(+0x202b59)[0x55b7b88c3b59] emacs(+0x204eb6)[0x55b7b88c5eb6] emacs(+0x2ad447)[0x55b7b896e447] emacs(+0x1e81f2)[0x55b7b88a91f2] emacs(+0x2ad38c)[0x55b7b896e38c] emacs(+0x1ea73f)[0x55b7b88ab73f] emacs(+0x1f336b)[0x55b7b88b436b] emacs(+0x1f39d4)[0x55b7b88b49d4] emacs(+0x752d2)[0x55b7b87362d2] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7f5f154a1d0a] emacs(+0x762fa)[0x55b7b87372fa] Aborted third from within gdb (here also the right hand emacs window is not import= ant): lisp.h:3549: Emacs fatal error: assertion failed: pdl->kind =3D=3D SPECPDL= _BACKTRACE Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=3D6, backt= race_limit=3D2147483647) at emacs.c:420 420 (gdb) bt = | ;; I do not use vcsh atm since it's clumsy #0 terminate_due_to_signal (sig=3D6, backtrace_limit=3D2147483647) at ema= cs.c:420 | ;; ;; Define /vcsh:repo: tramp method for use = in init files. #1 0x00005555555b3412 in die (msg=3D, file=3D, line=3D) at alloc.c:7670ge tramp #2 0x00005555555bfb03 in backtrace_debug_on_exit (pdl=3D) = at lisp.h:3547 | ;; :ensure nil #3 backtrace_debug_on_exit (pdl=3D) at lisp.h:3547 = | ;; :config #4 exec_byte_code (fun=3DXIL(0x54), args_template=3D2147483647, nargs=3D9= 3825007119635, args=3D0x7fffef3e40a0) at bytecode.c:887-program-name "ftp" #5 0x0000555555802f60 in Ffuncall (nargs=3D1, args=3D0x7fffef3e4050) at e= val.c:2958 | ;; tramp-use-ssh-controlmaster-options= nil) #6 0x00005555558044e1 in Fapply (nargs=3D2, args=3D0x7fffef3e4050) at eva= l.c:2582 | ;; (add-to-list 'tramp-methods '("vcsh" #7 0x0000555555867510 in exec_byte_code (fun=3DXIL(0x54), args_template= =3D2147483647, nargs=3D2, args=3D0x7fffef3e4050) at bytecode.c:809 (tram= p-login-program "vcsh") #8 0x0000555555802f60 in Ffuncall (nargs=3Dnargs@entry=3D2, args=3Dargs@e= ntry=3D0x7fffffffc820) at eval.c:2958 (tramp-= login-args #9 0x000055555574cd57 in call1Python Exception value = has been optimized out: ;; (("enter") (arg1=3DXIL(0x555555eea69d), fn=3D) at lisp.h:3239 = | ;; ("%h"))) #10 timer_check_2Python Exception value has been optim= ized out: | ;; (tramp-remote-s= hell "/bin/sh") (idle_timers=3D, timers=3DXIL(0)) at keyboard.c:4636 = | ;; (tramp-remo= te-shell-args #11 timer_check () at keyboard.c:4702 = | ;; ("-c"))))) #12 0x000055555574d33d in readable_events (flags=3D1) at keyboard.c:3484--= -----------------------|-UUU:--- F1 init.el 67% L104 Git-maste= r (ELisp/l ElDoc) -------------------------- #13 0x000055555574d523 in get_input_pending (flags=3D1) at keyboard.c:7277 #14 0x0000555555753118 in detect_input_pending_run_timers (do_display=3Ddo= _display@entry=3Dtrue) at keyboard.c:10807 #15 0x0000555555883e03 in wait_reading_process_outputPython Exception value has been optimized out: (time_limit=3Dtime_limit@entry=3D30, nsecs=3Dnsecs@entry=3D0, read_kbd= =3Dread_kbd@entry=3D-1, do_display=3Ddo_display@entry=3Dtrue, wait_for_cel= l=3D, wait_proc=3Dwait_proc@entry=3D0x0, just_wait_proc=3D0) at process.c:5732 #16 0x00005555555d86c8 in sit_forPython Exception valu= e has been optimized out: (timeout=3D, reading=3D, display_option=3D)= at dispnew.c:6238 #17 0x0000555555755689 in read_charPython Exception va= lue has been optimized out: Python Exception value has been optimized out: (commandflag=3D1, map=3D, prev_event=3D, used_mouse_menu=3D0x7fffffffd11b= , end_time=3D0x0) at lisp.h:760 #18 0x0000555555756b59 in read_key_sequencePython Exception value has been optimized out: (keybuf=3D, prompt=3D, dont_downcase_last=3D, can_return_switch_frame=3Dtrue, fix_current_buffer=3Dtrue, prevent_r= edisplay=3Dfalse) at keyboard.c:9984 #19 0x0000555555758eb6 in command_loop_1 () at lisp.h:1162 #20 0x0000555555801447 in internal_condition_casePython Exception value has been optimized out: (bfun=3Dbfun@entry=3D0x555555758c80 , handlers=3D, handle= rs@entry=3DXIL(0x90), hfun=3Dhfun@entry=3D0x555555747c80 ) at eval.c:1485 #21 0x000055555573c1f2 in command_loop_2 (handlers=3Dhandlers@entry=3DXIL(= 0x90)) at keyboard.c:1132 #22 0x000055555580138c in internal_catchPython Exception value has been optimized out: (tag=3D, func=3Dfunc@entry=3D0x55555573c1d0 , arg=3D, arg= @entry=3DXIL(0x90)) at eval.c:1208 #23 0x000055555573e73f in command_loop () at keyboard.c:1110 #24 0x000055555574736b in recursive_edit_1 () at keyboard.c:719 #25 0x00005555557479d4 in Frecursive_edit () at keyboard.c:802 #26 0x00005555555c92d2 in main (argc=3D, argv=3D) at emacs.c:2517 Lisp Backtrace: eval.c:116: Emacs fatal error: assertion failed: pdl->kind =3D=3D SPECPDL_= BACKTRACE Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=3D6, backt= race_limit=3D2147483647) at emacs.c:420 420 { The program being debugged stopped while in a function called from GDB. Evaluation of the expression containing the function (backtrace_function) will be abandoned. When the function is done executing, GDB will silently stop. (gdb) (gdb) xbacktrace eval.c:116: Emacs fatal error: assertion failed: pdl->kind =3D=3D SPECPDL_= BACKTRACE Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=3D6, backt= race_limit=3D2147483647) at emacs.c:420 420 { The program being debugged stopped while in a function called from GDB. Evaluation of the expression containing the function (backtrace_function) will be abandoned. When the function is done executing, GDB will silently stop. I hope this is somewhat helpful. Please feel free to ask me questions but consider that all this is very foreign for me. So please be very specific. Ciao, =2D- Gregor