https://bugs.winehq.org/show_bug.cgi?id=54174
Bug ID: 54174 Summary: Instant Servo crash after opening (FromUtf8Error) Product: Wine Version: 7.22 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mikrutrafal@protonmail.com Distribution: ---
Created attachment 73695 --> https://bugs.winehq.org/attachment.cgi?id=73695 Log Servo
Steps to reproduce: Download and extract - https://download.servo.org/nightly/windows-msvc/servo-latest.zip Run - servo.exe
Short logs(full in attachement) ``` 0258:fixme:d3d11:d3d11_device_CheckFeatureSupport Returning fake Options support data. 0258:fixme:d3d11:d3d11_device_CheckFormatSupport iface 000000000026AB70, format 115, format_support 0000000002EE581C partial-stub! 0258:fixme:d3d9:D3DPERF_GetStatus (void) : stub
027c:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 027c:err:d3dcompiler:D3DCompile2 Shader log: 027c:err:d3dcompiler:D3DCompile2 C:\fakepath:3:35: E5000: syntax error, unexpected '(', expecting ';' or ',' 027c:err:d3dcompiler:D3DCompile2 0274:fixme:d3d9:D3DPERF_GetStatus (void) : stub 0278:fixme:d3dcompiler:D3DCompile2 Ignoring flags 0xc002. WARN: compileToBinary(259): C:\fakepath:119:35: E5000: syntax error, unexpected '(', expecting ';' or ','
called `Result::unwrap()` on an `Err` value: FromUtf8Error { bytes: [67, 58, 92, 102, 97, 107, 101, 112, 97, 116, 104, 58, 49, 49, 57, 58, 51, 53, 58, 32, 69, 53, 48, 48, 48, 58, 32, 115, 121, 110, 116, 97, 120, 32, 101, 114, 114, 111, 114, 44, 32, 117, 110, 101, 120, 112, 101, 99, 116, ........ 114, 115, 10], error: Utf8Error { valid_up_to: 743, error_len: Some(1) } } (thread main, at C:\Users\runneradmin.cargo\registry\src\github.com-1ecc6299db9ec823\gleam-0.12.1\src\gles_fns.rs:1662)
```
https://bugs.winehq.org/show_bug.cgi?id=54174
--- Comment #1 from Rafał Mużyło galtgendo@o2.pl --- Does using the relevant version of native d3dcompiler work around the crash ?
https://bugs.winehq.org/show_bug.cgi?id=54174
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://download.servo.org/ | |nightly/windows-msvc/servo- | |latest.zip Component|-unknown |hlsl Product|Wine |vkd3d Keywords| |download Version|7.22 |1.6
https://bugs.winehq.org/show_bug.cgi?id=54174
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- With current wine and servo I get immediate failure like this:
Assertion failed: getClientVersion() < ES_3_0 || formatMaxSamples >= 4, file gfx/angle/checkout/src/libANGLE/Context.cpp, line 3347
Rafal, could you please retest? Maybe that's just my system.
https://bugs.winehq.org/show_bug.cgi?id=54174
--- Comment #3 from Rafał Mikrut mikrutrafal@protonmail.com --- On my OS servo still not works, but without any assertion or visible crash
I see only this message, which can be related ``` Unable to initialize webrender!: Shader(Link("gpu_cache_update", "C:\fakepath:119:35: E5000: syntax error, unexpected '(', expecting ';' or ','\n\nWarning: D3D shader compilation failed wit h default flags. (vs_5_0)\n Retrying with skip validation\nC:\fakepath:119:35: E5000: syntax error, unexpected '(', expecting ';' or ','\n\nWarning: D3D shader compilation failed with skip validation flags. (vs_5_0)\n Retrying with skip optimization\nC:\fakepath:119:35: E5000: syntax error, unexpected '(', expecting ';' or ','\n\nWarning: D3D shader compilation failed with sk ip optimization flags. (vs_5_0)\n\nC:\fakepath:3:35: E5000: syntax error, unexpected '(', expecting ';' or ','\n\nWarning: D3D shader compilation failed with default flags. (gs_5_0)\n Retry ing with skip validation\nC:\fakepath:3:35: E5000: syntax error, unexpected '(', expecting ';' or ','\n\nWarning: D3D shader compilation failed with skip validation flags. (gs_5_0)\n Retryi ng with skip optimization\nC:\fakepath:3:35: E5000: syntax error, unexpected '(', expecting ';' or ','\n\nWarning: D3D shader compilation failed with skip optimization flags. (gs_5_0)\n\nFa iled to create D3D Shaders\n")) (thread main, at C:\a\servo\servo\components\servo\lib.rs:409) ```
https://bugs.winehq.org/show_bug.cgi?id=54174
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Ok. Could you attach +d3dcompiler log, together with shader dumps produced with VKD3D_SHADER_DUMP_PATH? Set this variable to some valid path, and shader sources should be dumped there.
https://bugs.winehq.org/show_bug.cgi?id=54174
--- Comment #5 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 76431 --> https://bugs.winehq.org/attachment.cgi?id=76431 shader dump + log
I can confirm the crash and am attaching a shader dump and logs.
https://bugs.winehq.org/show_bug.cgi?id=54174
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Instant Servo crash after |Instant Servo crashes on |opening (FromUtf8Error) |start due to HLSL | |compilation failure Ever confirmed|0 |1 URL|https://download.servo.org/ |https://web.archive.org/web |nightly/windows-msvc/servo- |/20221230033755if_/https:// |latest.zip |download.servo.org/nightly/ | |windows-msvc/servo-latest.z | |ip
--- Comment #6 from Gijs Vermeulen gijsvrm@gmail.com --- Confirming and adding stable download.
$ sha1sum servo-latest.zip 24eed198cfc91a5488dc6214ed99ae4ba20f2008 servo-latest.zip
$ du -sh servo-latest.zip 35M servo-latest.zip
https://bugs.winehq.org/show_bug.cgi?id=54174
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Seems to be about geometry shader entry point specific syntax.