|
From: | Richard Henderson |
Subject: | Re: [PATCH 16/18] tests/tcg: Use SIGKILL for timeout |
Date: | Thu, 19 Jan 2023 09:55:41 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
On 1/19/23 08:04, Alex Bennée wrote:
From: Richard Henderson <richard.henderson@linaro.org> 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 <richard.henderson@linaro.org> Message-Id: <20230117035701.168514-2-richard.henderson@linaro.org> [AJB: expanded commit message from cover letter] Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |