This tracker is in read-only model To report bugs, please use the appropriate Github repository.

 

Issue168

Title race condition in repoze.profile
Priority bug Status resolved
Superseder Nosy List tarek
Assigned To Topics

Created on 2010-10-19.11:42:36 by tarek, last changed 2010-12-20.12:31:43 by chrism.

Messages
msg468 (view) Author: chrism Date: 2010-12-20.12:31:43
Thanks, this is fixed on the HEAD.
msg455 (view) Author: tarek Date: 2010-10-19.11:42:35
If you try to display the index page in repoze.profile, while your app is
hammered by a lot of calls, you will get EOFErrors because the profile data it's
trying to display is being built.

the index() call in __call__ should be protected by the lock to avoid this:

        self.lock.acquire()
        try:
            text = self.index(environ)
        finally:
            self.lock.release()
History
Date User Action Args
2010-12-20 12:31:43 chrism set status: unread -> resolved
messages: + msg468
2010-10-19 11:42:36 tarek create