GNU bug report logs - #46824
28.0.50; nativecomp crash with cl-block/cl-defun

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Sun, 28 Feb 2021 00:35:01 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 46824 <at> debbugs.gnu.org (full text, mbox):

From: Pip Cet <pipcet <at> gmail.com>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 46824 <at> debbugs.gnu.org, Aaron Jensen <aaronjensen <at> gmail.com>
Subject: Re: bug#46824: 28.0.50; nativecomp crash with cl-block/cl-defun
Date: Mon, 1 Mar 2021 13:02:03 +0000
[Message part 1 (text/plain, inline)]
On Mon, Mar 1, 2021 at 9:02 AM Andrea Corallo <akrl <at> sdf.org> wrote:
> Pip Cet <pipcet <at> gmail.com> writes:
> > On Sun, Feb 28, 2021 at 6:13 AM Pip Cet <pipcet <at> gmail.com> wrote:
> >> Andrea, is it possible to modify the code so _setjmp is called
> >> directly rather than through a function pointer?
> >
> > This patch, which I hasten to add is not for inclusion and hasn't been
> > tested against the test suite, might fix the problem (on non-Windows
> > systems. I'm afraid this problem is something that Windows actually
> > got right and Unix got wrong...) It does here, experimentally.
> >
> > I'd appreciate it if someone could test further.
>
> I haven't looked into the patch but the approach sounds like a good idea
> to me. Can we have the version of the patch you'd like to have included?

Here's the version I'd like to include. This should not cause any new
test suite failures, just the ones I've been seeing all along. Apart
from the ABI bump, it should not change anything on WINDOWSNT, which I
can't test.

Pip
[0001-Don-t-call-_setjmp-through-a-function-pointer-Bug-46.patch (text/x-patch, attachment)]

This bug report was last modified 4 years and 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.