[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: deadlock in ash in busybox 1.32
From: Simon Rettberg <simon.rettberg () rz ! uni-freiburg ! de>
Date: 2020-08-03 9:36:36
Message-ID: 20200803113636.270beb8e () dellnichtsogutkiste
[Download RAW message or body]
I just stumbled upon a the same bug, I think.
I don't have a nice and clean repro since this happened in /init (ash
based). The code was basically:
find /sys/devices/pci* [...] -exec /sbin/hphelp {} \; &
PID=$!
[more code doing other stuff]
wait "$PID"
(/sbin/hphelp is another ash script.)
wait will never return. Reverting aforementioned commit fixes the
issue.
- Simon
Am Mon, 27 Jul 2020 12:11:56 +0200
schrieb Natanael Copa <ncopa@alpinelinux.org>:
> Hi!
>
> 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)
>
> I am not sure what the proper fix is.
>
> -nc
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic