Error from libevent: evdns.c:1360: Assertion req != port->pending_replies failed in server_port_flush
I am getting the above error when 1) the network interface tor uses (tun0) is temporarily disconnected for whatever reason (and openvpn tries to re-establish the connection) or 2) when the connection is pretty much congested (when I run a bittorrent client who uses the same tun0 device and also uses tor for dns resolution for example)
The error seems to be triggered by "assert(port->pending_replies != req);" (line 1311 of src/or/eventdns.c), though I have no idea what to do to fix this - it is very annoying!
I am using libevent 2.0.10 with tor 2.2.24 (compiled from source using the standard options - nothing fancy).
I have used tor 2.2.23 and libevent 1.x previously on the same system without any problems at all!