[Python-bugs-list] test_fork1 hangs with 1.6a2 on Linux (PR#296)

oli@andrich.net oli@andrich.net
Thu, 13 Apr 2000 15:18:09 -0400 (EDT)


Full_Name: Oliver Andrich
Version: 1.6a2
OS: Linux Mandrake 2.2.14-mdksmp
Submission from: gothic.andrich.net (212.7.175.226)


Hi,

I am currently evaluating Python 1.6 on my machine in order to be
uptodate with the Linux distribution as soon as 1.6 final is released.

The testsuite runs fine, just one test fails completely. test_fork1
When I run the test, it sometimes runs really fine (very seldom). Most of
the time it hangs and uses nearly 100% of CPU time. The loop in the child
prozess is completed successfully. n is 0 as it ought to be. But the
os.waitpid call hangs for an indefinete time. This is strange,
cause I can't reproduce this in an equivalent c code snippet. And without 
creation of the threads it works really fine and doesn't hang at all.

Any idea? I am running a 2.2.14 Linux on a SMP machine (non SMP machine show
the same behaviour). glibc 2.1.3.

Bye, Oliver