https://bugs.kde.org/show_bug.cgi?id=410599

--- Comment #2 from Stefan Maksimovic <stefan.maksimo...@rt-rk.com> ---
Created attachment 122034
  --> https://bugs.kde.org/attachment.cgi?id=122034&action=edit
pth_self_kill.patch

Here's our attempt at making the test deterministic:
We decided on using a pthread_join call where the main thread would wait for
the spawned one.
This had it's shortcomings as it did not work for the pth_self_kill_15_other
case.

To work around this we made the spawned thread to wait for the parent by
modifying the signal handler for SIGTERM,
since that was the case which did not work for our previous attempt.

With this we managed to both reproduce the loop/hang case without the commit
mentioned in the bug description and
to run the test without those problems with the commit on x86.

If it's not too much trouble, I suggest you test it yourself just to make sure.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to