Bug 385029 - Krita segfaults when saving krita documents sometimes crashes x11
Summary: Krita segfaults when saving krita documents sometimes crashes x11
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: Usability (other bugs)
Version First Reported In: 3.2.1
Platform: Arch Linux Linux
: NOR grave
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-24 20:04 UTC by Makogan
Modified: 2017-09-28 08:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Makogan 2017-09-24 20:04:17 UTC
I am running krita 3.2.1 on arch linux under the xfce4 desktop environment. When I try to save a krita document the program segfaults. Sometimes when opening the program it will crash teh xserver causing me to log out completely.

This is the output of an xserver crash:

qt5ct: using qt5ct plugin
No "breeze" available.
Set style "fusion"
OpenGL Info
  Vendor:  NVIDIA Corporation
  Renderer:  "GeForce GTX 1070/PCIe/SSE2"
  Version:  4.5.0 NVIDIA 384.69
  Shading language:  4.50 NVIDIA
  Requested format:  QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile  QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile))
  Current format:    QSurfaceFormat(version 4.5, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile  QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile))
     Version: 4 . 5
     Supports deprecated functions true
krita has opengl true
Setting XDG_DATA_DIRS "/usr/bin/../share:/usr/local/share:/usr/share"
Available translations QSet("sq", "pa", "gl", "ne", "eu", "bg", "en_US", "uk", "be", "ug", "uz@cyrillic", "nn", "zh_TW", "cs", "mk", "wa", "xh", "ast", "fy", "ca", "zh_CN", "nb", "ta", "ro", "nds", "pt_BR", "hr", "kk", "tg", "hu", "is", "ko", "ja", "fa", "sl", "lt", "tr", "fi", "pt", "it", "da", "br", "el", "he", "sk", "de", "en_GB", "sv", "ms", "vi", "af", "bs", "ia", "et", "eo", "hi", "km", "hne", "ar", "es", "oc", "ca@valencia", "ru", "uz", "cy", "ga", "pl", "mai", "mr", "lv", "th", "nl", "fr", "se")
Available domain translations QSet("sq", "pa", "gl", "ne", "eu", "bg", "en_US", "uk", "be", "ug", "uz@cyrillic", "nn", "zh_TW", "cs", "mk", "wa", "xh", "ast", "fy", "ca", "zh_CN", "nb", "ta", "ro", "nds", "pt_BR", "hr", "kk", "tg", "hu", "is", "ko", "ja", "fa", "sl", "lt", "tr", "fi", "pt", "it", "da", "br", "el", "he", "sk", "de", "en_GB", "sv", "ms", "vi", "af", "bs", "ia", "et", "eo", "hi", "km", "hne", "ar", "es", "oc", "ca@valencia", "ru", "uz", "cy", "ga", "pl", "mai", "mr", "lv", "th", "nl", "fr", "se")
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
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
qt5ct: D-Bus global menu: no
The X11 connection broke (error 1). Did the X11 server die?
krita.general: Warning: some tiles have leaked:
krita.general: 	Tiles in memory: 1 
 	Total tiles: 1

This is the output of a save segfault:

qt5ct: using qt5ct plugin
No "breeze" available.
Set style "fusion"
OpenGL Info
  Vendor:  NVIDIA Corporation
  Renderer:  "GeForce GTX 1070/PCIe/SSE2"
  Version:  4.5.0 NVIDIA 384.69
  Shading language:  4.50 NVIDIA
  Requested format:  QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile  QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile))
  Current format:    QSurfaceFormat(version 4.5, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile  QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile))
     Version: 4 . 5
     Supports deprecated functions true
krita has opengl true
Setting XDG_DATA_DIRS "/usr/bin/../share:/usr/local/share:/usr/share"
Available translations QSet("uz@cyrillic", "is", "th", "ms", "af", "ro", "hr", "fy", "se", "sq", "nb", "zh_CN", "pt", "fr", "lv", "he", "it", "en_GB", "ko", "da", "uk", "sv", "fa", "es", "et", "nl", "be", "km", "sl", "mai", "cy", "tr", "br", "gl", "kk", "zh_TW", "wa", "sk", "ta", "ar", "mr", "pt_BR", "bs", "lt", "ne", "oc", "ga", "eo", "pl", "ug", "cs", "ru", "vi", "pa", "bg", "uz", "hne", "en_US", "nn", "ast", "de", "mk", "fi", "hu", "el", "ca@valencia", "xh", "ca", "ia", "eu", "hi", "ja", "nds", "tg")
Available domain translations QSet("uz@cyrillic", "is", "th", "ms", "af", "ro", "hr", "fy", "se", "sq", "nb", "zh_CN", "pt", "fr", "lv", "he", "it", "en_GB", "ko", "da", "uk", "sv", "fa", "es", "et", "nl", "be", "km", "sl", "mai", "cy", "tr", "br", "gl", "kk", "zh_TW", "wa", "sk", "ta", "ar", "mr", "pt_BR", "bs", "lt", "ne", "oc", "ga", "eo", "pl", "ug", "cs", "ru", "vi", "pa", "bg", "uz", "hne", "en_US", "nn", "ast", "de", "mk", "fi", "hu", "el", "ca@valencia", "xh", "ca", "ia", "eu", "hi", "ja", "nds", "tg")
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
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
qt5ct: D-Bus global menu: no
libpng warning: iCCP: too many profiles
Segmentation fault (core dumped)
Comment 1 Halla Rempt 2017-09-25 07:03:29 UTC
I'd need a gdb backtrace to be sure, but I'm pretty sure that this is, like I said on the forum, a crash caused by the deepin qimageio plugins. Please provide a backtrace so we can make sure.
Comment 2 Makogan 2017-09-27 06:59:03 UTC
How do I provide a backtrace?, you want me to run the application with gdb segfault krita then press up until I am in teh outermost frame?
Comment 3 Halla Rempt 2017-09-27 07:13:11 UTC
Run Krita in gdb, and when it segfaults, type "thread apply all" in gdb, paste the complete gdb output here.
Comment 4 Makogan 2017-09-28 01:52:35 UTC
I just uninstalled all deepin apps and that seemed to fix the problem. Thank you for your help.