From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#51131: 29.0.50; Segfault in ERT test Date: Mon, 11 Oct 2021 14:56:48 +0200 Message-ID: <871r4riusv.fsf@gnus.org> References: <877dejkjn2.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36753"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51131@debbugs.gnu.org, Helmut Eller To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 11 14:58:33 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 1mZusz-0009LR-Cm for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Oct 2021 14:58:33 +0200 Original-Received: from localhost ([::1]:33480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZusx-0002wY-Mq for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Oct 2021 08:58:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZusV-0002sQ-EA for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 08:58:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZusU-0004yu-2y for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 08:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZusU-0001D8-2O for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 08:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Oct 2021 12:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51131 X-GNU-PR-Package: emacs Original-Received: via spool by 51131-submit@debbugs.gnu.org id=B51131.16339570334584 (code B ref 51131); Mon, 11 Oct 2021 12:58:02 +0000 Original-Received: (at 51131) by debbugs.gnu.org; 11 Oct 2021 12:57:13 +0000 Original-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 Original-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=; Original-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 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)" In-Reply-To: (Philipp Stephani's message of "Mon, 11 Oct 2021 14:39:41 +0200") 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:216906 Archived-At: 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