Re: [SOLVED] Re: HTML5 videos crashes Firefox

2016-12-10 Thread Robert_Burmeister
Andrea Venturoli wrote
> On 09/23/16 11:35, Robert_Burmeister wrote:
>> I was able to resolve HTML5 videos crashes in Firefox 49 on FreeBSD 10.3
>> i386
>> by changing the FFMPEG compile option to "SSE=off" and recompiling
>> FFMPEG.
> Thanks. 
> I'm fine now, but still curious about details: if you have any link, could
> you share them?

Current versions of LLVM-FFMPEG-FireFox now handle SIMD correctly on i386.

For reference.
These were hiccups from transitioning from a 4-byte aligned stack to a
16-byte aligned stack.
As most people are using AMD64 which assumes 16-byte alignment
these issues were only showing up on 4-byte aligned i386 systems when
calling SIMD 
which required 16-byte alignment.

Newer compiler versions and processor targets handled alignment mismatches
better,
which is why the crashes were primarily occuring on processors without newer
instruction sets
and where legacy code from different compiler versions got linked.
(For port builds, "portupgrade -fa" with the updated compiler may shake some
of that out.)

Relevant links on the issue:

About the x64 stack Alignment
https://software.intel.com/en-us/forums/intel-isa-extensions/topic/291241

http://stackoverflow.com/questions/612443/why-does-the-mac-abi-require-16-byte-stack-alignment-for-x86-32

LLVM
Bug 2823 - llvm-gcc does not respect ABI alignment for structs-with-vectors 
Bug 8969 - linux x86-32 stack not kept 16-byte aligned 
Bug 12250 - unaligned SSE memory access 
Bug 20602 - Clang unconditionally defines macros for SSE and SSE2 
Bug 21414 - clang shouldn't use aligned SSE instructions on 32bit x86 linux 

GCC
Bug 40838 - gcc shouldn't assume that the stack is aligned 

64-ia-32-architectures-optimization-manual 
http://www.intel.com/Assets/PDF/manual/248966.pdf



--
View this message in context: 
http://freebsd.1045724.x6.nabble.com/HTML5-videos-crashes-Firefox-tp6087674p6150807.html
Sent from the freebsd-ports mailing list archive at Nabble.com.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: HTML5 videos crashes Firefox

2016-09-24 Thread Andrey Chernov
On 24.09.2016 22:23, Dimitry Andric wrote:
> On 23 Sep 2016, at 11:35, Robert_Burmeister  
> wrote:
>> I was able to resolve HTML5 videos crashes in Firefox 49 on FreeBSD 10.3 i386
>> by changing the FFMPEG compile option to "SSE=off" and recompiling FFMPEG.
>>
>> The LLVM compiler was not dealing with an SSE bug on my older core2 CPU.

I have the same ffmpeg crash with SSE=on on Core2 Duo (which is all SSE*
capable) in x86 mode, all works with SSE=off. Already reported to
multimedia@ maintainer but got no reply. Don't have a time to try a
patch right now, but I'll do it later.

> I can't reproduce your particular crashes, but in the past I had created
> a patch to force the FFmpeg build to use stack realignment.



signature.asc
Description: OpenPGP digital signature


Re: HTML5 videos crashes Firefox

2016-09-24 Thread Dimitry Andric
On 23 Sep 2016, at 11:35, Robert_Burmeister  
wrote:
> I was able to resolve HTML5 videos crashes in Firefox 49 on FreeBSD 10.3 i386
> by changing the FFMPEG compile option to "SSE=off" and recompiling FFMPEG.
> 
> The LLVM compiler was not dealing with an SSE bug on my older core2 CPU.

I can't reproduce your particular crashes, but in the past I had created
a patch to force the FFmpeg build to use stack realignment.  Can you
please try it out?  E.g. put the attched patch in the root of your ports
folder, and run:

  patch -p0 -f -F0 -i multimedia__ffmpeg-force-i386-stack-realign-1.diff

