Bug 462223 - crash when using Paste into Active Layer
Summary: crash when using Paste into Active Layer
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (show other bugs)
Version: 5.1.3
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 463055 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-11-25 02:29 UTC by marty
Modified: 2022-12-15 07:32 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marty 2022-11-25 02:29:09 UTC
SUMMARY
-------------------
Not sure where the debug binary is for windows.  This is a copy of the crashlog.  I can reproduce this 100% of time.

Error occurred on Thursday, November 24, 2022 at 20:56:26.

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

AddrPC           Params
00007FFECC5E8897 0000000000000000 0000000000000028 0000007F2E6FB188  libkritaimage.dll!KisPaintDevice::makeFullCopyFrom+0x87
00007FFECC5E87CD 0000007F2E6FB1E8 00007FFECB36A0C2 00000000000005FF  libkritaimage.dll!KisPaintDevice::KisPaintDevice+0x6d
00007FFECD9F0566 000001A622B59630 00007FFECB9BCC9F 000001A6644F0000  libkritaui.dll!KisPasteIntoActionFactory::run+0x106
00007FFECD7DAF04 0000007F2E6FB23F 000001A674BDCCB0 000001A674BDCCB0  libkritaui.dll!KisSelectionManager::pasteInto+0x84
00007FFECB340868 0000000000000000 0000000000000001 000001A67469A810  Qt5Core.dll!QMetaObject::activate+0x828
00007FFECBDB3A42 0000000000000000 000001A674BDCCB0 000001A67469A810  Qt5Widgets.dll!QAction::activate+0xd2
00007FFECBF23468 000001A674ACF410 000001A666CCDB00 000001A600000000  Qt5Widgets.dll!QMenuPrivate::activateCausedStack+0x48
00007FFECBF20C01 000001A666444BA0 000001A66609D201 000001A674BDDA30  Qt5Widgets.dll!QMenuPrivate::activateAction+0x221
00007FFECBDF42D2 000001A674BDDA30 000000000000001B 00007FFECB50C621  Qt5Widgets.dll!QWidget::event+0x5f2
00007FFECBF27D19 000000F20000006D 0000000000000003 0000007F2E6FB7E0  Qt5Widgets.dll!QMenu::event+0x419
00007FFECBDBC716 0000000000000020 000001A622B17A68 000001A622B55450  Qt5Widgets.dll!QApplicationPrivate::notify_helper+0x106
00007FFECBDBF3ED 0000000000000020 000001A622B17A60 000001A622B568D0  Qt5Widgets.dll!QApplication::notify+0x1cad
00007FFECDA747C8 000001A67219E8D0 00007FFF09A9D56B 000002E300000025  libkritaui.dll!KisApplication::notify+0xa8
00007FFECB313323 0000000000000000 0000000000000070 0000000000000068  Qt5Core.dll!QCoreApplication::notifyInternal2+0x93
00007FFECBDBD001 3FF0000000000000 0000000000000000 0000007F2E6FBBE8  Qt5Widgets.dll!QApplicationPrivate::sendMouseEvent+0x381
00007FFECBE12836 0000000000000000 00007FFECB31A0A9 4071C66666666667  Qt5Widgets.dll!QWidgetWindow::handleMouseEvent+0xd26
00007FFECBE10EF8 0000007F2E6FC048 000001A66603F2F0 0000000000000003  Qt5Widgets.dll!QWidgetWindow::event+0xc8
00007FFECBDBC716 0000000000000000 0000000000000000 0000000000000003  Qt5Widgets.dll!QApplicationPrivate::notify_helper+0x106
00007FFECBDBD92E 3FF0000000000000 0000000000000000 0000007F2E6FC048  Qt5Widgets.dll!QApplication::notify+0x1ee
00007FFECDA747C8 000001A66642E3A0 00007FFECB75C333 00007FFEDCA2B398  libkritaui.dll!KisApplication::notify+0xa8
00007FFECB313323 0000007F2E6FC1F8 0000007F2E6FC098 0000000000000000  Qt5Core.dll!QCoreApplication::notifyInternal2+0x93
00007FFECB71FDF1 000001A6669E92D0 0000000000000000 0000000000000401  Qt5Gui.dll!QGuiApplicationPrivate::processMouseEvent+0xbc1
00007FFECB708E5B 0000000000000000 000000000053003A 0000000000030000  Qt5Gui.dll!QWindowSystemInterface::sendWindowSystemEvents+0xdb
00007FFECB365093 0000000000000000 0000000000000001 0000000000000001  Qt5Core.dll!qt_internal_proc+0x253
00007FFF0902E858 0000000000003DFF 00007FFECB364E40 000000000053003A  USER32.dll!UserCallWinProcCheckWow+0x2f8
00007FFF0902E299 00007FFECB364E40 0000000000000000 0000000000000001  USER32.dll!DispatchMessageWorker+0x249
00007FFECB36659B 000001A66603F2F0 000001A672965C20 0000007F2E6FF7A8  Qt5Core.dll!QEventDispatcherWin32::processEvents+0x7cb
00007FFEDC913795 0000000000000000 0000007F2E6FF7A8 0000007F2E6FF850  qwindows.dll!QWindowsGuiEventDispatcher::processEvents+0x15
00007FFECB310175 000001A600000002 000001A600000002 000001A66B0F4A70  Qt5Core.dll!QEventLoop::exec+0x1e5
00007FFECB31399D 0000007F2E6FF830 00007FFE00000000 0000007F2E6FF820  Qt5Core.dll!QCoreApplication::exec+0x6d
00007FFECE7857C7 0000000000000000 00007FF6E2BF5110 0000000000000000  krita.dll!krita_main+0x4397
00007FF6E2BF13D7 0000000000000000 0000000000000000 0000000000000000  krita.exe!__tmainCRTStartup+0x277
00007FF6E2BF1156 0000000000000000 0000000000000000 0000000000000000  krita.exe!WinMainCRTStartup+0x16
00007FFF082F74B4 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!BaseThreadInitThunk+0x14
00007FFF0A0826A1 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart+0x21

