DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21287>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21287

no mutex lock protection in decrement_refcount

           Summary: no mutex lock protection in decrement_refcount
           Product: Apache httpd-2.0
           Version: 2.0.46
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other Modules
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


There are no mutex lock protection in decrement_refcount if it is
defined USE_ATOMICS.

I think you simply forgot the mutex in function decrement_refcount. 
There is a race condition in the cleanup_cache_object when two threads 
are trying to clean-up the same object which is no longer referenced in the 
cache.
I found this problem while looking for the bug 21285. The proposed patch
fix the problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to