[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #8065 [Tor]: Bug: src/or/connection_edge.c:649: connection_ap_expire_beginning: Assertion circ->purpose == CIRCUIT_PURPOSE_C_GENERAL failed
#8065: Bug: src/or/connection_edge.c:649: connection_ap_expire_beginning:
Assertion circ->purpose == CIRCUIT_PURPOSE_C_GENERAL failed
-------------------------+--------------------------------------------------
Reporter: cypherpunks | Owner:
Type: defect | Status: new
Priority: major | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version: Tor: 0.2.4.9-alpha
Keywords: tor-client | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by nickm):
Replying to [comment:12 mikeperry]:
> Ok. In your case, the assert no longer happens because in 0.2.4.10-alpha
we fixed the preceeding NULL by not sending path bias probes on
NULL/closed channels, which is what you're inducing by changing gateways.
>
> I am wondering if there are other cases where we could hit this assert,
though. Basically any time a stream attempt is made to a slow/unresponsive
host where we then give up on the circuit and try to close it (or time it
out) before detaching the stream, we could hit this.
If you're worried about this, I'd suggest replacing the assert with a
helpful LD_BUG log message and making the code recover from this error
condition sanely, rather than trying to replace the assert with another
assert.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8065#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs