Bug 362517 - F23: segfault when I try to create a new openfile
Summary: F23: segfault when I try to create a new openfile
Status: RESOLVED DUPLICATE of bug 361734
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 3.0 Beta
Platform: Other Linux
: NOR grave
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-30 20:47 UTC by 4of92000
Modified: 2016-05-04 06:29 UTC (History)
2 users (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 4of92000 2016-04-30 20:47:17 UTC
I downloaded the appimage from the website and ran it on Fedora 23 with MATE on a Lenovo X201 2-in-1 (executing it from the terminal after typing "chmod +x [name]"). When I tried to create a new file, the standard new file creation box came up, but when I hit "Create", it displayed two nested boxes, threw a segfault, and died. At the same time, my SELinux install said that "SELinux is preventing abrt-hook-ccpp from getattr access on the chr_file /dev/dri/renderD128." 

Traceback 

Reproducible: Always

Steps to Reproduce:
1. Download appimage from website onto a Fedora 23 install with SELinux and save to Downloads folder.
2. Make the appimage executable and start to execute it.
3. Hit Ctrl-N or open a new file from the menu.
4. When the dialog box shows up, hit the Create button on the bottom right.

Actual Results:  
Two nested blank dialog boxes show up, then the whole program disappears and the terminal reports a segfault. SELinux then states that "SELinux is preventing abrt-hook-ccpp from getattr access on the chr_file /dev/dri/renderD128" or something to that effect.

Expected Results:  
Krita creates a new file with no trouble and let me start editing it.

Entire traceback log from my terminal (my name is in fact Alex, by the way):

QCoreApplication::arguments: Please instantiate the QApplication object first
krita.lib.pigment: Compiled for arch: ::Vc::SSE41Impl
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 " 	---	 no
Set style "Fusion"
Setting XDG_DATA_DIRS "/tmp/.mount_3fFKAl/usr/bin/../share:./share/:"
Available translations QSet("fr", "oc", "ca@valencia", "sk", "sl", "fy", "br", "bs", "sq", "sv", "ga", "mai", "kk", "km", "ko", "ca", "ta", "xh", "gl", "pt_BR", "tg", "en_GB", "th", "pa", "nds", "zh_CN", "cs", "tr", "pl", "cy", "zh_TW", "he", "pt", "da", "hi", "de", "ast", "lt", "lv", "ug", "hr", "hne", "uk", "hu", "ia", "mk", "uz", "mr", "ms", "en_US", "is", "el", "vi", "it", "af", "eo", "uz@cyrillic", "nb", "es", "et", "eu", "ne", "ro", "ja", "ar", "nl", "ru", "nn", "fa", "wa", "fi", "be", "bg", "se")
Available domain translations QSet("fr", "oc", "ca@valencia", "sk", "sl", "fy", "br", "bs", "sq", "sv", "ga", "mai", "kk", "km", "ko", "ca", "ta", "xh", "gl", "pt_BR", "tg", "en_GB", "th", "pa", "nds", "zh_CN", "cs", "tr", "pl", "cy", "zh_TW", "he", "pt", "da", "hi", "de", "ast", "lt", "lv", "ug", "hr", "hne", "uk", "hu", "ia", "mk", "uz", "mr", "ms", "en_US", "is", "el", "vi", "it", "af", "eo", "uz@cyrillic", "nb", "es", "et", "eu", "ne", "ro", "ja", "ar", "nl", "ru", "nn", "fa", "wa", "fi", "be", "bg", "se")
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
Fontconfig warning: "/etc/fonts/conf.d/65-0-lohit-bengali.conf", line 32: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/69-gnu-free-sans.conf", line 24: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/69-gnu-free-serif.conf", line 24: unknown element "langset"
KoJsonTrader will load its plugins from "/tmp/.mount_3fFKAl/usr/lib/kritaplugins"
	falling back on QIcon::FromTheme: "document-properties"
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
KoJsonTrader will load its plugins from "/tmp/.mount_3fFKAl/usr/lib/kritaplugins"
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/Alex/.local/share/mime", "/tmp/.mount_3fFKAl/usr/share/mime")
initTemplates(); "templates/"
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): 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

*** 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;
}

***
Segmentation fault (core dumped)
Comment 1 wolthera 2016-05-01 11:13:40 UTC
Could I tempt you to make a backtrace with gdb for me:

https://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_with_GDB

It'd be really useful!
Comment 2 Halla Rempt 2016-05-04 06:29:46 UTC
Hi Alex,

The issue is that your system only supports OpenGL 2, and Krita 3.0 needs OpenGL 3 at the minimum. Please disable OpenGL in the settings dialog before creating or opening an image.

*** This bug has been marked as a duplicate of bug 361734 ***