This patch is needed, because FFmpeg assumes a 16-byte aligned stack,
even on i386, where the ABI specifies a 4-byte alignment.  On Linux,
this ABI requirement was basically dumped at some point, leaving old
applications in the cold, but not on FreeBSD.

-Dimitry


multimedia__ffmpeg-force-i386-stack-realign-1.diff
Description: Binary data


signature.asc
Description: Message signed with OpenPGP using GPGMail


[SOLVED] Re: HTML5 videos crashes Firefox

2016-09-23 Thread Andrea Venturoli

On 09/23/16 11:35, Robert_Burmeister wrote:

I was able to resolve HTML5 videos crashes in Firefox 49 on FreeBSD 10.3 i386
by changing the FFMPEG compile option to "SSE=off" and recompiling FFMPEG.


Thanks.
I discovered this a couple of days ago in a thread on questions@.




The LLVM compiler was not dealing with an SSE bug on my older core2 CPU.


I'm fine now, but still curious about details: if you have any link, 
could you share them?




 bye & Thanks
av.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: HTML5 videos crashes Firefox

2016-09-23 Thread Robert_Burmeister
I was able to resolve HTML5 videos crashes in Firefox 49 on FreeBSD 10.3 i386
by changing the FFMPEG compile option to "SSE=off" and recompiling FFMPEG.

The LLVM compiler was not dealing with an SSE bug on my older core2 CPU. 




--
View this message in context: 
http://freebsd.1045724.x6.nabble.com/HTML5-videos-crashes-Firefox-tp6087674p6132220.html
Sent from the freebsd-ports mailing list archive at Nabble.com.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: HTML5 videos crashes Firefox

2016-04-27 Thread Andrea Venturoli

On 04/27/16 08:41, Andrea Venturoli wrote:

On 03/29/16 18:20, Andrea Venturoli wrote:


So do I, but I've gone through every minor update since I'm experiencing
these crashes.


Just to say version 46 works fine again.


