[Bug 46024] New: Qt applications crash after call to WTOpen without tablet hardware attached

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Oct 20 04:18:11 CDT 2018


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

            Bug ID: 46024
           Summary: Qt applications crash after call to WTOpen without
                    tablet hardware attached
           Product: Wine
           Version: 3.13
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wintab32
          Assignee: wine-bugs at winehq.org
          Reporter: bernhardu at mailbox.org
      Distribution: ---

Was observed first in debian bug [1] with wine-3.13.

In my opinion WTInfo returns some uninitialized stack memory in LOGCONTEXTW.
Qt does not look at the return value at all and calls then WTOpen,
which puts some window messages near lcMsgBase into the message queue.

Most of the time this works as a random window message is just ignored.
But under some circumstances an existing wine internal window message is hit,
but that message needs parameters which are not given, therefore it is
crashing.

This happens when there is no device attached that is usable via wintab32.dll.

RFC patches and discussion in [1],[2].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905090
[2] https://www.winehq.org/pipermail/wine-devel/2018-September/132083.html
[3] https://www.winehq.org/pipermail/wine-devel/2018-October/133775.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