|
From: | Richard Henderson |
Subject: | Re: [PATCH] linux-user: Fixed cpu restore with pc 0 on SIGBUS |
Date: | Tue, 16 Jan 2024 09:04:02 +1100 |
User-agent: | Mozilla Thunderbird |
On 1/13/24 07:57, Robbin Ehn wrote:
Commit f4e1168198 (linux-user: Split out host_sig{segv,bus}_handler) introduced a bug, when returning from host_sigbus_handler the PC is never set. Thus cpu_loop_exit_restore is called with a zero PC and we immediate get a SIGSEGV. Signed-off-by: Robbin Ehn <rehn@rivosinc.com> --- linux-user/signal.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Queued, thanks. r~
[Prev in Thread] | Current Thread | [Next in Thread] |