Bug 456470 - Crash in undo stack when doing undo
Summary: Crash in undo stack when doing undo
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Compiled Sources All
: NOR normal
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords: release_blocker
: 457463 457527 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-07-08 05:12 UTC by acc4commissions
Modified: 2022-08-12 14:26 UTC (History)
1 user (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 acc4commissions 2022-07-08 05:12:35 UTC
SUMMARY
git 763a30e

I think I was just drawing on the canvas, I'm not sure what caused it.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

Error occurred on Friday, July 8, 2022 at 13:57:25.

krita.exe caused an Access Violation at location 00007FFC095952A3 in module libkritacommand.dll Reading from location 0000000000000000.

AddrPC           Params
00007FFC095952A3 0000000000000000 0000000000000008 00000196A0EF26A8  libkritacommand.dll!KUndo2QStack::undo+0x33
00007FFBCD78CAC8 00000196A0EF26A8 00007FFB00000000 00007FFBCCB5CA90  libkritaui.dll!UndoStack::undoImpl+0xa8
00007FFBCD78C4A8 00000196D61197D0 00007FFBCD7B45E3 00007FFBCD9227A0  libkritaui.dll!UndoStack::processPostponedJobs+0x108
00007FFBCD78C1B7 00007FFBCCCFB038 0000000000000001 0000000000000000  libkritaui.dll!UndoStack::undo+0x27
00007FFBCC990868 00000196A1B5C140 000000000000001A 00007FFBCCB5C621  Qt5Core.dll!QMetaObject::activate+0x828
00007FFBCCD43A42 0000000000000000 0000000000000000 00000196A1B5C140  Qt5Widgets.dll!QAction::activate+0xd2
00007FFBCCD43889 00000004D0FDF298 0000019699822F90 000001969417B800  Qt5Widgets.dll!QAction::event+0x19
00007FFBCCD4C716 0000000000000000 0000000000000000 0001000001000001  Qt5Widgets.dll!QApplicationPrivate::notify_helper+0x106
00007FFBCCD4D92E 01000196925B02B8 00000196D6119B70 0000000000000060  Qt5Widgets.dll!QApplication::notify+0x1ee
00007FFBCD769558 00000196C55C2EB0 00007FFC234547B1 0000019699A219E0  libkritaui.dll!KisApplication::notify+0xa8
00007FFBCC963323 00000196925B0000 00007FFBCC130809 00000004D0FDBBD8  Qt5Core.dll!QCoreApplication::notifyInternal2+0x93
00007FFBCC12F7F7 0000000000000000 0000019699930050 00007FFBCCD186A8  Qt5Gui.dll!QShortcutMap::dispatchEvent+0xf7
00007FFBCC12F563 3FFAA0E385C196AC 0000000000000000 0000000000000000  Qt5Gui.dll!QShortcutMap::tryShortcut+0x93
00007FFBCC0E5612 00000196941E1AD0 000000000000000E 00000196941E1AD0  Qt5Gui.dll!QWindowSystemInterface::handleShortcutEvent+0x202
00007FFBCC1006E3 0000019699969360 0000000000000000 0000000000000401  Qt5Gui.dll!QGuiApplicationPrivate::processKeyEvent+0x93
00007FFBCC0E8E5B 0000000000000000 00000000000B086E 00007FFBCB7F6870  Qt5Gui.dll!QWindowSystemInterface::sendWindowSystemEvents+0xdb
00007FFBCC9B5093 0000000000000000 0000000000000001 0000000000000001  Qt5Core.dll!qt_internal_proc+0x253
00007FFC22FAE858 0000000000003DFF 00007FFBCC9B4E40 00000000000B086E  USER32.dll!UserCallWinProcCheckWow+0x2f8
00007FFC22FAE299 00007FFBCC9B4E40 0000000000000000 0000000000000001  USER32.dll!DispatchMessageWorker+0x249
00007FFBCC9B659B 000001969417B800 00000196A1606480 00000004D0FDF1D8  Qt5Core.dll!QEventDispatcherWin32::processEvents+0x7cb
00007FFBCB863795 0000000000000000 00000004D0FDF1D8 00000004D0FDF280  qwindows.dll!QWindowsGuiEventDispatcher::processEvents+0x15
00007FFBCC960175 0000019600000002 0000019600000002 0000019699941030  Qt5Core.dll!QEventLoop::exec+0x1e5
00007FFBCC96399D 00000004D0FDF260 00007FFB00000000 00000004D0FDF250  Qt5Core.dll!QCoreApplication::exec+0x6d
00007FFBCE7157C7 0000000000000000 00007FF7140E5110 0000000000000000  krita.dll!krita_main+0x4397
00007FF7140E13D7 0000000000000000 0000000000000000 0000000000000000  krita.exe!__tmainCRTStartup+0x277
00007FF7140E1156 0000000000000000 0000000000000000 0000000000000000  krita.exe!WinMainCRTStartup+0x16
00007FFC227F7034 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!BaseThreadInitThunk+0x14
00007FFC23482651 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart+0x21

00007FF7140E0000-00007FF714126000 krita.exe   	5.2.0.0
00007FFC23430000-00007FFC23627000 ntdll.dll   	6.2.19041.1741
00007FFC227E0000-00007FFC2289D000 KERNEL32.DLL	6.2.19041.1741
00007FFC20F60000-00007FFC2122D000 KERNELBASE.dll	6.2.19041.1741
00007FFC20B50000-00007FFC20C50000 ucrtbase.dll	6.2.19041.789
00007FFBCE710000-00007FFBCED8F000 krita.dll
00007FFC1BC50000-00007FFC1BD3E000 libkritaresources.dll
00007FFC1BB50000-00007FFC1BC4A000 libkritaglobal.dll
00007FFC21C10000-00007FFC22354000 SHELL32.dll 	6.2.19041.1741
00007FFC20C50000-00007FFC20CED000 msvcp_win.dll	6.2.19041.789
00007FFC22FA0000-00007FFC23140000 USER32.dll  	6.2.19041.1503
00007FFC21460000-00007FFC21482000 win32u.dll  	6.2.19041.1766
00007FFC21BC0000-00007FFC21BEA000 GDI32.dll   	6.2.19041.1620
00007FFC20E50000-00007FFC20F5B000 gdi32full.dll	6.2.19041.1706
00007FFC23140000-00007FFC2326A000 ole32.dll   	6.2.19041.1202
00007FFC21760000-00007FFC21885000 RPCRT4.dll  	6.2.19041.1706
00007FFC22900000-00007FFC22C54000 combase.dll 	6.2.19041.1741
00007FFBCDB50000-00007FFBCE199000 libkritaimage.dll
00007FFBCD290000-00007FFBCDB45000 libkritaui.dll
00007FFC1BA10000-00007FFC1BA62000 libKF5I18n.dll
00007FFC1B9C0000-00007FFC1BA10000 libKF5ConfigCore.dll
00007FFBCCD40000-00007FFBCD285000 Qt5Widgets.dll	5.12.12.0
00007FFBCC790000-00007FFBCCD36000 Qt5Core.dll 	5.12.12.0
00007FFC22E80000-00007FFC22EEB000 WS2_32.dll  	6.2.19041.546
00007FFC22EF0000-00007FFC22F9E000 ADVAPI32.dll	6.2.19041.1682
00007FFC21890000-00007FFC2192E000 msvcrt.dll  	7.0.19041.546
00007FFC21A50000-00007FFC21AEC000 sechost.dll 	6.2.19041.1586
00007FFBFFAC0000-00007FFBFFBE6000 libc++.dll
00007FFC1C230000-00007FFC1C23E000 libunwind.dll
00007FFC1C200000-00007FFC1C222000 libkritaplugin.dll
00007FFC1B980000-00007FFC1B9B7000 Qt5Sql.dll  	5.12.12.0
00007FFC1BB30000-00007FFC1BB49000 libkritastore.dll
00007FFBFFA40000-00007FFBFFAC0000 libKF5CoreAddons.dll
00007FFC0DDF0000-00007FFC0DE20000 libquazip5.dll
00007FFC1B970000-00007FFC1B97A000 libkritaversion.dll
00007FFBFF9F0000-00007FFBFFA32000 Qt5Xml.dll  	5.12.12.0
00007FFBCC0D0000-00007FFBCC78E000 Qt5Gui.dll  	5.12.12.0
00007FFBF59E0000-00007FFBF5A5E000 libkritapsdutils.dll
00007FFBF78C0000-00007FFBF78F1000 libkritametadata.dll
00007FFBF49C0000-00007FFBF4B52000 libfftw3.dll
00007FFBF5990000-00007FFBF59DC000 libHalf-2_5.dll
00007FFC09590000-00007FFC095AC000 libkritacommand.dll
00007FFBCE3A0000-00007FFBCE703000 libkritapigment.dll
00007FFC08770000-00007FFC0878C000 libkritaimpex.dll
00007FFC1B500000-00007FFC1B50B000 libkritacolor.dll
00007FFBCBF90000-00007FFBCC0CE000 libkritawidgetutils.dll
00007FFBF6DF0000-00007FFBF6E30000 libpng16.dll
00007FFBF5940000-00007FFBF598E000 libkritalibbrush.dll
00007FFBF4E70000-00007FFBF4F26000 Qt5Multimedia.dll	5.12.12.0
00007FFBF6B50000-00007FFBF6B81000 libKF5Completion.dll
00007FFBEBBD0000-00007FFBEBCB0000 libkritawidgets.dll
00007FFBF4940000-00007FFBF497B000 libkritaresourcewidgets.dll
00007FFBF3030000-00007FFBF3064000 libKF5ItemViews.dll
00007FFBCBDA0000-00007FFBCBF85000 libkritaflake.dll
00007FFBF4E40000-00007FFBF4E61000 libKF5ConfigGui.dll
00007FFBF78A0000-00007FFBF78BB000 libKF5GuiAddons.dll
00007FFBEF540000-00007FFBEF58E000 Qt5Svg.dll  	5.12.12.0
00007FFBE8D50000-00007FFBE8E4F000 libKF5WidgetsAddons.dll
00007FFC1E590000-00007FFC1E62E000 UxTheme.dll 	6.2.19041.1620
00007FFC1E890000-00007FFC1E8BF000 dwmapi.dll  	6.2.19041.746
00007FFC0B1D0000-00007FFC0B1EF000 MPR.dll     	6.2.19041.1566
00007FFC0B9D0000-00007FFC0B9EA000 NETAPI32.dll	6.2.19041.1682
00007FFC20A50000-00007FFC20A7E000 USERENV.dll 	6.2.19041.572
00007FFC17680000-00007FFC1768A000 VERSION.dll 	6.2.19041.546
00007FFC14AF0000-00007FFC14B17000 WINMM.dll   	6.2.19041.546
00007FFBCBC50000-00007FFBCBD9C000 Qt5Network.dll	5.12.12.0
00007FFC20CF0000-00007FFC20E46000 CRYPT32.dll 	6.2.19041.1320
00007FFBF4910000-00007FFBF4935000 intl.dll    	0.19.0.0
00007FFBF21F0000-00007FFBF2211000 libzlib.dll 	1.2.12.0
00007FFBF5920000-00007FFBF593F000 libKF5WindowSystem.dll
00007FFBEBA60000-00007FFBEBAAE000 Qt5PrintSupport.dll	5.12.12.0
00007FFC22D40000-00007FFC22E1B000 comdlg32.dll	6.2.19041.1766
00007FFC21930000-00007FFC219DD000 shcore.dll  	6.2.19041.1741
00007FFC22E20000-00007FFC22E75000 SHLWAPI.dll 	6.2.19041.1706
00007FFC20000000-00007FFC200CB000 DNSAPI.dll  	6.2.19041.1620
00007FFC1FFB0000-00007FFC1FFEB000 IPHLPAPI.DLL	6.2.19041.546
00007FFBDEA60000-00007FFBDEAEE000 libssl-1_1-x64.dll	1.1.1.12
00007FFC0DE50000-00007FFC0DE5F000 iconv.dll
00007FFC0D630000-00007FFC0D6C4000 WINSPOOL.DRV	6.2.19041.1706
00007FFC0D340000-00007FFC0D3F0000 COMCTL32.dll	5.82.19041.1110
00007FFC1FFF0000-00007FFC1FFFC000 NETUTILS.DLL	6.2.19041.546
00007FFC200D0000-00007FFC20114000 LOGONCLI.DLL	6.2.19041.1682
00007FFC0E9C0000-00007FFC0E9D9000 SAMCLI.DLL  	6.2.19041.1466
00007FFBCB990000-00007FFBCBC4A000 libcrypto-1_1-x64.dll	1.1.1.12
00007FFC0FDC0000-00007FFC0FDE8000 SRVCLI.DLL  	6.2.19041.1645
00007FFC20520000-00007FFC2052C000 CRYPTBASE.DLL	6.2.19041.546
00007FFC22C60000-00007FFC22C90000 IMM32.DLL   	6.2.19041.546
00007FFC21A40000-00007FFC21A48000 NSI.dll     	6.2.19041.610
00007FFC20A90000-00007FFC20AAF000 profapi.dll 	6.2.19041.844
00007FFC1EC70000-00007FFC1F404000 windows.storage.dll	6.2.19041.1741
00007FFC205B0000-00007FFC205DC000 Wldp.dll    	6.2.19041.1682
00007FFBCB7E0000-00007FFBCB98F000 qwindows.dll	5.12.12.0
00007FFC21AF0000-00007FFC21BBD000 OLEAUT32.dll	6.2.19041.985
00007FFC1C6F0000-00007FFC1C704000 WTSAPI32.dll	6.2.19041.546
00007FFC1EA70000-00007FFC1EA82000 kernel.appcore.dll	6.2.19041.546
00007FFC212D0000-00007FFC21352000 bcryptPrimitives.dll	6.2.19041.1415
00007FFC13D30000-00007FFC13EFF000 d3d9.dll    	6.2.19041.1741
00007FFC20740000-00007FFC20752000 msasn1.dll  	6.2.19041.546
00007FFC17640000-00007FFC17671000 cryptnet.dll	6.2.19041.906
00007FFC21260000-00007FFC212C7000 WINTRUST.DLL	6.2.19041.1741
00007FFC21BF0000-00007FFC21C0D000 imagehlp.dll	6.2.19041.1415
00007FFC20500000-00007FFC20518000 CRYPTSP.dll 	6.2.19041.546
00007FFC1FC20000-00007FFC1FC54000 rsaenh.dll  	6.2.19041.1052
00007FFC21230000-00007FFC21257000 bcrypt.dll  	6.2.19041.1023
00007FFC232D0000-00007FFC233E5000 MSCTF.dll   	6.2.19041.1741
00007FFBC9C90000-00007FFBC9DB6000 opengl32.dll	6.2.19041.1741
00007FFBEBBA0000-00007FFBEBBCC000 GLU32.dll   	6.2.19041.1741
00007FFC22C90000-00007FFC22D39000 clbcatq.dll 	2001.12.10941.16384
00007FFBC72F0000-00007FFBC9C89000 nvoglv64.dll	27.21.14.5671
00007FFC22370000-00007FFC227DF000 SETUPAPI.dll	6.2.19041.1741
00007FFC21410000-00007FFC2145E000 cfgmgr32.dll	6.2.19041.1620
00007FFC20900000-00007FFC2092C000 DEVOBJ.dll  	6.2.19041.1620
00007FFC1F850000-00007FFC1F883000 ntmarta.dll 	6.2.19041.546
00007FFC177A0000-00007FFC177DB000 dxcore.dll  	6.2.19041.546
00007FFC20120000-00007FFC2016B000 powrprof.dll	6.2.19041.546
00007FFC1FF90000-00007FFC1FFA2000 UMPDC.dll
00007FFC1F900000-00007FFC1F95A000 WINSTA.dll  	6.2.19041.546
00007FFBEBA20000-00007FFBEBA59000 libEGL.DLL
00007FFBCB1E0000-00007FFBCB7D4000 libGLESv2.dll
00007FFC1F450000-00007FFC1F543000 dxgi.dll    	6.2.19041.1741
00007FFC1D7D0000-00007FFC1D9B4000 dcomp.dll   	6.2.19041.1741
00007FFBCAF90000-00007FFBCB1D8000 wintab32.dll	1.0.5.10
00007FFBE53E0000-00007FFBE5654000 Wacom_Tablet.dll	6.3.46.1
00007FFBEB9F0000-00007FFBEBA1E000 qwindowsvistastyle.dll	5.12.12.0
00007FFBF49A0000-00007FFBF49B1000 qsvgicon.dll	5.12.12.0
00007FFBF8E60000-00007FFBF8E9E000 dataexchange.dll	6.2.19041.1387
00007FFC1C730000-00007FFC1C993000 d3d11.dll   	6.2.19041.1741
00007FFC1BF30000-00007FFC1C130000 twinapi.appcore.dll	6.2.19041.1741
00007FFBEF520000-00007FFBEF532000 exchndl.dll 	0.9.5.0
00007FFC22360000-00007FFC22368000 PSAPI.DLL   	6.2.19041.546
00007FFBCF980000-00007FFBCF9FF000 mgwhelp.dll 	0.9.5.0
00007FFBCAD90000-00007FFBCAF83000 dbghelp.dll 	10.0.17763.1
00007FFBE88F0000-00007FFBE891A000 dbgcore.DLL 	10.0.17763.1
00007FFC0DDE0000-00007FFC0DDEE000 kimg_hdr.dll
00007FFC0B910000-00007FFC0B91D000 kimg_kra.dll
00007FFBCF940000-00007FFBCF978000 libKF5Archive.dll
0000000063CC0000-0000000063CED000 liblzma.dll 	5.2.5.0
00007FFBFF9E0000-00007FFBFF9EC000 kimg_ora.dll
00007FFBF9EF0000-00007FFBF9EFF000 kimg_pcx.dll
00007FFBF3C50000-00007FFBF3C60000 kimg_pic.dll
00007FFBF3020000-00007FFBF302D000 kimg_psd.dll
00007FFBF2FF0000-00007FFBF2FFE000 kimg_ras.dll
00007FFBE88D0000-00007FFBE88E1000 kimg_rgb.dll
00007FFBF21E0000-00007FFBF21ED000 kimg_tga.dll
00007FFBE86F0000-00007FFBE870B000 kimg_xcf.dll
00007FFBDD450000-00007FFBDD461000 qgif.dll    	5.12.12.0
00007FFBCF920000-00007FFBCF932000 qicns.dll   	5.12.12.0
00007FFBCF900000-00007FFBCF911000 qico.dll    	5.12.12.0
00007FFBCE320000-00007FFBCE394000 qjpeg.dll   	5.12.12.0
00007FFBE8D40000-00007FFBE8D4F000 qsvg.dll    	5.12.12.0
00007FFBCE300000-00007FFBCE312000 qtiff.dll   	5.12.12.0
00007FFBCAD10000-00007FFBCAD8A000 libtiff.dll
00007FFBCAC90000-00007FFBCAD0C000 libjpeg-62.dll
00007FFBE86E0000-00007FFBE86EE000 qwbmp.dll   	5.12.12.0
00007FFBCABD0000-00007FFBCAC83000 qwebp.dll   	5.12.12.0
00007FFC12AA0000-00007FFC12B99000 textinputframework.dll	6.2.19041.1741
00007FFC1E0A0000-00007FFC1E192000 CoreMessaging.dll	6.2.19041.746
00007FFC1DD40000-00007FFC1E09E000 CoreUIComponents.dll	6.2.19041.546
00007FFC1D670000-00007FFC1D7C4000 wintypes.dll	6.2.19041.1682
00007FFC0D5C0000-00007FFC0D626000 Oleacc.dll  	7.2.19041.746
00007FFBFC2C0000-00007FFBFC5B5000 UIAutomationCore.dll	7.2.19041.1741
00007FFC1C410000-00007FFC1C506000 PROPSYS.dll 	7.0.19041.1741
00007FFC20960000-00007FFC20A02000 sxs.dll     	6.2.19041.546
00007FFBCE2E0000-00007FFBCE2F3000 krita_shape_image.dll
00007FFBCAB70000-00007FFBCABC3000 krita_shape_paths.dll
00007FFBC6430000-00007FFBC72EE000 kritalcmsengine.dll
00007FFBCE2C0000-00007FFBCE2D6000 liblcms2_fast_float.dll
00007FFBCAB00000-00007FFBCAB64000 liblcms2.dll
00007FFBCAAD0000-00007FFBCAAFD000 krita_colorspaces_extensions.dll
00007FFBCAAB0000-00007FFBCAAC6000 kritaasccdl.dll
00007FFBCAA80000-00007FFBCAAA1000 kritablurfilter.dll
00007FFBCAA30000-00007FFBCAA73000 kritacolorsfilters.dll
00007FFBCAA10000-00007FFBCAA26000 kritaconvertheighttonormalmap.dll
00007FFBCA9F0000-00007FFBCAA02000 kritaconvolutionfilters.dll
00007FFBCA9D0000-00007FFBCA9E2000 kritadodgeburn.dll
00007FFBCA9B0000-00007FFBCA9C4000 kritaedgedetection.dll
00007FFBE7B40000-00007FFBE7B4F000 kritaembossfilter.dll
00007FFBCA990000-00007FFBCA9A1000 kritaexample.dll
00007FFBCA970000-00007FFBCA989000 kritaextensioncolorsfilters.dll
00007FFBCA950000-00007FFBCA965000 kritafastcolortransferfilter.dll
00007FFBCA930000-00007FFBCA946000 kritagaussianhighpassfilter.dll
00007FFBCA910000-00007FFBCA930000 kritagradientmap.dll
00007FFBCA8D0000-00007FFBCA904000 kritahalftone.dll
00007FFBCA8B0000-00007FFBCA8CA000 kritaimageenhancement.dll
00007FFBCA890000-00007FFBCA8AC000 kritaindexcolors.dll
00007FFBCA860000-00007FFBCA88E000 kritalevelfilter.dll
00007FFBCA840000-00007FFBCA855000 kritanoisefilter.dll
00007FFBCA820000-00007FFBCA832000 kritanormalize.dll
00007FFBCA800000-00007FFBCA815000 kritaoilpaintfilter.dll
00007FFBCA7D0000-00007FFBCA7F1000 kritapalettize.dll
00007FFBCA7A0000-00007FFBCA7C1000 kritaphongbumpmap.dll
00007FFBCA780000-00007FFBCA794000 kritapixelizefilter.dll
00007FFBCA760000-00007FFBCA773000 kritaposterize.dll
00007FFBCA740000-00007FFBCA751000 kritaraindropsfilter.dll
00007FFBCA720000-00007FFBCA736000 kritarandompickfilter.dll
00007FFBCA700000-00007FFBCA714000 kritaroundcornersfilter.dll
00007FFBCA6E0000-00007FFBCA6F2000 kritasmalltilesfilter.dll
00007FFBCA6C0000-00007FFBCA6D8000 kritathreshold.dll
00007FFBCA6A0000-00007FFBCA6B3000 kritaunsharpfilter.dll
00007FFBCA680000-00007FFBCA699000 kritawavefilter.dll
00007FFBCA660000-00007FFBCA675000 kritacolorgenerator.dll
00007FFBCA630000-00007FFBCA655000 kritagradientgenerator.dll
00007FFBCA600000-00007FFBCA622000 kritamultigridpatterngenerator.dll
00007FFBCA5E0000-00007FFBCA5FE000 kritapatterngenerator.dll
00007FFBCA4A0000-00007FFBCA5D9000 kritascreentonegenerator.dll
00007FFBCA3E0000-00007FFBCA49F000 kritaseexprgenerator.dll
00007FFBCA3C0000-00007FFBCA3DB000 kritasimplexnoisegenerator.dll
00007FFBCA360000-00007FFBCA3BE000 kritacolorsmudgepaintop.dll
00007FFBCA230000-00007FFBCA35A000 libkritalibpaintop.dll
00007FFBCA200000-00007FFBCA228000 kritacurvepaintop.dll
00007FFBCA190000-00007FFBCA1F2000 kritadefaultpaintops.dll
00007FFBCA150000-00007FFBCA182000 kritadeformpaintop.dll
00007FFBCA120000-00007FFBCA149000 kritaexperimentpaintop.dll
00007FFBCA0F0000-00007FFBCA117000 kritafilterop.dll
00007FFBCA0C0000-00007FFBCA0E3000 kritagridpaintop.dll
00007FFBCA090000-00007FFBCA0BE000 kritahairypaintop.dll
00007FFBCA050000-00007FFBCA085000 kritahatchingpaintop.dll
00007FFBC9FE0000-00007FFBCA04A000 kritamypaintop.dll
00007FFBC9FB0000-00007FFBC9FD1000 libmypaint.dll
00007FFBC9F90000-00007FFBC9FA5000 libjson-c.dll
00007FFBC9F60000-00007FFBC9F87000 kritaparticlepaintop.dll
00007FFBC9F30000-00007FFBC9F53000 kritaroundmarkerpaintop.dll
00007FFBC9F00000-00007FFBC9F2C000 kritasketchpaintop.dll
00007FFBC9E90000-00007FFBC9EF5000 kritaspraypaintop.dll
00007FFBC9E60000-00007FFBC9E87000 kritatangentnormalpaintop.dll
00007FFBC9E00000-00007FFBC9E53000 krita_flaketools.dll
00007FFBC9DD0000-00007FFBC9DF7000 krita_karbontools.dll
00007FFBC63F0000-00007FFBC642F000 krita_tool_svgtext.dll
00007FFBC6380000-00007FFBC63E4000 kritaassistanttool.dll
00007FFBC62F0000-00007FFBC637E000 kritadefaulttools.dll
00007FFBC62D0000-00007FFBC62E9000 libkritabasicflakes.dll
00007FFBC6230000-00007FFBC62CE000 kritaselectiontools.dll
00007FFBC6200000-00007FFBC6228000 kritatoolSmartPatch.dll
00007FFBC61D0000-00007FFBC61F9000 kritatoolcrop.dll
00007FFBC61B0000-00007FFBC61C5000 kritatooldyna.dll
00007FFBC6170000-00007FFBC61A7000 kritatoolencloseandfill.dll
00007FFBC6140000-00007FFBC6165000 kritatoollazybrush.dll
00007FFBC6120000-00007FFBC6133000 kritatoolpolygon.dll
00007FFBC6100000-00007FFBC6112000 kritatoolpolyline.dll
00007FFBC5FA0000-00007FFBC60FC000 kritatooltransform.dll
00007FFBC5EE0000-00007FFBC5F93000 kritaanimationdocker.dll
00007FFBC5EC0000-00007FFBC5ED6000 kritaarrangedocker.dll
00007FFBC5E90000-00007FFBC5EBD000 kritaartisticcolorselector.dll
00007FFBC5E70000-00007FFBC5E8D000 kritachanneldocker.dll
00007FFBC5E00000-00007FFBC5E6A000 kritacolorselectorng.dll
00007FFBC5DE0000-00007FFBC5DFF000 kritacompositiondocker.dll
00007FFBC5DC0000-00007FFBC5DD6000 kritadigitalmixer.dll
00007FFBC5D90000-00007FFBC5DB5000 kritagamutmask.dll
00007FFBC5D70000-00007FFBC5D8A000 kritagriddocker.dll
00007FFBC5D50000-00007FFBC5D68000 kritahistogramdocker.dll
00007FFBC5D30000-00007FFBC5D49000 kritahistorydocker.dll
00007FFBC5CE0000-00007FFBC5D26000 kritalayerdocker.dll
00007FFBC5CC0000-00007FFBC5CD9000 kritalogdocker.dll
00007FFBC5C90000-00007FFBC5CBB000 kritalutdocker.dll
00007FFBC58A0000-00007FFBC5C81000 libOpenColorIO_2_1.dll
00007FFBC5860000-00007FFBC5896000 libexpat.dll	2.4.7.0
00007FFBC5840000-00007FFBC585B000 kritaoverviewdocker.dll
00007FFBC5820000-00007FFBC583A000 kritapalettedocker.dll
00007FFBE4D20000-00007FFBE4D30000 kritapatterndocker.dll
00007FFBC5800000-00007FFBC5811000 kritapresetdocker.dll
00007FFBC57E0000-00007FFBC57F8000 kritapresethistory.dll
00007FFBC5790000-00007FFBC57D4000 kritarecorderdocker.dll
00007FFBC5770000-00007FFBC578F000 kritasmallcolorselector.dll
00007FFBC5750000-00007FFBC5769000 kritasnapshotdocker.dll
00007FFBC5730000-00007FFBC574B000 kritaspecificcolorselector.dll
00007FFBC56C0000-00007FFBC5721000 kritastoryboarddocker.dll
00007FFBC56A0000-00007FFBC56B5000 kritasvgcollectiondocker.dll
00007FFBC5680000-00007FFBC5699000 kritatasksetdocker.dll
00007FFBC5660000-00007FFBC5678000 kritatouchdocker.dll
00007FFBC5640000-00007FFBC5657000 Qt5QuickWidgets.dll	5.12.12.0
00007FFBC5550000-00007FFBC563E000 libkritaqml.dll
00007FFBC5140000-00007FFBC5542000 Qt5Qml.dll  	5.12.12.0
00007FFBC4D90000-00007FFBC5140000 Qt5Quick.dll	5.12.12.0
00007FFBC4D60000-00007FFBC4D8A000 kritaexif.dll
00007FFBC4B10000-00007FFBC4D59000 libexiv2.dll
00007FFBC4AF0000-00007FFBC4B09000 libwinpthread-1.dll	1.0.0.0
00007FFBC4AC0000-00007FFBC4AE2000 kritaiptc.dll
00007FFBC4AA0000-00007FFBC4ABB000 kritaxmp.dll
00007FFBC4930000-00007FFBC4A96000 qsqlite.dll 	5.12.12.0
00007FFBC4910000-00007FFBC4924000 qgenericbearer.dll	5.12.12.0
00007FFC19C20000-00007FFC19C37000 dhcpcsvc6.DLL	6.2.19041.546
00007FFC19B60000-00007FFC19B7D000 dhcpcsvc.DLL	6.2.19041.546
00007FFBF8BA0000-00007FFBF8BC4000 edputil.dll 	6.2.19041.546
00007FFBC4060000-00007FFBC4075000 kritabuginfo.dll
00007FFBC4040000-00007FFBC4059000 kritaclonesarray.dll
00007FFBC4020000-00007FFBC403C000 kritacolorrange.dll
00007FFBC4000000-00007FFBC4017000 kritacolorspaceconversion.dll
00007FFBC3FE0000-00007FFBC3FFB000 kritadbexplorer.dll
00007FFBC3FC0000-00007FFBC3FDD000 kritaimagesplit.dll
00007FFBC3FA0000-00007FFBC3FB2000 kritalayergroupswitcher.dll
00007FFBC3F80000-00007FFBC3F9E000 kritalayersplit.dll
00007FFBC3F50000-00007FFBC3F7D000 kritametadataeditor.dll
00007FFBC3F30000-00007FFBC3F48000 kritamodifyselection.dll
00007FFBC3F10000-00007FFBC3F2D000 kritaoffsetimage.dll
00007FFBDEA00000-00007FFBDEA0F000 kritaqmic.dll
00007FFBC3ED0000-00007FFBC3F05000 libkritaqmicinterface.dll
00007FFBC3E80000-00007FFBC3ECC000 kritaresourcemanager.dll
00007FFBC3E60000-00007FFBC3E78000 kritarotateimage.dll
00007FFBC3E40000-00007FFBC3E5C000 kritaseparatechannels.dll
00007FFBC3E20000-00007FFBC3E31000 kritashearimage.dll
00007FFBC3E00000-00007FFBC3E18000 kritawaveletdecompose.dll
00007FFBC3DD0000-00007FFBC3DF5000 kritapykrita.dll
00007FFBC3D20000-00007FFBC3DCD000 libkritalibkis.dll
00007FFBC38F0000-00007FFBC3D1C000 python38.dll	3.8.1150.1013
00007FFBC38D0000-00007FFBC38E5000 VCRUNTIME140.dll	14.16.27012.6
00007FFBC3850000-00007FFBC38CA000 krita.pyd
00007FFBC3820000-00007FFBC3841000 sip.cp38-win_amd64.pyd
00007FFBC35A0000-00007FFBC381B000 QtCore.pyd
00007FFBC3310000-00007FFBC35A0000 QtGui.pyd
00007FFBC2D30000-00007FFBC3309000 QtWidgets.pyd
00007FFBC2CF0000-00007FFBC2D30000 QtXml.pyd
00007FFBC2CD0000-00007FFBC2CE7000 _bz2.pyd    	3.8.1150.1013
00007FFBC2C90000-00007FFBC2CD0000 _lzma.pyd   	3.8.1150.1013
00007FFBC2C60000-00007FFBC2C8D000 _elementtree.pyd	3.8.1150.1013
00007FFBC2C20000-00007FFBC2C51000 pyexpat.pyd 	3.8.1150.1013
00007FFBC9DC0000-00007FFBC9DCD000 _hashlib.pyd	3.8.1150.1013
00007FFBC28D0000-00007FFBC2C12000 libcrypto-1_1.dll	1.1.1.4
00007FFBC28B0000-00007FFBC28C6000 _socket.pyd 	3.8.1150.1013
00007FFBC28A0000-00007FFBC28A9000 select.pyd  	3.8.1150.1013
00007FFBC2880000-00007FFBC28A0000 _ssl.pyd    	3.8.1150.1013
00007FFBC27D0000-00007FFBC287B000 libssl-1_1.dll	1.1.1.4
00007FFBC27C0000-00007FFBC27CD000 qtquick2plugin.dll	5.12.12.0
00007FFBC2700000-00007FFBC27B7000 kritasketchplugin.dll
00007FFBAAB70000-00007FFBAABBB000 graphics-hook64.dll	1.7.1.0
00007FFC1BF00000-00007FFC1BF0E000 kritakraimport.dll
00007FFC1BAA0000-00007FFC1BB2F000 libkritalibkra.dll
00007FFC17690000-00007FFC17792000 nvldumdx.dll	27.21.14.5671
00007FFBE2000000-00007FFBE4AB8000 nvwgf2umx.dll	27.21.14.5671
00007FFC132E0000-00007FFC139B5000 nvapi64.dll 	27.21.14.5671
00007FFC0B9A0000-00007FFC0B9B2000 kritakraexport.dll
00007FFBFF420000-00007FFBFF4F1000 imkrtip.dll 	6.2.19041.1
00007FFBFF2D0000-00007FFBFF412000 imetip.dll  	6.2.19041.1682
00007FFBFC710000-00007FFBFC8BE000 DUI70.dll   	6.2.19041.746
00007FFC0C8E0000-00007FFC0C921000 imkrapi.dll 	6.2.19041.844
00007FFC1B000000-00007FFC1B0A0000 policymanager.dll	6.2.19041.1741
00007FFC1FCB0000-00007FFC1FD3A000 msvcp110_win.dll	6.2.19041.546
00007FFBFF290000-00007FFBFF2CE000 imjkapi.dll 	6.2.19041.746
00007FFC0D6D0000-00007FFC0D96A000 comctl32.dll	6.10.19041.1110
00007FFC19520000-00007FFC196D4000 WindowsCodecs.dll	6.2.19041.1706
00007FFC1BEC0000-00007FFC1BED8000 MpDetoursCopyAccelerator.dll	4.18.2205.7
00007FFC098B0000-00007FFC099DD000 mpclient.dll	4.18.2205.7
00007FFC0C840000-00007FFC0C8AC000 symsrv.dll  	10.0.17763.1

Windows 6.2.9200
DrMingw 0.9.5
Comment 1 acc4commissions 2022-07-08 05:13:16 UTC
I'm on Win10, using OpenGL renderer.
Comment 2 Dmitry Kazakov 2022-08-02 09:45:08 UTC
According to the stack trace the crash happens in KUndo2QStack::undo(), at line 962. The result returned by `m_command_list.at(idx)` is null. I have no idia why though.
Comment 3 Dmitry Kazakov 2022-08-02 10:19:29 UTC
Hi, acc4commissions!

Can you reproduce this crash somehow? Or does it crash regularly?

The point is, I can see where it happens, but I cannot understand how this situation can happen. If you could reproduce the issue, I could make you a special build with sanity checks. It would bring more light on the issue.
Comment 4 acc4commissions 2022-08-02 11:15:49 UTC
(In reply to Dmitry Kazakov from comment #3)
> Hi, acc4commissions!
> 
> Can you reproduce this crash somehow? Or does it crash regularly?
> 
> The point is, I can see where it happens, but I cannot understand how this
> situation can happen. If you could reproduce the issue, I could make you a
> special build with sanity checks. It would bring more light on the issue.

Nope, I only came across this crash once so far and haven't ben able to reproduce again since. sorry...
I'll post it here when the similar crash happens again.
Comment 5 Halla Rempt 2022-08-04 06:39:33 UTC
*** Bug 457463 has been marked as a duplicate of this bug. ***
Comment 6 Dmitry Kazakov 2022-08-04 13:18:01 UTC
Hi, @acc4commissions!

If you have time, could you please try to reproduce the issue with the following package:

https://krita-artists.org/t/testing-krita-5-1-0-beta-1-2-issue-found/43375/15?u=dkazakov

Be careful, it is significantly slower than normal Krita :(
Comment 7 Dmitry Kazakov 2022-08-09 06:45:06 UTC
*** Bug 457527 has been marked as a duplicate of this bug. ***
Comment 8 Dmitry Kazakov 2022-08-09 10:07:52 UTC
Hi, acc4commissions!

Just in case you encounter this crash again, please report it anyway. Either as a separate bug (which I will merge later) or just as a comment into this bug. I will need a backtrace and what you did before it happened. I still have troubles understanding how this crash happens, so any information will be valuable.

This bug is the only release blocker for 5.1 now :)
Comment 9 Dmitry Kazakov 2022-08-09 14:07:20 UTC
Hi, acc4commissions!

Could you please test this package for the presence of this crash? It is a snapshot of the current master and it is AS FAST AS NORMAL KRITA. The only difference with master is that it will silently crash as soon as encounters one specific (in my opinion impossible) state. So please set autosave interval low :)

https://disk.yandex.ru/d/smkw3FqzCJ_1lA

If you manage to crash Krita with this package, please attach the crash log. It will be unusual and very detailed.
Comment 10 Dmitry Kazakov 2022-08-10 14:37:10 UTC
Hi, @acc4commissions!

Here is an updated package:
https://krita-artists.org/t/testing-krita-5-1-0-beta-1-2-issue-found/43375/27?u=dkazakov
Comment 11 Dmitry Kazakov 2022-08-11 13:43:52 UTC
Git commit 2898ffe4ab4dfaf1ddf810fe04f1209624b7eb4c by Dmitry Kazakov.
Committed on 11/08/2022 at 13:43.
Pushed by dkazakov into branch 'master'.

Fix a crash in undo stask

The crash happened between the consurrent access to the stack from two
actors:

1) One stroke adding its command to the undo stack and calling
   KUndo2QStack::checkUndoLimit() to purge the oldest command
   of the stack to satisfy the undo stack limit.

