https://bugs.winehq.org/show_bug.cgi?id=38078
Bug ID: 38078 Summary: Firefox 37 and 38 fail to start Product: Wine Version: 1.7.36 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: mitchwharper@gmail.com Distribution: ---
Created attachment 50737 --> https://bugs.winehq.org/attachment.cgi?id=50737 Wine Backtrace
While attempting to debug Firefox with Valgrind, cannot get Firefox 37 or 38 to start. Firefox is throwing the error "Failed to initialize WARP D3D11 device!", which is caught at https://dxr.mozilla.org/mozilla-central/source/gfx/thebes/gfxWindowsPlatform...
Firefox 36 (beta as of bug filing) starts and runs without issues. The installer derived from the beta source as of filing: https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2015/02/2015-02-13-m...
---
Steps to reproduce:
1. Download latest Firefox mozilla-central installer (http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2015/02/2015-02-13-mo... as of the time of bug filing) or Aurora installer (https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2015/02/2015-02-13-m... as of filing)
2. Run installer with Wine, install to default location.
3. Leave "Launch Nightly Now" box checked and click "Finish"
---
Used Wine 1.7.36 with CFLAGS "-g -O0", also failed when using 1.7.34 before I rebuilt tonight. Currently running Ubuntu 14.10 on an MSI-GS60 (exact specs: http://us.msi.com/product/nb/GS60-Ghost-Pro-3K.html#hero-specification&s...) with GeForce GTX 870M graphics card and Nvidia driver version 331.113.
Reproducible with many installers across ftp.mozilla.org and also from multiple of my own builds from the Mozilla trunk.
Also reproduced on a different machine (http://www.toshiba.com/us/computers/laptops/satellite/P750/P755-S5265) Wine 1.6.2 and the above mozilla-central installer, running Intel Mobile HD Graphics.
https://bugs.winehq.org/show_bug.cgi?id=38078
--- Comment #1 from Mitchell Harper mitchwharper@gmail.com --- Comment on attachment 50737 --> https://bugs.winehq.org/attachment.cgi?id=50737 Wine Backtrace
gfxWindowsPlatform::InitD3D11Devices () at d:\mozilla\mozilla-central\gfx\thebes\gfxwindowsplatform.cpp:1874 0x00d4a218 gfxWindowsPlatform::InitD3D11Devices+0x30e [d:\mozilla\mozilla-central\gfx\thebes\gfxwindowsplatform.cpp:1874] in xul: int $3 Unable to access file 'd:\mozilla\mozilla-central\gfx\thebes\gfxwindowsplatform.cpp' Modules: Module Address Debug info Name (107 modules) PE 350000- 388000 Deferred sandboxbroker PE 390000- 396000 Deferred mozalloc PE 3d0000- 3df000 Deferred browsercomps PE 400000- 462000 Deferred firefox PE 580000- 708000 Deferred nss3 PE 820000- 294f000 CodeView xul PE 2950000- 2a55000 Deferred icuuc52 PE 5230000- 5257000 Deferred softokn3 PE 5260000- 5278000 Deferred nssdbm3 PE 5280000- 52d6000 Deferred freebl3 PE 5940000- 59a6000 Deferred nssckbi PE 10000000-10013000 Deferred mozglue PE 4a900000-4aa55000 Deferred icuin52 PE 4ad00000-4b6ea000 Deferred icudt52 ELF 7b800000-7ba66000 Deferred kernel32<elf> -PE 7b810000-7ba66000 \ kernel32 ELF 7bc00000-7bcf6000 Deferred ntdll<elf> -PE 7bc10000-7bcf6000 \ ntdll ELF 7bf00000-7bf04000 Deferred <wine-loader> ELF 7ef71000-7ef7e000 Deferred libnss_files.so.2 ELF 7ef7e000-7ef97000 Deferred libnsl.so.1 ELF 7ef97000-7efdd000 Deferred libm.so.6 ELF f5c0a000-f5d00000 Deferred libasound.so.2 ELF f6010000-f602e000 Deferred libgcc_s.so.1 ELF f602e000-f6037000 Deferred librt.so.1 ELF f6037000-f606d000 Deferred winealsa<elf> -PE f6040000-f606d000 \ winealsa ELF f606d000-f6092000 Deferred mmdevapi<elf> -PE f6070000-f6092000 \ mmdevapi ELF f6092000-f60a9000 Deferred libresolv.so.2 ELF f60b7000-f60cc000 Deferred d3d11<elf> -PE f60c0000-f60cc000 \ d3d11 ELF f60cc000-f60ee000 Deferred dnsapi<elf> -PE f60d0000-f60ee000 \ dnsapi ELF f6112000-f6134000 Deferred libxcb.so.1 ELF f6134000-f627f000 Deferred libx11.so.6 ELF f62a2000-f631b000 Deferred winex11<elf> -PE f62b0000-f631b000 \ winex11 ELF f631b000-f6334000 Deferred userenv<elf> -PE f6320000-f6334000 \ userenv ELF f6334000-f6353000 Deferred pdh<elf> -PE f6340000-f6353000 \ pdh ELF f6353000-f64c2000 Deferred oleaut32<elf> -PE f6370000-f64c2000 \ oleaut32 ELF f64c2000-f64da000 Deferred wtsapi32<elf> -PE f64d0000-f64da000 \ wtsapi32 ELF f64da000-f65b8000 Deferred crypt32<elf> -PE f64e0000-f65b8000 \ crypt32 ELF f65b8000-f65f2000 Deferred wintrust<elf> -PE f65c0000-f65f2000 \ wintrust ELF f65f2000-f6664000 Deferred setupapi<elf> -PE f6600000-f6664000 \ setupapi ELF f6664000-f669c000 Deferred uxtheme<elf> -PE f6670000-f669c000 \ uxtheme ELF f669c000-f66e6000 Deferred usp10<elf> -PE f66a0000-f66e6000 \ usp10 ELF f66e6000-f6761000 Deferred shlwapi<elf> -PE f66f0000-f6761000 \ shlwapi ELF f6761000-f69ad000 Deferred shell32<elf> -PE f6770000-f69ad000 \ shell32 ELF f69ad000-f69de000 Deferred netapi32<elf> -PE f69b0000-f69de000 \ netapi32 ELF f69de000-f6a02000 Deferred imm32<elf> -PE f69e0000-f6a02000 \ imm32 ELF f6a02000-f6a2e000 Deferred libpng12.so.0 ELF f6a2e000-f6a48000 Deferred libz.so.1 ELF f6a48000-f6af8000 Deferred libfreetype.so.6 ELF f6afc000-f6b00000 Deferred libxinerama.so.1 ELF f6b00000-f6b07000 Deferred libxdmcp.so.6 ELF f6b07000-f6b1b000 Deferred msimg32<elf> -PE f6b10000-f6b1b000 \ msimg32 ELF f6b1b000-f6b44000 Deferred iphlpapi<elf> -PE f6b20000-f6b44000 \ iphlpapi ELF f6b44000-f6b79000 Deferred ws2_32<elf> -PE f6b50000-f6b79000 \ ws2_32 ELF f6b79000-f6b95000 Deferred wsock32<elf> -PE f6b80000-f6b95000 \ wsock32 ELF f6b95000-f6bc2000 Deferred msacm32<elf> -PE f6ba0000-f6bc2000 \ msacm32 ELF f6bc2000-f6c4d000 Deferred rpcrt4<elf> -PE f6bd0000-f6c4d000 \ rpcrt4 ELF f6c4d000-f6dca000 Deferred ole32<elf> -PE f6c60000-f6dca000 \ ole32 ELF f6dca000-f6e3e000 Deferred advapi32<elf> -PE f6de0000-f6e3e000 \ advapi32 ELF f6e3e000-f6f6c000 Deferred gdi32<elf> -PE f6e50000-f6f6c000 \ gdi32 ELF f6f6c000-f70d9000 Deferred user32<elf> -PE f6f80000-f70d9000 \ user32 ELF f70d9000-f7195000 Deferred winmm<elf> -PE f70e0000-f7195000 \ winmm ELF f7195000-f7299000 Deferred msvcp120<elf> -PE f71d0000-f7299000 \ msvcp120 ELF f7299000-f7378000 Deferred msvcr120<elf> -PE f72b0000-f7378000 \ msvcr120 ELF f7378000-f7393000 Deferred version<elf> -PE f7380000-f7393000 \ version ELF f7393000-f739f000 Deferred libnss_nis.so.2 ELF f73a0000-f73a5000 Deferred libdl.so.2 ELF f73a5000-f7553000 Deferred libc.so.6 ELF f7554000-f7571000 Deferred libpthread.so.0 ELF f7573000-f7577000 Deferred libxau.so.6 ELF f7577000-f7580000 Deferred libnss_compat.so.2 ELF f7580000-f7593000 Deferred libxext.so.6 ELF f7594000-f774c000 Dwarf libwine.so.1 ELF f774e000-f7770000 Deferred ld-linux.so.2 ELF f7770000-f7771000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) 00000008 (D) Z:\media\mitchell\Data\Mozilla\mozilla-central\obj-valgrind\dist\bin\firefox.exe 00000045 0 00000044 0 00000041 0 00000040 0 0000003f 0 0000003e 0 0000003d 0 0000003c 0 0000003b 0 0000003a 0 00000039 0 00000038 0 00000037 0 00000036 0 00000035 0 00000034 -1 00000033 -1 00000032 0 00000031 0 00000030 0 0000002f 0 0000002e 0 0000002d 0 0000002c 0 0000002b 0 0000002a 0 00000029 0 00000028 0 00000027 0 00000026 0 00000025 0 00000024 0 00000023 0 00000022 0 00000009 0 <== 0000000e services.exe 0000001f 0 0000001e 0 00000018 0 00000016 0 00000010 0 0000000f 0 00000012 winedevice.exe 0000001d 0 0000001a 0 00000019 0 00000013 0 00000014 explorer.exe 00000015 0 0000001b plugplay.exe 00000021 0 00000020 0 0000001c 0 System information: Wine build: wine-1.7.36 Platform: i386 Host system: Linux Host version: 3.16.0-29-generic
https://bugs.winehq.org/show_bug.cgi?id=38078
--- Comment #2 from Mitchell Harper mitchwharper@gmail.com --- Comment on attachment 50737 --> https://bugs.winehq.org/attachment.cgi?id=50737 Wine Backtrace
gfxWindowsPlatform::InitD3D11Devices () at d:\mozilla\mozilla-central\gfx\thebes\gfxwindowsplatform.cpp:1874 0x00d4a218 gfxWindowsPlatform::InitD3D11Devices+0x30e [d:\mozilla\mozilla-central\gfx\thebes\gfxwindowsplatform.cpp:1874] in xul: int $3 Unable to access file 'd:\mozilla\mozilla-central\gfx\thebes\gfxwindowsplatform.cpp' Modules: Module Address Debug info Name (107 modules) PE 350000- 388000 Deferred sandboxbroker PE 390000- 396000 Deferred mozalloc PE 3d0000- 3df000 Deferred browsercomps PE 400000- 462000 Deferred firefox PE 580000- 708000 Deferred nss3 PE 820000- 294f000 CodeView xul PE 2950000- 2a55000 Deferred icuuc52 PE 5230000- 5257000 Deferred softokn3 PE 5260000- 5278000 Deferred nssdbm3 PE 5280000- 52d6000 Deferred freebl3 PE 5940000- 59a6000 Deferred nssckbi PE 10000000-10013000 Deferred mozglue PE 4a900000-4aa55000 Deferred icuin52 PE 4ad00000-4b6ea000 Deferred icudt52 ELF 7b800000-7ba66000 Deferred kernel32<elf> -PE 7b810000-7ba66000 \ kernel32 ELF 7bc00000-7bcf6000 Deferred ntdll<elf> -PE 7bc10000-7bcf6000 \ ntdll ELF 7bf00000-7bf04000 Deferred <wine-loader> ELF 7ef71000-7ef7e000 Deferred libnss_files.so.2 ELF 7ef7e000-7ef97000 Deferred libnsl.so.1 ELF 7ef97000-7efdd000 Deferred libm.so.6 ELF f5c0a000-f5d00000 Deferred libasound.so.2 ELF f6010000-f602e000 Deferred libgcc_s.so.1 ELF f602e000-f6037000 Deferred librt.so.1 ELF f6037000-f606d000 Deferred winealsa<elf> -PE f6040000-f606d000 \ winealsa ELF f606d000-f6092000 Deferred mmdevapi<elf> -PE f6070000-f6092000 \ mmdevapi ELF f6092000-f60a9000 Deferred libresolv.so.2 ELF f60b7000-f60cc000 Deferred d3d11<elf> -PE f60c0000-f60cc000 \ d3d11 ELF f60cc000-f60ee000 Deferred dnsapi<elf> -PE f60d0000-f60ee000 \ dnsapi ELF f6112000-f6134000 Deferred libxcb.so.1 ELF f6134000-f627f000 Deferred libx11.so.6 ELF f62a2000-f631b000 Deferred winex11<elf> -PE f62b0000-f631b000 \ winex11 ELF f631b000-f6334000 Deferred userenv<elf> -PE f6320000-f6334000 \ userenv ELF f6334000-f6353000 Deferred pdh<elf> -PE f6340000-f6353000 \ pdh ELF f6353000-f64c2000 Deferred oleaut32<elf> -PE f6370000-f64c2000 \ oleaut32 ELF f64c2000-f64da000 Deferred wtsapi32<elf> -PE f64d0000-f64da000 \ wtsapi32 ELF f64da000-f65b8000 Deferred crypt32<elf> -PE f64e0000-f65b8000 \ crypt32 ELF f65b8000-f65f2000 Deferred wintrust<elf> -PE f65c0000-f65f2000 \ wintrust ELF f65f2000-f6664000 Deferred setupapi<elf> -PE f6600000-f6664000 \ setupapi ELF f6664000-f669c000 Deferred uxtheme<elf> -PE f6670000-f669c000 \ uxtheme ELF f669c000-f66e6000 Deferred usp10<elf> -PE f66a0000-f66e6000 \ usp10 ELF f66e6000-f6761000 Deferred shlwapi<elf> -PE f66f0000-f6761000 \ shlwapi ELF f6761000-f69ad000 Deferred shell32<elf> -PE f6770000-f69ad000 \ shell32 ELF f69ad000-f69de000 Deferred netapi32<elf> -PE f69b0000-f69de000 \ netapi32 ELF f69de000-f6a02000 Deferred imm32<elf> -PE f69e0000-f6a02000 \ imm32 ELF f6a02000-f6a2e000 Deferred libpng12.so.0 ELF f6a2e000-f6a48000 Deferred libz.so.1 ELF f6a48000-f6af8000 Deferred libfreetype.so.6 ELF f6afc000-f6b00000 Deferred libxinerama.so.1 ELF f6b00000-f6b07000 Deferred libxdmcp.so.6 ELF f6b07000-f6b1b000 Deferred msimg32<elf> -PE f6b10000-f6b1b000 \ msimg32 ELF f6b1b000-f6b44000 Deferred iphlpapi<elf> -PE f6b20000-f6b44000 \ iphlpapi ELF f6b44000-f6b79000 Deferred ws2_32<elf> -PE f6b50000-f6b79000 \ ws2_32 ELF f6b79000-f6b95000 Deferred wsock32<elf> -PE f6b80000-f6b95000 \ wsock32 ELF f6b95000-f6bc2000 Deferred msacm32<elf> -PE f6ba0000-f6bc2000 \ msacm32 ELF f6bc2000-f6c4d000 Deferred rpcrt4<elf> -PE f6bd0000-f6c4d000 \ rpcrt4 ELF f6c4d000-f6dca000 Deferred ole32<elf> -PE f6c60000-f6dca000 \ ole32 ELF f6dca000-f6e3e000 Deferred advapi32<elf> -PE f6de0000-f6e3e000 \ advapi32 ELF f6e3e000-f6f6c000 Deferred gdi32<elf> -PE f6e50000-f6f6c000 \ gdi32 ELF f6f6c000-f70d9000 Deferred user32<elf> -PE f6f80000-f70d9000 \ user32 ELF f70d9000-f7195000 Deferred winmm<elf> -PE f70e0000-f7195000 \ winmm ELF f7195000-f7299000 Deferred msvcp120<elf> -PE f71d0000-f7299000 \ msvcp120 ELF f7299000-f7378000 Deferred msvcr120<elf> -PE f72b0000-f7378000 \ msvcr120 ELF f7378000-f7393000 Deferred version<elf> -PE f7380000-f7393000 \ version ELF f7393000-f739f000 Deferred libnss_nis.so.2 ELF f73a0000-f73a5000 Deferred libdl.so.2 ELF f73a5000-f7553000 Deferred libc.so.6 ELF f7554000-f7571000 Deferred libpthread.so.0 ELF f7573000-f7577000 Deferred libxau.so.6 ELF f7577000-f7580000 Deferred libnss_compat.so.2 ELF f7580000-f7593000 Deferred libxext.so.6 ELF f7594000-f774c000 Dwarf libwine.so.1 ELF f774e000-f7770000 Deferred ld-linux.so.2 ELF f7770000-f7771000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) 00000008 (D) Z:\media\mitchell\Data\Mozilla\mozilla-central\obj-valgrind\dist\bin\firefox.exe 00000045 0 00000044 0 00000041 0 00000040 0 0000003f 0 0000003e 0 0000003d 0 0000003c 0 0000003b 0 0000003a 0 00000039 0 00000038 0 00000037 0 00000036 0 00000035 0 00000034 -1 00000033 -1 00000032 0 00000031 0 00000030 0 0000002f 0 0000002e 0 0000002d 0 0000002c 0 0000002b 0 0000002a 0 00000029 0 00000028 0 00000027 0 00000026 0 00000025 0 00000024 0 00000023 0 00000022 0 00000009 0 <== 0000000e services.exe 0000001f 0 0000001e 0 00000018 0 00000016 0 00000010 0 0000000f 0 00000012 winedevice.exe 0000001d 0 0000001a 0 00000019 0 00000013 0 00000014 explorer.exe 00000015 0 0000001b plugplay.exe 00000021 0 00000020 0 0000001c 0 System information: Wine build: wine-1.7.36 Platform: i386 Host system: Linux Host version: 3.16.0-29-generic
https://bugs.winehq.org/show_bug.cgi?id=38078
--- Comment #3 from Mitchell Harper mitchwharper@gmail.com --- So sorry for the extra traces, I didn't quite understand what I was doing when I was trying to edit the backtrace to include debug symbols.
https://bugs.winehq.org/show_bug.cgi?id=38078
--- Comment #4 from Mitchell Harper mitchwharper@gmail.com --- Created attachment 50738 --> https://bugs.winehq.org/attachment.cgi?id=50738 Terminal Ootuput
https://bugs.winehq.org/show_bug.cgi?id=38078
--- Comment #5 from Austin English austinenglish@gmail.com ---
fixme:d3d11:D3D11CreateDevice adapter (nil), driver_type D3D_DRIVER_TYPE_WARP, swrast (nil), flags 0x20, feature_levels 0x7193c08, levels 0x4, sdk_version 7, device 0x34f134, feature_level (nil), context (nil) stub! Crash Annotation GraphicsCriticalError: |[0][GFX1]: Failed to initialize WARP D3D11 device!-2147024882[GFX1]: Failed to initialize WARP D3D11 device!-2147024882
wine's d3d11 support is just a stub. Try: winecfg > Libraries > d3d11 > disabled
or run with: WINEDLLOVERRIDES='d3d11=' wine ...
this is likely a dupe of bug 36828 (et al).
https://bugs.winehq.org/show_bug.cgi?id=38078
--- Comment #6 from Mitchell Harper mitchwharper@gmail.com --- Disabling that library did the trick! I had tried recompiling Firefox with a flag set to prefer d3d9, to no avail, but this is much easier. Thanks!
https://bugs.winehq.org/show_bug.cgi?id=38078
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #7 from Austin English austinenglish@gmail.com --- (In reply to Mitchell Harper from comment #6)
Disabling that library did the trick! I had tried recompiling Firefox with a flag set to prefer d3d9, to no avail, but this is much easier. Thanks!
Thanks, marking as dupe.
*** This bug has been marked as a duplicate of bug 36828 ***
https://bugs.winehq.org/show_bug.cgi?id=38078
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=38078
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://web.archive.org/web | |/20210725142840/https://ftp | |.mozilla.org/pub/firefox/re | |leases/37.0/win32/en-US/Fir | |efox%20Setup%2037.0.exe CC| |focht@gmx.net Keywords| |download Summary|Firefox 37 and 38 fail to |Firefox 37 and 38 fail to |start |start, reporting 'Failed to | |initialize WARP D3D11 | |device'