[Bug 10949] Photoshop 6 divide by zero crash on startup in wintab with 0.9. 52

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Dec 30 09:18:51 CST 2007


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


Jeremy White <jwhite at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #2 from Jeremy White <jwhite at codeweavers.com>  2007-12-30 09:18:50 ---
I have a hunch I know what this is.  Many tablet programs seem to
pass in a a context with 0'd lcInExtX and lcInExtY.  That wintab 
specification does not make it clear, but it appears as though 
programs expect wintab.dll to override those values.  But Wine does not, 
and that leads to a divide by zero error.  You'll also see it in 
some sample tablet programs as well.

A +wintab32 log file would help.  I'll attach a patch 
(that is not correct for submission to WineHQ) which should,
if my theory is correct, get you past this crash.  A +wintab32 log
file with this patch would be great.

If my hunch is correct, then we would need to write a test program
and observe exactly how this behaves in Windows, particularly wrt
to context initialization and default values, and then model Wine's wintab32
after that behavior.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list