Bug 454180 - Filters & transforming layers will hang Krita with a never-completing image operation
Summary: Filters & transforming layers will hang Krita with a never-completing image o...
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Filters (other bugs)
Version First Reported In: 5.0.6
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 455998 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-05-21 18:34 UTC by LKS
Modified: 2025-05-30 11:36 UTC (History)
5 users (show)

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


Attachments
Hanging krita file (1.85 MB, application/x-krita)
2022-05-21 18:34 UTC, LKS
Details
krita usage log (4.35 KB, text/plain)
2022-08-07 18:51 UTC, LKS
Details
Issue occuring on krita 5.3 build linked (333.25 KB, image/jpeg)
2024-09-15 19:38 UTC, LKS
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LKS 2022-05-21 18:34:48 UTC
Created attachment 149093 [details]
Hanging krita file

SUMMARY

When working, (usually when working quickly with hotkeys), transforms and filters will hang krita with a "waiting for image operation to complete" window



STEPS TO REPRODUCE
https://www.youtube.com/watch?v=kwwKpoH-thQ
recorded video of the hang here

OBSERVED RESULT
never-completing image operation

EXPECTED RESULT
image op completes

SOFTWARE/OS VERSIONS
attaching DXDiag in a comment, short version

------------------
System Information
------------------
      Time of this report: 5/21/2022, 11:32:22
             Machine name: DESKTOP-98MHRAS
               Machine Id: {BBDC0B6C-C1EE-4BD0-9B21-01ACDE016110}
         Operating System: Windows 10 Home 64-bit (10.0, Build 19044) (19041.vb_release.191206-1406)
                 Language: English (Regional Setting: English)
      System Manufacturer: Micro-Star International Co., Ltd.
             System Model: MS-7C84
                     BIOS: 1.60 (type: UEFI)
                Processor: AMD Ryzen 9 5950X 16-Core Processor             (32 CPUs), ~3.4GHz
                   Memory: 65536MB RAM
      Available OS Memory: 65460MB RAM
                Page File: 67468MB used, 10562MB available
              Windows Dir: C:\Windows
          DirectX Version: DirectX 12
      DX Setup Parameters: Not found
         User DPI Setting: 96 DPI (100 percent)
       System DPI Setting: 192 DPI (200 percent)
          DWM DPI Scaling: UnKnown
                 Miracast: Available, no HDCP
