Subject: Re: Mozilla-1.6 SOLVED
To: None <netbsd-users@netbsd.org>
From: Jorgen Lundman <lundman@lundman.net>
List: netbsd-users
Date: 01/28/2004 17:27:07
Ok, using my previous ktrace, and gdb dump, it is apparent that it just stops in
getaddrinfo(), called from ./nsprpub/pr/src/misc/prnetdb.c
This appears to be a problem if it hits a "DNS blackhole" and simply never comes
back. I edited ./nsprpub/pr/include/md/_netbsd.h to not have
_PR_HAVE_GETADDRINFO and rebuilt, and it should defer back to gethostby* - which
are also thread away in pth.h (getaddrinfo is not, additionally, man getaddr
specifically says it is not thread safe).
Presumably this all is not a problem for anyone else perhaps because you do not
get "DNS blackholes" very often. We appear to get them somewhat regularly in Japan.
Lund
Jorgen Lundman wrote:
>
> So, I grabbed all 1.6.1 .tgz's, booted floppy, unpacked them (except for
> /etc). Moved my /usr/pkg (and pkg db) out of the way, and started afresh.
>
> Building items from pkgsrc, (chose pth-2.0.0) and eventually got to
> building mozilla-1.6 again, and at the moment of truth it does exactly
> the same thing. Ends up in resolver thread, and just spins forever.
>
> Also, pop+SSL breaks somewhere along the way. (did it skips
> --enable-crypto?)
>
>
> Blast, maybe mozilla-1.6 will appear as a package one day.
>
> Lund
>
>
> Jorgen Lundman wrote:
>
>>
>> Yeah, I've been building my own since 1.2a - not using pkgsrc though.
>> Those patches has not been neccessary for me previously (I dont use
>> IPv6 which is one of the bigger patches previously).
>>
>> I've tried compiling it --without-pthread, with /usr/pkg/pthread (pth)
>> and with "-pthread" now. It's been a lot of compiling, but they all do
>> the same thing!
>>
>> I don't suppose someone would mind building me a (maybe static?)
>> binary I can try? I would need --enable-crypto, and --enable-calendar.
>> (Although I've built calendar here, so maybe I can just installed the
>> .xpi?)
>>
>> Any takers ?:)
>>
>> Lund
>>
>>
>>
>> Chris Wareham wrote:
>>
>>> Steven M. Bellovin wrote:
>>>
>>>> In message <20040119092042.GA18851@gornik.lubin.edu.pl>, Dawid
>>>> Szymanski writes
>>>> :
>>>>
>>>>> On Mon, Jan 19, 2004 at 02:29:21PM +0900, Jorgen Lundman wrote:
>>>>> | Has anyone built mozilla-1.6 successfully? (I did a CVS update on
>>>>> the very [...]
>>>>>
>>>>> Yes.
>>>>> On NetBSD 1.6ZH.
>>>>>
>>>>
>>>>
>>>> Same here. And www.kakaku.com seems to work, though I can't read
>>>> anything on the page... (I'm also using 1.6ZH, from Saturday's
>>>> pkgsrc.)
>>>>
>>>> On the other hand, I can't build galeon now.
>>>>
>>>>
>>>
>>> I've been rolling my own Mozilla from the 1.6 branch for a while, and
>>> the results have proved very stable. I simply applied the pkgsrc patches
>>> before building, and added the configure option for GTK2 support. I
>>> noticed that the pkgsrc update to 1.6 also added a MOZILLA_USE_GTK2
>>> option. However, the resulting package doesn't run. I haven't had time
>>> to look into what pkgsrc is doing differently to the 'standard' Mozilla
>>> build, or traced mozilla-bin to see where it exits.
>>>
>>> Chris
>>
>>
>>
>
--
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)