00007FF6E2BF0000-00007FF6E2C35000 krita.exe   	5.1.3.100
00007FFF0A030000-00007FFF0A228000 ntdll.dll   	6.2.19041.2130
00007FFF082E0000-00007FFF0839F000 KERNEL32.DLL	6.2.19041.2251
00007FFF07730000-00007FFF07A02000 KERNELBASE.dll	6.2.19041.2193
00007FFF04D40000-00007FFF04DD1000 apphelp.dll 	6.2.19041.2075
00007FFECF760000-00007FFECFBF4000 AcLayers.DLL	6.2.19041.1266
00007FFF09A50000-00007FFF09AEE000 msvcrt.dll  	7.0.19041.546
00007FFF09020000-00007FFF091BD000 USER32.dll  	6.2.19041.2130
00007FFF07C70000-00007FFF07C92000 win32u.dll  	6.2.19041.2251
00007FFF091C0000-00007FFF091EB000 GDI32.dll   	6.2.19041.2130
00007FFF07A10000-00007FFF07B1F000 gdi32full.dll	6.2.19041.2130
00007FFF07CA0000-00007FFF07D3D000 msvcp_win.dll	6.2.19041.789
00007FFF07D40000-00007FFF07E40000 ucrtbase.dll	6.2.19041.789
00007FFF09880000-00007FFF098D5000 SHLWAPI.dll 	6.2.19041.2075
00007FFF083A0000-00007FFF0844E000 ADVAPI32.dll	6.2.19041.2130
00007FFF099B0000-00007FFF09A4C000 sechost.dll 	6.2.19041.1865
00007FFF084E0000-00007FFF08605000 RPCRT4.dll  	6.2.19041.1806
000001A6646E0000-000001A6646E3000 sfc.dll     	6.2.19041.2075
00007FFEFD4E0000-00007FFEFD578000 WINSPOOL.DRV	6.2.19041.2251
00007FFEEA520000-00007FFEEA532000 sfc_os.DLL  	6.2.19041.2075
00007FFEEE560000-00007FFEEE5CC000 AcGenral.DLL	6.2.19041.2193
00007FFF09E60000-00007FFF09F8A000 ole32.dll   	6.2.19041.1202
00007FFF09B00000-00007FFF09E54000 combase.dll 	6.2.19041.2130
00007FFF086C0000-00007FFF08E03000 SHELL32.dll 	6.2.19041.2075
00007FFF07630000-00007FFF0765E000 USERENV.dll 	6.2.19041.572
00007FFEF1510000-00007FFEF152D000 MPR.dll     	6.2.19041.1806
00007FFF075F0000-00007FFF07622000 SspiCli.dll 	6.2.19041.2130
00007FFF08160000-00007FFF08192000 IMM32.DLL   	6.2.19041.2193
00007FFECE780000-00007FFECEDFE000 krita.dll
00007FFECD590000-00007FFECDE59000 libkritaui.dll
00007FFECC300000-00007FFECC94C000 libkritaimage.dll
00007FFEE7520000-00007FFEE760F000 libkritaresources.dll
00007FFEE7080000-00007FFEE717D000 libkritaglobal.dll
00007FFECBDB0000-00007FFECC2F5000 Qt5Widgets.dll	5.12.12.0
00007FFEED410000-00007FFEED462000 libKF5I18n.dll
00007FFEE95E0000-00007FFEE9630000 libKF5ConfigCore.dll
00007FFEE4D80000-00007FFEE4EA6000 libc++.dll
00007FFF01FC0000-00007FFF01FCE000 libunwind.dll
00007FFF00E00000-00007FFF00E1D000 libkritaimpex.dll
00007FFECB6F0000-00007FFECBDAE000 Qt5Gui.dll  	5.12.12.0
00007FFF01FB0000-00007FFF01FBB000 libkritacolor.dll
00007FFEEE0B0000-00007FFEEE0F0000 libpng16.dll
00007FFEE74D0000-00007FFEE751D000 libkritalibbrush.dll
00007FFEE6FC0000-00007FFEE7076000 Qt5Multimedia.dll	5.12.12.0
00007FFEED260000-00007FFEED291000 libKF5Completion.dll
00007FFEE4CA0000-00007FFEE4D80000 libkritawidgets.dll
00007FFECB140000-00007FFECB6E6000 Qt5Core.dll 	5.12.12.0
00007FFF09250000-00007FFF092BB000 WS2_32.dll  	6.2.19041.546
00007FFEE46F0000-00007FFEE48D6000 libkritaflake.dll
00007FFEE95A0000-00007FFEE95DB000 libkritaresourcewidgets.dll
00007FFECD220000-00007FFECD584000 libkritapigment.dll
00007FFEE7480000-00007FFEE74CC000 libHalf-2_5.dll
00007FFF005B0000-00007FFF005CD000 libkritacommand.dll
00007FFEE8740000-00007FFEE8771000 libkritametadata.dll
00007FFEE4B60000-00007FFEE4C9E000 libkritawidgetutils.dll
00007FFEE5820000-00007FFEE589E000 libkritapsdutils.dll
00007FFEE86A0000-00007FFEE86D4000 libKF5ItemViews.dll
00007FFEE3710000-00007FFEE38A2000 libfftw3.dll
00007FFF004D0000-00007FFF004E9000 libkritastore.dll
00007FFEFD990000-00007FFEFD9AB000 libKF5GuiAddons.dll
00007FFEFE720000-00007FFEFE741000 libKF5ConfigGui.dll
00007FFEE9F10000-00007FFEE9F32000 libkritaplugin.dll
00007FFEDD660000-00007FFEDD75F000 libKF5WidgetsAddons.dll
00007FFEE6F60000-00007FFEE6FA2000 Qt5Xml.dll  	5.12.12.0
00007FFF00DF0000-00007FFF00DFA000 libkritaversion.dll
00007FFEE6180000-00007FFEE61CE000 Qt5Svg.dll  	5.12.12.0
00007FFEDD390000-00007FFEDD4DC000 Qt5Network.dll	5.12.12.0
00007FFEE5790000-00007FFEE57C7000 Qt5Sql.dll  	5.12.12.0
00007FFF07F20000-00007FFF08076000 CRYPT32.dll 	6.2.19041.1889
00007FFEE72D0000-00007FFEE7300000 libquazip5.dll
00007FFF04E40000-00007FFF04EDE000 UxTheme.dll 	6.2.19041.2193
00007FFF05110000-00007FFF0513F000 dwmapi.dll  	6.2.19041.746
00007FFEE5760000-00007FFEE5785000 intl.dll    	0.19.0.0
00007FFEE5590000-00007FFEE55B1000 libzlib.dll 	1.2.12.0
00007FFEF8330000-00007FFEF8349000 NETAPI32.dll	6.2.19041.2130
00007FFF01F30000-00007FFF01F3A000 VERSION.dll 	6.2.19041.546
00007FFEFD930000-00007FFEFD957000 WINMM.dll   	6.2.19041.546
00007FFEE54D0000-00007FFEE551E000 Qt5PrintSupport.dll	5.12.12.0
00007FFEF64F0000-00007FFEF650F000 libKF5WindowSystem.dll
00007FFEE55C0000-00007FFEE5640000 libKF5CoreAddons.dll
00007FFF08080000-00007FFF0815A000 comdlg32.dll	6.2.19041.1806
00007FFF097D0000-00007FFF0987D000 shcore.dll  	6.2.19041.1865
00007FFECAE80000-00007FFECB13A000 libcrypto-1_1-x64.dll	1.1.1.12
00007FFEE40C0000-00007FFEE414E000 libssl-1_1-x64.dll	1.1.1.12
00007FFF06BE0000-00007FFF06CAA000 DNSAPI.dll  	6.2.19041.1865
00007FFF06B90000-00007FFF06BCB000 IPHLPAPI.DLL	6.2.19041.1865
00007FFF004C0000-00007FFF004CF000 iconv.dll
00007FFEFD820000-00007FFEFD8D0000 COMCTL32.dll	5.82.19041.1110
00007FFF06BD0000-00007FFF06BDC000 NETUTILS.DLL	6.2.19041.546
00007FFEF17D0000-00007FFEF17F8000 SRVCLI.DLL  	6.2.19041.1645
00007FFF07100000-00007FFF0710C000 CRYPTBASE.DLL	6.2.19041.546
00007FFF06CB0000-00007FFF06CF3000 LOGONCLI.DLL	6.2.19041.2193
00007FFEF5EC0000-00007FFEF5ED9000 SAMCLI.DLL  	6.2.19041.1466
00007FFF09AF0000-00007FFF09AF8000 NSI.dll     	6.2.19041.610
00007FFF07670000-00007FFF0768F000 profapi.dll 	6.2.19041.844
00007FFF05680000-00007FFF05E12000 windows.storage.dll	6.2.19041.2251
00007FFF07190000-00007FFF071C0000 Wldp.dll    	6.2.19041.2075
00007FFEDC890000-00007FFEDCA3F000 qwindows.dll	5.12.12.0
00007FFF098E0000-00007FFF099AD000 OLEAUT32.dll	6.2.19041.985
00007FFF03140000-00007FFF03154000 WTSAPI32.dll	6.2.19041.546
00007FFF05FD0000-00007FFF05FE2000 kernel.appcore.dll	6.2.19041.546
00007FFF07E40000-00007FFF07EC2000 bcryptPrimitives.dll	6.2.19041.1415
00007FFF016A0000-00007FFF0186F000 d3d9.dll    	6.2.19041.2075
00007FFF07C40000-00007FFF07C67000 bcrypt.dll  	6.2.19041.1023
00007FFF081C0000-00007FFF082D5000 MSCTF.dll   	6.2.19041.2193
00007FFEEC2D0000-00007FFEEC3F5000 opengl32.dll	6.2.19041.2193
00007FFEEC800000-00007FFEEC82C000 GLU32.dll   	6.2.19041.2193
00007FFF08610000-00007FFF086BF000 clbcatq.dll 	2001.12.10941.16384
00007FFEC9190000-00007FFECA235000 ig9icd64.dll	31.0.101.2112
00007FFF05FF0000-00007FFF060E3000 dxgi.dll    	6.2.19041.2075
00007FFEDC440000-00007FFEDC560000 igdml64.dll 	31.0.101.2112
00007FFEFC7D0000-00007FFEFCBD9000 igdgmm64.dll	31.0.101.2112
00007FFEF8EC0000-00007FFEFC654000 igc64.dll   	31.0.101.2112
00007FFF06D00000-00007FFF06D4B000 powrprof.dll	6.2.19041.546
00007FFF06B70000-00007FFF06B82000 UMPDC.dll
00007FFEFE4D0000-00007FFEFE50B000 dxcore.dll  	6.2.19041.546
00007FFF07ED0000-00007FFF07F1E000 cfgmgr32.dll	6.2.19041.1620
00007FFEE5490000-00007FFEE54C9000 libEGL.DLL
00007FFECA880000-00007FFECAE74000 libGLESv2.dll
00007FFF04160000-00007FFF04343000 dcomp.dll   	6.2.19041.2075
00007FFEFCD10000-00007FFEFD243000 igd10um64gen11.DLL	31.0.101.2112
00007FFF07200000-00007FFF07227000 ncrypt.dll  	6.2.19041.662
00007FFF071C0000-00007FFF071FB000 NTASN1.dll  	6.2.19041.546
00007FFECA450000-00007FFECA69C000 wintab32.dll	1.0.5.10
00007FFEDBCE0000-00007FFEDBF58000 Wacom_Tablet.dll	6.4.0.10
00007FFEE4640000-00007FFEE466E000 qwindowsvistastyle.dll	5.12.12.0
00007FFEF4A00000-00007FFEF4A11000 qsvgicon.dll	5.12.12.0
00007FFEE8450000-00007FFEE848E000 dataexchange.dll	6.2.19041.1387
00007FFF03EF0000-00007FFF04153000 d3d11.dll   	6.2.19041.2075
00007FFF01FD0000-00007FFF021D0000 twinapi.appcore.dll	6.2.19041.1865
00007FFEF48E0000-00007FFEF48F2000 exchndl.dll 	0.9.7.0
00007FFEDD310000-00007FFEDD38F000 mgwhelp.dll 	0.9.7.0
00007FFEC8F90000-00007FFEC9183000 dbghelp.dll 	10.0.18362.1
00007FFEE36E0000-00007FFEE370A000 dbgcore.DLL 	10.0.18362.1
00007FFF070E0000-00007FFF070F8000 CRYPTSP.dll 	6.2.19041.546
00007FFF067A0000-00007FFF067D4000 rsaenh.dll  	6.2.19041.1052
00007FFEFE6F0000-00007FFEFE6FE000 kimg_hdr.dll
00007FFEFD980000-00007FFEFD98D000 kimg_kra.dll
00007FFEDF280000-00007FFEDF2B8000 libKF5Archive.dll
0000000063CC0000-0000000063CED000 liblzma.dll 	5.2.6.0
00007FFEF8840000-00007FFEF884C000 kimg_ora.dll
00007FFEF4B30000-00007FFEF4B3F000 kimg_pcx.dll
00007FFEF4850000-00007FFEF4860000 kimg_pic.dll
00007FFEF3AC0000-00007FFEF3ACD000 kimg_psd.dll
00007FFEF37C0000-00007FFEF37CE000 kimg_ras.dll
00007FFEEFC60000-00007FFEEFC71000 kimg_rgb.dll
00007FFEEFA70000-00007FFEEFA7D000 kimg_tga.dll
00007FFEED3F0000-00007FFEED40B000 kimg_xcf.dll
00007FFEE8F90000-00007FFEE8FA1000 qgif.dll    	5.12.12.0
00007FFEE6F40000-00007FFEE6F52000 qicns.dll   	5.12.12.0
00007FFEE46D0000-00007FFEE46E1000 qico.dll    	5.12.12.0
00007FFEDC750000-00007FFEDC7C4000 qjpeg.dll   	5.12.12.0
00007FFEEFA60000-00007FFEEFA6F000 qsvg.dll    	5.12.12.0
00007FFEDEBB0000-00007FFEDEBC2000 qtiff.dll   	5.12.12.0
00007FFEDC3C0000-00007FFEDC43C000 libtiff.dll
00007FFEDC300000-00007FFEDC37C000 libjpeg-62.dll
00007FFEEF920000-00007FFEEF92E000 qwbmp.dll   	5.12.12.0
00007FFEDC240000-00007FFEDC2F3000 qwebp.dll   	5.12.12.0
00007FFEF3570000-00007FFEF3669000 textinputframework.dll	6.2.19041.2075
00007FFF04A30000-00007FFF04B22000 CoreMessaging.dll	6.2.19041.2193
00007FFF046D0000-00007FFF04A2E000 CoreUIComponents.dll	6.2.19041.546
00007FFF068C0000-00007FFF068F3000 ntmarta.dll 	6.2.19041.546
00007FFF031B0000-00007FFF03304000 wintypes.dll	6.2.19041.2130
00007FFEFD470000-00007FFEFD4D6000 Oleacc.dll  	7.2.19041.746
00007FFEE2D30000-00007FFEE3025000 UIAutomationCore.dll	7.2.19041.1741
00007FFF05E30000-00007FFF05F26000 PROPSYS.dll 	7.0.19041.1741
00007FFF07540000-00007FFF075E2000 sxs.dll     	6.2.19041.2130
00007FFEDEB90000-00007FFEDEBA3000 krita_shape_image.dll
00007FFEDD2B0000-00007FFEDD303000 krita_shape_paths.dll
00007FFEC80D0000-00007FFEC8F8E000 kritalcmsengine.dll
00007FFEDD640000-00007FFEDD656000 liblcms2_fast_float.dll
00007FFEDCDC0000-00007FFEDCE24000 liblcms2.dll
00007FFEDD610000-00007FFEDD63D000 krita_colorspaces_extensions.dll
00007FFEDC3A0000-00007FFEDC3B6000 kritaasccdl.dll
00007FFEDAEE0000-00007FFEDAF01000 kritablurfilter.dll
00007FFEDAE90000-00007FFEDAED3000 kritacolorsfilters.dll
00007FFEDAE70000-00007FFEDAE86000 kritaconvertheighttonormalmap.dll
00007FFEDAE50000-00007FFEDAE62000 kritaconvolutionfilters.dll
00007FFEDAE30000-00007FFEDAE42000 kritadodgeburn.dll
00007FFEDAE10000-00007FFEDAE24000 kritaedgedetection.dll
00007FFEEE550000-00007FFEEE55F000 kritaembossfilter.dll
00007FFEDADF0000-00007FFEDAE01000 kritaexample.dll
00007FFEDADD0000-00007FFEDADE9000 kritaextensioncolorsfilters.dll
00007FFEDADB0000-00007FFEDADC5000 kritafastcolortransferfilter.dll
00007FFEDAD90000-00007FFEDADA6000 kritagaussianhighpassfilter.dll
00007FFEDAC50000-00007FFEDAC70000 kritagradientmap.dll
00007FFECF6E0000-00007FFECF714000 kritahalftone.dll
00007FFECF6C0000-00007FFECF6DA000 kritaimageenhancement.dll
00007FFECF6A0000-00007FFECF6BC000 kritaindexcolors.dll
00007FFECF670000-00007FFECF69E000 kritalevelfilter.dll
00007FFECF650000-00007FFECF665000 kritanoisefilter.dll
00007FFECF630000-00007FFECF642000 kritanormalize.dll
00007FFECF610000-00007FFECF625000 kritaoilpaintfilter.dll
00007FFECF5E0000-00007FFECF601000 kritapalettize.dll
00007FFECF570000-00007FFECF591000 kritaphongbumpmap.dll
00007FFECF550000-00007FFECF564000 kritapixelizefilter.dll
00007FFECF530000-00007FFECF543000 kritaposterize.dll
00007FFECF510000-00007FFECF521000 kritaraindropsfilter.dll
00007FFECE760000-00007FFECE776000 kritarandompickfilter.dll
00007FFECE740000-00007FFECE754000 kritaroundcornersfilter.dll
00007FFECE720000-00007FFECE732000 kritasmalltilesfilter.dll
00007FFECE700000-00007FFECE718000 kritathreshold.dll
00007FFECE6E0000-00007FFECE6F3000 kritaunsharpfilter.dll
00007FFECE6C0000-00007FFECE6D9000 kritawavefilter.dll
00007FFECE6A0000-00007FFECE6B5000 kritacolorgenerator.dll
00007FFECE670000-00007FFECE695000 kritagradientgenerator.dll
00007FFECE640000-00007FFECE662000 kritamultigridpatterngenerator.dll
00007FFECE620000-00007FFECE63E000 kritapatterngenerator.dll
00007FFECD0E0000-00007FFECD219000 kritascreentonegenerator.dll
00007FFECA7C0000-00007FFECA87F000 kritaseexprgenerator.dll
00007FFECD0C0000-00007FFECD0DB000 kritasimplexnoisegenerator.dll
00007FFECA760000-00007FFECA7BF000 kritacolorsmudgepaintop.dll
00007FFECA320000-00007FFECA44A000 libkritalibpaintop.dll
00007FFECA2F0000-00007FFECA318000 kritacurvepaintop.dll
00007FFEC8060000-00007FFEC80C1000 kritadefaultpaintops.dll
00007FFECA2B0000-00007FFECA2E2000 kritadeformpaintop.dll
00007FFEC8030000-00007FFEC8059000 kritaexperimentpaintop.dll
00007FFEC8000000-00007FFEC8027000 kritafilterop.dll
00007FFEC7FD0000-00007FFEC7FF3000 kritagridpaintop.dll
00007FFEC7FA0000-00007FFEC7FCE000 kritahairypaintop.dll
00007FFEC7F60000-00007FFEC7F95000 kritahatchingpaintop.dll
00007FFEC7EF0000-00007FFEC7F5A000 kritamypaintop.dll
00007FFEC7EC0000-00007FFEC7EE1000 libmypaint.dll
00007FFEC7EA0000-00007FFEC7EBE000 libjson-c.dll
00007FFEC7E70000-00007FFEC7E97000 kritaparticlepaintop.dll
00007FFEC7E40000-00007FFEC7E63000 kritaroundmarkerpaintop.dll
00007FFEC7E10000-00007FFEC7E3C000 kritasketchpaintop.dll
00007FFEC7DA0000-00007FFEC7E05000 kritaspraypaintop.dll
00007FFEC7D70000-00007FFEC7D97000 kritatangentnormalpaintop.dll
00007FFEC7D10000-00007FFEC7D63000 krita_flaketools.dll
00007FFEC7CE0000-00007FFEC7D07000 krita_karbontools.dll
00007FFEC7CA0000-00007FFEC7CDF000 krita_tool_svgtext.dll
00007FFEC7C30000-00007FFEC7C93000 kritaassistanttool.dll
00007FFEC7BA0000-00007FFEC7C29000 kritadefaulttools.dll
00007FFEC7B80000-00007FFEC7B98000 libkritabasicflakes.dll
00007FFEC7AE0000-00007FFEC7B80000 kritaselectiontools.dll
00007FFEC7AB0000-00007FFEC7AD8000 kritatoolSmartPatch.dll
00007FFEC7A80000-00007FFEC7AA9000 kritatoolcrop.dll
00007FFEC7A60000-00007FFEC7A75000 kritatooldyna.dll
00007FFEC7A20000-00007FFEC7A58000 kritatoolencloseandfill.dll
00007FFEC79F0000-00007FFEC7A15000 kritatoollazybrush.dll
00007FFEC79D0000-00007FFEC79E3000 kritatoolpolygon.dll
00007FFEC79B0000-00007FFEC79C2000 kritatoolpolyline.dll
00007FFEC7850000-00007FFEC79AC000 kritatooltransform.dll
00007FFEC77A0000-00007FFEC784E000 kritaanimationdocker.dll
00007FFEC7780000-00007FFEC7796000 kritaarrangedocker.dll
00007FFEC7750000-00007FFEC777D000 kritaartisticcolorselector.dll
00007FFEC7730000-00007FFEC774D000 kritachanneldocker.dll
00007FFEC76C0000-00007FFEC772A000 kritacolorselectorng.dll
00007FFEC76A0000-00007FFEC76BE000 kritacompositiondocker.dll
00007FFEC7680000-00007FFEC7696000 kritadigitalmixer.dll
00007FFEC7650000-00007FFEC7675000 kritagamutmask.dll
00007FFEC7630000-00007FFEC764A000 kritagriddocker.dll
00007FFEC7610000-00007FFEC7628000 kritahistogramdocker.dll
00007FFEC75F0000-00007FFEC7609000 kritahistorydocker.dll
00007FFEC75A0000-00007FFEC75E6000 kritalayerdocker.dll
00007FFEC7580000-00007FFEC7599000 kritalogdocker.dll
00007FFEC7550000-00007FFEC757B000 kritalutdocker.dll
00007FFEC7160000-00007FFEC7547000 libOpenColorIO_2_1.dll
00007FFEC7120000-00007FFEC7156000 libexpat.dll	2.4.8.0
00007FFEC7100000-00007FFEC711B000 kritaoverviewdocker.dll
00007FFEC70E0000-00007FFEC70FA000 kritapalettedocker.dll
00007FFEEE200000-00007FFEEE210000 kritapatterndocker.dll
00007FFEC70C0000-00007FFEC70D1000 kritapresetdocker.dll
00007FFEC70A0000-00007FFEC70B8000 kritapresethistory.dll
00007FFEC7050000-00007FFEC7094000 kritarecorderdocker.dll
00007FFEC7030000-00007FFEC704F000 kritasmallcolorselector.dll
00007FFEC7010000-00007FFEC7029000 kritasnapshotdocker.dll
00007FFEC6FF0000-00007FFEC700B000 kritaspecificcolorselector.dll
00007FFEC6F90000-00007FFEC6FEF000 kritastoryboarddocker.dll
00007FFEC6F70000-00007FFEC6F85000 kritasvgcollectiondocker.dll
00007FFEC6F50000-00007FFEC6F69000 kritatasksetdocker.dll
00007FFEC6F30000-00007FFEC6F48000 kritatouchdocker.dll
00007FFEC6E20000-00007FFEC6E37000 Qt5QuickWidgets.dll	5.12.12.0
00007FFEC6E40000-00007FFEC6F2F000 libkritaqml.dll
00007FFEC6A70000-00007FFEC6E20000 Qt5Quick.dll	5.12.12.0
00007FFEC6660000-00007FFEC6A62000 Qt5Qml.dll  	5.12.12.0
00007FFEC6630000-00007FFEC665A000 kritaexif.dll
00007FFEC63E0000-00007FFEC6629000 libexiv2.dll
00007FFF09340000-00007FFF09348000 PSAPI.DLL   	6.2.19041.546
00007FFEC63C0000-00007FFEC63D9000 libwinpthread-1.dll	1.0.0.0
00007FFEC6390000-00007FFEC63B2000 kritaiptc.dll
00007FFEC6370000-00007FFEC638B000 kritaxmp.dll
00007FFEC6200000-00007FFEC6366000 qsqlite.dll 	5.12.12.0
00007FFEC61E0000-00007FFEC61F4000 qgenericbearer.dll	5.12.12.0
00007FFEFE990000-00007FFEFE9A7000 dhcpcsvc6.DLL	6.2.19041.2130
00007FFEFF920000-00007FFEFF93D000 dhcpcsvc.DLL	6.2.19041.2130
00007FFEEB9F0000-00007FFEEBA14000 edputil.dll 	6.2.19041.546
00007FFEC61C0000-00007FFEC61D5000 kritabuginfo.dll
00007FFEC61A0000-00007FFEC61B9000 kritaclonesarray.dll
00007FFEC6180000-00007FFEC619C000 kritacolorrange.dll
00007FFEC6160000-00007FFEC6177000 kritacolorspaceconversion.dll
00007FFEC6140000-00007FFEC615B000 kritadbexplorer.dll
00007FFEC6120000-00007FFEC613D000 kritaimagesplit.dll
00007FFEC6100000-00007FFEC6112000 kritalayergroupswitcher.dll
00007FFEC60E0000-00007FFEC60FE000 kritalayersplit.dll
00007FFEC60B0000-00007FFEC60DD000 kritametadataeditor.dll
00007FFEC6090000-00007FFEC60A8000 kritamodifyselection.dll
00007FFEC6070000-00007FFEC608D000 kritaoffsetimage.dll
00007FFEED160000-00007FFEED16F000 kritaqmic.dll
00007FFEC6030000-00007FFEC6065000 libkritaqmicinterface.dll
00007FFEC5FE0000-00007FFEC602C000 kritaresourcemanager.dll
00007FFEC5FC0000-00007FFEC5FD8000 kritarotateimage.dll
00007FFEC5FA0000-00007FFEC5FBC000 kritaseparatechannels.dll
00007FFEC5F80000-00007FFEC5F91000 kritashearimage.dll
00007FFEC5F60000-00007FFEC5F78000 kritawaveletdecompose.dll
00007FFEC5F30000-00007FFEC5F56000 kritapykrita.dll
00007FFEC5E90000-00007FFEC5F2A000 libkritalibkis.dll
00007FFEC5A60000-00007FFEC5E8C000 python38.dll	3.8.1150.1013
00007FFEC5A40000-00007FFEC5A55000 VCRUNTIME140.dll	14.16.27012.6
00007FFEC59C0000-00007FFEC5A31000 krita.pyd
00007FFEC5990000-00007FFEC59B1000 sip.cp38-win_amd64.pyd
00007FFEC5730000-00007FFEC598D000 QtCore.pyd
00007FFEC54B0000-00007FFEC5726000 QtGui.pyd
00007FFEC4F40000-00007FFEC54A8000 QtWidgets.pyd
00007FFEF47A0000-00007FFEF47DF000 QtXml.pyd
00007FFEC4F20000-00007FFEC4F37000 _bz2.pyd    	3.8.1150.1013
00007FFEC4EE0000-00007FFEC4F20000 _lzma.pyd   	3.8.1150.1013
00007FFEC4EB0000-00007FFEC4EDD000 _elementtree.pyd	3.8.1150.1013
00007FFEC4E70000-00007FFEC4EA1000 pyexpat.pyd 	3.8.1150.1013
00007FFEEC040000-00007FFEEC04D000 _hashlib.pyd	3.8.1150.1013
00007FFEC4B20000-00007FFEC4E62000 libcrypto-1_1.dll	1.1.1.4
00007FFEC4B00000-00007FFEC4B16000 _socket.pyd 	3.8.1150.1013
00007FFEEA740000-00007FFEEA749000 select.pyd  	3.8.1150.1013
00007FFEC4AE0000-00007FFEC4B00000 _ssl.pyd    	3.8.1150.1013
00007FFEC4A30000-00007FFEC4ADB000 libssl-1_1.dll	1.1.1.4
00007FFEC4A10000-00007FFEC4A22000 _asyncio.pyd	3.8.1150.1013
00007FFEE9E10000-00007FFEE9E1D000 _overlapped.pyd	3.8.1150.1013
00007FFF06EF0000-00007FFF06F5A000 mswsock.dll 	6.2.19041.546
00007FFEE9BD0000-00007FFEE9BDD000 qtquick2plugin.dll	5.12.12.0
00007FFEC4950000-00007FFEC4A07000 kritasketchplugin.dll
00007FFEC48D0000-00007FFEC4943000 symsrv.dll  	10.0.18362.1
00007FFEF0A80000-00007FFEF0F59000 wininet.dll 	11.0.19041.2193