Microsoft Graphics Hybrid: Not Supported
 DirectX Database Version: 1.0.8
           DxDiag Version: 10.00.19041.0928 64bit Unicode


ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2022-06-24 13:54:05 UTC
I cannot reproduce any of these problems with the attached image. Could you please attach the contents of help->krita log for bug reports to this report?
Comment 2 LKS 2022-06-26 19:50:10 UTC
(In reply to Halla Rempt from comment #1)
> I cannot reproduce any of these problems with the attached image. Could you
> please attach the contents of help->krita log for bug reports to this report?

sure! one sec
Comment 3 LKS 2022-06-26 19:53:44 UTC
(In reply to LKS from comment #2)
> (In reply to Halla Rempt from comment #1)
> > I cannot reproduce any of these problems with the attached image. Could you
> > please attach the contents of help->krita log for bug reports to this report?
> 
> sure! one sec

================================================================================
SESSION: 26 Jun 2022 12:49:49 -0700. Executing E:\BTS\Software_Krita_5.0.6_Release\bin\krita.exe C:\Users\16042\Downloads\krita-55808-document_0-autosave.kra

Krita Version: 5.0.6, Qt version compiled: 5.12.12, loaded: 5.12.12. Process ID: 46200
-- -- -- -- -- -- -- --
26 Jun 2022 12:49:49 -0700: Style: fusion. Available styles: windowsvista, Windows, Fusion
26 Jun 2022 12:49:55 -0700: Database is up to date. Version: 0.0.16, created by Krita 5.0.5, at Thu Apr 21 14:47:53 2022
26 Jun 2022 12:49:57 -0700: Could not load resourcepatterns/krita_IoPpkS.pat
26 Jun 2022 12:49:57 -0700: Could not load resourcepatterns/krita_LrcKLO.pat
26 Jun 2022 12:49:57 -0700: Could not load resourcepatterns/krita_VVaCCH.pat
26 Jun 2022 12:49:57 -0700: Could not load resourcepatterns/krita_YasyVG.pat
26 Jun 2022 12:49:57 -0700: Could not load resourcepatterns/krita_iamMFA.pat
26 Jun 2022 12:49:57 -0700: Could not load resourcepatterns/krita_keKDZl.pat
26 Jun 2022 12:49:57 -0700: Could not load resourcepatterns/krita_lhdpPX.pat
26 Jun 2022 12:49:57 -0700: Could not load resourcepatterns/krita_pkUbSk.pat
26 Jun 2022 12:50:01 -0700: Non-store package - creating updater
26 Jun 2022 12:50:03 -0700: SAFE ASSERT (krita): "!d->brushTipImage.isNull()" in file C:\Packaging\workspace\Krita_Release_Windows64_Build\krita\libs\brush\kis_brush.cpp, line 228
26 Jun 2022 12:50:11 -0700: Importing application/x-krita to application/x-krita. Location: C:\Users\16042\Downloads\krita-55808-document_0-autosave.kra. Real location: C:\Users\16042\Downloads\krita-55808-document_0-autosave.kra. Batchmode: 0
26 Jun 2022 12:50:11 -0700: Loaded image from application/x-krita. Size: 921 * 752 pixels, 1.38889 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 10

This is the Krita log for the latest session. IT doesn't seem to throw any errors or anything, it just 'gets stuck' completing the image operation and doesn't let you do anything else
Comment 4 LKS 2022-06-26 20:10:55 UTC
on the bright side this bug is fully reproducable on my end with that file, if we want I can download a fresh krita and test for the bug, though my prefs are not vanilla. Should I try on a portable version after renaming my prefs folders?
Comment 5 Bug Janitor Service 2022-06-27 04:36:20 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 6 LKS 2022-08-07 18:51:31 UTC
Created attachment 151166 [details]
krita usage log

I caught the bug again! this time with fresh prefs and a portable version of 5.0.6
https://www.youtube.com/watch?v=r_oPLu299jU

Here is me reproing the bug!
Comment 7 Halla Rempt 2022-09-20 14:38:31 UTC
Could you share the .kra file with me? If it's private, you can share it with foundation@krita.org, only I read that.
Comment 8 wolthera 2023-01-16 14:52:54 UTC
Halla, did we receive a test file?
Comment 9 LKS 2023-01-16 17:45:44 UTC
 (In reply to wolthera from comment #8)
> Halla, did we receive a test file?

Hey there, I think I did submit a .kra but if not I should be able to make another one over the next few days. Still happens with new versions of krita, seems less frequent but not sure.
Comment 10 LKS 2023-01-16 17:49:31 UTC
I did send one out previously, remember it was a frog or something. Iirc the response was that there was nothing wrong with the file itself. Might have been a different bug report D:
Comment 11 Dmitry Kazakov 2024-09-11 10:03:43 UTC
Hi, LKS!

Do you happen to be able to reproduce the issue in the recent versions of Krita?

I tried to reproduce the issue in both, master and 5.0.6 and I had no luck with that :(

Theoretically, the bug could be caused by recursive actions start issue that we had in older versions of Krita. But the symptoms should be a little bit different though.
Comment 12 Dmitry Kazakov 2024-09-13 11:31:45 UTC
I will mark this bug as needs-info for now. Please try to reproduce this bug in Krita Nightly: 

https://cdn.kde.org/ci-builds/graphics/krita/master/windows/

I have a feeling like this bug has been fixed since 5.0.2
Comment 13 LKS 2024-09-13 21:29:56 UTC
I'll test on latest and get back to you. Thanks!
Comment 14 Bug Janitor Service 2024-09-14 03:47:12 UTC
๐Ÿ›๐Ÿงน Thanks for your comment!

Automatically switching the status to REPORTED so the team can perform further triage.

In the future you may also do this yourself when providing needed information.
Comment 15 LKS 2024-09-15 19:38:12 UTC
Created attachment 173702 [details]
Issue occuring on krita 5.3 build linked

5.3
Comment 16 LKS 2024-09-15 19:39:30 UTC
(In reply to Dmitry Kazakov from comment #12)
> I will mark this bug as needs-info for now. Please try to reproduce this bug
> in Krita Nightly: 
> 
> https://cdn.kde.org/ci-builds/graphics/krita/master/windows/
> 
> I have a feeling like this bug has been fixed since 5.0.2

It still occurs on a fresh install of the build you linked. Repro steps is to sketch on a 4k image, ctrl-U, change hue slider, hit enter. I was able to repro it within a minute or two
Comment 17 fxck.useless.spam 2025-01-06 18:40:55 UTC
This bug just happened to me, on Krita 5.2.6 and Windows operating system.
I couldn't understand why exactly this bug occurred, but I used Ellipse Tool and Line Tool, used HSV Adjustment filter and enabled/disabled layer visibility.

I'm working on a canon with proportions, so I'm using Ellipse Tool, Line Tool and changing the color of the marks with HSV Adjustment filter.
In my normal drawing process I only use Brush Tool (+ Eraser), Pan, Zoom, Transform and Move. I also create regular layers, layer masks and folders. I interact with the Small Color Selector.
And in my normal drawing process, I have not had to deal with this bug.

Perhaps the reason is really due to the filters.



Krita Log:
SESSION: 06 Jan 2025 18:44:29 +0300. Executing C:\software\Krita\bin\krita.exe D:\visual strange projects\01 strange projects\kyoukai no kanata\08 anime โ€“ frames โ€“ personal\[Beatrice-Raws] Kyoukai no Kanata 02 [BDRip 1920x1080 x264 FLAC]-f011300.png

Krita Version: 5.2.6 (git ab3502b), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 5568
-- -- -- -- -- -- -- --
06 Jan 2025 18:44:29 +0300: Style: fusion. Available styles: windowsvista, Windows, Fusion
================================================================================
SESSION: 06 Jan 2025 19:39:30 +0300. Executing C:\software\Krita\bin\krita.exe C:\Users\untitled\Desktop\Ai โ€“ front.kra

Krita Version: 5.2.6 (git ab3502b), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 6436
-- -- -- -- -- -- -- --
06 Jan 2025 19:39:30 +0300: Style: fusion. Available styles: windowsvista, Windows, Fusion
06 Jan 2025 19:39:31 +0300: Database is up to date. Version: 0.0.17, created by Krita 5.2.3, at Wed Jul 24 04:30:12 2024
06 Jan 2025 19:39:33 +0300: Non-store package - creating updater
06 Jan 2025 19:39:48 +0300: Importing application/x-krita to application/x-krita. Location: C:/Users/untitled/Desktop/.Ai โ€“ front.kra-autosave.kra. Real location: C:/Users/untitled/Desktop/.Ai โ€“ front.kra-autosave.kra. Batchmode: 0
06 Jan 2025 19:39:48 +0300: Loaded image from application/x-krita. Size: 1920 * 1080 pixels, 1.3335 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 3
Comment 18 Halla Rempt 2025-05-30 11:18:03 UTC
I'm setting this report to confirmed, because I've seen similar things happening, also with other files. I'm not sure how feasible find a fix is, though.
Comment 19 Halla Rempt 2025-05-30 11:36:24 UTC
*** Bug 455998 has been marked as a duplicate of this bug. ***