[Python-Dev] test_fork1 on SMP? (was Re: [Python Dev] test_fork1 failing --with-threads (for some people)...)

Trent Mick trentm@activestate.com
Wed, 26 Jul 2000 11:04:52 -0700

On Wed, Jul 26, 2000 at 06:40:07PM +0000, Peter Schneider-Kamp wrote:
> Trent Mick wrote:
> > 
> > Linux version 2.2.12-20smp (root@porky.devel.redhat.com) (gcc version
> > egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 SMP Mon Sep 27 10:34:45
> > EDT 1999
> Could SMP be involved? Do you get the same on a non-SMP system?
> Do others have the same problem with SMP systems?

Yup, it looks like that is a possibility. I tried test_fork1 a few times on:

[trentm@ladder src]$ cat /proc/version
Linux version 2.2.14 (root@ladder.ActiveState.com) (gcc version 2.95.2
19991024 (release)) #1 Mon Mar 6 16:49:17 PST 2000

(a Mandrake box)... and it works fine:

[trentm@ladder src]$ ./python Lib/test/test_fork1.py
[trentm@ladder src]$ ./python Lib/test/regrtest.py test_fork1
1 test OK.
[trentm@ladder src]$

So...... who knows more about SMP issues and why we have them? I am
inexperienced and clueless here.


Trent Mick