Bug 359298 - crash while use Genius MX-712 tablet (click, move pen, while focus on Krita window)
Summary: crash while use Genius MX-712 tablet (click, move pen, while focus on Krita w...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tablets (tablet issues are only very rarely bugs in Krita!) (show other bugs)
Version: 2.9.11
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL: http://imgur.com/a/aTVuE
Keywords:
: 363791 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-02-12 08:00 UTC by Snuux
Modified: 2016-06-03 12:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Snuux 2016-02-12 08:00:27 UTC
http://imgur.com/a/aTVuE - Debugging info

While doing action move/click/etc with stylus of Genius mx-712 tablet, Krita instantly crashes. If use mouse - Krita work fine.

In Corel Painter and Photoshop all works fine...

P.S. Same result on stable version 2.9

Reproducible: Always

Steps to Reproduce:
1. Open Krita
2. Move or Click on window (No matter, create (open) already file or no)

Actual Results:  
Krita crashes

Expected Results:  
Do actions, that I want

Use this tablet driver: 
Link on page: http://www.geniusnet.com/Genius/wSite/ct?xItem=16837&ctNode=174
Link on download file: http://download.geniusnet.com/2013/Tablet/20121102_Driver%20V5.01.rar
Link on screenshot: http://take.ms/Wlp5G

Windows version: Windows 10 x64.

Ready to provide additional information.
Comment 1 Halla Rempt 2016-02-12 16:39:23 UTC
Hi,

Thank you for your report. We're already tracking the issue here: https://bugs.kde.org/show_bug.cgi?id=351059. Some users report that the 3.0 alpha is working for them, could you check?

*** This bug has been marked as a duplicate of bug 351059 ***
Comment 2 Halla Rempt 2016-06-01 12:46:15 UTC
*** Bug 363791 has been marked as a duplicate of this bug. ***
Comment 3 Dmitry Kazakov 2016-06-03 12:47:07 UTC
Git commit 942cb4b614246ad08485eaa2264154de2d07ce17 by Dmitry Kazakov.
Committed on 03/06/2016 at 12:46.
Pushed by dkazakov into branch 'master'.

Add a workaround for weird tablets

Instead of the returning the size of the needed buffer these
"nice" tablet drivers start writing its name straight into
the buffer pointed by a null pointer.

See a comment in the code for more details
Related: bug 362868, bug 363684, bug 363873, bug 351059, bug 354979, bug 362948

M  +35   -2    libs/ui/input/wintab/kis_tablet_support_win.cpp

http://commits.kde.org/krita/942cb4b614246ad08485eaa2264154de2d07ce17
Comment 4 Dmitry Kazakov 2016-06-03 12:48:16 UTC
Git commit 22c3c0d5d49ef164e4def4d545faee7f37797a5f by Dmitry Kazakov.
Committed on 03/06/2016 at 12:48.
Pushed by dkazakov into branch 'krita/3.0'.

Add a workaround for weird tablets

Instead of the returning the size of the needed buffer these
"nice" tablet drivers start writing its name straight into
the buffer pointed by a null pointer.

See a comment in the code for more details
Related: bug 362868, bug 363684, bug 363873, bug 351059, bug 354979, bug 362948

M  +35   -2    libs/ui/input/wintab/kis_tablet_support_win.cpp

http://commits.kde.org/krita/22c3c0d5d49ef164e4def4d545faee7f37797a5f