Bug 406601 - Pattern overlay closes/crashes Krita (git a9ed8de)
Summary: Pattern overlay closes/crashes Krita (git a9ed8de)
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: layer styles (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-16 15:17 UTC by ntjunco125
Modified: 2019-04-30 08:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ntjunco125 2019-04-16 15:17:05 UTC
When working with files of at least a certain file size (those with as few as 2 megabytes have been observed), attempting to turn on the "pattern overlay" layer style causes the application to close. Nothing is logged in kritacrash.log when this happens. This issue is present in both the nightly build and version 4.1.7.

Another issue (ostensibly) specific to the nightly build is that even small files will crash when using pattern overlays, but in the traditional "Krita has stopped working" manner. This crash is logged, and an example is below.


STEPS TO REPRODUCE
1. Open or create a file.
2. Add layers or paint on the document to increase its size (generally, the closing error is more common the larger the file is).
3. Open the layer styles panel for any layer and check the "pattern overlay" option.

OBSERVED RESULT
Krita closes immediately, or in the case of small files using the nightly build, crashes.

EXPECTED RESULT
The pattern overlay works as it should.


SOFTWARE/OS VERSIONS
OS: Windows 10, 64-bit
Processor: Intel(R) Core(TM) i7-8550U CPU 1.80GHz 1.99 GHz
RAM: 16.0 GB

ADDITIONAL INFORMATION
Here is the crash log:
krita.exe caused an Access Violation at location 00007FFB8CD90CB2 in module Qt5Gui.dll Reading from location 0000000000000028.
 
AddrPC           Params
00007FFB8CD90CB2 0000000000060000 0000000000000000 0000000055B56560  Qt5Gui.dll!0x80cb2 QImage::height+0x2
00007FFB909FC27C 000000001B4673C0 000000001B4673C0 000000001E60DF20  libkritaimage.dll!0x1fc27c KisLsUtils::fillPattern+0x5c
00007FFB909FE0DA 000000001B4CDB20 0000000055AF63F1 0000000055B0AE98  libkritaimage.dll!0x1fe0da KisLsUtils::fillOverlayDevice+0xda
00007FFB909F8810 000000005856FD10 000000001B4CDB20 0000000055B0A318  libkritaimage.dll!0x1f8810 KisLsOverlayFilter::applyOverlay+0x140
00007FFB909F90B4 0000000000000000 000000001B4CDB20 0000000000000001  libkritaimage.dll!0x1f90b4 KisLsOverlayFilter::processDirectly+0xc4
00007FFB909E23EC 000000001E1A3741 000000001DF30DD0 0000000000000000  libkritaimage.dll!0x1e23ec KisLayerStyleFilterProjectionPlane::recalculate+0xac
00007FFB909E4898 0000000000000002 0000000000000011 0000000000000000  libkritaimage.dll!0x1e4898 KisLayerStyleProjectionPlane::recalculate+0x348
00007FFB908E032E 0000000011670F70 00007FFB7F8FC6A0 0000000011670F70  libkritaimage.dll!0xe032e KisAsyncMerger::startMerge+0xb6e
00007FFB90A9B5B4 0000000000000010 0000000011670F70 0000000055B580E0  libkritaimage.dll!0x29b5b4 KisUpdateJobItem::run+0x184
00007FFB7F588620 0000000055C696E0 0000000055B58000 0000000000000000  Qt5Core.dll!0x28620 QThreadPool::tryStart+0x520
00007FFB7F58169B 0000000000000000 0000000000000000 0000000000000000  Qt5Core.dll!0x2169b QThread::qt_metacall+0x68b
00007FFBD95E4034 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!0x14034 BaseThreadInitThunk+0x14
00007FFBDC1B3691 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!0x73691 RtlUserThreadStart+0x21
 
0000000140000000-0000000140FC1000 krita.exe
00007FFBDC140000-00007FFBDC321000 ntdll.dll     6.2.17134.556
00007FFBD95D0000-00007FFBD9681000 KERNEL32.DLL  6.2.17134.706
00007FFBD8D50000-00007FFBD8FC3000 KERNELBASE.dll    6.2.17134.556
00007FFBDAEA0000-00007FFBDAF3E000 msvcrt.dll    7.0.17134.1
00007FFB96330000-00007FFB96452000 libkritawidgetutils.dll
00007FFBCE2F0000-00007FFBCE32A000 libkritaglobal.dll
0000000061440000-000000006145A000 libgcc_s_seh-1.dll
00007FFB77560000-00007FFB789F4000 libkritaui.dll
00007FFBDB6E0000-00007FFBDB870000 USER32.dll    6.2.17134.376
000000006FC40000-000000006FDA5000 libstdc++-6.dll
00007FFBD95B0000-00007FFBD95D0000 win32u.dll    6.2.17134.1
00007FFBBC960000-00007FFBBC9B7000 libKF5I18n.dll
00007FFBBB490000-00007FFBBB4EC000 libKF5ConfigCore.dll
00007FFBDAE70000-00007FFBDAE98000 GDI32.dll     6.2.17134.285
00007FFBD9410000-00007FFBD95A2000 gdi32full.dll 6.2.17134.706
00007FFBD8FD0000-00007FFBD906F000 msvcp_win.dll 6.2.17134.619
00007FFBD9310000-00007FFBD9408000 ucrtbase.dll  6.2.17134.677
00007FFB7EC10000-00007FFB7F17C000 Qt5Widgets.dll    5.12.2.0
00007FFBB50C0000-00007FFBB5153000 libkritaodf.dll
00007FFBCA050000-00007FFBCA073000 libkritaplugin.dll
00007FFB8CD10000-00007FFB8D325000 Qt5Gui.dll    5.12.2.0
00007FFBDBE00000-00007FFBDBF51000 ole32.dll     6.2.17134.407
00007FFBDAB40000-00007FFBDAE62000 combase.dll   6.2.17134.619
00007FFBC0060000-00007FFBC0089000 libKF5ConfigGui.dll
00007FFBDB9F0000-00007FFBDBB14000 RPCRT4.dll    6.2.17134.648
00007FFBAFA20000-00007FFBAFAAA000 libKF5CoreAddons.dll
00007FFBBD3A0000-00007FFBBD3C9000 libKF5GuiAddons.dll
00007FFBDB410000-00007FFBDB4B1000 ADVAPI32.dll  6.2.17134.471
00007FFBD8570000-00007FFBD85EA000 bcryptPrimitives.dll  6.2.17134.1
00007FFB7F560000-00007FFB7FB84000 Qt5Core.dll   5.12.2.0
0000000064940000-0000000064955000 libwinpthread-1.dll   1.0.0.0
00007FFBDB5B0000-00007FFBDB60B000 sechost.dll   6.2.17134.319
00007FFBD9690000-00007FFBDAAD0000 SHELL32.dll   6.2.17134.441
00007FFBB6DA0000-00007FFBB6DDD000 libKF5ItemViews.dll
00007FFB910C0000-00007FFB911E9000 libKF5WidgetsAddons.dll
00007FFBBCA80000-00007FFBBCAAD000 libKF5WindowSystem.dll
00007FFBDB4E0000-00007FFBDB54C000 WS2_32.dll    6.2.17134.1
00007FFBD85F0000-00007FFBD8639000 cfgmgr32.dll  6.2.17134.1
00007FFBB6BF0000-00007FFBB6C2B000 Qt5Xml.dll    5.12.2.0
00007FFBAF640000-00007FFBAF698000 Qt5PrintSupport.dll   5.12.2.0
00007FFBDBCF0000-00007FFBDBD99000 shcore.dll    6.2.17134.112
00007FFBDBB30000-00007FFBDBC1D000 comdlg32.dll  6.2.17134.1
00007FFBD4CC0000-00007FFBD4CCE000 libkritacolor.dll
00007FFBD8640000-00007FFBD8D4D000 windows.storage.dll   6.2.17134.677
00007FFBBDB10000-00007FFBBDB2E000 libkritacommand.dll
00007FFBDBDA0000-00007FFBDBDF1000 SHLWAPI.dll   6.2.17134.1
00007FFB90EB0000-00007FFB910BD000 libkritaflake.dll
00007FFB90800000-00007FFB90CAB000 libkritaimage.dll
00007FFBA6E80000-00007FFBA6EE9000 libkritalibbrush.dll
00007FFB8AF90000-00007FFB8B167000 libkritapigment.dll
00007FFBA6B50000-00007FFBA6BAA000 libkritapsd.dll
00007FFBBB7F0000-00007FFBBB80E000 libkritastore.dll
00007FFBBC730000-00007FFBBC751000 libkritaimpex.dll
00007FFB97260000-00007FFB97359000 libkritawidgets.dll
00007FFBD8480000-00007FFBD8491000 kernel.appcore.dll    6.2.17134.112
00007FFBD4BC0000-00007FFBD4BCE000 libkritaversion.dll
00007FFBBB470000-00007FFBBB48E000 libintl.DLL   0.18.0.0
00007FFBD8460000-00007FFBD847F000 profapi.dll   6.2.17134.1
00007FFBB58A0000-00007FFBB58DC000 libKF5Completion.dll
00007FFB8A600000-00007FFB8A877000 libexiv2.dll
00007FFBDAB30000-00007FFBDAB38000 PSAPI.DLL     6.2.17134.1
00007FFBB5340000-00007FFBB537E000 libpng16.dll
00007FFB90D20000-00007FFB90EAD000 Qt5Network.dll    5.12.2.0
00007FFBD84C0000-00007FFBD850C000 powrprof.dll  6.2.17134.1
00007FFB969C0000-00007FFB96AB3000 Qt5Multimedia.dll 5.12.2.0
00007FFBD9120000-00007FFBD9302000 CRYPT32.dll   6.2.17134.1
00007FFBD8450000-00007FFBD845A000 FLTLIB.DLL    6.2.17134.1
00007FFBAF9D0000-00007FFBAFA1E000 libHalf.dll
00007FFBD84A0000-00007FFBD84B2000 MSASN1.dll    6.2.17134.1
00007FFBD6BA0000-00007FFBD6BC9000 dwmapi.dll    6.2.17134.1
00007FFBD6AD0000-00007FFBD6B68000 UxTheme.dll   6.2.17134.1
00007FFBBFEF0000-00007FFBBFF0A000 MPR.dll       6.2.17134.677
00007FFBCD8B0000-00007FFBCD8C7000 NETAPI32.dll  6.2.17134.1
00007FFBD8350000-00007FFBD8378000 USERENV.dll   6.2.17134.1
00007FFBA6AF0000-00007FFBA6B43000 Qt5Svg.dll    5.12.2.0
00007FFBD5280000-00007FFBD5327000 COMCTL32.dll  5.82.17134.706
00007FFBCC870000-00007FFBCC8F5000 WINSPOOL.DRV  6.2.17134.648
00007FFB95670000-00007FFB95781000 libfftw3.dll
00007FFBCE240000-00007FFBCE250000 Qt5Concurrent.dll 5.12.2.0
00007FFBB3E30000-00007FFBB3E5D000 libKF5Archive.dll
00007FFBB50A0000-00007FFBB50B2000 iconv.dll
00007FFBAE140000-00007FFBAE175000 libexpat.dll
00007FFBB3CB0000-00007FFBB3CD0000 libzlib.dll   1.2.11.0
00007FFBD5260000-00007FFBD526A000 VERSION.dll   6.2.17134.1
00007FFBCD530000-00007FFBCD553000 WINMM.dll     6.2.17134.1
00007FFBD79F0000-00007FFBD7A28000 IPHLPAPI.DLL  6.2.17134.1
00007FFB7E820000-00007FFB7EAC5000 libcrypto-1_1-x64.dll 1.1.1.2
00007FFB9E5F0000-00007FFB9E676000 libssl-1_1-x64.dll    1.1.1.2
00007FFBD7A30000-00007FFBD7AEE000 DNSAPI.dll    6.2.17134.441
00007FFBDC100000-00007FFBDC108000 NSI.dll       6.2.17134.1
00007FFBD6510000-00007FFBD66C4000 PROPSYS.dll   7.0.17134.619
00007FFBDBC20000-00007FFBDBCE2000 OLEAUT32.dll  6.2.17134.706
00007FFBD7F50000-00007FFBD7F75000 bcrypt.dll    6.2.17134.112
00007FFBCD500000-00007FFBCD52A000 winmmbase.dll 6.2.17134.1
00007FFBD7AF0000-00007FFBD7AFE000 NETUTILS.DLL  6.2.17134.1
00007FFBD7E40000-00007FFBD7E4B000 CRYPTBASE.DLL 6.2.17134.1
00007FFBD4F50000-00007FFBD4F8E000 LOGONCLI.DLL  6.2.17134.1
00007FFBCD880000-00007FFBCD8A6000 SRVCLI.DLL    6.2.17134.1
00007FFBD4B70000-00007FFBD4B88000 SAMCLI.DLL    6.2.17134.1
00007FFBDB610000-00007FFBDB63D000 IMM32.DLL     6.2.17134.1
000000006A880000-000000006AA30000 qwindows.dll  5.12.2.0
00007FFBD7070000-00007FFBD7083000 WTSAPI32.dll  6.2.17134.1
00007FFBAE060000-00007FFBAE138000 DpoFeedb.dll  7.2.0.64
00007FFBCD960000-00007FFBCDAF7000 d3d9.dll      6.2.17134.81
00007FFBB4180000-00007FFBB42A0000 opengl32.dll  6.2.17134.1
00007FFBB4150000-00007FFBB417C000 GLU32.dll     6.2.17134.1
00007FFBDB870000-00007FFBDB9E3000 MSCTF.dll     6.2.17134.619
00007FFB766B0000-00007FFB7755B000 ig9icd64.dll  25.20.100.6472
00007FFBD7210000-00007FFBD72CB000 dxgi.dll      6.2.17134.112
00007FFB97490000-00007FFB97573000 igdgmm64.dll  25.20.100.6472
00007FFBC7D10000-00007FFBC9C8C000 igc64.dll     25.20.100.6472
00007FFBDB640000-00007FFBDB6E0000 clbcatq.dll   2001.12.10941.16384
00007FFBCD8F0000-00007FFBCD900000 libEGL.DLL    5.12.2.0
00007FFB7E440000-00007FFB7E819000 libGLESv2.dll 5.12.2.0
00007FFBD4190000-00007FFBD449B000 d3d11.dll     6.2.17134.441
00007FFBD07A0000-00007FFBD093C000 dcomp.dll     6.2.17134.1
00007FFBCA290000-00007FFBCB67C000 igd10iumd64.dll   25.20.100.6472
00007FFBD7F20000-00007FFBD7F46000 ncrypt.dll    6.2.17134.1
00007FFBD7EE0000-00007FFBD7F16000 NTASN1.dll    6.2.17134.1
000000006CC40000-000000006CC74000 qwindowsvistastyle.dll    5.12.2.0
00007FFBB3320000-00007FFBB3332000 kimg_exr.dll
00007FFBB3250000-00007FFBB3263000 libIex.dll
00007FFB7DAE0000-00007FFB7DD7B000 libIlmImf.dll
00007FFBCD090000-00007FFBCD09F000 libIlmThread.dll
00007FFBB1FD0000-00007FFBB1FEA000 libImath.dll
00007FFBB1ED0000-00007FFBB1EE1000 kimg_kra.dll
00007FFBB1E60000-00007FFBB1E71000 kimg_ora.dll
00007FFBA9770000-00007FFBA9783000 kimg_pcx.dll
00007FFBA6E60000-00007FFBA6E73000 kimg_pic.dll
00007FFBA6E40000-00007FFBA6E51000 kimg_psd.dll
00007FFBA6CA0000-00007FFBA6CB2000 kimg_ras.dll
00007FFBA6AD0000-00007FFBA6AE4000 kimg_rgb.dll
00007FFBA6700000-00007FFBA6711000 kimg_tga.dll
00007FFBA66E0000-00007FFBA66FF000 kimg_xcf.dll
0000000061F00000-0000000061F13000 qgif.dll      5.12.2.0
000000006C600000-000000006C615000 qicns.dll     5.12.2.0
000000006E840000-000000006E853000 qico.dll      5.12.2.0
00000000626C0000-0000000062729000 qjpeg.dll     5.12.2.0
0000000061B00000-0000000061B11000 qsvg.dll      5.12.2.0
000000006CF00000-000000006CF71000 qtiff.dll     5.12.2.0
0000000066AC0000-0000000066AD1000 qwbmp.dll     5.12.2.0
00000000675C0000-0000000067652000 qwebp.dll     5.12.2.0
00007FFBB2890000-00007FFBB28E8000 dataexchange.dll  6.2.17134.1
00007FFBD67B0000-00007FFBD6968000 twinapi.appcore.dll   6.2.17134.137
00007FFBD6780000-00007FFBD67A9000 RMCLIENT.dll  6.2.17134.556
00007FFBA66C0000-00007FFBA66D1000 exchndl.dll   0.8.2.0
00007FFB9D7B0000-00007FFB9D812000 mgwhelp.dll   0.8.2.0
00007FFB8AE00000-00007FFB8AF8F000 dbghelp.dll   6.3.9600.17298
00007FFBD7E20000-00007FFBD7E37000 CRYPTSP.dll   6.2.17134.1
00007FFBD7850000-00007FFBD7883000 rsaenh.dll    6.2.17134.254
00007FFBC64F0000-00007FFBC680C000 dwrite.dll    6.2.17134.376
00007FFB93A40000-00007FFB93C0B000 wintab32.dll  1.0.5.8
00007FFBB54F0000-00007FFBB56DC000 Pen_Tablet.dll    5.3.5.3
00007FFBC9C90000-00007FFBC9D26000 TextInputFramework.dll    6.2.17134.376
00007FFBCBE70000-00007FFBCC18E000 CoreUIComponents.dll  6.2.17134.376
00007FFBD1120000-00007FFBD11FA000 CoreMessaging.dll 6.2.17134.471
00007FFBD7540000-00007FFBD7571000 ntmarta.dll   6.2.17134.1
00007FFBD5850000-00007FFBD599D000 wintypes.dll  6.2.17134.523
00007FFBCC800000-00007FFBCC86B000 Oleacc.dll    7.2.17134.1
00007FFBC44D0000-00007FFBC46D0000 UIAutomationCore.dll  7.2.17134.112
00007FFBD8250000-00007FFBD82EA000 sxs.dll       6.2.17134.1
00007FFBA66A0000-00007FFBA66B5000 krita_shape_image.dll
00007FFB96240000-00007FFB96321000 krita_shape_text.dll
00007FFB91630000-00007FFB916A4000 libkritatextlayout.dll
00007FFB857C0000-00007FFB8594D000 libkritatext.dll
00007FFBA0000000-00007FFBA003F000 krita_shape_artistictext.dll
00007FFB98980000-00007FFB989E2000 krita_shape_paths.dll
00007FFBA6620000-00007FFBA6637000 kritaasccdl.dll
00007FFB9F6F0000-00007FFB9F722000 kritablurfilter.dll
00007FFB9E5A0000-00007FFB9E5E7000 kritacolorsfilters.dll
00007FFBA5690000-00007FFBA56A9000 kritaconvertheighttonormalmap.dll
00007FFBA3F10000-00007FFBA3F25000 kritaconvolutionfilters.dll
00007FFBA0170000-00007FFBA0184000 kritadodgeburn.dll
00007FFB9FFE0000-00007FFB9FFF9000 kritaedgedetection.dll
00007FFB9DC40000-00007FFB9DC53000 kritaembossfilter.dll
00007FFB9D790000-00007FFB9D7A3000 kritaexample.dll
00007FFB986C0000-00007FFB986DA000 kritaextensioncolorsfilters.dll
00007FFB986A0000-00007FFB986B9000 kritafastcolortransferfilter.dll
00007FFB98680000-00007FFB9869C000 kritagradientmap.dll
00007FFB97080000-00007FFB9709B000 kritahalftone.dll
00007FFB90CF0000-00007FFB90D18000 kritaimageenhancement.dll
00007FFB97060000-00007FFB9707D000 kritaindexcolors.dll
00007FFB907E0000-00007FFB907F9000 kritalevelfilter.dll
00007FFB907C0000-00007FFB907D8000 kritanoisefilter.dll
00007FFB907A0000-00007FFB907B4000 kritanormalize.dll
00007FFB905A0000-00007FFB905B6000 kritaoilpaintfilter.dll
00007FFB8FF60000-00007FFB8FF87000 kritaphongbumpmap.dll
00007FFB90580000-00007FFB90596000 kritapixelizefilter.dll
00007FFB8FF40000-00007FFB8FF55000 kritaposterize.dll
00007FFB8FF20000-00007FFB8FF34000 kritaraindropsfilter.dll
00007FFB8FF00000-00007FFB8FF18000 kritarandompickfilter.dll
00007FFB8FEE0000-00007FFB8FEF6000 kritaroundcornersfilter.dll
00007FFB8FEC0000-00007FFB8FED4000 kritasmalltilesfilter.dll
00007FFB8FEA0000-00007FFB8FEB9000 kritathreshold.dll
00007FFB8FE70000-00007FFB8FE92000 kritaunsharpfilter.dll
00007FFB8FE50000-00007FFB8FE6A000 kritawavefilter.dll
00007FFB8EE10000-00007FFB8EE27000 kritacolorgenerator.dll
00007FFB8EDF0000-00007FFB8EE07000 kritapatterngenerator.dll
00007FFB8EDB0000-00007FFB8EDE6000 kritacolorsmudgepaintop.dll
00007FFB8DDF0000-00007FFB8DF01000 libkritalibpaintop.dll
00007FFB7D4B0000-00007FFB7DADB000 kritalcmsengine.dll
00007FFB8ED50000-00007FFB8EDA3000 liblcms2.dll
00007FFB8EA20000-00007FFB8EA59000 krita_colorspaces_extensions.dll
00007FFB8EC90000-00007FFB8ECBB000 kritacurvepaintop.dll
00007FFB8E9C0000-00007FFB8EA14000 kritadefaultpaintops.dll
00007FFB8E980000-00007FFB8E9B4000 kritadeformpaintop.dll
00007FFB8E7B0000-00007FFB8E7DC000 kritaexperimentpaintop.dll
00007FFB8E780000-00007FFB8E7A6000 kritafilterop.dll
00007FFB8DDC0000-00007FFB8DDE3000 kritagridpaintop.dll
00007FFB8D690000-00007FFB8D6C0000 kritahairypaintop.dll
00007FFB8D650000-00007FFB8D687000 kritahatchingpaintop.dll
00007FFB8CCE0000-00007FFB8CD07000 kritaparticlepaintop.dll
00007FFB8CCB0000-00007FFB8CCD3000 kritaroundmarkerpaintop.dll
00007FFB8CC80000-00007FFB8CCAC000 kritasketchpaintop.dll
00007FFB8C5D0000-00007FFB8C60C000 kritaspraypaintop.dll
00007FFB8CC50000-00007FFB8CC7B000 kritatangentnormalpaintop.dll
00007FFB8C590000-00007FFB8C5CF000 krita_filtereffects.dll
00007FFBD8380000-00007FFBD83B0000 SspiCli.dll   6.2.17134.376
00007FFB8C050000-00007FFB8C090000 kritaassistanttool.dll
00007FFB852F0000-00007FFB85343000 krita_flaketools.dll
00007FFB85280000-00007FFB852EC000 krita_karbontools.dll
00007FFB8DDA0000-00007FFB8DDB2000 krita_tool_basicflakes.dll
00007FFB857A0000-00007FFB857BB000 libkritabasicflakes.dll
00007FFB85240000-00007FFB8527A000 krita_tool_svgtext.dll
00007FFB851C0000-00007FFB85239000 kritadefaulttools.dll
00007FFBCC570000-00007FFBCC580000 libboost_system-mgw73-mt-1_61.dll
00007FFB7EBA0000-00007FFB7EC06000 kritaselectiontools.dll
00007FFB7F370000-00007FFB7F39C000 kritatoolSmartPatch.dll
00007FFB7EB70000-00007FFB7EB9B000 kritatoolcrop.dll
00007FFB7EB50000-00007FFB7EB67000 kritatooldyna.dll
00007FFB7EB20000-00007FFB7EB44000 kritatoollazybrush.dll
00007FFB7E420000-00007FFB7E436000 kritatoolpolygon.dll
00007FFB7E400000-00007FFB7E416000 kritatoolpolyline.dll
00007FFB7E320000-00007FFB7E400000 kritatooltransform.dll
00007FFB7C030000-00007FFB7C0CF000 kritaanimationdocker.dll
00007FFB7E300000-00007FFB7E317000 kritasvgcollectiondocker.dll
00007FFB7E2E0000-00007FFB7E2F8000 kritaarrangedocker.dll
00007FFB7E0F0000-00007FFB7E119000 kritaartisticcolorselector.dll
00007FFB7E0D0000-00007FFB7E0ED000 kritachanneldocker.dll
00007FFB7D100000-00007FFB7D15E000 kritacolorselectorng.dll
0000000070700000-0000000070714000 qsvgicon.dll  5.12.2.0
00007FFB7E0B0000-00007FFB7E0CE000 kritacompositiondocker.dll
00007FFB7C000000-00007FFB7C025000 kritadefaultdockers.dll
00007FFB7BFE0000-00007FFB7BFF5000 kritadigitalmixer.dll
00007FFB7BFC0000-00007FFB7BFDE000 kritagriddocker.dll
00007FFB7BFA0000-00007FFB7BFB8000 kritahistogramdocker.dll
00007FFB7BF80000-00007FFB7BFA0000 kritahistorydocker.dll
00007FFB7BF50000-00007FFB7BF79000 kritalutdocker.dll
00007FFB7BDF0000-00007FFB7BF42000 libOpenColorIO.dll
00007FFB7BDD0000-00007FFB7BDEB000 kritaoverviewdocker.dll
00007FFB7B6C0000-00007FFB7B6DF000 kritapalettedocker.dll
00007FFB7B6A0000-00007FFB7B6B3000 kritapatterndocker.dll
00007FFB7B680000-00007FFB7B694000 kritapresetdocker.dll
00007FFB7B110000-00007FFB7B125000 kritapresethistory.dll
00007FFB7B0F0000-00007FFB7B106000 kritasmallcolorselector.dll
00007FFB7B0D0000-00007FFB7B0EA000 kritaspecificcolorselector.dll
00007FFB7B0A0000-00007FFB7B0C8000 kritatasksetdocker.dll
00007FFB7B080000-00007FFB7B09C000 kritatouchdocker.dll
00007FFB791D0000-00007FFB792E9000 libkritaqml.dll
00007FFB78DD0000-00007FFB791C5000 Qt5Qml.dll    5.12.2.0
00007FFB78DB0000-00007FFB78DC9000 Qt5QuickWidgets.dll   5.12.2.0
00007FFB74990000-00007FFB74D7B000 Qt5Quick.dll  5.12.2.0
00007FFBB26D0000-00007FFBB2714000 edputil.dll   6.2.17134.1
00007FFB78D80000-00007FFB78DA5000 kritaanimationrenderer.dll
00007FFB78D60000-00007FFB78D74000 kritabuginfo.dll
00007FFB78D40000-00007FFB78D5C000 kritaclonesarray.dll
00007FFB78D20000-00007FFB78D3C000 kritacolorrange.dll
00007FFB78D00000-00007FFB78D19000 kritacolorspaceconversion.dll
00007FFB78CE0000-00007FFB78CFC000 kritahistogram.dll
00007FFB78CB0000-00007FFB78CDD000 kritaimagesize.dll
00007FFB78C90000-00007FFB78CAC000 kritaimagesplit.dll
00007FFB78C70000-00007FFB78C84000 kritalayergroupswitcher.dll
00007FFB78C50000-00007FFB78C6E000 kritalayersplit.dll
00007FFB78C20000-00007FFB78C4A000 kritametadataeditor.dll
00007FFB78C00000-00007FFB78C1C000 kritamodifyselection.dll
00007FFB78BE0000-00007FFB78BFD000 kritaoffsetimage.dll
00007FFB78B90000-00007FFB78BD1000 kritaqmic.dll
00007FFB76670000-00007FFB766A7000 kritaresourcemanager.dll
00007FFB76650000-00007FFB76669000 kritarotateimage.dll
00007FFB76630000-00007FFB7664D000 kritaseparatechannels.dll
00007FFB76610000-00007FFB76624000 kritashearimage.dll
00007FFB765F0000-00007FFB7660A000 kritawaveletdecompose.dll
00007FFB75430000-00007FFB7545D000 kritapykrita.dll
00007FFB753A0000-00007FFB75426000 libkritalibkis.dll
000000001B7A0000-000000001BB34000 python36.dll  3.6.2150.1013
00007FFB75380000-00007FFB75397000 VCRUNTIME140.dll  14.0.23026.0
00007FFB75310000-00007FFB7537A000 krita.pyd
0000000064F40000-0000000064F64000 sip.pyd
000000006B880000-000000006BBA7000 QtCore.pyd
00007FFBCA1C0000-00007FFBCA1CF000 python3.dll   3.6.2150.1013
0000000066300000-000000006662F000 QtGui.pyd
0000000065400000-0000000065A9F000 QtWidgets.pyd
0000000061640000-000000006168E000 QtXml.pyd
0000000074330000-000000007434A000 _bz2.pyd      3.6.2150.1013
00007FFB752C0000-00007FFB75302000 _lzma.pyd     3.6.2150.1013
00007FFB74820000-00007FFB74989000 _hashlib.pyd  3.6.2150.1013
0000000072B60000-0000000072B8D000 _elementtree.pyd  3.6.2150.1013
00007FFB75280000-00007FFB752B3000 pyexpat.pyd   3.6.2150.1013
0000000072B40000-0000000072B55000 _socket.pyd   3.6.2150.1013
0000000074320000-000000007432A000 select.pyd    3.6.2150.1013
0000000072B30000-0000000072B3E000 _overlapped.pyd   3.6.2150.1013
00007FFBD7C70000-00007FFBD7CD6000 mswsock.dll   6.2.17134.1
0000000072B20000-0000000072B2B000 _multiprocessing.pyd  3.6.2150.1013
00007FFB75260000-00007FFB75271000 _asyncio.pyd  3.6.2150.1013
00007FFB74620000-00007FFB7481D000 _ssl.pyd      3.6.2150.1013
000000006DA80000-000000006DA8F000 qtquick2plugin.dll    5.12.2.0
00007FFB74560000-00007FFB74618000 kritasketchplugin.dll
00007FFB74540000-00007FFB7455A000 kritakraimport.dll
00007FFB74310000-00007FFB74371000 libkritalibkra.dll
00007FFB7F540000-00007FFB7F55D000 kritakraexport.dll
00007FFBC2FE0000-00007FFBC349D000 WININET.dll   11.0.17134.648
00007FFBD1AB0000-00007FFBD1D56000 iertutil.dll  11.0.17134.677
00007FFBD33D0000-00007FFBD33E5000 ondemandconnroutehelper.dll   6.2.17134.1
00007FFBD0F70000-00007FFBD104D000 winhttp.dll   6.2.17134.590
00007FFBD3B70000-00007FFBD3B7B000 WINNSI.DLL    6.2.17134.1
00007FFBD1F00000-00007FFBD20C8000 urlmon.dll    11.0.17134.648
00007FFBD19F0000-00007FFBD19FA000 rasadhlp.dll  6.2.17134.1
00007FFBD1050000-00007FFBD10C2000 fwpuclnt.dll  6.2.17134.1
 
Windows 6.2.9200
DrMingw 0.8.2
Comment 1 wolthera 2019-04-16 15:48:54 UTC
Hm... I cannot reproduce this on 71371bb

My System-information log:
=================================

SESSION: 16 Apr 2019 17:43:18 +0200. Executing krita

Krita

 Version: 4.2.0-pre-alpha (git 71371bb)
 Languages: en_US, en_GB, nl
 Hidpi: false

Qt

  Version (compiled): 5.12.0
  Version (loaded): 5.12.0

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.15.0-47-generic
  Pretty Productname: KDE neon User Edition 5.15
  Product Type: neon
  Product Version: 18.04


Hardware Information

  GPU Acceleration: auto
  Memory: 7725 Mb
  Number of Cores: 8
  Swap Location: /tmp

16 Apr 2019 17:43:35 +0200: Importing application/x-krita to application/x-krita. Location: /home/wolthera/blah.kra. Real location: /home/wolthera/blah.kra. Batchmode: 0
16 Apr 2019 17:43:35 +0200: Disabled smoothing.
16 Apr 2019 17:43:35 +0200: Disabled smoothing.
16 Apr 2019 17:43:35 +0200: Disabled smoothing.
16 Apr 2019 17:43:48 +0200: Saving Document /home/wolthera/blah.kra as /home/wolthera/blah.kra (mime: application/x-krita). 1024 * 1024 pixels, 3 layers.  101 frames, 24 framerate. Export configuration: No configuration
16 Apr 2019 17:43:48 +0200: Converting from application/x-krita to application/x-krita. Location: /home/wolthera/blah.kra. Real location: /home/wolthera/blah.kra. Batchmode: 0. Configuration: none
16 Apr 2019 17:43:49 +0200: Completed saving /home/wolthera/blah.kra (mime: application/x-krita). Result: OK
16 Apr 2019 17:43:53 +0200: Importing application/x-krita to application/x-krita. Location: /home/wolthera/blah.kra. Real location: /home/wolthera/blah.kra. Batchmode: 0
16 Apr 2019 17:43:54 +0200: Disabled smoothing.
16 Apr 2019 17:43:54 +0200: Disabled smoothing.
16 Apr 2019 17:43:54 +0200: Disabled smoothing.
16 Apr 2019 17:45:33 +0200: Saving Document /home/wolthera/blah.kra as /home/wolthera/blah.kra (mime: application/x-krita). 1024 * 1024 pixels, 2 layers.  101 frames, 24 framerate. Export configuration: No configuration
16 Apr 2019 17:45:33 +0200: Converting from application/x-krita to application/x-krita. Location: /home/wolthera/blah.kra. Real location: /home/wolthera/blah.kra. Batchmode: 0. Configuration: none
16 Apr 2019 17:45:35 +0200: Completed saving /home/wolthera/blah.kra (mime: application/x-krita). Result: OK
16 Apr 2019 17:46:43 +0200: Saving Document /home/wolthera/blah.kra as /home/wolthera/blah.kra (mime: application/x-krita). 256 * 256 pixels, 2 layers.  101 frames, 24 framerate. Export configuration: No configuration
16 Apr 2019 17:46:43 +0200: Converting from application/x-krita to application/x-krita. Location: /home/wolthera/blah.kra. Real location: /home/wolthera/blah.kra. Batchmode: 0. Configuration: none
16 Apr 2019 17:46:43 +0200: Completed saving /home/wolthera/blah.kra (mime: application/x-krita). Result: OK
16 Apr 2019 17:46:46 +0200: Importing application/x-krita to application/x-krita. Location: /home/wolthera/blah.kra. Real location: /home/wolthera/blah.kra. Batchmode: 0
16 Apr 2019 17:46:47 +0200: Disabled smoothing.
16 Apr 2019 17:46:47 +0200: Disabled smoothing.
16 Apr 2019 17:46:47 +0200: Disabled smoothing.
Comment 2 Halla Rempt 2019-04-16 15:54:13 UTC
The backtrace suggests that the crash happens in this line:

QSize psize(pattern->width(), pattern->height());

Which would mean that the KoPattern *pattern variable is invalid. In the resource rewrite branch, this variable is already guarded by a shared pointer.
Comment 3 Halla Rempt 2019-04-17 09:54:16 UTC
Git commit d3958671636133fdc50263a0c2e4da2aaeba0196 by Boudewijn Rempt.
Committed on 17/04/2019 at 09:51.
Pushed by rempt into branch 'master'.

Check whether the pointer to the pattern is not zero

M  +1    -0    libs/image/layerstyles/kis_ls_utils.cpp

https://commits.kde.org/krita/d3958671636133fdc50263a0c2e4da2aaeba0196