Bug 409682 - Krita crashes when using flood-fill
Summary: Krita crashes when using flood-fill
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 4.2.2
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-10 12:31 UTC by ramskullsart
Modified: 2019-09-21 15:34 UTC (History)
2 users (show)

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


Attachments
Krita crash log (578.54 KB, text/plain)
2019-07-10 12:31 UTC, ramskullsart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ramskullsart 2019-07-10 12:31:30 UTC
Created attachment 121440 [details]
Krita crash log

SUMMARY
Krita has been crashing when I try to use flood-fill multiple times

STEPS TO REPRODUCE
1. Create a canvas around 2000x2000
2. Draw on a layer and duplicate it
3. Lock the duplicate layer and try to fill multiple times

OBSERVED RESULT
Krita stops responding and crashes

EXPECTED RESULT
Krita flood fills layer with selected color

SOFTWARE/OS VERSIONS
Windows 10

ADDITIONAL INFORMATION
Krita

 Version: 4.2.2
 Languages: en_US
 Hidpi: false

Qt

  Version (compiled): 5.12.4
  Version (loaded): 5.12.4

OS Information

  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.17763
  Pretty Productname: Windows 10 (10.0)
  Product Type: windows
  Product Version: 10


Hardware Information

  GPU Acceleration: desktop
  Memory: 16065 Mb
  Number of Cores: 8
  Swap Location: C:/Users/Ramskulls/AppData/Local/Temp
Comment 1 ramskullsart 2019-07-10 12:42:12 UTC
The file is too big to upload so I try a link: https://drive.google.com/file/d/1R2toaGfXvRv5VQBL8hMGe2x9qYSRZaQq/view?usp=sharing
Comment 2 Halla Rempt 2019-07-10 12:49:06 UTC
I see there are basically two different crashes in this log, one occurs only once, the other at least nine times:

The one that occurs only once:

krita.exe caused an Access Violation at location 00007FFF53E85C32 in module libkritapigment.dll Reading from location 0000000000000038.

AddrPC           Params
00007FFF53E85C32 00007FFF46F92310 000000005374F620 000000005374F620  libkritapigment.dll!0x55c32 KoResource::md5+0x42
00007FFF487629BB 00007FFF51CA3F30 0000000053740000 00000000254209B0  libkritalibpaintop.dll!0x529bb operator==+0x5b
00007FFF48763A0B 000000005374F6E8 00007FFF969F9D0C 0000000025420A20  libkritalibpaintop.dll!0x53a0b KisTextureMaskInfoCache::fetchCachedTextureInfo+0x3b
00007FFF48760F89 0000000000000030 0000000000000480 0000000000000000  libkritalibpaintop.dll!0x50f89 KisTextureProperties::fillProperties+0x179
00007FFF4871AEB4 0000000000000002 0000000000184380 0000000000180D20  libkritalibpaintop.dll!0xaeb4 KisBrushBasedPaintOp::KisBrushBasedPaintOp+0x1a4
00007FFF46F776FB 00000000F5155857 00007FFF516F907C 00007FFF51CA3F30  kritadefaultpaintops.dll!0x76fb KisBrushOp::KisBrushOp+0x4b
00007FFF46F94C4B 00007FFF51CA3F30 000000005374F9D8 000000005374F9E0  kritadefaultpaintops.dll!0x24c4b KisSimplePaintOpFactory<KisBrushOp, KisBrushOpSettings, KisBrushOpSettingsWidget>::createOp+0x7b
00007FFF51CC1D79 000000001BA9A000 0000000000000002 00000000006326F0  libkritaimage.dll!0x41d79 KisPaintOpRegistry::paintOp+0xd9
00007FFF51CC23FB 000000001757FAA0 0000000000000006 0000000000000006  libkritaimage.dll!0x423fb KisPaintOpRegistry::paintOp+0xab
00007FFF51CA3C64 000000005374FC18 000000005374FD00 000000005374FC18  libkritaimage.dll!0x23c64 KisPainter::setPaintOpPreset+0xb4
00007FFF4CE24585 000000005374FD08 0000000000000001 000000001BF0BD10  libkritaui.dll!0x1d4585 KisResourcesSnapshot::setupPainter+0x1d5
00007FFF4CE2E988 0000000000000100 0000000000000000 000000005374FD08  libkritaui.dll!0x1de988 KisPainterBasedStrokeStrategy::initPainters+0x178
00007FFF4CE2F326 0000000000000000 00007FFF969F9DB0 0000000000000000  libkritaui.dll!0x1df326 KisPainterBasedStrokeStrategy::initStrokeCallback+0x466
00007FFF4CE2A5CD 000000001BF0BA10 0000000351848D8D 00000000000000F8  libkritaui.dll!0x1da5cd FreehandStrokeStrategy::initStrokeCallback+0xd
00007FFF51F4BFC4 0000000000000010 000000001BF0BA10 000000001C7B4770  libkritaimage.dll!0x2cbfc4 KisUpdateJobItem::run+0x84
00007FFF51678620 000000002593D0B0 000000001C7B4700 0000000000000000  Qt5Core.dll!0x28620 QThreadPool::tryStart+0x520
00007FFF5167169B 0000000000000000 0000000000000000 0000000000000000  Qt5Core.dll!0x2169b QThread::qt_metacall+0x68b
00007FFF96EC7974 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!0x17974 BaseThreadInitThunk+0x14
00007FFF9706A271 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!0x6a271 RtlUserThreadStart+0x21

And the one that occurs many times:


krita.exe caused an Access Violation at location 00007FFF5EE29C47 in module libkritaimage.dll Reading from location 0000000000000029.

AddrPC           Params
00007FFF5EE29C47 0000000000000000 0000000000000000 0000000000000000  libkritaimage.dll!0x2d9c47 KisTileDataSwapper::pass<SoftSwapStrategy>+0xa7
00007FFF5EB68CC0 00000000157F0AE0 0000000000000000 0000000000000000  libkritaimage.dll!0x18cc0 KisTileDataSwapper::doJob+0x80
00007FFF5EB68D3F 00007FFF5EFFF0E0 00000000157F0A00 0000000000000000  libkritaimage.dll!0x18d3f KisTileDataSwapper::run+0x2f
00007FFF4CB8169B 0000000000000000 0000000000000000 0000000000000000  Qt5Core.dll!0x2169b QThread::qt_metacall+0x68b
00007FFF96EC7974 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!0x17974 BaseThreadInitThunk+0x14
00007FFF9706A271 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!0x6a271 RtlUserThreadStart+0x21

Two questions:
Comment 3 Halla Rempt 2019-07-10 12:49:49 UTC
Note: "locked" is "alpha-locked"
Comment 4 Halla Rempt 2019-07-10 13:09:51 UTC
Lets keep this open for a week or so to see if the reporter experiences more crashes with the nightly builds.
Comment 5 wolthera 2019-09-21 15:34:24 UTC
Alright, I'll close this now. Ramskulls, don't hesitate to reopen this report if the issue returns!