The patch is in the Trac: http://code.djangoproject.com/ticket/1539. 
I've submitted both versions for the Django trunk and the magic-removal 
branch.

Big thanks to Alex Brown for finding the bug and testing the fix.

Thanks,

Eugene

Alex Brown wrote:
> Ivan Sagalaev wrote:
>> I think so too... I was investigating Alex's report and it looks like
>> somewhere onr thread is creating a QueryDict and another tries to access
>> it while it's being created. It's the only place where it doesn't
>> contain self._mutable.
>>
>> This may mean that mod_python somehow supplies shared request object
>> which it shouldn't. On a mod-python list I saw a suggestion
>> (http://www.modpython.org/pipermail/mod_python/2003-October/014398.html):
>>
>>> It means your Python that mod_python was built against doesn't support
>>> threads. You might have a thread.py module under your python libs dir
>>> but that doesn't mean your python supports threads.
>>>
>>> Go the the mod_python page, get the appropriate version per your apache
>>> version, and then get EXACTLY the version of Python recommended. Build
>>> this python in your source tree (with threads!) and mod_python against
>>> this. Everything will work fine.
>>>
>> But I didn't put it here since it's to unfounded :-). Alex, could you
>> check these versioning issues anyway?
> 
> Ivan,
> 
> My python and mod_python were both compiled with threading. Whilst
> investigating these issues I did find mention in a few posts that
> mod_python 3.1.4 and earlier having some thread related bugs.  I was
> running 3.1.3 and when I upgraded to 3.2.5b at least one of my apache
> crashing issues seemed to disappeared.
> 
> Eugene's patch did also seem to resolve the QueryDict issue I reported.
> 
> Thanks
> 
> Alex
> 
> 
> 
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to