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

            Bug ID: 402130
           Summary: Krita hangs on flood fill (+ gdb backtrace)
           Product: krita
           Version: 4.1.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: skydive...@gmail.com
  Target Milestone: ---

Created attachment 116922
  --> https://bugs.kde.org/attachment.cgi?id=116922&action=edit
gdb backtrace

STEPS TO REPRODUCE
(.. not sure how reproducible this is, but here's the scenario:)
1. Open an image
2. Create a transparency layer
3. Select a rectangle
4. Use the fill tool
5. Tool Options > Enable "Fast mode"
6. Flood fill the rectangle on the transparency layer
(*) The rectangle was not fully filled, just part of it (let's say the left
half got filled).
7. Try to fill the rectangle again by clicking the fill tool several times
inside the rectangle.

OBSERVED RESULT
- Every consecutive click filled about another half of the unfilled area.
- At some point I was left with a pretty thin area that remained unfilled.
- Clicking inside it several times didn't do anything, and then CPU fan started
stressing.
One of the (eight) CPU cores got to constant 100% utilization, but the app
remained responsive.
- I tried to save my work so far, and then got a popup saying "Waiting for
image operation to complete: Flood fill"
- Clicking "Cancel Operation and Save" does nothing.
- Clicking "Save without waiting" pops saying I should save to a different
location.
- The original image format is .jpg and I tried to save it as a .kra file.
The Save dialog disappears and the "Waiting for image operation to complete:
Flood fill" reappears.
Clicking Cancel dismisses the popup, but the file is not saved.
- All attempted to save to other file formats failed.
- The bottom right area displays a "Flood Fill: 0%" control at all times.
Clicking the red Cancel button next to it makes the control disappear, but it
immediately reappears.

Seeking advice on the IRC channel, I was guided how to dump a backtrace
(attached).


Bug report sys. info:
---------------------
Krita
  Version: 4.1.5

Qt
  Version (compiled): 5.9.5
  Version (loaded): 5.9.5

OS Information
  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.15.0-42-generic
  Pretty Productname: Ubuntu 18.04.1 LTS
  Product Type: ubuntu
  Product Version: 18.04

OpenGL Info
  **OpenGL not initialized**

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

Reply via email to