On 1/19/23 08:04, Alex Bennée wrote:
From: Richard Henderson <[email protected]>

linux-user blocks all signals while attempting to handle guest
signals (e.g. ABRT), which means that the default TERM sent by timeout
has no effect -- KILL instead.

When a guest aborts (possible nios2 guest bug), sending SIGABRT to
itself, I have caught one thread waiting in start_exclusive, and all
of the others blocked in exclusive_idle. I look at that and think
there's a bug in our start_exclusive locking, but I can't prove it.

I don't think this bit of the cover letter is helpful here.
It was just the sigprocmask in process_pending_signals that
was relevant.

Anyway...



Signed-off-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
[AJB: expanded commit message from cover letter]
Signed-off-by: Alex Bennée <[email protected]>


Reply via email to