From owner-freebsd-mozilla@FreeBSD.ORG Mon May 24 13:52:18 2004 Return-Path: Delivered-To: freebsd-mozilla@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C67216A4CE for ; Mon, 24 May 2004 13:52:18 -0700 (PDT) Received: from host50a.simplicato.com (host50a.simplicato.com [207.99.47.50]) by mx1.FreeBSD.org (Postfix) with SMTP id D587D43D58 for ; Mon, 24 May 2004 13:52:17 -0700 (PDT) (envelope-from gadfly@exitleft.org) Received: from localhost (localhost.simplicato.com [127.0.0.1]) by host50a.simplicato.com (Postfix) with ESMTP id 3C5946AF646; Mon, 24 May 2004 16:52:08 -0400 (EDT) Received: from host50a.simplicato.com ([127.0.0.1]) by localhost (host50a.simplicato.com [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 79692-10; Mon, 24 May 2004 16:52:04 -0400 (EDT) Received: by host50a.simplicato.com (Postfix, from userid 15001) id 693476AF9F1; Mon, 24 May 2004 16:44:14 -0400 (EDT) Received: from [172.16.36.219] (gwnj8.utstar.com [65.200.123.8]) by host50a.simplicato.com (Postfix) with ESMTP id 126676AF946; Mon, 24 May 2004 16:44:08 -0400 (EDT) Message-ID: <40B25E9C.6010209@exitleft.org> Date: Mon, 24 May 2004 16:44:12 -0400 From: ravi User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a1) Gecko/20040524 Mozilla/1.5.0.3l X-Accept-Language: en-gb, en, en-us MIME-Version: 1.0 To: Mozilla for FreeBSD , ftp-stage@mozilla.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on host50a.simplicato.com X-Virus-Scanned: by amavisd-new at simplicato.com cc: leaf@mozilla.org Subject: Mozilla 1.8a1 FreeBSD 4.8 Build X-BeenThere: freebsd-mozilla@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mozilla browser issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 20:52:18 -0000 mozilla 1.8a1 for FreeBSD 4.8 can be found at: http://www.exitleft.org/mozilla/ binary: http://www.exitleft.org/mozilla/mozilla-1.8a1-i386-unknown-freebsd4.8.tar.gz md5sum: http://www.exitleft.org/mozilla/mozilla-1.8a1-i386-unknown-freebsd4.8.tar.gz.md5sum README.pkg (see below) within the distribution, has build notes. this distribution includes the calendar client. --ravi BuildID: Mozilla 1.8a1 Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a1) Gecko/20040524 Mozilla/1.5.0.3l Platform: FreeBSD 4.8-RELEASE/i386 Built by: ravi Options: ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --enable-optimize ac_add_options --without-system-nspr ac_add_options --without-system-zlib ac_add_options --without-system-jpeg ac_add_options --without-system-png ac_add_options --without-system-mng ac_add_options --enable-crypto ac_add_options --enable-calendar ac_add_options --enable-extensions=all Dependencies: /usr/X11R6/lib/libICE.so.6 /usr/X11R6/lib/libSM.so.6 /usr/X11R6/lib/libX11.so.6 /usr/X11R6/lib/libXThrStub.so.6 /usr/X11R6/lib/libXext.so.6 /usr/X11R6/lib/libXi.so.6 /usr/X11R6/lib/libXp.so.6 /usr/X11R6/lib/libXt.so.6 /usr/X11R6/lib/libgdk12.so.2 /usr/X11R6/lib/libgtk12.so.2 /usr/lib/libc_r.so.4 /usr/lib/libcom_err.so.2 /usr/lib/libcrypt.so.2 /usr/lib/libcrypto.so.3 /usr/lib/libgssapi.so.5 /usr/lib/libkrb5.so.5 /usr/lib/libm.so.2 /usr/lib/libroken.so.5 /usr/lib/libstdc++.so.3 /usr/local/lib/libglib12.so.3 /usr/local/lib/libgmodule12.so.3 /usr/local/lib/libiconv.so.3 /usr/local/lib/libintl.so.4 /usr/local/lib/libnspr4.so /usr/local/lib/libnss3.so /usr/local/lib/libplc4.so /usr/local/lib/libplds4.so /usr/local/lib/libsmime3.so /usr/local/lib/libsoftokn3.so /usr/local/lib/libssl3.so Comments: 1. adblock extension causes initial startup javascript failures/hang 2. negotiateauth problems persist: runtime error: nsNativeComponentLoader: SelfRegisterDll(libnegotiateauth.so) Load FAILED with error: /usr/lib/libkrb5.so.5: Undefined symbol "initialize_asn1_error_table_r" From owner-freebsd-mozilla@FreeBSD.ORG Wed May 26 16:11:28 2004 Return-Path: Delivered-To: freebsd-mozilla@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49DA616A4CE for ; Wed, 26 May 2004 16:11:28 -0700 (PDT) Received: from fed1rmmtao02.cox.net (fed1rmmtao02.cox.net [68.230.241.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0A2F43D2F for ; Wed, 26 May 2004 16:11:27 -0700 (PDT) (envelope-from schwarz@ip68-111-227-231.sd.sd.cox.net) Received: from ip68-111-227-231.sd.sd.cox.net ([68.111.227.231]) by fed1rmmtao02.cox.netESMTP <20040526231032.NNX4888.fed1rmmtao02.cox.net@ip68-111-227-231.sd.sd.cox.net>; Wed, 26 May 2004 19:10:32 -0400 Received: from ip68-111-227-231.sd.sd.cox.net (localhost [127.0.0.1]) i4QNAXuZ052348; Wed, 26 May 2004 16:10:33 -0700 (PDT) (envelope-from schwarz@ip68-111-227-231.sd.sd.cox.net) Received: (from schwarz@localhost)i4QNAXRl052347; Wed, 26 May 2004 16:10:33 -0700 (PDT) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Wed, 26 May 2004 16:10:33 -0700 (PDT) From: Steven Schwarz To: freebsd-mozilla@freebsd.org Subject: IPv6 support in nsprpub leads to inconvenient pauses X-BeenThere: freebsd-mozilla@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mozilla browser issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 23:11:28 -0000 I first noticed the following problem after upgrading from the mozilla version on the 5.1-RELEASE From owner-freebsd-mozilla@FreeBSD.ORG Wed May 26 16:38:31 2004 Return-Path: Delivered-To: freebsd-mozilla@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BAA616A4CE for ; Wed, 26 May 2004 16:38:31 -0700 (PDT) Received: from fed1rmmtao11.cox.net (fed1rmmtao11.cox.net [68.230.241.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE76643D31 for ; Wed, 26 May 2004 16:38:30 -0700 (PDT) (envelope-from schwarz@ip68-111-227-231.sd.sd.cox.net) Received: from ip68-111-227-231.sd.sd.cox.net ([68.111.227.231]) by fed1rmmtao11.cox.netESMTP <20040526233809.BHJL20887.fed1rmmtao11.cox.net@ip68-111-227-231.sd.sd.cox.net>; Wed, 26 May 2004 19:38:09 -0400 Received: from ip68-111-227-231.sd.sd.cox.net (localhost [127.0.0.1]) i4QNc8uZ052491; Wed, 26 May 2004 16:38:08 -0700 (PDT) (envelope-from schwarz@ip68-111-227-231.sd.sd.cox.net) Received: (from schwarz@localhost)i4QNc8Op052490; Wed, 26 May 2004 16:38:08 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Date: Wed, 26 May 2004 16:38:08 -0700 (PDT) From: Steven Schwarz To: freebsd-mozilla@freebsd.org Subject: IPv6 support in nsprpub leads to inconvenient pauses X-BeenThere: freebsd-mozilla@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mozilla browser issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 23:38:31 -0000 Hi, all, I first noticed the following problem after upgrading from the mozilla version on the 5.1-RELEASE: Sometimes when browsing a page mozilla would pause for a very long period of time. On these occasions the status message would indicate that mozilla was doing a DNS lookup. But this wasn't a simple DNS mis-configuration issue, since an independent nslookup of the same DNS lookup would complete immediately (and successfully). Clearly something else was going on. One hostname that sticks in my mind that I would invariably see trigger the problem is the (much-hated) data.coremetrics.com. Having a specific hostname was invaluable to tracking down what was going on. Other hostnames (that I don't remember as precisely) had to do with web advertising schemes. Eventually I determined that the problem is that mozilla was trying to do an IPv6 lookup (using getaddrinfo with a hints->ai_family == PF_UNSPEC [see getaddrinfo(3)]) and the lookup was failing, but only after the annoyingly long timeout. I looked in the freebsd-mozilla mail list archive and found a thread titled "mozilla locking up" back in the July 2003 time frame that appears likely to be about the same problem I was having. On that thread, I found this advice from Joe Clarke: Two things. First, if you're not using IPv6, and you have INET6 compiled into your kernel, remove it, and rebuild your kernel. Second, go to Preferences->Adavnced->Keyboard Navigation, and disable Find Automatically when typing into a webpage. I thought this issue deserved a more detailed writeup that would get archived to the freebsd-mozilla list, so that prompted me to write this email. It is true that mozilla won't attempt to use getaddrinfo at all, falling back to use of gethostbyname if it senses that IPv6 support is not present on the system. But for those who might feel it odd to rebuild their kernel just to make mozilla behave better in this respect, there is another solution that I can recommend: Find the file patch-nsprpub/pr/include/md/_freebsd.h, and in it find this clause: #if __FreeBSD_version >= 400014 #define _PR_INET6 #define _PR_HAVE_INET_NTOP #define _PR_HAVE_GETHOSTBYNAME2 ... Replacing the condition of the #if by something which must be false, will cause mozilla to build without any of the stuff which causes mozilla to attempt these IPv6 lookups that fail so annoyingly. I wonder if this solution might someday be incorporated into the FreeBSD mozilla port in the form of a compile time option (perhaps WITHOUT_IPv6_DNS) similar to the other options that now exist? If there are other solutions to this problem, I'd appreciate knowing about them as well. Thanks, Steven Schwarz