tfork() test hanging in socket_wrapper lock

Andreas Schneider asn at samba.org
Mon Nov 19 18:20:02 UTC 2018


On Monday, 19 November 2018 19:18:49 CET Jeremy Allison wrote:
> 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
> > > debugged.
> > 
> > I think Ralph already nailed it. It is an issue with SIGCHLD handling in
> > tfork.
> > 
> > https://gitlab.com/samba-team/devel/samba/pipelines/37140126
> > 
> > Already looks good.
> 
> Ohh. That was a good catch Ralph ! How did you find that ?

With helgrind. I've posted the command in another mail.

-- 
Andreas Schneider                      asn at samba.org
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D





More information about the samba-technical mailing list