deadlock in ash in busybox 1.32

Natanael Copa ncopa at
Mon Jul 27 10:11:56 UTC 2020


The testsuite for stunnel-5.56 deadlocks after busybox upgrade from

I have bisected it to this commmit:

commit 47eb979404735b9528538968cb5eaac7355a0c5a (HEAD, refs/bisect/bad)
Author: Denys Vlasenko <vda.linux at>
Date:   Tue Feb 18 15:37:43 2020 +0100

    ash: jobs: Only clear gotsigchld when waiting for everything
I have also confirmed that reverting that commit solves the deadlock.

To reproduce:

* fetch
* build it from source.
* run make check with busybox ash (/bin/sh can be edited in tests/make_test)

I am not sure what the proper fix is.


More information about the busybox mailing list