Bug 354979 - [WALTOP] Crash in the selection of screen resolution under multiple display to use Tablet
Summary: [WALTOP] Crash in the selection of screen resolution under multiple display t...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tablets (tablet issues are only very rarely bugs in Krita!) (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-07 10:20 UTC by Dai Miura
Modified: 2016-06-03 12:48 UTC (History)
1 user (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 Dai Miura 2015-11-07 10:20:15 UTC
And when used in a multiple monitor Waltop tablet under Windows environment, when you select a drawing area from the window to select the resolution of the screen, select any of the selections offered also Krita crashes.

Reproducible: Always

Steps to Reproduce:
1.Open Krita.
2.It manipulates the Krita tablet which you are connected.
3.Since the selection window on the screen resolution comes out, it will be operated as directed. (Also problems with any choice)

Actual Results:  
Crash Krita.

Expected Results:  
Like the old version, successfully carried out that the setting of the screen resolution.

In Krita 2.9.6 and it had been able to use without problems. Crash has occurred from 2.9.8/2.9.9.

OS : Windows 7 Ultimate (64Bit)
Tablet : Waltop Vega Tablet(JP product name: Princeton Sirius Tablet)

問題の署名:
  問題イベント名:	APPCRASH
  アプリケーション名:	krita.exe
  アプリケーションのバージョン:	0.0.0.0
  アプリケーションのタイムスタンプ:	56390df6
  障害モジュールの名前:	ntdll.dll
  障害モジュールのバージョン:	6.1.7601.18869
  障害モジュールのタイムスタンプ:	556366f2
  例外コード:	c0000005
  例外オフセット:	0000000000032588
  OS バージョン:	6.1.7601.2.1.0.256.1
  ロケール ID:	1041
  追加情報 1:	12e5
  追加情報 2:	12e57b40f22764dff0bb0f5b182079bd
  追加情報 3:	9b0f
  追加情報 4:	9b0f7fddb329a8053b79b60128f495d7
Comment 1 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 359298, bug 362868, bug 363684, bug 363873, bug 351059, bug 362948

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

http://commits.kde.org/krita/942cb4b614246ad08485eaa2264154de2d07ce17
Comment 2 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 359298, bug 362868, bug 363684, bug 363873, bug 351059, bug 362948

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

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