Bug 364088 - Trying to draw with any brush leads to segmentation fault. Ubuntu 16.04 was upgraded from 15.10.
Summary: Trying to draw with any brush leads to segmentation fault. Ubuntu 16.04 was u...
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 3.0
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-08 08:11 UTC by kerfus
Modified: 2018-06-11 04:43 UTC (History)
2 users (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 kerfus 2016-06-08 08:11:38 UTC
Each time drawing on a canvas krita appimage crushes:

./krita-3.0-no-openmp-x86_64.appimage 
QCoreApplication::arguments: Please instantiate the QApplication object first
krita.lib.pigment: Compiled for arch: ::Vc::AVXImpl
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
OpenGL Info
  Vendor:  NVIDIA Corporation
  Renderer:  GeForce 940M/PCIe/SSE2
  Version:  4.5.0 NVIDIA 361.42
  Shading language:  4.50 NVIDIA
  Requested format:  QSurfaceFormat(version 3.0, options QFlags(0x4), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 0, profile  2)
  Current format:    QSurfaceFormat(version 4.5, options QFlags(0x4), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 0, profile  2)
krita has opengl true
Setting XDG_DATA_DIRS "/tmp/.mount_kePwgQ/usr/bin/../share:./share/:/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop"
Available translations QSet("ia", "mk", "uz", "mr", "ms", "el", "is", "vi", "it", "af", "eo", "nb", "es", "et", "eu", "ne", "ro", "ja", "ar", "nl", "mai", "ru", "nn", "fa", "wa", "fi", "be", "pt_BR", "bg", "se", "nds", "en_GB", "fr", "oc", "zh_CN", "sk", "sl", "fy", "br", "bs", "sq", "uz@cyrillic", "sv", "ga", "zh_TW", "kk", "km", "ko", "ca", "ast", "ta", "xh", "gl", "hne", "tg", "th", "pa", "cs", "tr", "pl", "cy", "he", "pt", "ca@valencia", "da", "hi", "de", "lt", "en_US", "lv", "ug", "hr", "uk", "hu")
Available domain translations QSet("ia", "mk", "uz", "mr", "ms", "el", "is", "vi", "it", "af", "eo", "nb", "es", "et", "eu", "ne", "ro", "ja", "ar", "nl", "mai", "ru", "nn", "fa", "wa", "fi", "be", "pt_BR", "bg", "se", "nds", "en_GB", "fr", "oc", "zh_CN", "sk", "sl", "fy", "br", "bs", "sq", "uz@cyrillic", "sv", "ga", "zh_TW", "kk", "km", "ko", "ca", "ast", "ta", "xh", "gl", "hne", "tg", "th", "pa", "cs", "tr", "pl", "cy", "he", "pt", "ca@valencia", "da", "hi", "de", "lt", "en_US", "lv", "ug", "hr", "uk", "hu")
Override language: ""
KoJsonTrader will load its plugins from "/tmp/.mount_kePwgQ/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
cHRM: 0.3127 0.329 0.64 0.33 0.3 0.6 0.15 0.06
sRGB 0
cHRM: 0.3127 0.329 0.64 0.33 0.3 0.6 0.15 0.06
sRGB 0
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+]"
Requested FPS: 11.1393
Requested FPS: 35.0938
Requested FPS: 15.1903
Requested FPS: 42.1009
Segmentation fault (core dumped)

Reproducible: Always

Steps to Reproduce:
1.Run krita appimage
2.create new file or open file like https://www.dropbox.com/s/yj6rjg9vevrv9of/sketch12.ora?dl=0
3.draw on canvas with a Basic_tip_default brush

Actual Results:  
Segmentation fault

Expected Results:  
Drawn freehand curve

./krita-3.0-no-openmp-x86_64.appimage 
QCoreApplication::arguments: Please instantiate the QApplication object first
krita.lib.pigment: Compiled for arch: ::Vc::AVXImpl
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
OpenGL Info
  Vendor:  NVIDIA Corporation
  Renderer:  GeForce 940M/PCIe/SSE2
  Version:  4.5.0 NVIDIA 361.42
  Shading language:  4.50 NVIDIA
  Requested format:  QSurfaceFormat(version 3.0, options QFlags(0x4), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 0, profile  2)
  Current format:    QSurfaceFormat(version 4.5, options QFlags(0x4), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 0, profile  2)
krita has opengl true
Setting XDG_DATA_DIRS "/tmp/.mount_kePwgQ/usr/bin/../share:./share/:/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop"
Available translations QSet("ia", "mk", "uz", "mr", "ms", "el", "is", "vi", "it", "af", "eo", "nb", "es", "et", "eu", "ne", "ro", "ja", "ar", "nl", "mai", "ru", "nn", "fa", "wa", "fi", "be", "pt_BR", "bg", "se", "nds", "en_GB", "fr", "oc", "zh_CN", "sk", "sl", "fy", "br", "bs", "sq", "uz@cyrillic", "sv", "ga", "zh_TW", "kk", "km", "ko", "ca", "ast", "ta", "xh", "gl", "hne", "tg", "th", "pa", "cs", "tr", "pl", "cy", "he", "pt", "ca@valencia", "da", "hi", "de", "lt", "en_US", "lv", "ug", "hr", "uk", "hu")
Available domain translations QSet("ia", "mk", "uz", "mr", "ms", "el", "is", "vi", "it", "af", "eo", "nb", "es", "et", "eu", "ne", "ro", "ja", "ar", "nl", "mai", "ru", "nn", "fa", "wa", "fi", "be", "pt_BR", "bg", "se", "nds", "en_GB", "fr", "oc", "zh_CN", "sk", "sl", "fy", "br", "bs", "sq", "uz@cyrillic", "sv", "ga", "zh_TW", "kk", "km", "ko", "ca", "ast", "ta", "xh", "gl", "hne", "tg", "th", "pa", "cs", "tr", "pl", "cy", "he", "pt", "ca@valencia", "da", "hi", "de", "lt", "en_US", "lv", "ug", "hr", "uk", "hu")
Override language: ""
KoJsonTrader will load its plugins from "/tmp/.mount_kePwgQ/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
cHRM: 0.3127 0.329 0.64 0.33 0.3 0.6 0.15 0.06
sRGB 0
cHRM: 0.3127 0.329 0.64 0.33 0.3 0.6 0.15 0.06
sRGB 0
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+]"
Requested FPS: 11.1393
Requested FPS: 35.0938
Requested FPS: 15.1903
Requested FPS: 42.1009
Segmentation fault (core dumped)
Comment 1 Halla Rempt 2016-07-06 11:49:48 UTC
Hi,

Could you try the following:

wget http://files.kde.org/krita/3/linux/devbuilds/krita-3.0-b546ec0c702aa-dbg-x86_64.appimage
sudo mount krita-3.0-b546ec0c702aa-dbg-x86_64.appimage /mnt
cd /mnt
gdb AppRun

and type run on the gdb prompt, then reproduce the crash. Do you get a working backtrace? I don't get the crash here, so I am suspecting there's an issue with krita and the opengl drivers on your installation.
Comment 2 Raghavendra kamath 2018-06-11 04:43:06 UTC
Hi kerfus,

Can you please provide more information about the bug, as requested by boud.

Also can you please try the latest version of krita and check if this issue still persists.

For now due to lack of response I am closing this bug report. If you think you can still reproduce this issue in the latest version of krita, please feel free to re-open this issue