Bug 13116 - deadlock in ash
Summary: deadlock in ash
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.32.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-27 10:16 UTC by Natanael Copa
Modified: 2021-01-07 07:43 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Natanael Copa 2020-07-27 10:16:22 UTC
The testsuite for stunnel-5.56 deadlocks after busybox upgrade from
1.32.1->1.32.0.

I have bisected it to this commmit:

commit 47eb979404735b9528538968cb5eaac7355a0c5a (HEAD, refs/bisect/bad)
Author: Denys Vlasenko <vda.linux@googlemail.com>
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 https://www.stunnel.org/downloads/archive/5.x/stunnel-5.56.tar.gz
* build it from source.
* run make check with busybox ash (/bin/sh can be edited in tests/make_test)
Comment 1 Natanael Copa 2021-01-07 07:43:59 UTC
This was fixed in 1.32.1