[tor-bugs] #2190 [Tor Client]: Possible reentrant calls to libevent from libevent logging callback
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Mon Nov 15 16:06:15 UTC 2010
#2190: Possible reentrant calls to libevent from libevent logging callback
------------------------+---------------------------------------------------
Reporter: nickm | Owner: nickm
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.2.x-final
Component: Tor Client | Version:
Keywords: | Parent:
------------------------+---------------------------------------------------
Comment(by nickm):
The obvious easy fix is to never send log messages that arrive from
libevent to any callback-based log backend.
There is a harder fix: we could have a fix where instead of blocking
libevent->controller log messages, we queue them in a list somewhere, and
add a callback to play them back later. This is probably a good idea for
0.2.3 (and maybe 0.2.2) since it is not so great to keep controller users
from seeing warnings.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2190#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list