From 0eb37c527cdc8083829f34474b2b158f8ef3c28f Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Tue, 20 May 2025 15:09:35 -0700 Subject: [PATCH] fix incorrect abort-on-0-rip condition in unwinder path; we can still have nonzero rsps and find valid frames. --- src/ctrl/ctrl_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ctrl/ctrl_core.c b/src/ctrl/ctrl_core.c index e70715b7..99cd7cd8 100644 --- a/src/ctrl/ctrl_core.c +++ b/src/ctrl/ctrl_core.c @@ -3206,8 +3206,8 @@ ctrl_unwind_from_thread(Arena *arena, CTRL_EntityCtx *ctx, CTRL_Handle thread, U } } - // rjf: cancel on 0 rip - if(rip == 0) + // rjf: cancel on 0 rip/rsp + if(rsp == 0 && rip == 0) { break; }