From owner-freebsd-ports@FreeBSD.ORG Sun Apr 4 02:48:12 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35C2C106564A; Sun, 4 Apr 2010 02:48:12 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id CA5818FC14; Sun, 4 Apr 2010 02:48:11 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so1081129qwe.7 for ; Sat, 03 Apr 2010 19:48:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=tibMNQX02YasAdFel6TxXf2vJEQgkKSSgHvckGYbLkY=; b=c5v6OVYmkiAHPhL21nUJVddzHF9XRQl8+t5X7fT/vS+aU6oUxiAZbb8WlBbuyr4+Cm aBZ7i5Mtmg3fDmad4RAFLLCgEqKUe9cuOKxwr7sVVPrKroebBCkQtfubPR+10zoNjEws ++U7ecfZKswqvNgW4aZL5UX/WIFI8yHo9oQ4g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=JBU/sU8pMCnbEClcN3HhRJ8A+BYMo65rhVOJkzMMsUxFYjIJ4ZGrGhp4Ex0sFAsr9A 6GBLPieELklZNsMQY0ggMhvfMQ0IzcF+1JTRIWmGPA9BAsbLoSDk6VZ9cinvNyrxFQcF 0bCzdLY+6+NCsCubAHSHqjy1Z2v/p0WCDowPg= MIME-Version: 1.0 Received: by 10.229.33.72 with HTTP; Sat, 3 Apr 2010 19:48:09 -0700 (PDT) In-Reply-To: References: <20100403165639.75a69a8b@ernst.jennejohn.org> Date: Sat, 3 Apr 2010 19:48:09 -0700 Received: by 10.229.190.133 with SMTP id di5mr4445303qcb.23.1270349289788; Sat, 03 Apr 2010 19:48:09 -0700 (PDT) Message-ID: From: Garrett Cooper To: =?ISO-8859-1?Q?Edward_Tj=F6rnhammar?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: gecko@freebsd.org, gary.jennejohn@freenet.de, freebsd-ports@freebsd.org Subject: Re: Bug Report: Firefox 3.6.2 crashes on JavaScript heavy pages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2010 02:48:12 -0000 On Sat, Apr 3, 2010 at 6:50 PM, Edward Tj=F6rnhammar wrote: > Thank you for your replies! > > I didn't have any special make.conf but tried using > fno-strict-aliasing as suggested by Garret and now it works. > > Regards > > On Sat, Apr 3, 2010 at 4:56 PM, Gary Jennejohn > wrote: >> On Sat, 3 Apr 2010 04:24:05 -0700 >> Garrett Cooper wrote: >> >>> On Sat, Apr 3, 2010 at 3:30 AM, Edward Tj__rnhammar wrote: >>> > The browser crashes on JavaScript intensive pages. I've tried to debu= g >>> > the behavior but since firebug crashes with firefox this is a no go. >>> > I've tried disabling optimizations in the firefox makefile but it >>> > makes no difference. >>> > >>> > I don't believe it matters but my hardware is a Dell XPS m1210 laptop >>> > with intel graphics. >>> > >>> > What system: >>> > pylon# uname -a >>> > FreeBSD pylon 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Mar 13 18:50:29 >>> > CET 2010 __ __ root@pylon:/usr/obj/usr/src/sys/PYLON __i386 >>> > >>> > What makefile: >>> > pylon# grep Makefile,v /usr/ports/www/firefox/Makefile >>> > # $FreeBSD: ports/www/firefox/Makefile,v 1.221 2010/03/23 08:54:22 be= at Exp $ >>> > >>> > How to reproduce: >>> > I can reproduce this crash everytime by removing my .mozilla and then= visit: >>> > __http://review.source.android.com/11633 >>> > Most pages are Ok. >>> > >>> > Error message: >>> > Floating point exception (core dumped) >>> > >>> > Well.. the processor supports SSE instrincs, perhaps this is a SIMD >>> > optimization bug somewhere else, I remember I enabled that for some >>> > other port.. >>> > >>> > Other notable behaviour: >>> > If i run firefox3 with truss -f firefox3 does not crash on the page. >>> > I could probably dive deeper into this. >>> >>> =A0 =A0 Doesn't crash for me on Firefox 3.5.8: >>> >>> # /etc/make.conf: >>> CFLAGS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0+=3D -fno-strict-aliasing -pipe >>> CXXFLAGS =A0 =A0 =A0+=3D -fno-strict-aliasing -pipe >>> # ... >>> CPUTYPE =A0 =A0 =A0 =A0 =A0 =A0 =A0 :=3D nocona >>> >>> =A0 =A0 Do you have a custom make.conf file? If so, what's your process= or >>> and your CPUTYPE / C*FLAGS? >>> >> >> The referenced page works for me using FF 3.6.2. =A0I don't have any >> special CFLAGS values set in src.conf/make.conf. >> >> I also have >> CPU: AMD Athlon(tm) Dual Core Processor 4850e (2505.35-MHz K8-class CPU) >> Features=3D0x178bfbff> MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> >> Features2=3D0x2001 It might be a bug then in how they're type-casting in firefox; if this is reproducible, a bug should definitely be submitted upstream. Thanks, -Garrett