You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eus$ (load"foo.so")
eus$ (sys:list-all-catchers)
(:reploop-select0:eusexit)
eus$ (foo)
10
eus$ (sys:list-all-catchers)
;; Segmentation Fault.;; in (system:list-all-catchers);; You are still in a signal handler.;;Try reset or throw to upper level as soon as possible.;; code=-1311861392 x=b1ce9440 addr=22
Looking at the compiled code, we see that we are trying to unwind until local+0. However, the catch frame is registered in local[0], so we should rewind for "local-1".
Catch frames are not properly unwinded after a
return-from
statement if they are the first element in the local stack after compiled.For example:
Compile with
euscomp foo.l
and then:Looking at the compiled code, we see that we are trying to unwind until
local+0
. However, the catch frame is registered inlocal[0]
, so we should rewind for "local-1".The text was updated successfully, but these errors were encountered: