https://bugs.kde.org/show_bug.cgi?id=404809

            Bug ID: 404809
           Summary: Krita crashes when the tablet pen comes within range
                    of the tablet.
           Product: krita
           Version: 4.1.7
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: tablet support
          Assignee: krita-bugs-n...@kde.org
          Reporter: e.gwen.bucha...@gmail.com
  Target Milestone: ---

SUMMARY
When a new or existing file is opened in Krita, and the pen for my Wacom tablet
is brought within range of the tablet, Krita crashes. This only happens when
there is a file open--the tablet pen can be used as a mouse to open a file, and
Krita only crashes once the file is opened. It is possible to use Krita with a
mouse without it crashing.

STEPS TO REPRODUCE
1. Open Krita.
2. Open an existing file, or create a new file.
3. Bring the pen close to the tablet. 

OBSERVED RESULT
Krita crashes immediately.

EXPECTED RESULT
The pen would be able to be used normally as a drawing implement or as a mouse.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Solus Linux version 3.9999 with Gnome 3.28.2
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Here's the log I get if I run Krita from the terminal. I opened the program,
used my pen and tablet to create a new 1000x1000 file, and since I was holding
the pen within range of the tablet, it crashed as soon as the file opened.

gwendolyn@gwendolyn ~ $ krita
Set style "breeze"
Icon theme "breeze" not found.
Icon theme "gnome" not found.
Invalid profile :  "/usr/share/color/icc/colord/Crayons.icc" "Crayon Colors"
Invalid profile :  "/usr/share/color/icc/colord/x11-colors.icc" "X11 Colors"
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'sip'
krita.scripting: "Traceback (most recent call last):"
krita.scripting: "  File \"/usr/lib/krita-python-libs/krita/__init__.py\", line
7, in <module>"
krita.scripting: "    from .api import *"
krita.scripting: "  File \"/usr/lib/krita-python-libs/krita/api.py\", line 28,
in <module>"
krita.scripting: "    from PyKrita.krita import *"
krita.scripting: "ModuleNotFoundError: No module named 'sip'"
krita.scripting: "Could not import krita"
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with
style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with
style QVariant(QString, "Bold")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with
style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with
style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with
style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with
style QVariant(QString, "Light")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with
style QVariant(QString, "Regular")
>>> true QUrl("file:///home/gwendolyn/Desktop/art/bloodhound.kra") 
>>> "file:///home/gwendolyn/Desktop/art/bloodhound.kra" 
>>> "/home/gwendolyn/Desktop/art/bloodhound.kra"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/cave.kra") 
>>> "file:///home/gwendolyn/Desktop/art/cave.kra" 
>>> "/home/gwendolyn/Desktop/art/cave.kra"
>>> true QUrl("file:///home/gwendolyn/Downloads/download20190104061708.png") 
>>> "file:///home/gwendolyn/Downloads/download20190104061708.png" 
>>> "/home/gwendolyn/Downloads/download20190104061708.png"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/quick_landscape.kra") 
>>> "file:///home/gwendolyn/Desktop/art/quick_landscape.kra" 
>>> "/home/gwendolyn/Desktop/art/quick_landscape.kra"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/mercy.kra") 
>>> "file:///home/gwendolyn/Desktop/art/mercy.kra" 
>>> "/home/gwendolyn/Desktop/art/mercy.kra"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/bloodhound.kra") 
>>> "file:///home/gwendolyn/Desktop/art/bloodhound.kra" 
>>> "/home/gwendolyn/Desktop/art/bloodhound.kra"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/cave.kra") 
>>> "file:///home/gwendolyn/Desktop/art/cave.kra" 
>>> "/home/gwendolyn/Desktop/art/cave.kra"
>>> true QUrl("file:///home/gwendolyn/Downloads/download20190104061708.png") 
>>> "file:///home/gwendolyn/Downloads/download20190104061708.png" 
>>> "/home/gwendolyn/Downloads/download20190104061708.png"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/quick_landscape.kra") 
>>> "file:///home/gwendolyn/Desktop/art/quick_landscape.kra" 
>>> "/home/gwendolyn/Desktop/art/quick_landscape.kra"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/mercy.kra") 
>>> "file:///home/gwendolyn/Desktop/art/mercy.kra" 
>>> "/home/gwendolyn/Desktop/art/mercy.kra"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/mountain_stamp.kra") 
>>> "file:///home/gwendolyn/Desktop/art/mountain_stamp.kra" 
>>> "/home/gwendolyn/Desktop/art/mountain_stamp.kra"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/mercy.kra") 
>>> "file:///home/gwendolyn/Desktop/art/mercy.kra" 
>>> "/home/gwendolyn/Desktop/art/mercy.kra"
>>> true QUrl("file:///home/gwendolyn/Pictures/capture.png") 
>>> "file:///home/gwendolyn/Pictures/capture.png" 
>>> "/home/gwendolyn/Pictures/capture.png"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/bloodhound.kra") 
>>> "file:///home/gwendolyn/Desktop/art/bloodhound.kra" 
>>> "/home/gwendolyn/Desktop/art/bloodhound.kra"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/rose.kra") 
>>> "file:///home/gwendolyn/Desktop/art/rose.kra" 
>>> "/home/gwendolyn/Desktop/art/rose.kra"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/mountain_stamp.kra") 
>>> "file:///home/gwendolyn/Desktop/art/mountain_stamp.kra" 
>>> "/home/gwendolyn/Desktop/art/mountain_stamp.kra"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/mercy.kra") 
>>> "file:///home/gwendolyn/Desktop/art/mercy.kra" 
>>> "/home/gwendolyn/Desktop/art/mercy.kra"
>>> true QUrl("file:///home/gwendolyn/Pictures/capture.png") 
>>> "file:///home/gwendolyn/Pictures/capture.png" 
>>> "/home/gwendolyn/Pictures/capture.png"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/bloodhound.kra") 
>>> "file:///home/gwendolyn/Desktop/art/bloodhound.kra" 
>>> "/home/gwendolyn/Desktop/art/bloodhound.kra"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/rose.kra") 
>>> "file:///home/gwendolyn/Desktop/art/rose.kra" 
>>> "/home/gwendolyn/Desktop/art/rose.kra"
file:///usr/lib64/qt5/qml/org/krita/sketch/components/Button.qml:84:9: QML
Image: Failed to get image from provider: image://icon/brushsize-decrease
file:///usr/lib64/qt5/qml/org/krita/sketch/components/Button.qml:84:9: QML
Image: Failed to get image from provider: image://icon/opacity-decrease
file:///usr/lib64/qt5/qml/org/krita/sketch/components/Button.qml:84:9: QML
Image: Failed to get image from provider: image://icon/opacity-increase
file:///usr/lib64/qt5/qml/org/krita/sketch/components/Button.qml:84:9: QML
Image: Failed to get image from provider: image://icon/lightness-increase
file:///usr/lib64/qt5/qml/org/krita/sketch/components/Button.qml:84:9: QML
Image: Failed to get image from provider: image://icon/lightness-decrease
file:///usr/lib64/qt5/qml/org/krita/sketch/components/Button.qml:84:9: QML
Image: Failed to get image from provider: image://icon/zoom-in
file:///usr/lib64/qt5/qml/org/krita/sketch/components/Button.qml:84:9: QML
Image: Failed to get image from provider: image://icon/rotate-canvas-left
file:///usr/lib64/qt5/qml/org/krita/sketch/components/Button.qml:84:9: QML
Image: Failed to get image from provider: image://icon/rotation-reset
file:///usr/lib64/qt5/qml/org/krita/sketch/components/Button.qml:84:9: QML
Image: Failed to get image from provider: image://icon/rotate-canvas-right
file:///usr/lib64/qt5/qml/org/krita/sketch/components/Button.qml:84:9: QML
Image: Failed to get image from provider: image://icon/zoom-out
file:///usr/lib64/qt5/qml/org/krita/sketch/components/Button.qml:84:9: QML
Image: Failed to get image from provider: image://icon/brushsize-increase
file:///usr/lib64/qt5/qml/org/krita/sketch/components/Button.qml:84:9: QML
Image: Failed to get image from provider: image://icon/preset-switcher
file:///usr/lib64/qt5/qml/org/krita/sketch/components/Button.qml:84:9: QML
Image: Failed to get image from provider: image://icon/edit-clear
>>> true QUrl("file:///home/gwendolyn/Pictures/capture.png") 
>>> "file:///home/gwendolyn/Pictures/capture.png" 
>>> "/home/gwendolyn/Pictures/capture.png"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/bloodhound.kra") 
>>> "file:///home/gwendolyn/Desktop/art/bloodhound.kra" 
>>> "/home/gwendolyn/Desktop/art/bloodhound.kra"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/map.kra") 
>>> "file:///home/gwendolyn/Desktop/art/map.kra" 
>>> "/home/gwendolyn/Desktop/art/map.kra"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/rose.kra") 
>>> "file:///home/gwendolyn/Desktop/art/rose.kra" 
>>> "/home/gwendolyn/Desktop/art/rose.kra"
>>> true QUrl("file:///home/gwendolyn/Desktop/art/cave.kra") 
>>> "file:///home/gwendolyn/Desktop/art/cave.kra" 
>>> "/home/gwendolyn/Desktop/art/cave.kra"
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+["
free(): double free detected in tcache 2
Aborted

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to