Forget this.
Youtube works, but other sites are still crashing :(

 bye
av.

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: HTML5 videos crashes Firefox

2016-04-26 Thread Andrea Venturoli

On 03/29/16 18:20, Andrea Venturoli wrote:


So do I, but I've gone through every minor update since I'm experiencing
these crashes.


Just to say version 46 works fine again.
Thanks to all who helped.

 bye
av.

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: HTML5 videos crashes Firefox

2016-04-01 Thread Christoph Brinkhaus
On Thu, Mar 31, 2016 at 11:31:20PM +0200, Andrea Venturoli wrote:
> > On Tue, 29 Mar 2016 10:37:47 -0700, Christoph Brinkhaus wrote:
> 
> > The only thing I get are error messages as below:
> > $ ssh fox firefox
> > libGL error: failed to open drm device: No such file or directory
> > libGL error: failed to load driver: i965
> > libGL error: unable to load driver: swrast_dri.so
> > libGL error: failed to load driver: swrast
> > 1459272168729   addons.xpi  WARNBootstrap state is invalid (missing
> > add-ons:
> 
> Guess you have an Intel GPU (mine is a Radeon).

Hello Andrea,

yes. /var/log/Xorg.0.log logs
Integrated Graphics Chipset: Intel(R) 965Q
> 
> I got another machine, which runs 10.1/amd64 with an Intel GPU and that 
> works fine (btw, not even those warnings).
> I also saw you tried ssh to another box and I did that too.

The ssh was to a jail in the same hardware but with a binary
installation of the firefox. The jails name is box,-).
> 
> Just to summarize:
> _ 10.2/i386/Radeon -> crash;
> _ 10.1/amd64/Intel -> fine;
> _ ssh from 10.2/i386/Radeon to 10.1/amd64/Intel -> fine.
> 
> Patrick, could you please tell us what GPU you have? Configured options?
> 
> Just wish I could get some info out of that core :(

At least it is good that you have found out the likely root cause.
> 
>   bye & Thanks
>   av.

Kind regards,
Christoph
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: HTML5 videos crashes Firefox

2016-04-01 Thread Patrick Powell

My setup is a little different.  I have a Dell M6800 with NVIDEA:

vgapci0:  port 0xe000-0xe07f mem 
0xf400-0xf4ff,0xe000-0xefff,0xf000-0xf1ff irq 16 
at device 0.0 on pci1

nvidia0:  on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: Boot video device

From /var/log/Xorg.0.log:

[ 12870.311] (II) LoadModule: "glx"
[ 12870.311] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 12870.319] (II) Module glx: vendor="NVIDIA Corporation"
[ 12870.319]compiled for 4.0.2, module version = 1.0.0
[ 12870.319]Module class: X.Org Server Extension
[ 12870.319] (II) NVIDIA GLX Module  346.96  Sun Aug 23 21:29:48 PDT 2015
[ 12870.319] (II) LoadModule: "dbe"
[ 12870.319] (II) Module "dbe" already built-in
[ 12870.319] (II) LoadModule: "dri"
[ 12870.319] (II) Module "dri" already built-in
[ 12870.319] (II) LoadModule: "dri2"
[ 12870.319] (II) Module "dri2" already built-in
[ 12870.319] (II) LoadModule: "extmod"
[ 12870.319] (II) Module "extmod" already built-in
[ 12870.319] (II) LoadModule: "record"
[ 12870.319] (II) Module "record" already built-in
[ 12870.319] (II) LoadModule: "vnc"
[ 12870.319] (II) Loading /usr/local/lib/xorg/modules/extensions/libvnc.so
[ 12870.453] (II) Module vnc: vendor="Constantin Kaplinsky"
[ 12870.453]compiled for 1.17.4, module version = 1.0.0
[ 12870.453]Module class: X.Org Server Extension
[ 12870.453]ABI class: X.Org Server Extension, version 9.0
[ 12870.453] (II) LoadModule: "nvidia"
[ 12870.463] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[ 12870.463] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 12870.463]compiled for 4.0.2, module version = 1.0.0
[ 12870.463]Module class: X.Org Video Driver
[ 12870.463] (II) NVIDIA dlloader X Driver  346.96  Sun Aug 23 21:08:26 
PDT 2015

[ 12870.463] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 12870.463] (--) Using syscons driver with X support (version 16777218.0)
[ 12870.463] (--) using VT number 9

When I run firefox and try to view a video from youtube I get:
laptop_93: {10} % firefox |&tee /tmp/f
Bus error (core dumped)

I updated to the latest pkg versions of firefox.

Side Note:   I set up a couple of VirtualBox VMs, one for 10.3 RC3 and 
one for 9.3.  Just out of
curiousity I ran firefox on them and I was able to view the videos.  I 
am wondering if the
issue is related to the NVIDIA driver on my laptop.   I wonder if the 
issue is related to the NVIDIA

driver/GPU support.

On 03/31/16 14:31, Andrea Venturoli wrote:

On Tue, 29 Mar 2016 10:37:47 -0700, Christoph Brinkhaus wrote:



