On Sun, Feb 11, 2018 at 02:50:30PM +0100, Martin Pieuchot wrote: > On 11/02/18(Sun) 12:37, Matthieu Herrb wrote: > > Hi, > > > > I ugraded my laptop from sources to -current yesterday. Since then > > firefox stops resolving host names after a dozen of minutes or so. > > What do you mean with "stops resolving host names"? What happens? What > do you see? > > How did figure out it was a name resolution problem? > > A firefox error page?
Firefox says 'Resolving herrb.net' in popup message area at the bottom of the windows, plays the little animation with a dot moving left to right and back in the tab, and the tab stays blank. > > You saw some syscalls failing via ktrace? Yes I say read on fd 9 failing with egain. this is a unix socket but I don't know how to figure out the path with fstat. > > You looked at tcpdump outputs? No visible port 53 activity while this happens > > Some network counters were increasing? I haven't looked at other data. > > > It's not the firefox port itself, since it started after I rebooted a > > the new kernel, while base and xenocara were rebuilding. My previous > > kernel was from jan, 31. > > So you're saying that *some* kernels newer than jan, 31 expose this > regression? Could you bisect when it has been introduced? > > > Other programs are fine (including chromium), but appart may be chromium > > nothing I run is using threads and name resolution at the same time . > > You're assuming it's related to threaded applications, why? Because ssh, ftp or dig do resolve names without issues. > > > Any idea of what's causing this, or should I start bisecting ? > > A bisection would be great. That's what I'm doing now. Before starting I was looking for obvious changes during the a2k18 that I may try to remove before doing the bissect, since the problem takes some time to manifest. Kettenis suggested the libc/asr commit, it's not this since I could reproduce the problem without this commit. I'm currently on a kernel that seems ok: https://github.com/openbsd/src/commit/54fc14edb8e865a7c7cea20937dce12585b31555 -- Matthieu Herrb
