[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/53998 CVS commit: src/sys
Havard Eidnes a écrit :
> The following reply was made to PR kern/53998; it has been noted by GNATS.
> From: Havard Eidnes <he%NetBSD.org@localhost>
> To: joel.bertrand%systella.fr@localhost
> Cc: christos%zoulas.com@localhost, gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost,
> gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
> Subject: Re: PR/53998 CVS commit: src/sys
> Date: Sun, 10 Mar 2019 13:09:10 +0100 (CET)
> > Free slot : 3 (468 threads)
> > Free slot : 4 (469 threads)
> > Free slot : 5 (470 threads)
> > Free slot : 6 (471 threads)
> > dead lock detected <-------------- ?
> This message comes from ld.elf_so. It may be spuriously seen
> during a rust build (which aborts the build in that case).
> Joerg says about this:
> Multi-threaded programs forking in one thread while another
> thread holds an exclusive lock would be required. It might be
> necessary for the other thread to be the main thread, so that
> _lwp_self() will be the same LWP ID, but that's just
> speculation at this point.
> Don't know if that brings you closer to figuring out the root
> - H=E5vard
I have added an exclusive lock (mutex) to protect fork(). I haven't
seen this message anymore but some threads or process still stall.
Main Index |
Thread Index |