Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 364583

Summary: www-apache/mod_wsgi-3.3 doesn't work with Python 3.2
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: New packagesAssignee: Dirkjan Ochtman (RETIRED) <djc>
Status: RESOLVED FIXED    
Severity: normal CC: apache-bugs
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 292402    

Description Chris Mayo 2011-04-23 16:23:34 UTC
Although mod_wsgi compiles with mod_wsgi-3.3-python-3.2.patch of Fri Apr 22 when running it I repeatedly get:

Fatal Python error: PyEval_AcquireLock: current thread state is NULL
Fatal Python error: PyEval_AcquireLock: current thread state is NULL
[] [notice] child pid 4670 exit signal Aborted (6)
[] [info] mod_wsgi (pid=4670): Process 'aaaa' has died, restarting.

I think it needs the patch from
http://code.google.com/p/modwsgi/source/detail?r=d40a1bf6b9ad9cacc50caf0b3806b9a231e0d4d7

as well.

(Using WSGIDaemonProcess)
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-05-11 19:13:38 UTC
I have backported this patch. Please test if www-apache/mod_wsgi-3.3 now works for you with Python 3.2.
Comment 2 Chris Mayo 2011-05-15 19:12:05 UTC
Seems good to me. Thanks.