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

            Bug ID: 461554
           Summary: Copying selection sometimes causes Krita lock-up and
                    enter infinite loop writing to krita.log until the
                    disk is full
    Classification: Applications
           Product: krita
           Version: 5.1.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: * Unknown
          Assignee: krita-bugs-n...@kde.org
          Reporter: arco...@gmail.com
  Target Milestone: ---

SUMMARY
***
Copying a selection sometimes causes Krita to freeze up.  It freezes
immediately after pressing CTRL+C when the entire canvas is selected.  Krita
locks up writing error messages in an infinite loop to ~/.local/share/krita.log

The messages look like this:

07 Nov 2022 10:48:31 -0600: SAFE ASSERT (krita): "qAbs(row) < 0x7FFF &&
qAbs(col) < 0x7FFF" in file
/usr/src/debug/krita-5.1.1/libs/image/tiles3/kis_tile_hash_table2.h, line 151
07 Nov 2022 10:48:31 -0600: SAFE ASSERT (krita): "qAbs(row) < 0x7FFF &&
qAbs(col) < 0x7FFF" in file
/usr/src/debug/krita-5.1.1/libs/image/tiles3/kis_tile_hash_table2.h, line 151
07 Nov 2022 10:48:31 -0600: SAFE ASSERT (krita): "qAbs(row) < 0x7FFF &&
qAbs(col) < 0x7FFF" in file
/usr/src/debug/krita-5.1.1/libs/image/tiles3/kis_tile_hash_table2.h, line 151
... to infinity until hard disk is full ...

***


STEPS TO REPRODUCE
1. Create a new document.  Any size. One layer.  One brush stroke.
2. Ctrl+A to select all
3. Ctrl+C to copy
4. Locks up

OBSERVED RESULT
Krita locks up, enters infinite loop writing to krita.log

EXPECTED RESULT
-

SOFTWARE/OS VERSIONS
Linux: EndeavourOS; Linux 6.0.2
Qt Version: 5.15.7

ADDITIONAL INFORMATION
When this occurred on my end and I forgot to kill the Krita process, it had
written 250GB of data to the krita.log file and filled up my entire disk.  In
my case, it was a brand new document, small size, only one layer, entire canvas
selected.  It has happened a few times in the past, but lately it is becoming
more regular.

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

Reply via email to