[Bug 45871] New: Several apps in .NET472 crash with unhandled exception.\nException at System.Windows.Media.Composition.DUCE+Channel.SyncFlush ()\n at System.Windows.Media.MediaContext.Complet"...( native d3dcompiler works around it)
https://bugs.winehq.org/show_bug.cgi?id=45871 Bug ID: 45871 Summary: Several apps in .NET472 crash with unhandled exception.\nException at System.Windows.Media.Composition.DUCE+Channel.SyncFlus h()\n at System.Windows.Media.MediaContext.Complet"...(native d3dcompiler works around it) Product: Wine Version: 3.16 Hardware: x86 OS: Linux Status: NEW Keywords: dotnet, download Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs(a)winehq.org Reporter: xerox.xerox2000x(a)gmail.com Distribution: --- Created attachment 62374 --> https://bugs.winehq.org/attachment.cgi?id=62374 part of crashlog Hi Seen this for a bunch of programs while trying to run them with installed dotnet472. The bug seems to be hidden for several apps as they ship their owm d3dcompiler_47, but some don`t I found out, and they crash Something like: 01c2:fixme:d3dcompiler:make_assignment Check for casts in the lhs. 01c2:err:d3dcompiler:compile_shader HLSL shader parsing failed. 01c2:err:ntdll:vDbgPrintExWithPrefix 65: MIL FAILURE: Unexpected HRESULT 0x88760b59 in caller: intermediate rendering error 01c2:err:ntdll:vDbgPrintExWithPrefix 65: MIL FAILURE: Unexpected HRESULT 0x88760b59 in caller: The render thread failed unexpectedly. Then crash Example: Slackinstaller.exe: winetricks dotnet452 win7 corefonts, then start installer with builtin d3dcomiler_47 works fine. However winetricks dotnet472 win7 corefonts, then start installer with builtin d3dcomiler_47 --> crash (Note: for Slackinstller one also needs Staging-patches for bug 40613) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://slack.com/ssb/downl | |oad-win --- Comment #1 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- sha1sum ~/Downloads/SlackSetup.exe 2ccec50a2f9cc8ff5aa758cd82c43ac911f94d3b /home/louis/Downloads/SlackSetup.exe But also present in PhaseOne CaptureOne, Windower beta portable -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 --- Comment #2 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Created attachment 62375 --> https://bugs.winehq.org/attachment.cgi?id=62375 +d3dcompiler log added +d3dcompiler log -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 --- Comment #3 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Easier to reproduce, no workarounds needed, just set d3dcompiler_47 to builtin: https://www.puffinbrowser.com/windows/ -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 zzzzzyzz(a)hacari.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz(a)hacari.org -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Several apps in .NET472 |Several .NET 4.7.2 |crash with unhandled |applications crash with |exception.\nException at |HLSL shader parsing failure |System.Windows.Media.Compos | |ition.DUCE+Channel.SyncFlus | |h()\n at | |System.Windows.Media.MediaC | |ontext.Complet"...(native | |d3dcompiler works around | |it) | Component|directx-d3d |directx-d3dx9 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net Summary|Several .NET 4.7.2 |Several .NET 4.7 WPF |applications crash with |applications crash with |HLSL shader parsing failure |HLSL shader parsing failure | |when using builtin | |'d3dcompiler_47.dll' URL|https://slack.com/ssb/downl |https://web.archive.org/web |oad-win |/20180207155940/https://dow | |nloads.slack-edge.com/relea | |ses/SlackSetup.exe --- Comment #4 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, confirming and adding one more .NET 4.7 WPF app 'Gaea 1.0.19' from bug 47282 https://web.archive.org/web/20190523115754/http://viridian.quadspinner.com/g... --- snip --- $ pwd /home/focht/.wine/drive_c/users/focht/Local Settings/Application Data/QuadSpinner/Gaea $ wine ./Gaea.exe ... 003b:fixme:d3dcompiler:make_assignment Check for casts in the lhs. 003b:err:d3dcompiler:compile_shader HLSL shader parsing failed. ... 003b:err:ntdll:vDbgPrintExWithPrefix 65: MIL FAILURE: Unexpected HRESULT 0x88760b59 in caller: intermediate rendering error ... 003b:err:ntdll:vDbgPrintExWithPrefix 65: MIL FAILURE: Unexpected HRESULT 0x88760b59 in caller: The render thread failed unexpectedly. --- snip --- 'winetricks -q d3dcompiler_47' works around. Tidbit, although not directly related to the HLSL shader compiler insufficiency: https://blogs.msdn.microsoft.com/dsui_team/2013/11/18/wpf-render-thread-fail... ("WPF Render Thread Failures") This also works around: https://docs.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/gr... --- snip --- $ wine reg add "HKCU\\SOFTWARE\\Microsoft\\Avalon.Graphics" /v DisableHWAcceleration /t REG_DWORD /d 1 /f --- snip --- You will have worse performance as the name indicates (if it matters), hence it should be only used for debugging and testing purpose. $ sha1sum Gaea-1.0.19.exe 29ddfa3e404148babbae479153e438097077fb13 Gaea-1.0.19.exe $ du -sh Gaea-1.0.19.exe 41M Gaea-1.0.19.exe $ wine --version wine-4.9-134-gd535df42f6 Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pavel.sklenak(a)gmail.com --- Comment #5 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- *** Bug 47314 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 pattietreutel <katyaberezyaka(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 --- Comment #6 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, revisiting and adding another app: Cairo Shell v0.3.x (.NET 4.7 WPF app) Project site: https://cairoshell.com/ https://github.com/cairoshell/cairoshell/releases/tag/v0.3.6842 Prerequisite: * bug 48611 ("Cairo Shell v0.3.x (.NET 4.7 app) crashes due to missing 'HKCU\\Software\\Microsoft\\Windows NT\\CurrentVersion\\WinLogon\\Shell' registry sub-key") * bug 31890 ("Multiple applications need IAudioEndpointVolume::GetMasterVolumeLevelScalar method implementation (Cisco IP Communicator, Cairo Shell v0.3.x)") Work around with: 'winetricks -q d3dcompiler_47' or --- snip --- $ wine reg add "HKCU\\SOFTWARE\\Microsoft\\Avalon.Graphics" /v DisableHWAcceleration /t REG_DWORD /d 1 /f --- snip --- Pimp Wine with a shiny Windows Desktop ;-) $ sha1sum CairoSetup_32bit.exe ba4098fce86a2d63a9107c0c18b2f68eb9417039 CairoSetup_32bit.exe $ du -sh CairoSetup_32bit.exe 2.2M CairoSetup_32bit.exe $ wine --version wine-5.1-391-g7332de64a5 Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 maniikarabera(a)protonmail.ch changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maniikarabera(a)protonmail.ch -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 mirh <mirh(a)protonmail.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mirh(a)protonmail.ch --- Comment #7 from mirh <mirh(a)protonmail.ch> --- This also affects ME3 Explorer (which is .NET 4.8) https://github.com/ME3Tweaks/ME3Explorer/releases/tag/4.1.1.314 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 Kat <katisntgood(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katisntgood(a)gmail.com --- Comment #8 from Kat <katisntgood(a)gmail.com> --- The Construction Set Extender script editor for TES 4 Oblivion (which uses AvalonEdit) also seems to be affected, though it is a .NET 4.5.2 app (I think?, there doesn't seem to be a version requirement). It crashes with this error 0160:err:ntdll:vDbgPrintExWithPrefix 65: MIL FAILURE: Unexpected HRESULT 0x88760b59 in caller: intermediate rendering error 0160:err:ntdll:vDbgPrintExWithPrefix 65: MIL FAILURE: Unexpected HRESULT 0x88760b59 in caller: The render thread failed unexpectedly. which seems consistent with this bug The workaround that Anastasius Focht introduced seems to work https://www.nexusmods.com/oblivion/mods/36370/? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |skokkineas(a)protonmail.com --- Comment #9 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- *** Bug 51013 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 Jinoh Kang <jinoh.kang.kr(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jinoh.kang.kr(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus(a)protonmail.ch --- Comment #10 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- *** Bug 52299 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 Esme Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd(a)gmail.com --- Comment #11 from Esme Povirk <madewokherd(a)gmail.com> --- This bug is interesting to me because we're currently working around the wpf->d3dcompiler dependency in Wine Mono, and once it works, we can remove those work-arounds. I suspect they may be subtly breaking things. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hsehnt(a)q.com --- Comment #12 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- *** Bug 53933 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|3.16 |1.9 Product|Wine |vkd3d Component|d3d-util |hlsl -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 --- Comment #13 from Nikolay Sivov <bunglehead(a)gmail.com> --- Created attachment 75342 --> https://bugs.winehq.org/attachment.cgi?id=75342 shader I tried with .NET 4.8 with ME3 Explorer. Current failure is about unsupported effect syntax: --- 0164:trace:d3dcompiler:D3DCompile data 00007F2AF96D4BB0, data_size 2436, filename (null), defines 0000000000000000, include 0000000000000000, entrypoint "VertexShaderImpl", target "vs_3_0", sflags 0, eflags 0, shader 00007F2AF0DCE2A8, error_messages 00007F2AF0DCE2B0. 0164:trace:d3dcompiler:D3DCompile2 data 00007F2AF96D4BB0, data_size 2436, filename (null), macros 0000000000000000, include 0000000000000000, entry_point "VertexShaderImpl", profile "vs_3_0", flags 0, effect_flags 0, secondary_flags 0, secondary_data 0000000000000000, secondary_data_size 0, shader_blob 00007F2AF0DCE2A8, messages_blob 00007F2AF0DCE2B0. 0164:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0164:err:d3dcompiler:D3DCompile2 Shader log: 0164:err:d3dcompiler:D3DCompile2 <anonymous>:142:1: E5000: syntax error, unexpected KW_TECHNIQUE 0164:err:d3dcompiler:D3DCompile2 --- Interesting part is that it should be enough for this particular compilation to ignore technique block. Attached the source as well. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 soredake <broaden_acid002(a)simplelogin.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|broaden_acid002(a)simplelogin | |.com | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 temp82(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82(a)luukku.com --- Comment #14 from temp82(a)luukku.com --- (In reply to Nikolay Sivov from comment #13)
Created attachment 75342 [details]
0164:err:d3dcompiler:D3DCompile2 <anonymous>:142:1: E5000: syntax error, unexpected KW_TECHNIQUE 0164:err:d3dcompiler:D3DCompile2 ---
Interesting part is that it should be enough for this particular compilation to ignore technique block.
you mean a dupe of bug 54580? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 --- Comment #15 from Nikolay Sivov <bunglehead(a)gmail.com> --- It doesn't matter, it's better to test this separately. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #16 from Nikolay Sivov <bunglehead(a)gmail.com> --- This example now compiles, after https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/943. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #17 from Nikolay Sivov <bunglehead(a)gmail.com> --- Closing bugs fixed in 1.14. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla