[Sbcl-devel] patch: backtrace fix for FreeBSD

Hi,
There are some cases x86-call-context misunderstands invalid stack frame
(such as a frame created by caller of signal handler) as valid frame,
when the stack looks valid accidentaly.
Attached is a patch to reduce the probability of such cases by limiting
the range of valid return address.
With this patch, throw-test in debug.impure.lisp does not fail on
FreeBSD 5.x.
Thanks,
--
NIIMI Satoshi

Thread view

Hi,
There are some cases x86-call-context misunderstands invalid stack frame
(such as a frame created by caller of signal handler) as valid frame,
when the stack looks valid accidentaly.
Attached is a patch to reduce the probability of such cases by limiting
the range of valid return address.
With this patch, throw-test in debug.impure.lisp does not fail on
FreeBSD 5.x.
Thanks,
--
NIIMI Satoshi