[Bug 21439] Borland C++ 5.02 crash

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Feb 16 11:33:25 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=21439


Mikolaj Zalewski <mikolaj.zalewski at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikolaj.zalewski at gmail.com




--- Comment #13 from Mikolaj Zalewski <mikolaj.zalewski at gmail.com>  2010-02-16 11:33:24 ---
Not long before doing the division by 0, the application receives a 0x0
rectangle from GetWindowRect. You could try to hack GetWindowRect (in
dlls/user32) to always return a non-empty rect. If this helps, this would be a
clue that this is the problem (of course, even if it helps, don't expect such a
patch to be admitted to Wine - it is incorrect and will surely break other
programs).

You could also try to generate a WINEDEBUG=+message log to see what messages
caused this code path to execute.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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