The multiple interpreter concept of mod_python is broken for Python extension
modules since Python 2.3
--
Key: MODPYTHON-77
URL: http://issues.apache.org/jira/browse/MODPYTHON-77
[ http://issues.apache.org/jira/browse/MODPYTHON-77?page=all ]
Boyan Boyadjiev updated MODPYTHON-77:
-
Attachment: mod_python.c
changes ware made against 3.1.4
> The multiple interpreter concept of mod_python is broken for Python extension
> modules
[
http://issues.apache.org/jira/browse/MODPYTHON-77?page=comments#action_12320866
]
Graham Dumpleton commented on MODPYTHON-77:
---
There have been no problems up to Python 2.3.4 except that there are some bugs
in mod_python which can cause issues.
[
http://issues.apache.org/jira/browse/MODPYTHON-77?page=comments#action_12320868
]
Nicolas Lehuen commented on MODPYTHON-77:
-
Boyan,
Can you please post a patch (diff) file ? It looks like the mod_python.c file
you posted comes from an old versio
[ http://issues.apache.org/jira/browse/MODPYTHON-34?page=all ]
Nicolas Lehuen resolved MODPYTHON-34:
-
Resolution: Fixed
Assign To: Nicolas Lehuen
OK this definitively has been fixed in 3.2.0 beta.
> mod_python.publisher index.py exposes un
[
http://issues.apache.org/jira/browse/MODPYTHON-77?page=comments#action_12320870
]
Graham Dumpleton commented on MODPYTHON-77:
---
Probably even better if they can check out subversion source code from:
https://svn.apache.org/repos/asf/httpd/mod_
[ http://issues.apache.org/jira/browse/MODPYTHON-77?page=all ]
Boyan Boyadjiev updated MODPYTHON-77:
-
Attachment: diff.txt
Diff aginst the latest version of mod_python.c
> The multiple interpreter concept of mod_python is broken for Python extension
[
http://issues.apache.org/jira/browse/MODPYTHON-77?page=comments#action_12320885
]
Boyan Boyadjiev commented on MODPYTHON-77:
--
Graham,
Thanks a lot for the prompt response!
I am using currently Python 2.3.5.
As far as I understood, the patch
ht
[
http://issues.apache.org/jira/browse/MODPYTHON-77?page=comments#action_12320905
]
Jim Gallacher commented on MODPYTHON-77:
I tried your patch and the unit tests fail. Apache fails to start, with the
following message in the error log:
Fatal Pyth
Boyan,
How critical is this bug with respect to releasing 3.2? I'm heading out
for the weekend in the next couple of hours and was hoping to release
3.2.1beta beforehand. If this is a must fix I'll wait until next week.
(Either way, I'll fix the memory leak get_interpreter which you detail
in
[ http://issues.apache.org/jira/browse/MODPYTHON-77?page=all ]
Boyan Boyadjiev updated MODPYTHON-77:
-
Attachment: diff2.txt
Now I've attached the a diff file created with "diff -u". Sorry for the
inconvenience.
Jim, please make sure that you have
[ http://issues.apache.org/jira/browse/MODPYTHON-77?page=all ]
Boyan Boyadjiev updated MODPYTHON-77:
-
Attachment: diff3.txt
It seems that diff2.txt was not transfered correctly to the server, so
diff3.txt attached.
> The multiple interpreter concep
[
http://issues.apache.org/jira/browse/MODPYTHON-77?page=comments#action_12320920
]
Nicolas Lehuen commented on MODPYTHON-77:
-
OK, I've tested your patch against the unit tests, and everything works
correctly. I could check this is but I'm not quit
[
http://issues.apache.org/jira/browse/MODPYTHON-77?page=comments#action_12320924
]
Jim Gallacher commented on MODPYTHON-77:
-1 for me. Unit tests fail for diff3.txt.
For some reason 1 hunk is rejected when diff3 is applied against svn/trunk.
Man
[
http://issues.apache.org/jira/browse/MODPYTHON-77?page=comments#action_12320927
]
Nicolas Lehuen commented on MODPYTHON-77:
-
Well in fact I applied the patch manually and it runs on Win32 (threaded MPM),
at least on the unit tests.
> The multipl
[
http://issues.apache.org/jira/browse/MODPYTHON-77?page=comments#action_12320928
]
Boyan Boyadjiev commented on MODPYTHON-77:
--
I use mpm_winnt with 2.0.54
> The multiple interpreter concept of mod_python is broken for Python extension
> modules
[
http://issues.apache.org/jira/browse/MODPYTHON-77?page=comments#action_12320931
]
Jim Gallacher commented on MODPYTHON-77:
Well, maybe I've just having one of those days, but when when I apply the patch
using:
patch -p0 < diff3.txt
I get the foll
[
http://issues.apache.org/jira/browse/MODPYTHON-77?page=comments#action_12320935
]
Graham Dumpleton commented on MODPYTHON-77:
---
I'm -1 for it going into next beta. I too want to understand it first as use of
thread states can be very tricky.
I
18 matches
Mail list logo