[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46988: 28.0.50; Documenting and verifying assumptions about C code n
From: |
Pip Cet |
Subject: |
bug#46988: 28.0.50; Documenting and verifying assumptions about C code not calling quit or GCing |
Date: |
Sun, 7 Mar 2021 14:06:01 +0000 |
On Sun, Mar 7, 2021 at 1:48 PM Pip Cet <pipcet@gmail.com> wrote:
> Proof-of-concept patch for a runtime check will be attached once this
> has a bug number.
Patch attached. It assumes the standard stack growth direction, and
that __builtin_frame_address (0) is available and works. Uses GCC's
__attribute__ ((cleanup (...))).
My point here is that the technical implementation isn't the problem,
the question is whether we're disciplined enough to run with checking
enabled and react to bug reports about the fatal error being thrown.
Pip
0001-Runtime-check-that-some-functions-don-t-GC-bug-46988.patch
Description: Text Data