stream lock is not closed
Bug #1199332 reported by
Dan Callaghan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Concurrent Log Handler for Python | Status tracked in Trunk | |||||
Trunk |
Fix Released
|
High
|
Lowell Alleman | |||
Unstable |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The .close() method does not close the stream lock, which can lead to some very annoying side effects, for example:
https:/
I'm using the attached patch in the Fedora package of ConcurrentLogHa
Changed in python-concurrent-log-handler: | |
status: | New → In Progress |
Changed in python-concurrent-log-handler: | |
assignee: | nobody → Lowell Alleman (lowell-alleman) |
importance: | Undecided → High |
To post a comment you must log in.
One more patch is needed for this as well. As of Python 2.7, logging.shutdown calls acquire/release around flush and close so ConcurrentLogHa ndler can end up trying to release the stream lock after it is already closed.
https:/ /bugzilla. redhat. com/show_ bug.cgi? id=905286# c3