2) The user starting the new stroke, which calls
   KUndo2QStack::purgeRedoState() from the GUI thread in a non-
   synchronized way.

Obviously, the crash happens only when the undo stack limit is
reached. Otherwise both the functions do nothing and no crash
happens.

The fix of the bug just moves the call to purgeRedoState() from
the point when a stroke is added into the queue to a point when
the stroke is actually started by the queue.

Huge thanks to @mako and @acc4 from Krita Artists for their help
with testing all my packages and tracking the crash down :)

M  +5    -10   libs/image/kis_image.cc
M  +5    -0    libs/image/kis_stroke.cpp
M  +1    -0    libs/image/kis_stroke.h
M  +29   -8    libs/image/kis_strokes_queue.cpp
M  +1    -0    libs/image/kis_strokes_queue.h
M  +5    -0    libs/image/kis_update_scheduler.cpp
M  +7    -0    libs/image/kis_update_scheduler.h

https://invent.kde.org/graphics/krita/commit/2898ffe4ab4dfaf1ddf810fe04f1209624b7eb4c
Comment 12 Dmitry Kazakov 2022-08-11 13:44:11 UTC
Git commit 75393eba4070e225f26d9f4afdbd7d6241960d5a by Dmitry Kazakov.
Committed on 11/08/2022 at 13:44.
Pushed by dkazakov into branch 'krita/5.1'.

