Subject: Mozilla-1.6
To: None <netbsd-users@netbsd.org>
From: Jorgen Lundman <lundman@lundman.net>
List: netbsd-users
Date: 01/19/2004 14:29:21
Has anyone built mozilla-1.6 successfully? (I did a CVS update on the very day
it rolled over, so unfortunately it says 1.7a)

  It builds fine for me (NetBSD 1.6-current x86) but will hang on quite a few
urls. Like htp://www.kakaku.com

It apperas to be in DNS resolving, or possibly with pthreads in mind. I'm unsure
if I should build it without threads, or with pth /usr/pkg/pthread (installed
from 1.6 days) or the new -pthread (which may or may not work correctly as I'm a
-current somewhere along the line).

gdb at a hung time looks like:


(gdb) bt
#0  0x4846c383 in recvfrom () from /usr/lib/libc.so.12
#1  0x48469cd9 in res_send () from /usr/lib/libc.so.12
#2  0x4845e3eb in getaddrinfo () from /usr/lib/libc.so.12
#3  0x4845e81d in getaddrinfo () from /usr/lib/libc.so.12
#4  0x4845e5c9 in getaddrinfo () from /usr/lib/libc.so.12
#5  0x4845dba1 in getaddrinfo () from /usr/lib/libc.so.12
#6  0x4846d35b in nsdispatch () from /usr/lib/libc.so.12
#7  0x4845cc64 in getaddrinfo () from /usr/lib/libc.so.12
#8  0x4845cb73 in getaddrinfo () from /usr/lib/libc.so.12
#9  0x4812de49 in PR_GetAddrInfoByName ()
    from /usr/local/lib/mozilla-1.7a/libnspr4.so
#10 0x4895ddbe in nsHostResolver::ThreadFunc ()
    from /usr/local/lib/mozilla-1.7a/components/libnecko.so
#11 0x48138e7c in _PR_UserRunThread ()
    from /usr/local/lib/mozilla-1.7a/libnspr4.so


/usr/local/lib/mozilla-1.7a/mozilla-bin:
          -lnspr4 => /usr/local/lib/mozilla-1.7a/libnspr4.so
          -lplds4 => /usr/local/lib/mozilla-1.7a/libplds4.so
          -lplc4 => /usr/local/lib/mozilla-1.7a/libplc4.so
          -lm.0 => /usr/lib/libm387.so.0
          -lm.0 => /usr/lib/libm.so.0
          -lstdc++.4 => /usr/lib/libstdc++.so.4
          -lmozjs => /usr/local/lib/mozilla-1.7a/libmozjs.so
          -lgmodule.13 => /usr/pkg/lib/libgmodule.so.13
          -lglib.13 => /usr/pkg/lib/libglib.so.13
          -lX11.6 => /usr/X11R6/lib/libX11.so.6
          -lXext.6 => /usr/X11R6/lib/libXext.so.6
          -lXi.6 => /usr/X11R6/lib/libXi.so.6
          -lintl.0 => /usr/lib/libintl.so.0
          -lgtk => /usr/X11R6/lib/libgtk.so
          -lgdk => /usr/X11R6/lib/libgdk.so
          -lc.12 => /usr/lib/libc.so.12


The last message at the status bar is "Resolving host ad.linkserver.net". The 
mozilla icon stops spinning, and windows are not refreshed.


1.4 ran very well without this issue, but I had it in 1.6b as well. I looked 
through the patches in pkgsrc, but am unsure if it is anything applicable to this.

Sincerely,

Lund



-- 
Jorgen Lundman       | <lundman@lundman.net>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)