https://bugs.winehq.org/show_bug.cgi?id=44340
Bug ID: 44340 Summary: fixme:d3d11:d3d11_device_CheckFormatSupport iface 0x114700, format 45, format_support 0x22fa60 partial-stub! Product: Wine Version: 2.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: directx-d3dx11 Assignee: wine-bugs@winehq.org Reporter: mo78@abv.bg Distribution: ---
Created attachment 60217 --> https://bugs.winehq.org/attachment.cgi?id=60217 Error Log SpellForce 3
I get this when I try to run SpellForce3. In the log there are some other errors but I think this is the culprit.
https://bugs.winehq.org/show_bug.cgi?id=44340
mo78@abv.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal CC| |mo78@abv.bg
https://bugs.winehq.org/show_bug.cgi?id=44340
mo78@abv.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=44340
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx11 |-unknown
--- Comment #1 from Matteo Bruni matteo.mystral@gmail.com --- What's the actual bug? Does the game crash? If you get the "usual" Wine crash dialog, please press the Close button to have the crash details reported in the Wine log.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #2 from mo78@abv.bg --- The game doesn't run. At the start there is black screen for 2-3 seconds and the game crash with option to send a bug to developers with Ok button which redirects to developer bugs site. There isn't any wine dialogs, this is the whole log.
https://bugs.winehq.org/show_bug.cgi?id=44340
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|fixme:d3d11:d3d11_device_Ch |SpellForce 3 crashes |eckFormatSupport iface | |0x114700, format 45, | |format_support 0x22fa60 | |partial-stub! |
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #3 from mo78@abv.bg --- The problem is still the same with Wine-Staging 3.3 and Wine 3.3.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #4 from mo78@abv.bg --- The problem is still the same with Wine-Staging 3.5 and Wine-Staging 3.5.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #5 from mo78@abv.bg --- *with Wine-Staging 3.5 and Wine 3.5.
https://bugs.winehq.org/show_bug.cgi?id=44340
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #6 from mo78@abv.bg --- The problem is still the same with Wine 3.10 and Wine-Staging 3.10.
https://bugs.winehq.org/show_bug.cgi?id=44340
mo78@abv.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|2.21 |3.10
https://bugs.winehq.org/show_bug.cgi?id=44340
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|3.10 |2.21
--- Comment #7 from Jeff Zaroyko jeffz@jeffz.name --- https://wiki.winehq.org/bugs
Please don't change the original reported version. A new comment to say the bug still exists is enough.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #8 from mo78@abv.bg --- Excuse me I didn't know it's forbidden.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #9 from mo78@abv.bg --- Wine 3.13 - the problem is still here.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #10 from mo78@abv.bg --- Created attachment 62009 --> https://bugs.winehq.org/attachment.cgi?id=62009 +d3d_shader,+dxgi,+d3d11 wine log
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #11 from mo78@abv.bg --- Created attachment 62010 --> https://bugs.winehq.org/attachment.cgi?id=62010 wine+d3d log
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #12 from mo78@abv.bg --- Created attachment 62011 --> https://bugs.winehq.org/attachment.cgi?id=62011 wine+tid,+seh,+relay,+dplay log
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #13 from mo78@abv.bg --- The problem is still here with Wine 3.14.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #14 from mo78@abv.bg --- Wine 3.16 - the problem is still here.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #15 from mo78@abv.bg --- Wine 3.19 - all the same. Please, look at this AAA title :)
https://bugs.winehq.org/show_bug.cgi?id=44340
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #16 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to mo78 from comment #15)
Wine 3.19 - all the same. Please, look at this AAA title :)
I had a quick look in the log you attached in comment #12. Maybe it has something to do with not being able to find fonts (wild guess)? Did you already try something with winetricks, like ``winetricks allfonts``. Does that change anything?
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #17 from mo78@abv.bg --- Thank you for your replay!
I tried with corefonts and allfonts to no avail :(
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #18 from mo78@abv.bg --- Wine 4.0-rc1, the problem is still here :(
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #19 from mo78@abv.bg --- Wine 4.0 - the bug is still here.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #20 from mo78@abv.bg --- Wine 4.0 - the problem is still here.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #21 from mo78@abv.bg --- Wine 4.3 - the problem is still here.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #22 from mo78@abv.bg --- Wine 4.4 - the bug is still here.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #23 from mo78@abv.bg --- Wine 4.4 - the bug is still here.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #24 from mo78@abv.bg --- *Wine 4.5 - the bug is still here.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #25 from Louis Lenders xerox.xerox2000x@gmail.com --- Do you get a crashlog when you disable dbghelp.dll? Maybe it reveals something?
(Run with WINEDLLOVERRIDES=dbghelp=d wine nameofapp.exe)
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #26 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 64041 --> https://bugs.winehq.org/attachment.cgi?id=64041 last 20000 lines before trouble
I`m attaching (hopefully) relavant part of your debuglog. The only thing i could think of for now is that it has something to do with the fonts. Maybe there`s invalid font, no idea
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #27 from mo78@abv.bg --- Thank you for the answer :) We already discussed this. Last year you looked at my logs and conclude the same :)
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #28 from mo78@abv.bg --- Created attachment 64042 --> https://bugs.winehq.org/attachment.cgi?id=64042 WINEDLLOVERRIDES=dbghelp=d wine log
https://bugs.winehq.org/show_bug.cgi?id=44340
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Ever confirmed|0 |1 Component|-unknown |dwrite Status|UNCONFIRMED |NEW
--- Comment #29 from Anastasius Focht focht@gmx.net --- Hello folks,
the crash looks somewhat similar to bug 45543 (https://bugs.winehq.org/show_bug.cgi?id=45543#c9)
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/SpellForce 3
$ file *.{dll,exe} fmod64.dll: PE32+ executable (DLL) (GUI) x86-64, for MS Windows fmodstudio64.dll: PE32+ executable (DLL) (GUI) x86-64, for MS Windows PhysX3CharacterKinematic_x64.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows PhysX3Common_x64.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows PhysX3_x64.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows RakNet_VS2013_DLL_Release_x64.dll: PE32+ executable (DLL) (GUI) x86-64, for MS Windows steam_api64.dll: PE32+ executable (DLL) (GUI) x86-64, for MS Windows SF3ClientFinal.exe: PE32+ executable (GUI) x86-64, for MS Windows unins000.exe: PE32 executable (GUI) Intel 80386, for MS Windows
$ winedbg --gdb ./SF3ClientFinal.exe
Thread 1 received signal SIGSEGV, Segmentation fault. 0x00007f6b631a0244 in layout_add_line (layout=0x4143930, first_cluster=0, last_cluster=0, textpos=0x22ee0c) at /home/focht/projects/wine/mainline-src/dlls/dwrite/layout.c:1845 1845 if (!cluster->isWhitespace)
Wine-gdb> bt #0 0x00007f6b631a0244 in layout_add_line (layout=0x4143930, first_cluster=0, last_cluster=0, textpos=0x22ee0c) at /home/focht/projects/wine/mainline-src/dlls/dwrite/layout.c:1845 #1 0x00007f6b631a10f4 in layout_compute_effective_runs (layout=0x4143930) at /home/focht/projects/wine/mainline-src/dlls/dwrite/layout.c:2085 #2 0x00007f6b631ab5b0 in dwritetextlayout2_GetMetrics (iface=0x4143930, metrics=0x22ef60) at /home/focht/projects/wine/mainline-src/dlls/dwrite/layout.c:3937 #3 0x00007f6b631a98c5 in dwritetextlayout_GetMetrics (iface=0x4143930, metrics=0x22f128) at ../../include/dwrite_3.h:5774 #4 0x0000000141429410 in ?? () #5 0x0000000004143930 in ?? () #6 0x000000000022f128 in ?? () #7 0x0000000000000001 in ?? () #8 0x0000000004143650 in ?? () #9 0x0000000000000000 in ?? ()
Wine-gdb> info locals cluster = 0x804144d58 lc = 0x1004144d80 ch = 32 is_rtl = 0 params = {strikethrough = 0, underline = 0, effect = 0x4143a58} prev_params = {strikethrough = 1663093416, underline = 32619, effect = 0x0} sign_metrics = {width = 0, height = 0, baseline = 0, supportsSideways = 0} line = 0 i = 0 metrics = {length = 0, trailingWhitespaceLength = 1, newlineLength = 0, height = 0, baseline = 0, isTrimmed = 0, leadingBefore = 0, leadingAfter = 0} index = 4294967295 start = 0 pos = 0 descent = 0 trailingspacewidth = 3.40199995 append_trimming_run = 0 run = 0x4143a98 width = 0 origin_x = 1.74242213e-36 hr = 68434248 __FUNCTION__ = "layout_add_line" --- snip ---
$ wine --version wine-4.5-185-g17056908ac
Regards
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #30 from mo78@abv.bg --- Wine 4.6 - the bug is still here.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #31 from Nikolay Sivov bunglehead@gmail.com --- This one could be a duplicate of bug 45543. Needs retesting with 4.7, when it's released.
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #32 from mo78@abv.bg --- I'll test it for shure, thank you :)
https://bugs.winehq.org/show_bug.cgi?id=44340
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE Summary|SpellForce 3 crashes |SpellForce 3 crashes in | |dwrite due to invalid index | |access to cluster array
--- Comment #33 from Anastasius Focht focht@gmx.net --- Hello folks,
yes, it's a dupe of bug 45543
Runs fine here with current Wine-Git.
SpellForce 3 client version for documentation:
--- snip --- -=[ ProtectionID v0.6.9.0 DECEMBER]=- (c) 2003-2017 CDKiLLER & TippeX Build 24/12/17-21:05:42 Ready... Scanning -> C:\Program Files (x86)\SpellForce 3\SF3ClientFinal.exe File Type : 64-Bit Exe (Subsystem : Win GUI / 2), Size : 37960192 (02433A00h) Byte(s) | Machine: 0x8664 (AMD64) Compilation TimeStamp : 0x5A29790B -> Thu 07th Dec 2017 17:23:23 (GMT) [TimeStamp] 0x5A29790B -> Thu 07th Dec 2017 17:23:23 (GMT) | PE Header | - | Offset: 0x00000000:00000180 | VA: 0x00000001:40000180 | - [TimeStamp] 0x5A2978C3 -> Thu 07th Dec 2017 17:22:11 (GMT) | Export | - | Offset: 0x00000000:02281804 | VA: 0x00000001:42282A04 | - [TimeStamp] 0x5A29790B -> Thu 07th Dec 2017 17:23:23 (GMT) | DebugDirectory | - | Offset: 0x00000000:0163EA04 | VA: 0x00000001:4163FC04 | - [TimeStamp] 0x5A29790B -> Thu 07th Dec 2017 17:23:23 (GMT) | DebugDirectory | - | Offset: 0x00000000:0163EA20 | VA: 0x00000001:4163FC20 | - [LoadConfig] Struct determined as v8 (Expected size 232 | Actual size 112) [LoadConfig] CodeIntegrity -> Flags 0x746E | Catalog 0x702E (28718) | Catalog Offset 0x6264 | Reserved 0x0 [LoadConfig] GuardAddressTakenIatEntryTable 0x68D:00000AB5 | Count 0x200000000 (20) [LoadConfig] GuardLongJumpTargetTable 0x0:00000001 | Count 0x22A41B000000000 (363237600) [LoadConfig] HybridMetadataPointer 0x95D54FA3:43A29E20 | DynamicValueRelocTable 0x1F60518:01F604F0 [LoadConfig] FailFastIndirectProc 0x0:00000000 | FailFastPointer 0x0:00000000 [LoadConfig] UnknownZero1 0x1 1F60530 [File Heuristics] -> Flag #1 : 00000100000001001101000100000000 (0x0404D100) [Entrypoint Section Entropy] : 6.31 (section #0) ".text " | Size : 0x163B8AE (23312558) byte(s) [DllCharacteristics] -> Flag : (0x8160) -> HEVA | ASLR | DEP | TSA [SectionCount] 7 (0x7) | ImageSize 0x24A2000 (38412288) byte(s) [Export] 100% of function(s) (29 of 29) are in file | 0 are forwarded | 27 code | 2 data | 0 uninit data | 0 unknown | [VersionInfo] Company Name : Grimlore Games GmbH [VersionInfo] Product Name : SpellForce III [VersionInfo] Product Version : 45405 [VersionInfo] File Description : SpellForce III Game Client [VersionInfo] File Version : 0.0.0.1 [VersionInfo] Original FileName : SF3Client.exe [VersionInfo] Internal Name : SF3Client.exe [VersionInfo] Legal Copyrights : Copyright © 2017 [ModuleReport] [IAT] Modules -> WININET.dll | steam_api64.dll | RakNet_VS2013_DLL_Release_x64.dll | USER32.dll | DINPUT8.dll | PhysX3Common_x64.dll | PhysX3_x64.dll | PhysX3CharacterKinematic_x64.dll | fmodstudio64.dll | fmod64.dll | d3d11.dll | dxgi.dll | VERSION.dll | PSAPI.DLL | IPHLPAPI.DLL | KERNEL32.dll | GDI32.dll | ADVAPI32.dll | SHELL32.dll | ole32.dll | VCOMP120.DLL | WS2_32.dll | WINMM.dll | OLEAUT32.dll [ModuleReport] [DelayImport] Modules -> DWrite.dll | d2d1.dll [Debug Info] (record 1 of 2) (file offset 0x163EA00) Characteristics : 0x0 | TimeDateStamp : 0x5A29790B (Thu 07th Dec 2017 17:23:23 (GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0) Type : 2 (0x2) -> CodeView | Size : 0x23 (35) AddressOfRawData : 0x1F604B8 | PointerToRawData : 0x1F5F2B8 CvSig : 0x53445352 | SigGuid 95D54FA3-9E20-43A2-9CA573D6DD18A7D1 Age : 0x4B (75) | Pdb : Client.pdb [Debug Info] (record 2 of 2) (file offset 0x163EA1C) Characteristics : 0x0 | TimeDateStamp : 0x5A29790B (Thu 07th Dec 2017 17:23:23 (GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0) Type : 12 (0xC) -> Undocumented | Size : 0x14 (20) AddressOfRawData : 0x1F604DC | PointerToRawData : 0x1F5F2DC [!] Steam api usage detected [CdKeySerial] found "Invalid code" @ VA: 0x01642660 / Offset: 0x01641460 [CdKeySerial] found "Test Version" @ VA: 0x0168FE3A / Offset: 0x0168EC3A [CdKeySerial] found "Test Version" @ VA: 0x0168FED0 / Offset: 0x0168ECD0 [CompilerDetect] -> Visual C++ 12.0 (Visual Studio 2012) [!] File appears to have no protection or is using an unknown protection - Scan Took : 5.282 Second(s) [000001656h (5718) tick(s)] [180 of 580 scan(s) done] --- snip ---
$ wine --version wine-4.6-251-g8582615894
Regards
*** This bug has been marked as a duplicate of bug 45543 ***
https://bugs.winehq.org/show_bug.cgi?id=44340
--- Comment #34 from mo78@abv.bg --- Yes it finally works!!! That's great news!!!
https://bugs.winehq.org/show_bug.cgi?id=44340
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #35 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate.