[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #15493 [Tor Browser]: Redirects sometimes seem to break circuit status UI
#15493: Redirects sometimes seem to break circuit status UI
-----------------------------+------------------------------------------
Reporter: mikeperry | Owner: gk
Type: defect | Status: assigned
Priority: normal | Milestone:
Component: Tor Browser | Version:
Resolution: | Keywords: tbb-circuit-display, tbb-5.0
Actual Points: | Parent ID:
Points: |
-----------------------------+------------------------------------------
Comment (by gk):
The problem for the majority of the failures I've seen is that watching
for the STREAM event is racing with updating the circuit display resulting
sometimes in logs like the following:
{{{
[06-12 08:09:29] Torbutton INFO: updating circuit display
}}}
This is right at the beginning of `updateCircuitDisplay()`
{{{
[06-12 08:09:29] Torbutton INFO: got credentials zeit.de:2
}}}
This got logged right at the beginning of the `if (credentials)` block in
the same function; but we don't have something for `nodeData` yet as
`credentialsToNodeDataMap` is not ready yet, hence
{{{
[06-12 08:09:29] Torbutton INFO: about to show the display with: undefined
}}}
which is logged by
{{{
logger.eclog(3, "about to show the display with: " + (credentials &&
nodeData));
}}}
immediately before `showCircuitDisplay()` is called.
[06-12 08:09:29] Torbutton INFO: showing the circuit display, show is:
undefined
Finally, `credentialsToNodeDataMap` gets updated:
{{{
[06-12 08:09:29] Torbutton INFO: udpating nodeDataForCircuit
}}}
This got logged in the `if (credentials)` block after STREAM SENTCONNECT
arrived.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15493#comment:8>
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