Podpis problému:
Název události problému: APPCRASH
Název aplikace: firefox.exe
Verze aplikace: 17.0.6.0
Časové razítko aplikace: 386d4380
Název chybného modulu: d2d1.dll
Verze chybného modulu: 6.1.7601.17514
Časové razítko chybného modulu: 4ce7b7aa
Kód výjimky: c0000005
Posun výjimky: 0001f3ba
Verze operačního systému: 6.1.7601.2.1.0.256.1
ID národního prostředí: 1029
Další informace 1: 0a9e
Další informace 2: 0a9e372d3b4ad19135b953a78882e789
Další informace 3: 0a9e
Další informace 4: 0a9e372d3b4ad19135b953a78882e789
Pokud není k dispozici Prohlášení o zásadách ochrany osobních údajů online, přečtěte si toto prohlášení offline:
C:\Windows\system32\cs-CZ\erofflps.txt
Trac: Username: dope457
Designs
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
I updated my NVidia drivers a couple of weeks ago which is possibly the cause. Currently running 340.52, Direct3D v11 on a GeForce GTX 770. Windows 7 Pro 64-bit.
Trac: Summary: TBB 3.0a1 crashes on startup on Win7 (TorBrowser has stopped working) to Cross compile for windows is borked because mingw, gcc, and Win32 ABI Keywords: firefox-crash, tbb-3.0 deleted, cross-compile added
Trac: Summary: Cross compile for windows is borked because mingw, gcc, and Win32 ABI to Tor Browser for windows is borked because mingw, gcc, and Win32 ABI
Trac: Summary: Tor Browser for windows is borked because mingw, gcc, and Win32 ABI to TBB 3.0a1 crashes on startup on Win7 Keywords: ABI, GCC deleted, N/Aadded
To add some explicit instructions here as this gets referenced often. For a built browser suffering from the problem, on Windows:
Copy browser/omni.ja twice, once to omni.ja-backup and once to omni.zip
Unzip the zip file using Windows built-in Zip Extractor. ([0] Indicates that other zip programs will not work correctly)
In the extracted omni/ folder, edit default/preferences/firefox.js and add pref("gfx.direct2d.disabled",true);
Repackage the folder by running (in the extracted omni/ folder) zip -qr9XD omni.ja * - I used the cygwin zip package to do this. [0] indicates that other packaging methods will not work.
move the repackages omni.ja over top the original (you have the back up right?!) and test!
I was able to get it running with only gfx.direct2d.disabled - maybe one might need the layers.acceleration.disabled set to true too?
Do we really need to enable direct access to hardware for the browser?
Current prefs look pretty well:
Decision LogHW_COMPOSITING disabled by user: Disabled by prefD3D11_COMPOSITING unavailable by default: Hardware compositing is disabledD3D9_COMPOSITING unavailable by default: Hardware compositing is disabledDIRECT2D unavailable by default: Direct2D requires Direct3D 11 compositingD3D11_HW_ANGLE unavailable by default: D3D11 compositing is disableddisabled by env: D3D11 compositing is disabled
Trac: Summary: TBB 3.0a1 crashes on startup on Win7 to Tor Browser for Windows is borked with hardware acceleration enabled (because of gcc?) Keywords: Hardware-acceleration, Windows deleted, N/Aadded
https://bugzilla.mozilla.org/show_bug.cgi?id=1411401#c24 is relevant. As we still have users hitting this bug we could think about solving it as Jacek mentioned, especially as I moved to the current mingw-w64 commit to get this fix for free (I did not realize that this was not the case).
Trac: Keywords: N/Adeleted, ff60-esr added Cc: mcs to mcs, sukhbir
I tested this on a Windows machine with an earlier build and Tor Browser was indeed crashing when the preferences were enabled (set to false). The new build with the above change does not crash; I verified this for both the 32- and 64-bit versions of Tor Browser.
Would it be enough to just have CXXFLAGS="-DWIDL_EXPLICIT_AGGREGATE_RETURNS" instead of CXXFLAGS="$CXXFLAGS -DWIDL_EXPLICIT_AGGREGATE_RETURNS"? I wonder if we should do an export CXXFLAGS instead of just a CXXFLAGS as Mozilla is doing it in the cross-compile macOS mozconfig, to pass down the flags to the various parts of the build system.
Would it be enough to just have CXXFLAGS="-DWIDL_EXPLICIT_AGGREGATE_RETURNS" instead of CXXFLAGS="$CXXFLAGS -DWIDL_EXPLICIT_AGGREGATE_RETURNS"? I wonder if we should do an export CXXFLAGS instead of just a CXXFLAGS as Mozilla is doing it in the cross-compile macOS mozconfig, to pass down the flags to the various parts of the build system.
OK I updated it to export CXXFLAGS instead and also rebased it on the respective HEAD commits.
Tor Browser (should this have been a fixup commit perhaps?):
Yes, please. You could add some more info doing a git commit --amend, so that everyone can later on look at tor-browser-60.1.0esr-8.0-1 to find out why the prefs are gone now (i.e. before the rebase happens and the fixup commit vanishes).
Trac: Status: needs_review to needs_revision Keywords: TorBrowserTeam201807R deleted, TorBrowserTeam201807 added