[Bug 10949] Divide by zero crash on startup in wintab due to lack of 'real' tablet devices; affects Photoshop 6

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Dec 30 16:29:08 CST 2007


Jeremy White <jwhite at codeweavers.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |ASSIGNED
            Summary|Divide by zero crash on     |Divide by zero crash on
                   |startup in wintab; Affects  |startup in wintab due to
                   |Photoshop 6, many tablet    |lack of 'real' tablet
                   |sample programs             |devices; affects Photoshop 6

--- Comment #6 from Jeremy White <jwhite at codeweavers.com>  2007-12-30 16:29:07 ---
Thanks; that's exactly the issue I was expecting.

The issue is that you do not have a tablet, but the Wine code incorrectly
thinks that you do; it treats a mouse device as a tablet.  Further, due
to some (justifiable) code changes I made, your mouse doesn't initialize
the values for lcInExtX or lcInExtY, which leaves them as 0, which causes
a divide by 0 error.

The correct fix is to have your mouse not count as a tablet.  I've submitted a
patch to wine-patches to do just that:
but that patch has not yet been accepted.  I've sent an email to Alexandre
asking what the issues are.



(In reply to comment #5)
> Created an attachment (id=9917)
 --> (http://bugs.winehq.org/attachment.cgi?id=9917) [details]
> wintab32 ps6 log
> The wintab32 post-hack log which seems to workaround the crash issue.

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