Windows 6.2.9200
DrMingw 0.9.7




STEPS TO REPRODUCE
1. Open a new document (under content select 2 layers, Background as raster layer)
2. From Firefox, copy an image (I would get images from pexels.com)
3. In Krita, with transparent paint layer selected, choose Edit > Paste Into Active Layer

OBSERVED RESULT
crash

EXPECTED RESULT
paste into the layer

SOFTWARE/OS VERSIONS
Windows: 10 Pro
Version	10.0.19045 Build 19045
System Model	Wacom MobileStudio Pro 16


ADDITIONAL INFORMATION
Comment 1 marty 2022-11-30 18:25:34 UTC
I tested again with krita-nightly-x64-5.1.3-6e7d3ee463 and krita-nightly-x64-5.2.0-prealpha-6c2a2709ba, both see the same issue.
Comment 2 Halla Rempt 2022-12-08 13:57:03 UTC
The full debug symbols are a separate download that you can unpack. But I can reproduce the bug on Linux as well. There is a big pause, and then a crash:


Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
0x00007ffff703a794 in KisPaintDevice::makeFullCopyFrom (this=0x55555cf9f0b0, rhs=..., copyMode=KritaUtils::CopySnapshot, newParentNode=0x0) at /home/halla/dev/krita/libs/image/kis_paint_device.cc:1114
1114        m_d->cloneAllDataObjects(rhs.m_d, copyMode == KritaUtils::CopyAllFrames);
(gdb) 
(gdb) bt
#0  0x00007ffff703a794 in KisPaintDevice::makeFullCopyFrom (this=0x55555cf9f0b0, rhs=..., 
    copyMode=KritaUtils::CopySnapshot, newParentNode=0x0)
    at /home/halla/dev/krita/libs/image/kis_paint_device.cc:1114
