tfork() test hanging in socket_wrapper lock
slow at samba.org
Mon Nov 19 18:17:37 UTC 2018
On Mon, Nov 19, 2018 at 07:12:17PM +0100, Andreas Schneider via samba-technical wrote:
>On Monday, 19 November 2018 19:01:18 CET Andrew Bartlett wrote:
>> On Mon, 2018-11-19 at 11:54 +0100, Andreas Schneider wrote:
>> > On Monday, 19 November 2018 03:59:35 CET Andrew Bartlett wrote:
>> > > Today on sn-devel my autobuild hung running the tfork test:
>> > >
>> > > It appears to be waiting forever for a mutex lock.
>> > Anoop and myself tried to reproduce it, but we couldn't. However helgrind
>> > reports several errors in tfork itself.
>> I should have mentioned, I've left them stuck in case they can be
>I think Ralph already nailed it. It is an issue with SIGCHLD handling in
>Already looks good.
>However we are looking into Thread Sanitizer right now.
looks like Thread Sanitizer doesn't like a few things in Samba as Andreas and I
discovered. Particularily the combination of threads and fork gives it a hard
Ralph Boehme, Samba Team https://samba.org/
Samba Developer, SerNet GmbH https://sernet.de/en/samba/
GPG Key Fingerprint: FAE2 C608 8A24 2520 51C5
59E4 AA1E 9B71 2639 9E46
More information about the samba-technical