Description of problem: Looks like with gcc7 compiled firefox (firefox-51.0.1-3.fc26), browsing any web page looks seriously broken. Just downgrading firefox only to firefox-51.0.1-2.fc26 restores "good" looking at browsing web pages. Version-Release number of selected component (if applicable): firefox-51.0.1-3.fc26 How reproducible: 100% Steps to Reproduce: 1. browse any web pages with firefox-51.0.1-3.fc26 2. 3. Actual results: Very bad. Expected results: As was with firefox-51.0.1-2.fc26 Additional info: Some screenshot will be attached.
Created attachment 1250608 [details] screenshot with gcc6 compiled firefox https://start.fedoraproject.org/ with firefox-51.0.1-2.fc26 . Looks normal.
Created attachment 1250609 [details] screenshot with gcc7 compiled firefox https://start.fedoraproject.org/ with firefox-51.0.1-3.fc26 . This one was compiled with gcc7. Note that - the right side and bottom side is black - URL bar is not shown - And some other things are also broken.
*** Bug 1422619 has been marked as a duplicate of this bug. ***
This renders cockpit basically unusable: https://openqa.fedoraproject.org/tests/57165 Given how bad this is I'm gonna nominate it as an Alpha blocker, as a violation of "It must be possible to run the default web browser and a terminal application from all release-blocking desktop environments. ... The web browser must be able to download files, load extensions (if applicable), and log into FAS." - arguably, you can't reasonably do all those things with a Firefox that looks like this. openQA sure can't. :P
*** Bug 1425729 has been marked as a duplicate of this bug. ***
*** Bug 1425770 has been marked as a duplicate of this bug. ***
As a workaround you can use our flatpak packages: https://firefox-flatpak.mojefedora.cz/ or install binary from mozilla.com.
You can also downgrade to https://koji.fedoraproject.org/koji/buildinfo?buildID=836421 which currently has no dep issues or the like.
Does anyone understand what's happening?
(In reply to Kai Engert (:kaie) from comment #9) > Does anyone understand what's happening? Build without optimization works fine so I expect it's some -O3 miscompilation/FF bug whatever. Looking into it.
New build without -O3 optimization is here: https://koji.fedoraproject.org/koji/taskinfo?taskID=18011812
Created attachment 1256931 [details] startup with 51.0.1-5.fc26 showing crash reporter (In reply to Martin Stransky from comment #11) > New build without -O3 optimization is here: > https://koji.fedoraproject.org/koji/taskinfo?taskID=18011812 Doesn't seem good.. For me this crashes on startup (i.e. this does not launch) and crash reporter appears.
(In reply to Mamoru TASAKA from comment #12) > Created attachment 1256931 [details] > startup with 51.0.1-5.fc26 showing crash reporter Although this picture's file name is "startup-ff-51.0.1-2.fc26.x86_64.png", this is actually with firefox-51.0.1-5.fc26.x86_64
Created attachment 1256966 [details] gdb log gdb backtrace for firefox-51.0.1-5.fc26.x86_64
*** Bug 1426181 has been marked as a duplicate of this bug. ***
I've also experimented with local builds, because I need to test a code change to firefox, and the -O2 build crashed for me, too. Instead of the approach that Martin had commited, I added the following statement (which is usually used for firefox debug builds): MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//') This change disables the -O2 flag, that is obtained from this line: MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS" | %{__sed} -e 's/-Wall//') The local build I've produced that way works for me, without apparent visual issues.
(In reply to Mamoru TASAKA from comment #12) > Created attachment 1256931 [details] > startup with 51.0.1-5.fc26 showing crash reporter > > (In reply to Martin Stransky from comment #11) > > New build without -O3 optimization is here: > > https://koji.fedoraproject.org/koji/taskinfo?taskID=18011812 > > Doesn't seem good.. For me this crashes on startup (i.e. this does not > launch) and crash reporter appears. That seems to be mozbz#1321579
New builds are available at https://koji.fedoraproject.org/koji/buildinfo?buildID=861526
(In reply to Martin Stransky from comment #18) > New builds are available at > https://koji.fedoraproject.org/koji/buildinfo?buildID=861526 This works for me, thank you!
hasnt there been the change in gcc in fedora that allows indefined use of functions or something..? (disables warning about them, that prevents compiling)