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

--- Comment #3 from n7d...@gmail.com ---
I am experience a similar (if not the same) issue with Krita 3.0.2 on OSX
10.11.6. Krita was working fine for a couple of hours then then it started to
give an throw an message which says: "Krita could not initialize the OpenGL
canvas: Failed to add vertex shader source from file: matrix_transform.vert
Krita will disable OpenGL and close now". This occurs when creating a custom
document then krita immediately crashes. This only happens when OpenGL is
enabled under preferences > display, otherwise Krita seems to be working fine.

Attached image of the error message and the error report created by OSX when
krita crashes.

Reproducible: Always

Steps to Reproduce:
1. Make sure OpenGL is enabled under preferences > display
2. Open or create a new document
3. Krita will flash an error message then immediately crash

The following is the debug statements that show up in terminal while running
krita and then crashing:

QCoreApplication::arguments: Please instantiate the QApplication object first
krita.lib.pigment: Compiled for arch: 7
krita.lib.pigment: Features supported:
krita.lib.pigment:      "SSE2"     ---     yes
krita.lib.pigment:      "SSSE3"     ---     yes
krita.lib.pigment:      "SSE4.1"     ---     yes
krita.lib.pigment:      "AVX "     ---     yes
krita.lib.pigment:      "AVX2 "     ---     yes
Set style "fusion"
OpenGL Info
  Vendor:  Intel Inc.
  Renderer:  Intel(R) Iris(TM) Graphics 6100
  Version:  4.1 INTEL-10.14.73
  Shading language:  4.10
  Requested format:  QSurfaceFormat(version 3.2, options QFlags(),
depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1,
alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2,
swapInterval 0, profile  1)
  Current format:    QSurfaceFormat(version 4.1, options QFlags(),
depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8,
alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2,
swapInterval 1, profile  1)
     Version: 4 . 1
     Supports deprecated functions false
krita has opengl true
Setting XDG_DATA_DIRS
"/Users/n7down/Source/kde/dev/i/bin/krita.app/../../share"
Available translations QSet("en_US")
Available domain translations QSet("en_US")
Override language: ""
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 1: " Invalid entry (missing '=')
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 2: " Invalid entry (missing '=')
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 3: " Invalid entry (missing '=')
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 4: " Invalid entry (missing '=')
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 6: " Invalid entry (missing '=')
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 7: " Invalid entry (missing '=')
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 8: " Invalid entry (missing '=')
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 9: " Invalid entry (missing '=')
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 11: " Invalid entry (missing '=')
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 12: " Invalid entry (missing '=')
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 13: " Invalid entry (missing '=')
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 14: " Invalid entry (missing '=')
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 15: " Invalid entry (missing '=')
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 16: " Invalid entry (missing '=')
"KConfigIni: In file /Users/n7down/Source/kde/dev/i/share/krita/osx.stylesheet,
line 17: " Invalid entry (missing '=')
libpng warning: iCCP: too many profiles
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+["
krita.lib.flake: "InteractionTool" : action "object_order_raise" conflicts with
canvas action "rotate_canvas_right" shortcut: "Ctrl+]"
QOpenGLShader::compile(Vertex): ERROR: 0:1: '' :  version '130' is not
supported
ERROR: 0:2: '' :  #version required and missing.

*** Problematic Vertex shader source code ***
#version 130
#define lowp
#define mediump
#define highp
#line 2
/*
 * Vertex shader for handling scaling
 */

uniform mat4 modelViewProjection;
uniform mat4 textureMatrix;

in vec4 a_vertexPosition;
in vec4 a_textureCoordinate;

out vec4 v_textureCoordinate;

void main()
{
    gl_Position = modelViewProjection * a_vertexPosition;
    v_textureCoordinate = textureMatrix * a_textureCoordinate;
}

***
Shader Compilation Failure:  "Failed to add vertex shader source from file:
matrix_transform.vert"
[1]    30312 segmentation fault  ../dev/i/bin/krita.app/Contents/MacOS/krita

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

Reply via email to