[Bug 45194] Painkiller game crashes at start

WineHQ Bugzilla wine-bugs at winehq.org
Fri Feb 26 03:43:35 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=45194

du.wine at guu.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |du.wine at guu.fi

--- Comment #25 from du.wine at guu.fi ---
It's not a divide by zero.  Take a look at the stack dump, the divisor at esp+4
is not zero.

The problem here is overflow, which also triggers the same divide exception
that you get when when you divide by zero, i.e. you get SIGFPE and crash.

This happens when your uptime is too high: rdtsc returns a 64-bit result but
result of division must fit in a 32-bit register.  That's why I said a reboot
will fix it.

https://c9x.me/x86/html/file_module_x86_id_72.html

-- 
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