ABE locks up Fx2 for the duration of dns query
Posted: Wed Jul 29, 2009 2:07 am
ABE seemingly causes Fx2 to perform dns queries synchronously on the ui thread, so a long running and failing query locks up the ui.
NoScripters and WebSec nerds of all lands, unite!
https://forums.informaction.com/
Yes it does, sometimes. It's a Gecko limitation, affecting also Local Rodeo, the current patch attempt by Mozilla for CSRF attacks against internal networks (as I had to note in this comment of mine) and any other thing which needs to make blocking decision based on IP addresses before the request hits the network.al_9x wrote:ABE seemingly causes Fx2 to perform dns queries synchronously on the ui thread, so a long running and failing query locks up the ui.
Could you explain that in terms that I might be able to understand?ABE causes Fx2 to perform dns queries synchronously on the ui thread, so a long running and failing query locks up the ui.
firefox waits for the DNS lookup to complete and does not process user input while it's waitingtherube wrote:Could you explain that in terms that I might be able to understand?ABE causes Fx2 to perform dns queries synchronously on the ui thread, so a long running and failing query locks up the ui.
Understood, I'll probably turn off ABE in Fx2, so it's somewhat moot, but do you want future ABE + 1.8.1 bug reports, like this, for instance?Giorgio Maone wrote:This is definitely a WONTFIX. If you want both ABE and performance, you need to upgrade to a decent Gecko version.
Actually I am nearly 100% certain it has nothing to do with another extension and its easier to dump on other extensions as the cause but the fact is that NS is being tweaked almost every other day in response to a bug and since its the only one being installed repeatedly and in dev form, the problem lies there. Especially that there is a predictable and specific interval for the UI freezing and the connection losses stink of DNS failures as they come back with "Site not found" and on the same ip and connection on a different copy without NS it comes up just fine. SO its not a connection issue, not a DSL issue, not an extension issue. If we don't want to debug it that's one thing but to simply dismiss it and say its a conflict, that's just tacky.Giorgio Maone wrote:@GµårÐïåñ:
the issue you linked, yet to be diagnosed and almost surely due to an extension conflict, is completely unrelated to this topic since you're on Fx 3.5.1.
Here's something you can do to debug it. Configure a bogus DNS server that will swallow queries with 0 response (neither UDP nor ICMP), this (74.125.67.100) google ip works for this purpose. This will maximally extend the query time to the system or firefox timeout value. Then in a new profile navigate to some bogus (so it's not in you local dns cache) address.GµårÐïåñ wrote:f we don't want to debug it that's one thing but to simply dismiss it and say its a conflict, that's just tacky.
Not sure: the message is not there because from the observer stand-point (the window) there's no DNS query at all (it happens before the window starts listening).al_9x wrote: I did notice a difference with ABE turned on, there is no "looking up <host>" message in the status bar. Although small, that is a bug, as that message is useful. Georgio, can you address that?