Fix a crash in undo stask

The crash happened between the consurrent access to the stack from two
actors:

1) One stroke adding its command to the undo stack and calling
   KUndo2QStack::checkUndoLimit() to purge the oldest command
   of the stack to satisfy the undo stack limit.

2) The user starting the new stroke, which calls
   KUndo2QStack::purgeRedoState() from the GUI thread in a non-
   synchronized way.

Obviously, the crash happens only when the undo stack limit is
reached. Otherwise both the functions do nothing and no crash
happens.

The fix of the bug just moves the call to purgeRedoState() from
the point when a stroke is added into the queue to a point when
the stroke is actually started by the queue.

Huge thanks to @mako and @acc4 from Krita Artists for their help
with testing all my packages and tracking the crash down :)

M  +5    -10   libs/image/kis_image.cc
M  +5    -0    libs/image/kis_stroke.cpp
M  +1    -0    libs/image/kis_stroke.h
M  +29   -8    libs/image/kis_strokes_queue.cpp
M  +1    -0    libs/image/kis_strokes_queue.h
M  +5    -0    libs/image/kis_update_scheduler.cpp
M  +7    -0    libs/image/kis_update_scheduler.h

https://invent.kde.org/graphics/krita/commit/75393eba4070e225f26d9f4afdbd7d6241960d5a
Comment 13 Dmitry Kazakov 2022-08-12 07:17:32 UTC
Git commit 7e4636c75cef792aca69f8ff1b60f2c4d049de7d by Dmitry Kazakov.
Committed on 12/08/2022 at 07:17.
Pushed by dkazakov into branch 'master'.

