Ticket #313 (defect)
Opened 4 years ago
Last modified 4 years ago
Session error : SessionDeadlockError
Status: closed (fixed)
| Reported by: | anonymous | Assigned to: | rdelon |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | CherryPy code | Keywords: | |
| Cc: |
I am getting random session error, you can find the full code at : http://paste.plone.org/20
tail cherrypylog
File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 268, in run
applyFilters('beforeRequestBody')
File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 661, in applyFilters
method()
File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/lib/filter/session filter.py", line 138, in beforeRequestBody
sess.sessionStorage.acquireLock()
File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/lib/filter/session filter.py", line 236, in acquireLock
raise SessionDeadlockError() SessionDeadlockError?
Attachments
Change History
09/20/05 07:23:33: Modified by anonymous
- attachment sessiontest.py added.
09/20/05 07:23:52: Modified by anonymous
- attachment bill.conf added.
09/20/05 12:12:06: Modified by Amir Salihefendic <amix3k at gmial.com>
09/20/05 18:04:26: Modified by anonymous
I have tested with file type storage too, when i have two session opened with i mean with 2 different browser one with IE and one with Firefox, one works good other one get sessionlock error, just wondering does this lock works
Traceback (most recent call last):
File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 268, in run
applyFilters('beforeRequestBody')
File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 661, in applyFilters
method()
File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/lib/filter/sessionfilter.py", line 138, in beforeRequestBody
sess.sessionStorage.acquireLock()
File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/lib/filter/sessionfilter.py", line 236, in acquireLock
raise SessionDeadlockError()
SessionDeadlockError
09/21/05 04:04:21: Modified by rdelon
- status changed from new to closed.
- resolution set to fixed.
Fixed in [672] (when favicon.ico was being served, the session wasn't released because the machinery was being bypassed)


I switched to RC1 and I get the same error.
A work-around is maybe using File storage.