Bug Report: Firefox 3.6.2 crashes on JavaScript heavy pages

2010-04-03 Thread Edward Tjörnhammar
The browser crashes on JavaScript intensive pages. I've tried to debug
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 r...@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 beat 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.

Regards
-- 
Edward Tjörnhammar
+46703784224 | http://cflags.cc
___
freebsd-gecko@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


Re: Bug Report: Firefox 3.6.2 crashes on JavaScript heavy pages

2010-04-03 Thread Garrett Cooper
On Sat, Apr 3, 2010 at 3:30 AM, Edward Tjörnhammar  wrote:
> The browser crashes on JavaScript intensive pages. I've tried to debug
> 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     r...@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 beat 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.

Doesn't crash for me on Firefox 3.5.8:

# /etc/make.conf:
CFLAGS  += -fno-strict-aliasing -pipe
CXXFLAGS+= -fno-strict-aliasing -pipe
# ...
CPUTYPE := nocona

Do you have a custom make.conf file? If so, what's your processor
and your CPUTYPE / C*FLAGS?
Thanks,
-Garrett
___
freebsd-gecko@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


Re: Bug Report: Firefox 3.6.2 crashes on JavaScript heavy pages

2010-04-03 Thread Gary Jennejohn
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 debug
> > 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 __ __ r...@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 beat 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.
> 
> Doesn't crash for me on Firefox 3.5.8:
> 
> # /etc/make.conf:
> CFLAGS+= -fno-strict-aliasing -pipe
> CXXFLAGS  += -fno-strict-aliasing -pipe
> # ...
> CPUTYPE   := nocona
> 
> Do you have a custom make.conf file? If so, what's your processor
> and your CPUTYPE / C*FLAGS?
>

The referenced page works for me using FF 3.6.2.  I 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=0x178bfbff
Features2=0x2001

--
Gary Jennejohn
___
freebsd-gecko@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


Re: Bug Report: Firefox 3.6.2 crashes on JavaScript heavy pages

2010-04-03 Thread Edward Tjörnhammar
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 debug
>> > 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 __ __ r...@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 beat 
>> > 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.
>>
>>     Doesn't crash for me on Firefox 3.5.8:
>>
>> # /etc/make.conf:
>> CFLAGS                += -fno-strict-aliasing -pipe
>> CXXFLAGS      += -fno-strict-aliasing -pipe
>> # ...
>> CPUTYPE               := nocona
>>
>>     Do you have a custom make.conf file? If so, what's your processor
>> and your CPUTYPE / C*FLAGS?
>>
>
> The referenced page works for me using FF 3.6.2.  I 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=0x178bfbff MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
> Features2=0x2001
>
> --
> Gary Jennejohn
>
___
freebsd-gecko@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


Re: Bug Report: Firefox 3.6.2 crashes on JavaScript heavy pages

2010-04-03 Thread Garrett Cooper
On Sat, Apr 3, 2010 at 6:50 PM, Edward Tjörnhammar  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 debug
>>> > 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 __ __ r...@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 beat 
>>> > 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.
>>>
>>>     Doesn't crash for me on Firefox 3.5.8:
>>>
>>> # /etc/make.conf:
>>> CFLAGS                += -fno-strict-aliasing -pipe
>>> CXXFLAGS      += -fno-strict-aliasing -pipe
>>> # ...
>>> CPUTYPE               := nocona
>>>
>>>     Do you have a custom make.conf file? If so, what's your processor
>>> and your CPUTYPE / C*FLAGS?
>>>
>>
>> The referenced page works for me using FF 3.6.2.  I 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=0x178bfbff> MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>> Features2=0x2001

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
___
freebsd-gecko@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


Re: Bug Report: Firefox 3.6.2 crashes on JavaScript heavy pages

2010-04-03 Thread Garrett Cooper
On Sat, Apr 3, 2010 at 7:48 PM, Garrett Cooper  wrote:
> On Sat, Apr 3, 2010 at 6:50 PM, Edward Tjörnhammar  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 debug
 > 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 __ __ r...@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 beat 
 > 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.

     Doesn't crash for me on Firefox 3.5.8:

 # /etc/make.conf:
 CFLAGS                += -fno-strict-aliasing -pipe
 CXXFLAGS      += -fno-strict-aliasing -pipe
 # ...
 CPUTYPE               := nocona

     Do you have a custom make.conf file? If so, what's your processor
 and your CPUTYPE / C*FLAGS?

>>>
>>> The referenced page works for me using FF 3.6.2.  I 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=0x178bfbff>> MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>>> Features2=0x2001
>
>    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.

Another possibility -- if you're using -O2, etc, it might be a
compiler optimization bug on your CPU architecture (less likely).
Cheers,
-Garrett
___
freebsd-gecko@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"