From: Philipp Stephani <p.stephani2@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 51131@debbugs.gnu.org, Helmut Eller <eller.helmut@gmail.com>
Subject: bug#51131: 29.0.50; Segfault in ERT test
Date: Mon, 11 Oct 2021 14:39:41 +0200 [thread overview]
Message-ID: <CAArVCkTGbYLth__M8zBG20EvjjLjJCFM80abU6AkXWF=bJh9MA@mail.gmail.com> (raw)
In-Reply-To: <877dejkjn2.fsf@gnus.org>
Am Mo., 11. Okt. 2021 um 11:16 Uhr schrieb Lars Ingebrigtsen <larsi@gnus.org>:
>
> Helmut Eller <eller.helmut@gmail.com> 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?
next prev parent reply other threads:[~2021-10-11 12:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-11 6:07 bug#51131: 29.0.50; Segfault in ERT test Helmut Eller
2021-10-11 9:14 ` Lars Ingebrigtsen
2021-10-11 12:39 ` Philipp Stephani [this message]
2021-10-11 12:56 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAArVCkTGbYLth__M8zBG20EvjjLjJCFM80abU6AkXWF=bJh9MA@mail.gmail.com' \
--to=p.stephani2@gmail.com \
--cc=51131@debbugs.gnu.org \
--cc=eller.helmut@gmail.com \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.