#1  0x00007ffff703aab2 in KisPaintDevice::KisPaintDevice (this=this@entry=0x55555cf9f0b0, rhs=..., 
    copyMode=copyMode@entry=KritaUtils::CopySnapshot, newParentNode=newParentNode@entry=0x0)
    at /home/halla/dev/krita/libs/image/kis_paint_device.cc:1104
#2  0x00007ffff7b6795b in KisPasteIntoActionFactory::run (this=this@entry=0x7fffffffc9a0, 
    viewManager=0x555557c99ad0) at /home/halla/dev/krita/libs/ui/actions/KisPasteActionFactories.cpp:315
#3  0x00007ffff78f9914 in KisSelectionManager::pasteInto (this=0x555557c9a418)
    at /home/halla/dev/krita/libs/ui/kis_selection_manager.cc:371
#4  0x00007ffff5948243 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/halla/dev/deps/lib/libQt5Core.so.5
#5  0x00007ffff6360a66 in QAction::triggered(bool) () from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#6  0x00007ffff636375b in QAction::activate(QAction::ActionEvent) ()
   from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#7  0x00007ffff64ec6c2 in ?? () from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#8  0x00007ffff64f4449 in ?? () from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#9  0x00007ffff63ab38e in QWidget::event(QEvent*) () from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#10 0x00007ffff6367846 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#11 0x00007ffff636fb4e in QApplication::notify(QObject*, QEvent*) ()
   from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#12 0x00007ffff7bfc755 in KisApplication::notify (this=0x7fffffffdaf0, receiver=0x55555acf3ce0, 
    event=0x7fffffffd190) at /home/halla/dev/krita/libs/ui/KisApplication.cpp:757
