Bug 13575 - Firefox 30 segfaults when loading WebGL content (if compiled with gcc-4.9, OK with clang)
Summary: Firefox 30 segfaults when loading WebGL content (if compiled with gcc-4.9, OK...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High critical
Target Milestone: ---
Assignee: Florian Hubold
QA Contact:
URL: http://www.lessmilk.com/games/15
Whiteboard:
Keywords:
: 13577 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-06-22 18:41 CEST by Rémi Verschelde
Modified: 2014-09-23 19:31 CEST (History)
6 users (show)

See Also:
Source RPM: gcc firefox-30.0-1.mga5
CVE:
Status comment:


Attachments

Description Rémi Verschelde 2014-06-22 18:41:09 CEST
Firefox 30.0 in Cauldron crashes while loading WebGL content (I think) on some websites.

To reproduce the bug, try e.g. to play one of the HTML5 games at lessmilk.com, e.g. http://www.lessmilk.com/games/15

Firefox should crash with the following error (in a terminal):
> ATTENTION: default value of option force_s3tc_enable overridden by environment.
> Can't find symbol 'glXCreateContextAttribsARB'.
> Segmentation fault

A quick search about this gives reports from Arch Linux users experiencing the same kind of issue starting from Firefox 29.0.1. It seems the Firefox binaries provided by Mozilla do not present the issue.

The Arch Linux bug report about this hints that this could be a regression induced by the compilation with gcc 4.9... They switch to building Firefox with clang instead of trying to fix the gcc issue, I suppose we'd want to come up with a cleaner solution :-)

Reproducible: 

Steps to Reproduce:
Rémi Verschelde 2014-06-22 18:42:09 CEST

Priority: Normal => High
CC: (none) => fundawang, thierry.vignaud

Comment 1 Rémi Verschelde 2014-06-22 18:42:41 CEST
I forgot the link to the Arch bug report: https://bugs.archlinux.org/task/40331
Comment 2 Marja Van Waes 2014-06-22 19:02:04 CEST
confirming the FF crash on 64bits cauldron

CC: (none) => marja11
Hardware: i586 => All

Comment 3 Thomas Backlund 2014-06-23 12:08:26 CEST
*** Bug 13577 has been marked as a duplicate of this bug. ***

CC: (none) => joequant

Comment 4 Thierry Vignaud 2014-06-24 17:34:41 CEST
They closed it as "segfault with gcc-4.9 but works smoothly when compiled with clang".

Thomas, can you look about it?

CC: (none) => tmb
Summary: Firefox 30 segfaults when loading WebGL content => Firefox 30 segfaults when loading WebGL content (if compiled with gcc-4.9, OK with clang)
Source RPM: firefox-30.0-1.mga5 => gcc firefox-30.0-1.mga5

Comment 5 Rémi Verschelde 2014-08-06 20:00:59 CEST
I can't reproduce the crash anymore on Cauldron with firefox-31.0-5.mga5.
Comment 6 Thierry Vignaud 2014-08-07 12:20:35 CEST
It's compiled with clang as gcc-4.9 fails to compile ff...
Comment 7 Rémi Verschelde 2014-09-21 21:41:03 CEST
With Florian's gcc build of Firefox on Cauldron core/updates_testing, I can't reproduce the issue anymore. The RPM is:
firefox-31.1.0-5.mga5

This can be closed as fixed if someone else can confirm the fix, and maybe when the updates_testing package makes it to the release repo.
Rémi Verschelde 2014-09-21 21:41:19 CEST

CC: (none) => doktor5000

Comment 8 Florian Hubold 2014-09-22 10:27:22 CEST
Other question would be, which graphics card and driver do you use, and is that a physical machine? There can be quite a lot of issues when testing OpenGL inside virtualbox or similar ...

And another question related to the error message in first post:
Do you have libtxc-dxtn installed?

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=14062
Assignee: bugsquad => doktor5000

Comment 9 Rémi Verschelde 2014-09-22 10:33:05 CEST
My initial issue was with the intel driver (Intel HD 4000) on an optimus laptop. I don't remember if I had tried with my nvidia GPU too.

But marja and others could reproduce the issue too, so I guess it was more a FF 30.0 bug on Linux when compiled with gcc, that got fixed in 31.x.

I think I had libtxc-dxtn, I can't check since I have since reinstalled cauldron.
Comment 10 Florian Hubold 2014-09-23 19:31:50 CEST
So please test the normal build firefox-31.1.0-6.mga5 and reopen if this reoccurs. Resolving per your previous comments.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.