[Bug 57117] New: BsgLauncher cannot launch due to unhandled exception in System.Security.Cryptography (.NET48)
https://bugs.winehq.org/show_bug.cgi?id=57117 Bug ID: 57117 Summary: BsgLauncher cannot launch due to unhandled exception in System.Security.Cryptography (.NET48) Product: Wine Version: 9.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: madbyte(a)tuta.io Distribution: --- Created attachment 77009 --> https://bugs.winehq.org/attachment.cgi?id=77009 error log, used WINEDEBUG=+seh+debugstr Upon launch, the BsgLauncher used to play Escape from Tarkov / Escape from Tarkov: Arena, crashes early on (no window actually appears), stating an error that might be related to the following err line: System.Security.Cryptography.Utils._DecryptData(System.Security.Cryptography.SafeKeyHandle, Byte[], Int32, Int32, Byte[] ByRef, Int32, System.Security.Cryptography.PaddingMode, Boolean)\n" See attached log file for more details. - This issue has been introduced with Wine 9.15. - Earlier versions using the same dependencies won't fail with that error (working state) - Switching between different wine version (win81, win10, win11) had no effect for me BsgLauncher: https://prod.escapefromtarkov.com/launcher/download Prefix dependencies: arial times vcrun2019 dotnet48 -- 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=57117 --- Comment #1 from Lars Loe <madbyte(a)tuta.io> --- Only commit in Wine 9.15 release I could find that has something do to with cryptgen is this one: https://gitlab.winehq.org/wine/wine/-/commit/9f0edb69209eb00faac55bbf1a5f605... -- 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=57117 Lars Loe <madbyte(a)tuta.io> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://prod.escapefromtark | |ov.com/launcher/download Distribution|--- |Fedora -- 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=57117 Lars Loe <madbyte(a)tuta.io> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download -- 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=57117 --- Comment #2 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Does reverting that commit help? https://wiki.winehq.org/Regression_Testing -- 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=57117 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Regression SHA1| |9f0edb69209eb00faac55bbf1a5 | |f605750517201 Status|UNCONFIRMED |NEW Keywords| |regression --- Comment #3 from Dmitry Timoshkov <dmitry(a)baikal.ru> --- (In reply to Lars Loe from comment #1)
Only commit in Wine 9.15 release I could find that has something do to with cryptgen is this one:
https://gitlab.winehq.org/wine/wine/-/commit/ 9f0edb69209eb00faac55bbf1a5f605750517201
Can confirm that either reverting this commit or replacing if (!*pdwDataLen) { SetLastError(NTE_BAD_LEN); return FALSE; } by if (!*pdwDataLen) return TRUE; fixes the crash. -- 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=57117 --- Comment #4 from Hans Leidekker <hans(a)meelstraat.net> --- (In reply to Dmitry Timoshkov from comment #3)
(In reply to Lars Loe from comment #1)
Only commit in Wine 9.15 release I could find that has something do to with cryptgen is this one:
https://gitlab.winehq.org/wine/wine/-/commit/ 9f0edb69209eb00faac55bbf1a5f605750517201
Can confirm that either reverting this commit or replacing if (!*pdwDataLen) { SetLastError(NTE_BAD_LEN); return FALSE; } by if (!*pdwDataLen) return TRUE; fixes the crash.
I have submitted an MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/6368 -- 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=57117 Lars Loe <madbyte(a)tuta.io> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |rsaenh -- 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=57117 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |c2591522edaa4cfea14821c74c5 | |d8f4535d5296e Status|NEW |RESOLVED --- Comment #5 from Hans Leidekker <hans(a)meelstraat.net> --- Should be fixed by c2591522edaa4cfea14821c74c5d8f4535d5296e. -- 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=57117 --- Comment #6 from Lars Loe <madbyte(a)tuta.io> --- Thanks for testing Dimitry & thanks Hans for the quick fix. -- 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=57117 --- Comment #7 from Hans Leidekker <hans(a)meelstraat.net> --- (In reply to Lars Loe from comment #6)
Thanks for testing Dimitry & thanks Hans for the quick fix.
Thank you for the bug report. -- 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=57117 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #8 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.17. -- 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 (1)
-
WineHQ Bugzilla