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

            Bug ID: 456201
           Summary: Crash after a right click on a group layer
           Product: krita
           Version: 5.1.0-beta1
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Layer Stack
          Assignee: krita-bugs-n...@kde.org
          Reporter: i...@davidrevoy.com
  Target Milestone: ---

Hi,
Here is a specific crash: it works only on a specific Krita file, after opening
and right-clicking on a folded layer group named "frame". I tried to remove
other layer to make a smaller file, but doing so fixed the layer stack because
after that I wasn't able to reproduce.

To reproduce:
===========
1. Download and extract
https://www.peppercarrot.com/extras/temp/2022-07-01_E37P04_crash-right-click-on-frame-layer.zip
2. When the Krita file open, it might prompt for a missing link to a text
layer; it's not related to the bug, select no.
3. Right click on the folded group layer named "frame" on top of layer stack
(original intent was to color this group to grey in the layer stack)

Result:
======
Krita crashes. Sometime, the right-click menu of the layer stack appears
briefly but Krita crashes anyway. 

Expected:
========
Access the right-click menu, no crash and being able to color the group layer
with grey color slot.

LOGS:
=====
GDB:
```
GNU gdb (GDB) Fedora 12.1-1.fc36
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/deevad/sources/krita/krita-testing...
(No debugging symbols found in /home/deevad/sources/krita/krita-testing)
Starting program: /home/deevad/sources/krita/krita-testing
/home/deevad/peppercarrot/webcomics/new-ep37_Phoenix-Tears/E37P04.kra
/usr/bin/AppImageLauncher: /lib64/libcurl.so.4: no version information
available (required by
/usr/bin/../lib/x86_64-linux-gnu/appimagelauncher/libappimageupdate.so)
[Detaching after fork from child process 7800]
process 7797 is executing new program:
/usr/lib/x86_64-linux-gnu/appimagelauncher/binfmt-bypass
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[Detaching after fork from child process 7806]
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
krita.general: convertAndSetBlendMode: Curve conversion is not implemented yet
QObject::startTimer: Timers cannot have negative intervals
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
/tmp/.mount_krita-OxCsZi/usr/lib/krita-python-libs/krita added to PYTHONPATH
profileForCsIdWithFallbackImpl couldn't fetch a fallback profile for  
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QImage::scaled: Image is a null image
[Inferior 1 (process 7797) exited normally]
Missing separate debuginfos, use: dnf debuginfo-install
appimagelauncher-2.2.0-travis995~0f91801.x86_64
(gdb) 
```

KRITA LOGS:
==========
```
SESSION: 01 Jul 2022 11:33:15 +0200. Executing
/tmp/.mount_krita-ssiX3v/usr/bin/krita /home/deevad/2022-07-01_E37P04.kra

Krita Version: 5.1.0-beta1, Qt version compiled: 5.12.12, loaded: 5.12.12.
Process ID: 9796
-- -- -- -- -- -- -- --
01 Jul 2022 11:33:15 +0200: Style: fusion. Available styles: Windows, Fusion
01 Jul 2022 11:33:16 +0200: Database is up to date. Version: 0.0.17, created by
Krita 5.1.0-beta1, at mar. juin 28 16:30:43 2022
01 Jul 2022 11:33:20 +0200: KisAppimageUpdater: update check finished. Result:
2 Exit status: 0
path: /home/deevad/sources/krita/krita-5.1.0-beta1-x86_64.appimage
output: 
01 Jul 2022 11:33:20 +0200: Importing application/x-krita to
application/x-krita. Location: /home/deevad/2022-07-01_E37P04.kra. Real
location: /home/deevad/2022-07-01_E37P04.kra. Batchmode: 0
01 Jul 2022 11:33:27 +0200: Loaded image from application/x-krita. Size: 3600 *
5083 pixels, 6.45083 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB
built-in). Layers: 20

KRITA DID NOT CLOSE CORRECTLY
================================================================================
```

Krita 5.1beta1 appimage; Fedora 36 KDE Spin

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

Reply via email to