Fix a possible race condition when in vector/reference operations

When we add stuff to the undo stack the image should be locked to
avoid any threading issues.

M  +0    -16   libs/ui/KisDocument.cpp
M  +0    -19   libs/ui/KisDocument.h
M  +2    -3    libs/ui/KisReferenceImagesDecoration.cpp
M  +1    -1    libs/ui/actions/KisPasteActionFactories.cpp
M  +1    -1    libs/ui/canvas/kis_canvas2.cpp
M  +1    -1    libs/ui/canvas/kis_guides_manager.cpp
M  +3    -3    libs/ui/kis_document_undo_store.cpp
M  +3    -6    plugins/tools/defaulttool/referenceimagestool/ToolReferenceImages.cpp

https://invent.kde.org/graphics/krita/commit/7e4636c75cef792aca69f8ff1b60f2c4d049de7d
Comment 14 Dmitry Kazakov 2022-08-12 07:17:47 UTC
Git commit 16d500f256c8d3123c95aceafefd22a2c6eed2de by Dmitry Kazakov.
Committed on 12/08/2022 at 07:17.
Pushed by dkazakov into branch 'krita/5.1'.

Fix a possible race condition when in vector/reference operations

When we add stuff to the undo stack the image should be locked to
avoid any threading issues.

M  +0    -16   libs/ui/KisDocument.cpp
M  +0    -19   libs/ui/KisDocument.h
M  +2    -3    libs/ui/KisReferenceImagesDecoration.cpp
M  +1    -1    libs/ui/actions/KisPasteActionFactories.cpp
M  +1    -1    libs/ui/canvas/kis_canvas2.cpp
M  +1    -1    libs/ui/canvas/kis_guides_manager.cpp
M  +3    -3    libs/ui/kis_document_undo_store.cpp
M  +3    -6    plugins/tools/defaulttool/referenceimagestool/ToolReferenceImages.cpp

https://invent.kde.org/graphics/krita/commit/16d500f256c8d3123c95aceafefd22a2c6eed2de
Comment 15 Dmitry Kazakov 2022-08-12 14:26:08 UTC
Git commit be648b265d825405a5de5219813fae9b73524e4e by Dmitry Kazakov.
Committed on 12/08/2022 at 14:25.
Pushed by dkazakov into branch 'master'.

Make sure that suspend stroke does not reset redo state

M  +1    -0    libs/image/kis_suspend_projection_updates_stroke_strategy.cpp

https://invent.kde.org/graphics/krita/commit/be648b265d825405a5de5219813fae9b73524e4e
Comment 16 Dmitry Kazakov 2022-08-12 14:26:18 UTC
Git commit 23e186e2d6fdaa426d8ee6f2c7e731efe9f24973 by Dmitry Kazakov.
Committed on 12/08/2022 at 14:26.
Pushed by dkazakov into branch 'krita/5.1'.

Make sure that suspend stroke does not reset redo state

M  +1    -0    libs/image/kis_suspend_projection_updates_stroke_strategy.cpp

https://invent.kde.org/graphics/krita/commit/23e186e2d6fdaa426d8ee6f2c7e731efe9f24973