#13 0x00007ffff591cf02 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /home/halla/dev/deps/lib/libQt5Core.so.5
#14 0x00007ffff636e629 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#15 0x00007ffff63c624c in ?? () from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#16 0x00007ffff63c8805 in ?? () from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#17 0x00007ffff6367846 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#18 0x00007ffff7bfc755 in KisApplication::notify (this=0x7fffffffdaf0, receiver=0x7fffd4004b60, 
    event=0x7fffffffd4f0) at /home/halla/dev/krita/libs/ui/KisApplication.cpp:757
#19 0x00007ffff591cf02 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /home/halla/dev/deps/lib/libQt5Core.so.5
#20 0x00007ffff5d13c1b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
    () from /home/halla/dev/deps/lib/libQt5Gui.so.5
#21 0x00007ffff5ceae0c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
    () from /home/halla/dev/deps/lib/libQt5Gui.so.5
#22 0x00007fffefe5848e in ?? () from /home/halla/dev/deps/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#23 0x00007ffff2ef7d1b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff2f4c6f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff2ef53c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ffff597391b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/halla/dev/deps/lib/libQt5Core.so.5
#27 0x00007ffff591b8fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/halla/dev/deps/lib/libQt5Core.so.5
#28 0x00007ffff5923ad6 in QCoreApplication::exec() () from /home/halla/dev/deps/lib/libQt5Core.so.5
#29 0x000055555555dd37 in main (argc=<optimized out>, argv=<optimized out>)
    at /home/halla/dev/krita/krita/main.cc:727
