Nope, just 'eth0', but that line of inquiry is dead; read on.

I got to thinking that this is a network problem, since this is
obviously not a widespread bug. I figured maybe epiphany was doing a
network request that was taking a long time. Bingo!

During the hang, `sudo netstat -a4p | grep epiphany` shows epiphany with
an established UDP connection to the domain socket on my gateway, a
linksys router.

So, I fired up Ethereal and watched packets. A cursory analysis:

 o Hang seems to be originating from some Avahi/MDNS queries related to 
discovering 'Local Sites' bookmarks.
 o There turned out to be a (misconfigured) Avahi server on another machine on 
the LAN. It serves up some MDNS web site pointers for devices on the LAN that 
don't have the capability to do that for themselves.
 o Those devices had been removed from the LAN, but the rogue Avahi server was 
serving _http._tcp.local TXT records for them still.
 o epiphany on my machine gets the SRV records from MDNS, then queries MDNS for 
A records for the advertised services, which it never receives. It then tries 
to query the DNS service on the router to find the records, which fails. This 
happens a few times. Finally it stops trying and the hang ends.
 o ephy starts up. The dummy, invalid 'Local Sites' appear in the menu. 
Selecting one of them sends ephy into the same query fits, but does not hang 
the UI, and the request eventually times out normally.
 
 That narrows it down some. I'm attaching a dump of network traffic during the 
hang.

I'm not familiar with the code, but a simple fix would seem to be making
epiphany  avoid querying for A records from MDNS until the user actually
clicks one of the Local Sites bookmarks.

I can't imagine spurious SRV are all that rare, be nice if this kind of
thing were handled more gracefully. Sorry this took so long to figure
out.

-- 
Consistent 15-second hang with no window painting at launch
https://launchpad.net/bugs/52722

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to