id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 18541 Infinite Lock With Caching Backend zmsmith nobody "Basically, if you try to cache an object with a {{{__getstate__}}} method that hits the cache, the LocMem backend will enter an infinite lock. I discovered this when a QuerySet that was using a caching manager was being written to the cache and pickling forced the QuerySet to evaluate and interact with the cache. The test I added covers this scenario, but unfortunately the failure condition is an infinite lock that will just hang and give no feedback about the failing test. I didn't know if django has any convention for timing out tests, so I didn't try to create one." Bug closed Core (Cache system) 1.4 Normal duplicate caching Accepted 1 1 0 1 0 0