Bug 414950 - Krita closes when trying to open a project
Summary: Krita closes when trying to open a project
Status: RESOLVED DUPLICATE of bug 414818
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 4.2.8
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-08 12:17 UTC by Xabi
Modified: 2019-12-10 17:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
ZIP with Krita file (655.30 KB, application/zip)
2019-12-08 17:14 UTC, Xabi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xabi 2019-12-08 12:17:13 UTC
Hello,

When I work with a Krita project, there comes a time when the file doesn't open and the program closes.

Trying to open that file in different versions, I could open it with the appimage version 4.2.7

Versions of Krita that close when I open the file:
* krita 4.2.8 instalado en debian testing bullseye
* https://binary-factory.kde.org/job/Krita_Nightly_Appimage_Build/lastSuccessfulBuild/artifact/krita-4.3.0-prealpha-818c841-x86_64.appimage
* https://binary-factory.kde.org/job/Krita_Stable_Appimage_Build/lastSuccessfulBuild/artifact/krita-4.2.9-alpha-51fcc8c-x86_64.appimage
* https://download.kde.org/stable/krita/4.2.8/krita-4.2.8-x86_64.appimage


Version of Krita that opens the file:
* https://download.kde.org/stable/krita/4.2.7.1/krita-4.2.7.1b-x86_64.appimage


Logs of Krita 4.2.8 installed on Debian bullseye (testing):

Launched from the shell
================
$krita ./my-file.kra
Set style "fusion"
Invalid profile :  "/usr/share/color/icc/colord/Crayons.icc" "Crayon Colors"
Invalid profile :  "/usr/share/color/icc/colord/x11-colors.icc" "X11 Colors"
krita.general: Failed to load "paintoppresets/Special_dyna_dots.kpp" from bundle "/usr/share/krita/bundles/Krita_3_Default_Resources.bundle"
QObject::startTimer: Timers cannot have negative intervals
/usr/lib/x86_64-linux-gnu/krita-python-libs/krita added to PYTHONPATH
Violación de segmento

(krita close)
================


Krita LOG
================
SESSION: 08 Dec 2019 00:21:07 +0100. Executing krita ./my-file.kra

ADVERTENCIA: Este archivo contiene información sobre su sistema y
sobre las imágenes con las que ha estado trabajando.

Si tiene algún problema con Krita, los desarrolladores de Krita le podrían
pedir que comparta este archivo con ellos. La información de este archivo
no se comparte automáticamente con los desarrolladores de Krita de
ninguna manera. Puede desactivar el registro en este archivo en el diálogo
de configuración de Krita.

Por favor, revise el contenido de este archivo antes de compartirlo con
alguien.

Krita

 Version: 4.2.8
 Languages: es
 Hidpi: true

Qt

  Version (compiled): 5.12.5
  Version (loaded): 5.12.5

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 5.3.0-2-amd64
  Pretty Productname: Debian GNU/Linux bullseye/sid
  Product Type: debian
  Product Version: unknown

OpenGL Info
 
  Vendor:  "nouveau" 
  Renderer:  "NVC1" 
  Version:  "4.3 (Compatibility Profile) Mesa 19.2.6" 
  Shading language:  "4.30" 
  Requested format:  QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
  Current format:    QSurfaceFormat(version 4.3, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
     Version: 4.3
     Supports deprecated functions true 
     is OpenGL ES: false 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: true 
  isQtPreferOpenGLES: false 

Hardware Information

  GPU Acceleration: auto
  Memory: 7947 Mb
  Number of Cores: 8
  Swap Location: /tmp

Current Settings

	Current Swap Location: /tmp
	Undo Enabled: 1
	Undo Stack Limit: 30
	Use OpenGL: 1
	Use OpenGL Texture Buffer: 1
	Use AMD Vectorization Workaround: 0
	Canvas State: OPENGL_SUCCESS
	Autosave Interval: 900
	Use Backup Files: 1
	Number of Backups Kept: 1
	Backup File Suffix: ~
	Backup Location: Same Folder as the File
	Use Win8 Pointer Input: 0
	Use RightMiddleTabletButton Workaround: 0
	Levels of Detail Enabled: 0
	Use Zip64: 0


08 Dec 2019 00:21:15 +0100: Importing application/x-krita to application/x-krita. Location: /home/user/path/./my-file.kra. Real location: /home/user/path/./my-file.kra. Batchmode: 0

KRITA DID NOT CLOSE CORRECTLY
================
(translated texts, sorry)

Greetings,
Xabi.
Comment 1 Halla Rempt 2019-12-08 13:27:15 UTC
Could you also attach the file?
Comment 2 Xabi 2019-12-08 17:14:32 UTC
Created attachment 124385 [details]
ZIP with Krita file
Comment 3 Xabi 2019-12-08 17:15:30 UTC
(In reply to Boudewijn Rempt from comment #1)
> Could you also attach the file?

By cleaning the layers, I have been able to see that what prevents the file from being loaded is a layer of paint with a coloration mask.
I attach the file.

Thanks
Comment 4 Tiar 2019-12-10 17:59:01 UTC
Before this gets fixed, please use 4.2.7 to open projects with Colorize Mask. You can subscribe to the other bug report to get a mail when it gets fixed on the development version.

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