Date: Thu, 18 Sep 2008 14:16:20 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: FreeBSD deadlock (with fork?) Message-ID: <gatgqh$lbi$1@ger.gmane.org> In-Reply-To: <200809180631.47071.naylor.b.david@gmail.com> References: <200809180631.47071.naylor.b.david@gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] David Naylor wrote: > Hi, > > I have a program that spawns a lot of subprocesses (with pipes open) from > multiple threads. The problem is the program often deadlocks, but not > consistently. Sometimes the program can run over 5 times to competition > without incidence and yet othertimes it locks within a few seconds. > > However if I limit the thread count to 1 the problem does not appear to be > present. > > Here are the logs from gdb: ... Are you sure it's not a design error in your program? Your best bet for solving this problem is to try to create a minimum program that will fail and post it here (don't post your whole program, it's probably too big). [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI0kaVldnAQVacBcgRAhJ2AJ9P5yIB7sHV8iYJVYtxiCiMzC3xUACgwzNI C5/VftEOnTGxSEjoy6XlHl8= =msOA -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gatgqh$lbi$1>
