[Bug 46485] clrmamepro: crash when loading datfiles which contain a " release" element inside "game" elements
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Jan 19 16:34:14 CST 2019
https://bugs.winehq.org/show_bug.cgi?id=46485
Nikolay Sivov <bunglehead at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Assignee|wine-bugs at winehq.org |bunglehead at gmail.com
--- Comment #1 from Nikolay Sivov <bunglehead at gmail.com> ---
Hi, Tom.
I can reproduce. The crash is in Progress Bar control code, PBM_STEPIT handler.
It happens that MinVal == MaxVal == 0 at that point, and that indeed leads to
division by 0. Your backtrace is showing wrong location for some reason, I get
this:
Backtrace:
=>0 0x00007f6e90d9bfdb ProgressWindowProc+0x52b(hwnd=0x700cc, message=0x405,
wParam=0, lParam=0)
[/ssd/data/wine/build/wine64/dlls/comctl32/../../../../wine-git/dlls/comctl32/progress.c:662]
in comctl32 (0x000000000020c5f0)
I simple workaround makes it start and open a toolbar-like window with a row of
buttons. I will write some tests for this and get proper fix.
Thank you for detailed 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.
More information about the wine-bugs
mailing list