The only thing I get are error messages as below:
$ ssh fox firefox
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
1459272168729   addons.xpi  WARNBootstrap state is invalid 
(missing

add-ons:


Guess you have an Intel GPU (mine is a Radeon).



I got another machine, which runs 10.1/amd64 with an Intel GPU and 
that works fine (btw, not even those warnings).

I also saw you tried ssh to another box and I did that too.

Just to summarize:
_ 10.2/i386/Radeon -> crash;
_ 10.1/amd64/Intel -> fine;
_ ssh from 10.2/i386/Radeon to 10.1/amd64/Intel -> fine.

Patrick, could you please tell us what GPU you have? Configured options?



Just wish I could get some info out of that core :(

 bye & Thanks
av.




--
Patrick Powell Astart Technologies
papow...@astart.com1530 Jamacha Rd, Suite X
Network and System San Diego, CA 92019
  Consulting   858-874-6543 FAX 858-751-2435
Web: www.astart.com

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: HTML5 videos crashes Firefox

2016-03-29 Thread Patrick Powell

I just tried one of the videos and my firefox crashed as well.

FreeBSD laptop_93.private 9.3-RELEASE-p30 FreeBSD 9.3-RELEASE-p30 #0:
Mon Nov  2 10:11:50 UTC 2015 
r...@amd64-builder.daemonology.net:/usr/obj/usr/src

/sys/GENERIC  amd64
X firefox-43.0.3_1,1 Web browser based on the browser 
portion of Mozilla


On 03/29/16 09:20, Andrea Venturoli wrote:

On Sun, 27 Mar 2016 10:12:07 -0700, Christoph Brinkhaus wrote:


Hello Andrea,


Hello and thanks for your help.



I have tried the first video I get from youtube without problems.
May be you post an url where the crash occurs.


I can just go to youtube.it/com and choose a random one; e.g.:
https://www.youtube.com/watch?v=hrJLzq_coUg
https://www.youtube.com/watch?v=LbVEXCh63pQ

(Please forgive me for linking that crap, but you asked it :)




The options I use are
according to pkg info
ALSA : on
BUNDLED_CAIRO : off
CANBERRA : off
DBUS : on
DEBUG : off
DTRACE : off
FFMPEG : on
GCONF : off
GIO : on
GNOMEUI : off
GTK2 : on
GTK3 : off
INTEGER_SAMPLES: off
LIBPROXY : off
OPTIMIZED_CFLAGS: off
PGO : off
PROFILE : off
PULSEAUDIO : off
TEST : off


I had:

ALSA   : off
BUNDLED_CAIRO  : on
CANBERRA   : off
DBUS   : on
DEBUG  : off
DTRACE : on
FFMPEG : on
GCONF  : off
GIO: on
GNOMEUI: off
GTK2   : off
GTK3   : on
INTEGER_SAMPLES: off
LIBPROXY   : off
OPTIMIZED_CFLAGS: on
PGO: off
PROFILE: off
PULSEAUDIO : on
RUST   : on
TEST   : off


However, I tried your set of options (with RUST on and off, since you 
don't have it): things didn't change, still crashing.




> The version is 45.0.1,1

45.0.1_3,1, here, but I also went through 45.0.1,1, which crashed in 
the same way.





May be you try pkg_libchk from sysutils/bsdadminscripts
if the libraries are in order.


I used sysutil/libchk, which should do more or less the same thing: 
there were some unresolved references in binaries which should not be 
related to FireFox: I solved that, but it's still crashing.

Any other thing to check?




Do you have an i386 kernel?


Yes.




I am not sure if there might be a possible issue.


Any pointer on that?
*If* firefox is incompatible with i386 I might switch, but it's going 
to be a very long work; so I'd like to get some hint about this before 
I venture myself in such a trouble.




When I have started using FreeBSD I thought amd64 is just for AMD 
processors.

But amd64 is also ok for Intel.


I know the difference.
However this box's install predates amd64: I was using it more than 10 
years ago (5.x or 6.x possibly) and it's still there through several 
hardware and software upgrades.
Until now I haven't found any good reason to drop everything and 
reinstall from scratch...




> This is likely the newest one. I am not completely up to date because
> I mostly upgrade only when there are vulnerabilities.

So do I, but I've gone through every minor update since I'm 
experiencing these crashes.



 bye & Thanks
av.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"




--
Patrick Powell Astart Technologies
papow...@astart.com1530 Jamacha Rd, Suite X
Network and System San Diego, CA 92019
  Consulting   858-874-6543 FAX 858-751-2435
Web: www.astart.com

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: HTML5 videos crashes Firefox

2016-03-29 Thread Christoph Brinkhaus
On Tue, Mar 29, 2016 at 06:20:13PM +0200, Andrea Venturoli wrote:

Hello Andrea!

> On Sun, 27 Mar 2016 10:12:07 -0700, Christoph Brinkhaus wrote:
> 
> > Hello Andrea,
> 
> Hello and thanks for your help.
> 
> > I have tried the first video I get from youtube without problems.
> > May be you post an url where the crash occurs.
> 
> I can just go to youtube.it/com and choose a random one; e.g.:
> https://www.youtube.com/watch?v=hrJLzq_coUg
> https://www.youtube.com/watch?v=LbVEXCh63pQ
> 
> (Please forgive me for linking that crap, but you asked it :)

Wonderful stuff. Now I know why we must spend more
money for a fast internet;-).

I have tried both videos on the firefox I build from sources
for 1-2 minutes with privoxy enabled and no problems.

The second works also on a firefox I have installed in a jail
as package. It works also with privoxy disabled. I have not dared to
do this for the first one. I have no idea who logs what...

The only thing I get are error messages as below:
$ ssh fox firefox
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
1459272168729   addons.xpi  WARNBootstrap state is invalid (missing 
add-ons:

I have no add-ons.
> 
> > The options I use are
> > according to pkg info
> > ALSA : on
> > BUNDLED_CAIRO : off
> > CANBERRA : off
> > DBUS : on
> > DEBUG : off
> > DTRACE : off
> > FFMPEG : on
> > GCONF : off
> > GIO : on
> > GNOMEUI : off
> > GTK2 : on
> > GTK3 : off
> > INTEGER_SAMPLES: off
> > LIBPROXY : off
> > OPTIMIZED_CFLAGS: off
> > PGO : off
> > PROFILE : off
> > PULSEAUDIO : off
> > TEST : off
> 
> I had:
> > ALSA   : off
> > BUNDLED_CAIRO  : on
> > CANBERRA   : off
> > DBUS   : on
> > DEBUG  : off
> > DTRACE : on
> > FFMPEG : on
> > GCONF  : off
> > GIO: on
> > GNOMEUI: off
> > GTK2   : off
> > GTK3   : on
> > INTEGER_SAMPLES: off
> > LIBPROXY   : off
> > OPTIMIZED_CFLAGS: on
> > PGO: off
> > PROFILE: off
> > PULSEAUDIO : on
> > RUST   : on
> > TEST   : off
> 
> However, I tried your set of options (with RUST on and off, since you 
> don't have it): things didn't change, still crashing.
> 
>  > The version is 45.0.1,1
> 
> 45.0.1_3,1, here, but I also went through 45.0.1,1, which crashed in the 
> same way.
> 
> > May be you try pkg_libchk from sysutils/bsdadminscripts
> > if the libraries are in order.
> 
> I used sysutil/libchk, which should do more or less the same thing: 
> there were some unresolved references in binaries which should not be 
> related to FireFox: I solved that, but it's still crashing.
> Any other thing to check?

I do not know.
> 
> > Do you have an i386 kernel?
> 
> Yes.
> 
> > I am not sure if there might be a possible issue.
> 
> Any pointer on that?
> *If* firefox is incompatible with i386 I might switch, but it's going to 
> be a very long work; so I'd like to get some hint about this before I 
> venture myself in such a trouble.

With some luck somebody will do the tests on a different i386 machine.
> 
> > When I have started using FreeBSD I thought amd64 is just for AMD 
> > processors.
> > But amd64 is also ok for Intel.
> 
> I know the difference.
> However this box's install predates amd64: I was using it more than 10 
> years ago (5.x or 6.x possibly) and it's still there through several 
> hardware and software upgrades.
> Until now I haven't found any good reason to drop everything and 
> reinstall from scratch...

Ok, you are much more experienced than me.
I hope that at least the tests have given some information.
> 
>  > This is likely the newest one. I am not completely up to date because
>  > I mostly upgrade only when there are vulnerabilities.
> 
> So do I, but I've gone through every minor update since I'm experiencing 
> these crashes.

Good luck, I hope you will find the root cause.
> 
>   bye & Thanks
>   av.
Kind regards,
Christoph
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: HTML5 videos crashes Firefox

2016-03-29 Thread Andrea Venturoli

On Sun, 27 Mar 2016 10:12:07 -0700, Christoph Brinkhaus wrote:


Hello Andrea,


Hello and thanks for your help.



I have tried the first video I get from youtube without problems.
May be you post an url where the crash occurs.


I can just go to youtube.it/com and choose a random one; e.g.:
https://www.youtube.com/watch?v=hrJLzq_coUg
https://www.youtube.com/watch?v=LbVEXCh63pQ

(Please forgive me for linking that crap, but you asked it :)




The options I use are
according to pkg info
ALSA : on
BUNDLED_CAIRO : off
CANBERRA : off
DBUS : on
DEBUG : off
DTRACE : off
FFMPEG : on
GCONF : off
GIO : on
GNOMEUI : off
GTK2 : on
GTK3 : off
INTEGER_SAMPLES: off
LIBPROXY : off
OPTIMIZED_CFLAGS: off
PGO : off
PROFILE : off
PULSEAUDIO : off
TEST : off


I had:

ALSA   : off
BUNDLED_CAIRO  : on
CANBERRA   : off
DBUS   : on
DEBUG  : off
DTRACE : on
FFMPEG : on
GCONF  : off
GIO: on
GNOMEUI: off
GTK2   : off
GTK3   : on
INTEGER_SAMPLES: off
LIBPROXY   : off
OPTIMIZED_CFLAGS: on
PGO: off
PROFILE: off
PULSEAUDIO : on
RUST   : on
TEST   : off


However, I tried your set of options (with RUST on and off, since you 
don't have it): things didn't change, still crashing.




> The version is 45.0.1,1

45.0.1_3,1, here, but I also went through 45.0.1,1, which crashed in the 
same way.





May be you try pkg_libchk from sysutils/bsdadminscripts
if the libraries are in order.


I used sysutil/libchk, which should do more or less the same thing: 
there were some unresolved references in binaries which should not be 
related to FireFox: I solved that, but it's still crashing.

Any other thing to check?




Do you have an i386 kernel?


Yes.




I am not sure if there might be a possible issue.


Any pointer on that?
*If* firefox is incompatible with i386 I might switch, but it's going to 
be a very long work; so I'd like to get some hint about this before I 
venture myself in such a trouble.





When I have started using FreeBSD I thought amd64 is just for AMD processors.
But amd64 is also ok for Intel.


I know the difference.
However this box's install predates amd64: I was using it more than 10 
years ago (5.x or 6.x possibly) and it's still there through several 
hardware and software upgrades.
Until now I haven't found any good reason to drop everything and 
reinstall from scratch...




> This is likely the newest one. I am not completely up to date because
> I mostly upgrade only when there are vulnerabilities.

So do I, but I've gone through every minor update since I'm experiencing 
these crashes.



 bye & Thanks
av.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: HTML5 videos crashes Firefox

2016-03-27 Thread Christoph Brinkhaus
On Sun, Mar 27, 2016 at 06:06:01PM +0200, Andrea Venturoli wrote:
> Hello.
> 
> Since a week or two my FireFox crashes as soon as an HTML5 video starts 
> playing. This can be sistematically reproduced, for example, by opening 
> YouTube and selecting a random video.
> 
> Notice I'm not that intrested in such videos, I just hate it when I open 
> a page with one on it (possibly advertisement) and the 25 opened 
> windows/tabs suddenly die.
> 
> 
> 
> Nothing is printed on the terminal apart from "Bus error (core dumped)".
> Obviously the core file is useless, but I tried recompiling FireFox with 
> debug symbols and that didn't make it any more readable (only some ?? in 
> the stack trace).
> "portupgrade -Rf firefox" was only a waste of time.
> I switched from GTK2 to GTK3 (which I think became the default in the 
> meanwhile), but the crashes weren't affected.
> I deleted my config and rebuilt with default options, only to get the 
> same behaviour.
> I read disabling ALSA might solve, but it didn't (besides, it was 
> enabled before the crashes started).
> I remembered in the past we had to load sem.ko, but it didn't help either.
> 
> 
Hello Andrea,

I have tried the first video I get from youtube without problems.
May be you post an url where the crash occurs. The options I use are
according to pkg info
ALSA   : on
BUNDLED_CAIRO  : off
CANBERRA   : off
DBUS   : on
DEBUG  : off
DTRACE : off
FFMPEG : on
GCONF  : off
GIO: on
GNOMEUI: off
GTK2   : on
GTK3   : off
INTEGER_SAMPLES: off
LIBPROXY   : off
OPTIMIZED_CFLAGS: off
PGO: off
PROFILE: off
PULSEAUDIO : off
TEST   : off
The version is 45.0.1,1
> 
> So I'm just looking for any hint that could help me get on the right 
> track to debug this.
> TIA to anyone who will answer.
> 
May be you try pkg_libchk from sysutils/bsdadminscripts
if the libraries are in order.
> 
> 
> 
> Some info:
> > % uname -a
> > FreeBSD alamar.ventu 10.2-RELEASE-p14 FreeBSD 10.2-RELEASE-p14 #5 r297011: 
> > Fri Mar 18 10:48:43 CET 2016 root@alamar.ventu:/usr/obj/usr/src/sys/ALAMAR 
> > i386
> 
Do you have an i386 kernel?
I am not sure if there might be a possible issue.

When I have started using FreeBSD I thought amd64 is just for AMD processors.
But amd64 is also ok for Intel.

> > % ident /usr/ports/www/firefox/Makefile
> > /usr/ports/www/firefox/Makefile:
> > $FreeBSD: head/www/firefox/Makefile 411909 2016-03-25 23:30:06Z jbeich $
This is likely the newest one. I am not completely up to date because I mostly
upgrade only when there are vulnerabilities.
> 
>   bye
>   av.
Kind regards,
Christoph
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


HTML5 videos crashes Firefox

2016-03-27 Thread Andrea Venturoli

Hello.

Since a week or two my FireFox crashes as soon as an HTML5 video starts 
playing. This can be sistematically reproduced, for example, by opening 
YouTube and selecting a random video.


Notice I'm not that intrested in such videos, I just hate it when I open 
a page with one on it (possibly advertisement) and the 25 opened 
windows/tabs suddenly die.




Nothing is printed on the terminal apart from "Bus error (core dumped)".
Obviously the core file is useless, but I tried recompiling FireFox with 
debug symbols and that didn't make it any more readable (only some ?? in 
the stack trace).

"portupgrade -Rf firefox" was only a waste of time.
I switched from GTK2 to GTK3 (which I think became the default in the 
meanwhile), but the crashes weren't affected.
I deleted my config and rebuilt with default options, only to get the 
same behaviour.
I read disabling ALSA might solve, but it didn't (besides, it was 
enabled before the crashes started).

I remembered in the past we had to load sem.ko, but it didn't help either.



So I'm just looking for any hint that could help me get on the right 
track to debug this.

TIA to anyone who will answer.




Some info:

% uname -a
FreeBSD alamar.ventu 10.2-RELEASE-p14 FreeBSD 10.2-RELEASE-p14 #5 r297011: Fri 
Mar 18 10:48:43 CET 2016 root@alamar.ventu:/usr/obj/usr/src/sys/ALAMAR i386



% ident /usr/ports/www/firefox/Makefile
/usr/ports/www/firefox/Makefile:
$FreeBSD: head/www/firefox/Makefile 411909 2016-03-25 23:30:06Z jbeich $




 bye
av.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"