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

            Bug ID: 497872
           Summary: Krita crashes when creating new image with a Shader
                    Compilation Failure
    Classification: Applications
           Product: krita
           Version: 5.2.2
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: b...@mail.ee
  Target Milestone: ---

SUMMARY
When I create a new image in Krita, it crashes with the following output

Qt: Session management error: Could not open network socket
Qt: Session management error: Could not open network socket
Qt: Session management error: Could not open network socket
Qt: Session management error: Could not open network socket
Invalid profile :  "/snap/krita/104/usr/share/color/icc/colord/Crayons.icc"
Invalid profile :  "/snap/krita/104/usr/share/color/icc/colord/x11-colors.icc"
propsReply "An AppArmor policy prevents this sender from sending this message
to this recipient; type=\"method_call\", sender=\":1.272\" (uid=1001 pid=15281
comm=\"/snap/krita/104/usr/bin/krita \" label=\"snap.krita.krita (enforce)\")
interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error
name=\"(unset)\" requested_reply=\"0\"
destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=653
comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
nmReply "An AppArmor policy prevents this sender from sending this message to
this recipient; type=\"method_call\", sender=\":1.272\" (uid=1001 pid=15281
comm=\"/snap/krita/104/usr/bin/krita \" label=\"snap.krita.krita (enforce)\")
interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error
name=\"(unset)\" requested_reply=\"0\"
destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=653
comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
"Object path cannot be empty"
QObject::startTimer: Timers cannot have negative intervals
krita.scripting: "Traceback (most recent call last):"
krita.scripting: "  File
\"/snap/krita/104/usr/lib/x86_64-linux-gnu/krita-python-libs/krita/__init__.py\",
line 11, in <module>"
krita.scripting: "    from .api import *"
krita.scripting: "  File
\"/snap/krita/104/usr/lib/x86_64-linux-gnu/krita-python-libs/krita/api.py\",
line 15, in <module>"
krita.scripting: "    from PyKrita.krita import *"
krita.scripting: "ModuleNotFoundError: No module named 'PyQt5'"
krita.scripting: "Could not import krita"
QOpenGLShaderProgram: could not create shader program
Shader Compilation Failure:  "Failed to add vertex shader source from file:
matrix_transform.vert - Cause: "
Speicherzugriffsfehler (Speicherabzug geschrieben)

NOTE: "Speicherzugriffsfehler" is the german word for Segfault.

STEPS TO REPRODUCE
1. install the Krita 5.0.2 package via apt-get on a vanilla Ubuntu 22.04.2 LTS
2. start Krita from the command line without any arguments
3. In the window that opens, click "New Image" and then "User Defined" and
"Create"
4. observe that Krita crashed and find the above output printed in the terminal
window.


EXPECTED RESULT
I would have expected that Krita is able to create a new image without
crashing.

SOFTWARE/OS VERSIONS
Linux: vanilla Ubuntu 22.04.2 LTS
Qt Version: 5.15.3+dfsg-2

ADDITIONAL INFORMATION
Since the error message "Shader Compilation Failure:  "Failed to add vertex
shader source from file: matrix_transform.vert " is the same, this might be
related to Bug 486596

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

Reply via email to