Message70556
> This is wrong (the GIL must be held when using the PyMem_* and
> PyObject_* functions), and is probably the cause of the failed
assertion.
This sounds quite likely.
I just managed (using the low-tech method of setting a static variable
on entry and clearing it on exit) to confirm that PyObject_Malloc in
obmalloc.c is being accessed simultaneously by multiple threads when
test_multiprocessing is run. |
|
Date |
User |
Action |
Args |
2008-08-01 14:31:26 | mark.dickinson | set | recipients:
+ mark.dickinson, amaury.forgeotdarc, jnoller |
2008-08-01 14:31:26 | mark.dickinson | set | messageid: <1217601086.05.0.946018914061.issue3399@psf.upfronthosting.co.za> |
2008-08-01 14:31:25 | mark.dickinson | link | issue3399 messages |
2008-08-01 14:31:25 | mark.dickinson | create | |
|