Comment 3 Halla Rempt 2022-12-08 14:04:19 UTC
Oh, that's only part of the backtrace, there's some recursion going on here: this backtrace is repeated endlessly, even gdb has trouble with it.
Comment 4 Dmitry Kazakov 2022-12-09 15:20:37 UTC
Git commit 220e4cdcf8a34a427411e957cd835b3b5ee23526 by Dmitry Kazakov.
Committed on 09/12/2022 at 15:20.
Pushed by dkazakov into branch 'master'.

Fix crash when trying to "Paste into Active Layer"

"Paste into Active Layer" is supposed to work **only** with internal
Krita layers. It cannot paste external clips. It least it is not
implemented yet.

M  +5    -3    libs/ui/actions/KisPasteActionFactories.cpp

https://invent.kde.org/graphics/krita/commit/220e4cdcf8a34a427411e957cd835b3b5ee23526
Comment 5 Dmitry Kazakov 2022-12-09 15:21:53 UTC
Git commit fcf08bcef1826a769c79a12b73627722acf83bd0 by Dmitry Kazakov.
Committed on 09/12/2022 at 15:21.
Pushed by dkazakov into branch 'krita/5.1'.

Fix crash when trying to "Paste into Active Layer"

"Paste into Active Layer" is supposed to work **only** with internal
Krita layers. It cannot paste external clips. It least it is not
implemented yet.

M  +5    -3    libs/ui/actions/KisPasteActionFactories.cpp

https://invent.kde.org/graphics/krita/commit/fcf08bcef1826a769c79a12b73627722acf83bd0
Comment 6 Halla Rempt 2022-12-15 07:32:47 UTC
*** Bug 463055 has been marked as a duplicate of this bug. ***