Bug 402035

Summary: Krita crashes when Wacom Cintiq 13HD digitizer is hovered over image area
Product: [Applications] krita Reporter: adam
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: adam, halla
Priority: NOR    
Version First Reported In: 4.1.6   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description adam 2018-12-12 04:10:08 UTC
SUMMARY
Krita crashes when Wacom Cintiq 13HD digitizer is hovered over image area

STEPS TO REPRODUCE
1. Launch Krita
2. Create new image or open existing one
3. Using digitizer move the cursor over the Krita image area

OBSERVED RESULT
Invalid profile :  "/usr/share/color/icc/colord/Crayons.icc" "Crayon Colors"
Invalid profile :  "/usr/share/color/icc/colord/x11-colors.icc" "X11 Colors"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'sip'
/usr/lib/krita-python-libs/krita added to PYTHONPATH
file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/preset-switcher
file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/lightness-decrease
file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/opacity-decrease
file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/opacity-increase
file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/lightness-increase
file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/zoom-in
file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotate-canvas-left
file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotation-reset
file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotate-canvas-right
file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/zoom-out
file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/brushsize-decrease
file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/brushsize-increase
file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/edit-clear
krita.tabletlog: vvvvvvvvvvvvvvvvvvvvvvv START TABLET EVENT LOG vvvvvvvvvvvvvvvvvvvvvvv
krita.tabletlog: "[       ] TabletEnterProximity"
krita.tabletlog: Start blocking mouse events
krita.tabletlog: "[       ] TabletEnterProximity"
krita.tabletlog: "[       ] TabletEnterProximity"
krita.tabletlog: "[       ] TabletLeaveProximity"
krita.tabletlog: Stop blocking mouse events
krita.tabletlog: "[       ] TabletLeaveProximity"
krita.tabletlog: "[       ] TabletLeaveProximity"
krita.tabletlog: "[       ] TabletLeaveProximity"
krita.tabletlog: "[       ] TabletEnterProximity"
krita.tabletlog: Start blocking mouse events
krita.tabletlog: "[       ] TabletEnterProximity"
krita.tabletlog: "[       ] TabletEnterProximity"
krita.tabletlog: "[       ] TabletEnterProximity"
krita.lib.flake: "InteractionTool" : action "object_order_raise" conflicts with canvas action "rotate_canvas_right" shortcut: "Ctrl+]"
krita.lib.flake: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+["
krita.lib.flake: "InteractionTool" : action "object_order_raise" conflicts with canvas action "rotate_canvas_right" shortcut: "Ctrl+]"
krita.lib.flake: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+["
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
krita.tabletlog: "[       ] TabletMove       btn: 0 btns: 0 pos: 1190, 615 gpos: 1267,1435 hires:  1267.06, 1434.86 prs: 0.000000 Stylus Pen id: 3316595557806 xTilt: -14 yTilt: 8 rot: 0 z: 0 tp: 0 "
krita.tabletlog: "[       ] TabletMove       btn: 0 btns: 0 pos: 1190, 614 gpos: 1267,1434 hires:  1266.63, 1433.78 prs: 0.000000 Stylus Pen id: 3316595557806 xTilt: -14 yTilt: 8 rot: 0 z: 0 tp: 0 "
krita.tabletlog: "[       ] TabletMove       btn: 0 btns: 0 pos: 1189, 613 gpos: 1266,1433 hires:  1266.14, 1432.64 prs: 0.000000 Stylus Pen id: 3316595557806 xTilt: -14 yTilt: 8 rot: 0 z: 0 tp: 0 "
double free or corruption (out)
Aborted (core dumped)


EXPECTED RESULT
Not to crash

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 4.19.8-arch1-1-ARCH
KDE Plasma Version: 5.14.4-1
KDE Frameworks Version: 5.53.0-1
Qt Version: 5.12.0-1

ADDITIONAL INFORMATION
This is on a new install of Arch Linux, all packages up to date. First experienced the issue in 4.1.5, persists in 4.1.6.
I verified Qt can access the tablet with QTabletTest on GitHub.
Issue doesn't manifest in the brush area or over the menus, only over the image area.
Tested in KDE and Cinnamon, I do not have Deepin installed on my system.
Core dump can be found here: https://pastebin.com/WVm00WmE

Much appreciated!
Comment 1 Halla Rempt 2018-12-12 08:54:42 UTC
This not a bug in Krita. It's a bug in Qt 5.12. See https://forum.kde.org/viewtopic.php?f=139&t=156279&p=408322#p408322 

You're the fourth Arch user to report this...
Comment 2 adam 2018-12-12 14:54:40 UTC
Seems Krita team has found a work around for the bug in Qt then, this morning I updated Krita to to 4.1.7-1 and the problem is resolved.
I swear I did search the bug reports, very sorry for duplicating.
Thank you kindly!
Comment 3 Halla Rempt 2018-12-12 16:37:46 UTC
The bug reports were already closed :-)