[Bug 38353] New: DIRT3 crashes after showing racing results screen
https://bugs.winehq.org/show_bug.cgi?id=38353 Bug ID: 38353 Summary: DIRT3 crashes after showing racing results screen Product: Wine Version: 1.7.40 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: yurishish(a)gmail.com Distribution: --- Created attachment 51197 --> https://bugs.winehq.org/attachment.cgi?id=51197 Backtarce Game crashes after showing race results screen (which shows players names, ranks and race finishing times). I'm using russian version of the game. Backtrace is provided in the attachment. -- 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=38353 Yuri Shishenko <yurishish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yurishish(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=38353 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian(a)fds-team.de --- Comment #1 from Sebastian Lackner <sebastian(a)fds-team.de> --- Based on the stacktrace it looks like the lpKeyState argument of ToUnicodeEx() should be optional and accept a NULL pointer. It will probably fallback to the current keystate then. Will do some 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=38353 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|DIRT3 crashes after showing |DIRT3 crashes after showing |racing results screen |racing results screen | |(ToUnicodeEx should accept | |NULL pointer as keystate) --- Comment #2 from Sebastian Lackner <sebastian(a)fds-team.de> --- According to the information on the internet the keystate should be ignored when a NULL pointer is passed. Could you please test the following patch? https://github.com/wine-compholio/wine-staging/blob/master/patches/winex11-T... -- 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=38353 --- Comment #3 from Nikolay Sivov <bunglehead(a)gmail.com> --- (In reply to Sebastian Lackner from comment #2)
According to the information on the internet the keystate should be ignored when a NULL pointer is passed.
Could you please test the following patch? https://github.com/wine-compholio/wine-staging/blob/master/patches/winex11- ToUnicodeEx/0001-winex11-Allow-NULL-pointer-as-keystate-in-X11DRV_ToU.patch
That's questionable - ToUnicode() keystate argument is indeed annotated as optional in PSDK, while ToUnicodeEx() is not. Wine always forwards to ToUnicodeEx(). So yes, only tests will tell the truth. -- 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=38353 --- Comment #4 from Yuri Shishenko <yurishish(a)gmail.com> --- (In reply to Sebastian Lackner from comment #2)
According to the information on the internet the keystate should be ignored when a NULL pointer is passed.
Could you please test the following patch? https://github.com/wine-compholio/wine-staging/blob/master/patches/winex11- ToUnicodeEx/0001-winex11-Allow-NULL-pointer-as-keystate-in-X11DRV_ToU.patch
This patch fixes the problem. Results screen can be passed and game continues to work. -- 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=38353 --- Comment #5 from Sebastian Lackner <sebastian(a)fds-team.de> --- A similar patch was added in http://source.winehq.org/git/wine.git/commit/1059ee3cba030988091b54254a13d58..., please retest. -- 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=38353 --- Comment #6 from Yuri Shishenko <yurishish(a)gmail.com> --- (In reply to Sebastian Lackner from comment #5)
A similar patch was added in http://source.winehq.org/git/wine.git/commit/ 1059ee3cba030988091b54254a13d5899621e3c5, please retest.
No crashes. So, is this bug fixed in wine-git? -- 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=38353 --- Comment #7 from Sebastian Lackner <sebastian(a)fds-team.de> --- (In reply to Yuri Shishenko from comment #6)
(In reply to Sebastian Lackner from comment #5)
A similar patch was added in http://source.winehq.org/git/wine.git/commit/ 1059ee3cba030988091b54254a13d5899621e3c5, please retest.
No crashes. So, is this bug fixed in wine-git?
Yes, feel free to mark this bug as fixed then. -- 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=38353 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |1059ee3cba030988091b54254a1 | |3d5899621e3c5 Status|UNCONFIRMED |RESOLVED Component|-unknown |user32 Resolution|--- |FIXED --- Comment #8 from Nikolay Sivov <bunglehead(a)gmail.com> --- Fixed with 1059ee3cba030988091b54254a13d5899621e3c5. -- 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=38353 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.41. -- 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)
-
wine-bugs@winehq.org