[issue7946] Convoy effect with I/O bound threads and New GIL

Nir Aides report at bugs.python.org
Tue Apr 27 01:22:54 CEST 2010


Nir Aides <nir at winpdb.org> added the comment:

Dave, there seems to be a bug in your patch on Windows XP. It crashes in ccbench.py with the following output:

>python_d.exe y:\ccbench.py
== CPython 3.2a0.0 (py3k) ==
== x86 Windows on 'x86 Family 6 Model 23 Stepping 10, GenuineIntel' ==

--- Throughput ---

Pi calculation (Python)

threads= 1:   840 iterations/s. balance
Fatal Python error: ReleaseMutex(mon_mutex) failed
threads= 2:   704 ( 83%)        0.8167
threads= 3:   840 (100%)        1.6706
threads= 4:   840 (100%)        2.0000

and the following stack trace:

 	ntdll.dll!7c90120e() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]	
 	python32_d.dll!Py_FatalError(const char * msg)  Line 2033	C
>	python32_d.dll!gil_monitor(void * arg)  Line 314 + 0x24 bytes	C
 	python32_d.dll!bootstrap(void * call)  Line 122 + 0x7 bytes	C
 	msvcr100d.dll!_callthreadstartex()  Line 314 + 0xf bytes	C
 	msvcr100d.dll!_threadstartex(void * ptd)  Line 297	C
 	kernel32.dll!7c80b729()

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7946>
_______________________________________


More information about the Python-bugs-list mailing list