From: <er...@he...> - 2004-09-03 19:10:05
|
On Tue, Aug 31, 2004 at 11:33:12AM -0500, Luke Palmer wrote: > Hello, > > I've noticed some daemons having trouble running on bproc nodes, usually > complaining about child processes dying. I'm running pre6 with 2.6.7, > libraries via an NFS mount. > > Attached is a simple pthreads test program. It runs fine on the master, > but segfaults when running via bpsh. I've attached the last few lines > of an strace of the test program. Looks fishy. > > Would others mind trying this test program, and commenting on their > findings? pthreads has been a sore point for a long time. However, I think those days might be over. *cross fingers* Grab the latest 'n' greatest bproc from CVS on sourceforge.net. It's got a lot of fixes for threading related stuff in there. I think I'm going to have a tagged version again pretty soon. Also, make sure that you're using NPTL and not the old linuxthreads stuff. I've done testing with NPTL only at this point. If linuxthreads doesn't work I'm prepared to say "use NPTL". Note that you can't migrate a multithreaded thing at this point. The result of that is undefined. - Erik |