From unknown Thu Jun 19 12:37:03 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#51131 <51131@debbugs.gnu.org> To: bug#51131 <51131@debbugs.gnu.org> Subject: Status: 29.0.50; Segfault in ERT test Reply-To: bug#51131 <51131@debbugs.gnu.org> Date: Thu, 19 Jun 2025 19:37:03 +0000 retitle 51131 29.0.50; Segfault in ERT test reassign 51131 emacs submitter 51131 Helmut Eller severity 51131 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 11 02:07:52 2021 Received: (at submit) by debbugs.gnu.org; 11 Oct 2021 06:07:52 +0000 Received: from localhost ([127.0.0.1]:56259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZoTY-0002Jx-07 for submit@debbugs.gnu.org; Mon, 11 Oct 2021 02:07:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:53922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZoTT-0002Jm-Hi for submit@debbugs.gnu.org; Mon, 11 Oct 2021 02:07:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZoTT-00073B-9l for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 02:07:47 -0400 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:42655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZoTP-0007i3-Or for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 02:07:47 -0400 Received: by mail-ed1-x529.google.com with SMTP id t16so41376346eds.9 for ; Sun, 10 Oct 2021 23:07:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=QA8hXF6VRarYEEPoHdFLUJcfqW+ueBrFARkOv+q4P0g=; b=FhE74AzKI6ozBuwOQFUXOI76uMdtpyJHMTUajgp0n0QFRcDQSbF/p4VhVZZ9anhdZq UU1DhGNhFX0s0P6xEqrcUVcRTxA92TQKETWAs0xhaEejdWeIKIbnWGZnEijFLKwvGBeq dUa4OestqAixDcMKwCUIxx+MP4dmWLTdPwY+kfyI7W+HHMlFRBrytF0wc32avPMYnfwV cNtVKWxINU9biVIu0Z5V1IrJjuVpLPFiOHxSdIu/vLEH75DHAyaQA1g62W6YevVwc4ck vYG8y0cfUG9v9HeIwLaQy4fwn1q3ulzLaEwuxr314AQp32nbaAGsOoWigqDz+DOAQuRc Yrgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=QA8hXF6VRarYEEPoHdFLUJcfqW+ueBrFARkOv+q4P0g=; b=p9Jlx5bkcsH1R5kZ2qoBjyYWiC6b1zTxnCO3i1XpM5cAi4nntrFURSsRg0nR3wEQ1H mwIjrhdqNkskiTedtUxKFh06MZ1GB18JdYxNCPrJQww12Tarmt2inPfZF0MsCw7VWwSy N9tLU7c9dXIqWNareYVzSz3D7XI6C+pYb6DYf2FFxiEJyOUdLZFvDEHP96fG/JS4mEw3 CIo3qF+87uq/4m1ZNnNV4dFD5X4J1kV8XAmtZsp0+mRpIio1Gma2HO/Lm9dprd1Wtb0b XGf9C6cLPqD1V5+HIf90OZWpcibOoWwi4wOVDH+Lks+H4Cefd8UWQ7w5+f0RBzbKHBEP 9BTQ== X-Gm-Message-State: AOAM533HhlUr6xvJHeTWA+1J0KukXsnH/T+yCxqobENgVSiZjyb6YUP/ 3zD486YMe9c9b1i0nxdcEmGHLixz8Io= X-Google-Smtp-Source: ABdhPJw+Ngyb+NeiSIE4Xq/hjy+FLg2pIQAr5h7OSjXUdG1A/3DNtBqkN9gWkYiVEX51CFGQaCKtqQ== X-Received: by 2002:a17:906:8283:: with SMTP id h3mr24258270ejx.460.1633932461731; Sun, 10 Oct 2021 23:07:41 -0700 (PDT) Received: from caladan (dial-185031.pool.broadband44.net. [212.46.185.31]) by smtp.gmail.com with ESMTPSA id q2sm345777eje.118.2021.10.10.23.07.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Oct 2021 23:07:41 -0700 (PDT) From: Helmut Eller To: bug-gnu-emacs@gnu.org Subject: 29.0.50; Segfault in ERT test Date: Mon, 11 Oct 2021 08:07:34 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=eller.helmut@gmail.com; helo=mail-ed1-x529.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) Emacs receives a segmentation fault when executing this file: (ert-deftest segfault () (let ((debug-on-error nil)) (error "foo"))) =20=20 with emacs -Q -batch -l /tmp/test.el -f ert-run-tests-batch-and-exit The backtrace in gdb is very long and seems to show an endless recursion in Fsignal: gdb -q --args emacs -Q -batch -l /tmp/test.el -f ert-run-tests-batch-and-ex= it Reading symbols from emacs... (gdb) r Starting program: /home/helmut/bin/emacs -Q -batch -l /tmp/test.el -f ert-r= un-tests-batch-and-exit [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff228c700 (LWP 10498)] Running 1 tests (2021-10-11 08:04:00+0200, selector =E2=80=98t=E2=80=99) Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. 0x00005555556ff741 in signal_or_quit (error_symbol=3D0xfc60,=20 data=3D0x555556079a53, keyboard_quit=3Dfalse) at eval.c:1768 1768 { (gdb) bt 20 #0 0x00005555556ff741 in signal_or_quit (error_symbol=3D0xfc60, data=3D0x555556079a53, keyboard_quit=3Dfalse) at eval.c:1768 #1 0x0000555555599594 in Fsignal (error_symbol=3D,=20 error_symbol@entry=3D0xfc60, data=3D) at eval.c:1750 #2 0x000055555559974d in xsignal (data=3D, error_symbol=3D0= xfc60) at lisp.h:4152 #3 xsignal2 (error_symbol=3Derror_symbol@entry=3D0xfc60, arg1=3Darg1@entry=3D0xdb00= , arg2=3Darg2@entry=3D0x555555dc33a5) at eval.c:1913 #4 0x00005555555987f0 in wrong_type_argument (predicate=3Dpredicate@entry=3D0xdb00, value=3Dvalue@entry=3D0x555555dc= 33a5) at data.c:143 #5 0x000055555559985e in CHECK_TYPE (x=3D0x555555dc33a5, predicate=3D0xdb0= 0, ok=3D0) at lisp.h:759 #6 CHECK_SYMBOL (x=3D0x555555dc33a5) at lisp.h:1028 #7 specbind (symbol=3D0x555555dc33a5, value=3D) at eval.c:3= 542 #8 0x00005555556ffbf5 in signal_or_quit (error_symbol=3D, data=3D0x555556079a23, keyboard_quit= =3D) at lisp.h:1002 #9 0x0000555555599594 in Fsignal (error_symbol=3D,=20 error_symbol@entry=3D0xfc60, data=3D) at eval.c:1750 #10 0x000055555559974d in xsignal (data=3D, error_symbol=3D0= xfc60) at lisp.h:4152 #11 xsignal2 (error_symbol=3Derror_symbol@entry=3D0xfc60, arg1=3Darg1@entry=3D0xdb00= , arg2=3Darg2@entry=3D0x555555dc33a5) at eval.c:1913 #12 0x00005555555987f0 in wrong_type_argument (predicate=3Dpredicate@entry=3D0xdb00, value=3Dvalue@entry=3D0x555555dc= 33a5) at data.c:143 #13 0x000055555559985e in CHECK_TYPE (x=3D0x555555dc33a5, predicate=3D0xdb0= 0, ok=3D0) at lisp.h:759 #14 CHECK_SYMBOL (x=3D0x555555dc33a5) at lisp.h:1028 #15 specbind (symbol=3D0x555555dc33a5, value=3D) at eval.c:3= 542 #16 0x00005555556ffbf5 in signal_or_quit (error_symbol=3D, data=3D0x5555560799f3, keyboard_quit= =3D) at lisp.h:1002 #17 0x0000555555599594 in Fsignal (error_symbol=3D,=20 error_symbol@entry=3D0xfc60, data=3D) at eval.c:1750 #18 0x000055555559974d in xsignal (data=3D, error_symbol=3D0= xfc60) at lisp.h:4152 #19 xsignal2 (error_symbol=3Derror_symbol@entry=3D0xfc60, arg1=3Darg1@entry=3D0xdb00= , arg2=3Darg2@entry=3D0x555555dc33a5) at eval.c:1913 (More stack frames follow...) (gdb)=20 Helmut In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, c= airo version 1.16.0) of 2021-10-06 built on caladan Repository revision: 597b6deb294ace9178c8927f83ec08b92597b347 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure --with-xpm=3Difavailable --with-jpeg=3Difavailable --with-gif=3Difavailable --with-tiff=3Difavailable' Configured features: CAIRO DBUS FREETYPE GLIB GMP GNUTLS GSETTINGS HARFBUZZ LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TOOLKIT_SCROLL_BARS X11 XDBE XIM GTK3 ZLIB Important settings: value of $LANG: C.UTF-8 locale-coding-system: utf-8-unix From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 11 05:15:10 2021 Received: (at 51131) by debbugs.gnu.org; 11 Oct 2021 09:15:10 +0000 Received: from localhost ([127.0.0.1]:56582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZrOo-00030f-GN for submit@debbugs.gnu.org; Mon, 11 Oct 2021 05:15:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZrOn-00030O-GD for 51131@debbugs.gnu.org; Mon, 11 Oct 2021 05:15:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; 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=MRfPR5gJXzAyCn7I1HcWtWN5DsyifvGzTBVWQMWkMnw=; b=uKcAayZ7tplUIvkyFa4JNPi2+5 P9Z9dwgv/GTwY5xKUlyQBPERaTQoFbti7W3g7NB5S9nwkd2U1qPZCv0cJbGH8NDFxwrcPmtiOodbA xE5d0m2dnpz+07dAWvk8SEGZ6r6CIhqZbvS7E5o8ZMSoisgSLDEpD0ELMhDj0WPb8jIM=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZrOe-0001CK-VJ; Mon, 11 Oct 2021 11:15:03 +0200 From: Lars Ingebrigtsen To: Helmut Eller Subject: Re: bug#51131: 29.0.50; Segfault in ERT test References: X-Now-Playing: David Byrne's _The Catherine Wheel_: "Cloud Chamber" Date: Mon, 11 Oct 2021 11:14:57 +0200 In-Reply-To: (Helmut Eller's message of "Mon, 11 Oct 2021 08:07:34 +0200") Message-ID: <877dejkjn2.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Helmut Eller writes: > Emacs receives a segmentation fault when executing this file: > > (ert-deftest segfault () > (let ((debug-on-error nil)) > (error "foo"))) > > with > > emacs -Q -batch -l /tmp/test.el -f ert-run-tes [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51131 Cc: 51131@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: -3.3 (---) Helmut Eller writes: > Emacs receives a segmentation fault when executing this file: > > (ert-deftest segfault () > (let ((debug-on-error nil)) > (error "foo"))) > > with > > emacs -Q -batch -l /tmp/test.el -f ert-run-tests-batch-and-exit This should now be fixed in emacs-28 (and on the trunk once the fix is merged). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 11 05:15:17 2021 Received: (at control) by debbugs.gnu.org; 11 Oct 2021 09:15:17 +0000 Received: from localhost ([127.0.0.1]:56585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZrOv-000315-Mc for submit@debbugs.gnu.org; Mon, 11 Oct 2021 05:15:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZrOu-00030o-DR for control@debbugs.gnu.org; Mon, 11 Oct 2021 05:15:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type: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=9RmcQQr0NXyZOhcnlscBJK++xI4Nf6SK6FE3EMxaTrs=; b=bBAQ2IgOj8asZ1QJ5ZdSKyX8rn hkaa5ehzJ5UGRp1fk7w7nGo51RDTfokTDhELdl6WPNMh1cFOYLUHTrmO+Lp2m4DUE7q7vkQkWeYlJ ARc71DIebOlPeFsKsURKnhsmTjR8mJvk+OGACue+qHdeu0OL7T5mi2wjybKfKZTXF2cQ=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZrOm-0001CV-Ui for control@debbugs.gnu.org; Mon, 11 Oct 2021 11:15:11 +0200 Date: Mon, 11 Oct 2021 11:15:08 +0200 Message-Id: <875yu3kjmr.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #51131 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 51131 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) close 51131 28.1 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 11 08:40:07 2021 Received: (at 51131) by debbugs.gnu.org; 11 Oct 2021 12:40:07 +0000 Received: from localhost ([127.0.0.1]:57021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZub9-0006xA-25 for submit@debbugs.gnu.org; Mon, 11 Oct 2021 08:40:07 -0400 Received: from mail-oi1-f171.google.com ([209.85.167.171]:37530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZuaz-0006wS-CR for 51131@debbugs.gnu.org; Mon, 11 Oct 2021 08:40:04 -0400 Received: by mail-oi1-f171.google.com with SMTP id o83so17029437oif.4 for <51131@debbugs.gnu.org>; Mon, 11 Oct 2021 05:39:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=q0+NzgKzX0TtLafF0dJqmKcUOn4H4Ul9LEHr9MNd4vw=; b=knH0lLpWeXkZYHsMvz+EFvbvajzsXPBTIErTJcXEsZeHxpsWC19d84qLjutz1jT8Dk 6mUTPlhLRPcdC+46zSjTuoncpn7G37zw3sKEDZe1zA0Q8pjRq+uly5F4t7N5achXszvi HodXAIjw2j2UHWa/TSK0wx9QCqMXJiFZULTlraSkJJL3uF1bHlaX1C9sBD6pMLLXzduu O3dncnhDb/QWN2aBnMLIAC8Z198Yc9QHYcDzHhP5czYiOB4BXUQD/yiM7Z/NeXKOpi1d n9GSQ+o0Tn57QpADGuqB5/1TzyItl+cT96UQMulDxenlIQ30cNPcw4sLyRNvr6DGFc4I +n6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=q0+NzgKzX0TtLafF0dJqmKcUOn4H4Ul9LEHr9MNd4vw=; b=S35l8YDpA0ImRrx128gqo2P4viQMB5TZehL2dLiVLug9ohsfawsOWDBaE0PmCg7DnK bXG1OslTb2iXh9ot3vNDLsLWAvDtnP9izfvkJ5DVdybePVuNNC5htMN/EpmImoLmIzmu foCZ85QvuNaLdL/JNHojGiaabHph9yzmh9I811qX0j/HikkIee8iESq9+jmuWqvW0c7z nXzjKHeJeQQqmoRRYQAh7slSDOUoKhyf30CYHLMO3x13ngI7TQxucMEBBU4U3XSZXgaj zxwxIAcmEkSRNxdXf7oVDvaO6iPSGMhg0Mw5UFL8dihMfIRFFcW/p1ufx/X/Bkn12rhN FgEg== X-Gm-Message-State: AOAM532wuOTMbQulImcM3J4gAOladUN3JEOnNYWtw6VBFPe6aIKKuG4B zv7JdKGeKhi2y7LnDVLh3c6cj7IQaQ+7blP0378EY9hDoYo= X-Google-Smtp-Source: ABdhPJwcbYoC3sphuWr7g/85EQgyEFE5KcrQZnbi5f/kMbGMInK6VZrItVOESlt+hGIefD+4Z4szb2Bk4fsVxG/vivE= X-Received: by 2002:a54:4401:: with SMTP id k1mr9225136oiw.25.1633955991690; Mon, 11 Oct 2021 05:39:51 -0700 (PDT) MIME-Version: 1.0 References: <877dejkjn2.fsf@gnus.org> In-Reply-To: <877dejkjn2.fsf@gnus.org> From: Philipp Stephani Date: Mon, 11 Oct 2021 14:39:41 +0200 Message-ID: Subject: Re: bug#51131: 29.0.50; Segfault in ERT test To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 51131 Cc: 51131@debbugs.gnu.org, Helmut Eller 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.8 (/) Am Mo., 11. Okt. 2021 um 11:16 Uhr schrieb Lars Ingebrigtsen : > > Helmut Eller writes: > > > Emacs receives a segmentation fault when executing this file: > > > > (ert-deftest segfault () > > (let ((debug-on-error nil)) > > (error "foo"))) > > > > with > > > > emacs -Q -batch -l /tmp/test.el -f ert-run-tests-batch-and-exit > > This should now be fixed in emacs-28 (and on the trunk once the fix is > merged). I don't think that's the right fix. I added backtrace support in batch mode primarily for unit tests running on CI systems; this is exactly the situation where I want backtrace-on-error-noninteractive to be t. Can we revert commit 07edc28bdbfeeaeb1008b4fe21bfda586feae562 and find a better way? From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 11 08:57:13 2021 Received: (at 51131) by debbugs.gnu.org; 11 Oct 2021 12:57:13 +0000 Received: from localhost ([127.0.0.1]:57071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZurh-0001Br-4Z for submit@debbugs.gnu.org; Mon, 11 Oct 2021 08:57:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZurU-0001B8-1o for 51131@debbugs.gnu.org; Mon, 11 Oct 2021 08:57:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; 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=aOkP8KUEvoQBHSY9MkMQjBwBE3BT2hJaLKj2D2OWxdA=; b=Be5pQ5V5f56BdYjlzPb42RbHJ7 X1lcC7CC/HFC5+hMrIiYn+ffF64dq1c+fQEudWe8X/gh9/UYvypYT6dDFHbytbCCRCKDfU6zNMFCW vxA7Fr3z0fOYKKmD38bR/R0vC/YOm6u/utYKQ9awDLpLJSctiv+lH4TIdC/anJt9uhb0=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZurL-0002ti-94; Mon, 11 Oct 2021 14:56:53 +0200 From: Lars Ingebrigtsen To: Philipp Stephani Subject: Re: bug#51131: 29.0.50; Segfault in ERT test References: <877dejkjn2.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEUpKSpaVU2ThWOy rKLh288UFhYdHyD6+fH///8g+fnQAAAAAWJLR0QIht6VegAAAAd0SU1FB+UKCwwyOjWKy5YAAAG4 SURBVDjLfZTBTsMwDIYzpOXcZPAAbQXntS5wZaslroDknsOheQColNfHSdo03SYsTdr8zfbv2q4Q i2mADqCZf6nkF3fQIYPBWjsSmRUcAPsZiJE/GeBMcCQmRhItbitUXQdA5EMSkFxPc7KGPOEQkRkD PAVgzQZwNgiAaBiTM+rbFURKqYLsJkJYuydicacLIO3AvVXcDQ3bAMOZqKoZbIpL8YnHucZWlfnC N5ot08qZzOH5CpiSa1saE9AqPvrvxgO7gppLhXG0hSf7BNouDE1qKHyDMoHOnasqjMP/Qa7gFVuN R2vqOO41VdcX8r6vypq/bAG25QHd7wEgB4N4d85N7+6sgmy5ABsA23nucwVdBD/DFYghU7kFwwKc O5l/Qdb5Ao6FvehjBi9hw2+AXygLYW4A55qsQRKAS5Gp5wWOg+KNz4DDxkQQbgSSLDfhUwbqLGQ6 xeJjBF0ieI5y/VEJ7QkiP3nEvgxgJz1QmpcYoO96aHm1uMaoH8NtKm+61GGNbAAPPuLiDrwqVmCv Duc2kBF871lX/tJYdvdj9IOKm+s78v5sqe9KFfzRkp/ErmKdMndF+wOHvPYkZpcgAgAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMS0xMC0xMVQxMjo1MDo1OCswMDowMKAW29oAAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjEtMTAtMTFUMTI6NTA6NTgrMDA6MDDRS2NmAAAAAElFTkSuQmCC X-Now-Playing: Depeche Mode's _A Question of Lust_: "It Doesn't Matter Two (instrumental)" Date: Mon, 11 Oct 2021 14:56:48 +0200 In-Reply-To: (Philipp Stephani's message of "Mon, 11 Oct 2021 14:39:41 +0200") Message-ID: <871r4riusv.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Philipp Stephani writes: > I don't think that's the right fix. I added backtrace support in batch > mode primarily for unit tests running on CI systems; this is exactly > the situation where I want backtrace-on-error-noninter [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51131 Cc: 51131@debbugs.gnu.org, Helmut Eller 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: -3.3 (---) Philipp Stephani writes: > I don't think that's the right fix. I added backtrace support in batch > mode primarily for unit tests running on CI systems; this is exactly > the situation where I want backtrace-on-error-noninteractive to be t. > Can we revert commit 07edc28bdbfeeaeb1008b4fe21bfda586feae562 and find > a better way? ert wants to collect the backtrace, but the test itself subverted that (by setting debug-on-error to nil and then having an error in the test). I don't see why Emacs should output a backtrace inside a test like that. But Emacs will still output Error running tests backtrace() #f(compiled-function () #)() ert-run-tests-batch-and-exit() command-line-1(("-l" "/tmp/test.el" "-f" "ert-run-tests-batch-and-exit")) command-line() normal-top-level() at the end. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Thu Jun 19 12:37:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 09 Nov 2021 12:24:07 +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