Bug 414262 - When multiple shapes are selected, 'convert shapes to vector selection' only makes selection of the last shape
Summary: When multiple shapes are selected, 'convert shapes to vector selection' only ...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Selection (show other bugs)
Version: git master (please specify the git hash!)
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-18 11:52 UTC by Raghavendra kamath
Modified: 2020-06-03 20:32 UTC (History)
3 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 Raghavendra kamath 2019-11-18 11:52:56 UTC
SUMMARY
When you have multiple vector shapes selection and go to selection menu and press "convert shapes to vector selection" the resulting selection is only for one of the shapes that is selected. Moreover this shape is then brought forward of all other shapes.


STEPS TO REPRODUCE
1. Open new document in Krita
2. Insert Vector layer and add 2 or 3 vector shapes.
3. Then after selecting these shapes by the shape selection tool go to select menu > convert shapes to vector selection

OBSERVED RESULT
The shape is brought forward and a selection is made with one of the shape.

EXPECTED RESULT
All the selected should be accounted and a combined selection of the shapes should be made
Comment 1 Ahab Greybeard 2019-11-21 13:05:52 UTC
I'm setting this to CONFIRMED but I can't change it to CRASH, which it should be, as explained below:

The 4.2.7.1 appimage and the 4.8.1 beta1 appimage show the single object selection behaviour but do not show z-order changes. Also, they do not show crash behaviour.

I can't test the latest 4.3.0 pre-alpha appimage because of ongoing problems with the binary-factory appimage downloads.
The Nov 08 4.3.0 prealpha appimage (git 7ebb75f) and the recent Nov 20 4.3.0 prealpha Windows package gf41bc3f833.zip show the z-order changes and also show crash behaviour as follows:

1. Select more than one vector object.
2. Do Select -> Convert Shapes To Vector Selection
3. Select -> Deselect
4. Optionally make minor positional changes or other changes
5. Do a Save (this works fine)
6. Close and it crashes.

The Windows version shows Safe Asserts during all operations after the Convert Shapes operation; these can be Ignored. The appimage only shows Safe Asserts in the log, as shown below.

The Windows crash log is shown below.

There is additional strange behaviour if you select more than one object, do Convert Shapes To Vector Selection, then Deselect and then select more than one shape and try to move them. They appear to move but only one of them can be selected after that. A zone selection of them all shows that all but one have not actually moved. However, after a Save (then a Close and crash) they open again and all seems well in the image.


===========================
SAFE ASSERTS in appimage
===========================
21 Nov 2019 06:19:34 +0000: Importing application/x-krita to application/x-krita. Location: /home/adminahab/CONFIG/dump/Desktop/vector-thing.kra. Real location: /home/adminahab/CONFIG/dump/Desktop/vector-thing.kra. Batchmode: 0
21 Nov 2019 06:19:34 +0000: Loaded image from application/x-krita. Size: 1280 * 1024 pixels, 2.77778 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 4
21 Nov 2019 06:19:44 +0000: SAFE ASSERT (krita): "index >= 0" in file /home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/flake/SimpleShapeContainerModel.h, line 96
21 Nov 2019 06:19:44 +0000: SAFE ASSERT (krita): "index >= 0" in file /home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/flake/SimpleShapeContainerModel.h, line 96
21 Nov 2019 06:19:46 +0000: SAFE ASSERT (krita): "d->listeners.contains(listener)" in file /home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/flake/KoShape.cpp, line 2402
21 Nov 2019 06:19:46 +0000: SAFE ASSERT (krita): "d->listeners.contains(listener)" in file /home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/flake/KoShape.cpp, line 2402
21 Nov 2019 06:19:50 +0000: SAFE ASSERT (krita): "d->listeners.contains(listener)" in file /home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/flake/KoShape.cpp, line 2402
21 Nov 2019 06:19:50 +0000: SAFE ASSERT (krita): "d->listeners.contains(listener)" in file /home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/flake/KoShape.cpp, line 2402
21 Nov 2019 06:19:53 +0000: SAFE ASSERT (krita): "!m_registeredShapes.contains(shape)" in file /home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/flake/KoShape.cpp, line 2370
21 Nov 2019 06:19:53 +0000: SAFE ASSERT (krita): "!m_registeredShapes.contains(shape)" in file /home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/flake/KoShape.cpp, line 2370
21 Nov 2019 06:19:54 +0000: SAFE ASSERT (krita): "!m_registeredShapes.contains(shape)" in file /home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/flake/KoShape.cpp, line 2370
21 Nov 2019 06:19:54 +0000: SAFE ASSERT (krita): "!m_registeredShapes.contains(shape)" in file /home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/flake/KoShape.cpp, line 2370
21 Nov 2019 06:20:43 +0000: Saving Document /home/adminahab/CONFIG/dump/Desktop/vector-thing.kra as /home/adminahab/CONFIG/dump/Desktop/vector-thing.kra (mime: application/x-krita). 1280 * 1024 pixels, 4 layers.  101 frames, 24 framerate. Export configuration: No configuration
21 Nov 2019 06:20:43 +0000: Create a simple backup for /home/adminahab/CONFIG/dump/Desktop/vector-thing.kra in the same location as the file.
21 Nov 2019 06:20:43 +0000: Converting from application/x-krita to application/x-krita. Location: /home/adminahab/CONFIG/dump/Desktop/vector-thing.kra. Real location: /home/adminahab/CONFIG/dump/Desktop/vector-thing.kra. Batchmode: 0. Configuration: none
21 Nov 2019 06:20:43 +0000: Completed saving /home/adminahab/CONFIG/dump/Desktop/vector-thing.kra (mime: application/x-krita). Result: OK. Size: 479761. MD5 Hash: 9745fe6afeeb5816fdda697f920a6dd4

KRITA DID NOT CLOSE CORRECTLY
==========================================


==================================
Crash Log from Windows 
==================================
-------------------

Error occurred on Wednesday, November 20, 2019 at 16:33:19.

krita.exe caused an Access Violation at location 0000000000000000 DEP violation at location 0000000000000000.

AddrPC           Params
0000000000000000 0000000000000000 00007FF977936A00 0000000057E2ACD0
00007FF97793CD9C 0000000057BC2640 0000000057BC2640 00007FF977936A00  libkritaflake.dll!0x2cd9c KoShapeContainerModel::deleteOwnedShapes+0x8c
00007FF97793BA84 0000000000000000 00007FF97A3BFBE8 0000000000000000  libkritaflake.dll!0x2ba84 KoShapeContainer::~KoShapeContainer+0x24
00007FF97819DFA2 0000000000000000 00000000546A1A30 0000000057964820  libkritaui.dll!0x7dfa2 KisShapeLayer::~KisShapeLayer+0x162
00007FF97819E02D 0000000000000000 00000000546A1A30 0000000057964820  libkritaui.dll!0x7e02d KisShapeLayer::~KisShapeLayer+0xd
00007FF97A825A1B 00000000544F34F0 00007FF97A915A8F 0000000054AEEFF0  libkritaimage.dll!0x65a1b QList<KisSharedPtr<KisNode> >::dealloc+0x6b
00007FF97A9570DA 0000000000000000 0000000004A1D930 0000000057964820  libkritaimage.dll!0x1970da KisNode::~KisNode+0x9a
00007FF97A8EE01D 00000000547DCB80 00007FF97A8E1E7B 00000000005FBC80  libkritaimage.dll!0x12e01d KisGroupLayer::~KisGroupLayer+0xd
00007FF97A8FA276 00000000518F1BA0 00000000005FBCD0 00000000518F1C10  libkritaimage.dll!0x13a276 KisSharedPtr<KisGroupLayer>::deref+0x26
00007FF97A90690C 000000003BC0C880 00000000549B7640 000000003BC0C880  libkritaimage.dll!0x14690c KisImage::~KisImage+0xac
00007FF97A906BCD 00000000547DCB80 00000000549B7640 0000000004A1D930  libkritaimage.dll!0x146bcd KisImage::~KisImage+0xd
00007FF9783FF486 00000000547DCB80 0000000000000000 0000000004A1D930  libkritaui.dll!0x2df486 KisSharedPtr<KisImage>::deref+0x26
00007FF97840B799 000000000BD44680 00000000005FBDBE 00000000005FBDBF  libkritaui.dll!0x2eb799 KisDocument::~KisDocument+0x139
00007FF97840BA2D 00000000005FBE90 0000000000000000 0000000057964820  libkritaui.dll!0x2eba2d KisDocument::~KisDocument+0xd
00007FF97A3B93CA 0000000000000000 00000000045C2960 0000000000000001  Qt5Core.dll!0x2293ca QObject::event+0x11a
00007FF979607BDC 000000004B692390 0000000004A1D930 0000000057971BA0  Qt5Widgets.dll!0x7bdc QApplicationPrivate::notify_helper+0x9c
00007FF97960EBF3 0000000000000000 00007FF97A1B212F 0000000058638A70  Qt5Widgets.dll!0xebf3 QApplication::notify+0x3b3
00007FF9783F8946 000000000000000C 0000000400000004 0000000004A56E00  libkritaui.dll!0x2d8946 KisApplication::notify+0x16
00007FF97A38CA58 00000000005FC450 00000000005FC3B0 0000000000000000  Qt5Core.dll!0x1fca58 QCoreApplication::notifyInternal2+0x198
00007FF97A393089 0000000000090226 0000000000000000 0000000000000000  Qt5Core.dll!0x203089 QCoreApplicationPrivate::sendPostedEvents+0x199
000000006A8FE82E 0000000000000401 0000000000090226 0000000000000000  qwindows.dll!0x7e82e qt_plugin_instance+0x2a3e
00007FF97A3E7B1A 0000000080000012 0000000000000000 00000000005FC5F8  Qt5Core.dll!0x257b1a QEventDispatcherWin32Private::sendTimerEvent+0x60a
00007FF997ECB85D 00000000031DB7E0 00007FF97A3E7640 0000000000090226  USER32.dll!0xb85d UserCallWinProcCheckWow+0x2ad
00007FF997ECB1EF 00000000005FC720 00000000005FC720 0000000000000000  USER32.dll!0xb1ef DispatchMessageWorker+0x19f
00007FF97A3E6FBB 0000000004A56E00 0000000000000024 000000000469EBA0  Qt5Core.dll!0x256fbb QEventDispatcherWin32::processEvents+0x5cb
000000006A8FE815 0000000000000080 0000000000000014 00000000547A5C40  qwindows.dll!0x7e815 qt_plugin_instance+0x2a25
00007FF97A38B27F 000000000B3448F0 000000000C9ADFB0 00007FF97A52F320  Qt5Core.dll!0x1fb27f QEventLoop::exec+0x13f
00007FF97A3944F7 00000000005FFC00 00000000005FFB70 0000000000000008  Qt5Core.dll!0x2044f7 QCoreApplication::exec+0x77
0000000140006E61 0000000000000001 00000000045C2BA0 0000000140F74970  krita.exe!0x6e61 main+0x20b1
00000001400013C7 0000000000000000 0000000000000000 0000000000000000  krita.exe!0x13c7 __tmainCRTStartup+0x247
00000001400014CB 0000000000000000 0000000000000000 0000000000000000  krita.exe!0x14cb WinMainCRTStartup+0x1b
00007FF996531FE4 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!0x11fe4 BaseThreadInitThunk+0x14
00007FF998DAEF91 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!0x6ef91 RtlUserThreadStart+0x21

0000000140000000-0000000140F84000 krita.exe
00007FF998D40000-00007FF998F20000 ntdll.dll   	6.2.16299.64
00007FF996520000-00007FF9965CE000 KERNEL32.DLL	6.2.16299.15
00007FF9951A0000-00007FF995406000 KERNELBASE.dll	6.2.16299.15
00007FF993580000-00007FF993608000 apphelp.dll 	6.2.16299.98
00007FF9965D0000-00007FF99666D000 msvcrt.dll  	7.0.16299.125
00007FF97BC70000-00007FF97BCB8000 libkritaglobal.dll
0000000061440000-000000006145A000 libgcc_s_seh-1.dll
00007FF97A7C0000-00007FF97AD0F000 libkritaimage.dll
000000006FC40000-000000006FDA5000 libstdc++-6.dll
00007FF997EC0000-00007FF99804F000 USER32.dll  	6.2.16299.125
00007FF9960D0000-00007FF9960F0000 win32u.dll  	6.2.16299.15
00007FF9967F0000-00007FF996818000 GDI32.dll   	6.2.16299.15
00007FF97BC10000-00007FF97BC6E000 libKF5ConfigCore.dll
00007FF995F30000-00007FF9960C3000 gdi32full.dll	6.2.16299.98
00007FF996170000-00007FF99620B000 msvcp_win.dll	6.2.16299.15
00007FF995B60000-00007FF995C56000 ucrtbase.dll	6.2.16299.125
00007FF97B200000-00007FF97B334000 libkritawidgetutils.dll
00007FF97BAC0000-00007FF97BB16000 libKF5I18n.dll
00007FF97A190000-00007FF97A7BB000 Qt5Core.dll 	5.12.5.0
00007FF998C60000-00007FF998D01000 ADVAPI32.dll	6.2.16299.15
00007FF997E60000-00007FF997EBB000 sechost.dll 	6.2.16299.15
00007FF998470000-00007FF99858F000 RPCRT4.dll  	6.2.16299.15
00007FF979600000-00007FF979B6D000 Qt5Widgets.dll	5.12.5.0
00007FF998050000-00007FF998199000 ole32.dll   	6.2.16299.15
00007FF979B70000-00007FF97A18B000 Qt5Gui.dll  	5.12.5.0
00007FF996210000-00007FF996518000 combase.dll 	6.2.16299.15
00007FF984770000-00007FF98477E000 libkritaversion.dll
00007FF9960F0000-00007FF996162000 bcryptPrimitives.dll	6.2.16299.98
00007FF996820000-00007FF997C56000 SHELL32.dll 	6.2.16299.125
0000000064940000-0000000064955000 libwinpthread-1.dll	1.0.0.0
00007FF97BD00000-00007FF97BD3B000 Qt5Xml.dll  	5.12.5.0
00007FF995D10000-00007FF995D5A000 cfgmgr32.dll	6.2.16299.15
00007FF97BCE0000-00007FF97BCFF000 libkritacommand.dll
00007FF9966E0000-00007FF996786000 shcore.dll  	6.2.16299.15
00007FF97BA80000-00007FF97BAB8000 libkritametadata.dll
00007FF995410000-00007FF995B57000 windows.storage.dll	6.2.16299.125
00007FF996790000-00007FF9967E1000 shlwapi.dll 	6.2.16299.15
00007FF97BA50000-00007FF97BA73000 libkritaplugin.dll
00007FF995100000-00007FF995111000 kernel.appcore.dll	6.2.16299.15
00007FF977E90000-00007FF978112000 libkritapigment.dll
00007FF995090000-00007FF9950DC000 powrprof.dll	6.2.16299.15
00007FF97B4D0000-00007FF97B52F000 libkritapsd.dll
00007FF9950E0000-00007FF9950FB000 profapi.dll 	6.2.16299.15
00007FF998400000-00007FF99846C000 WS2_32.dll  	6.2.16299.15
00007FF97BA20000-00007FF97BA42000 libkritastore.dll
00007FF97ADA0000-00007FF97AEB1000 libfftw3.dll
00007FF97B480000-00007FF97B4CE000 libHalf.dll
00007FF977DF0000-00007FF977E83000 libkritaodf.dll
00007FF97B450000-00007FF97B479000 libKF5ConfigGui.dll
00007FF977D50000-00007FF977DE5000 libKF5CoreAddons.dll
00007FF97B420000-00007FF97B44A000 libKF5GuiAddons.dll
00007FF977D10000-00007FF977D4D000 libKF5ItemViews.dll
00007FF97BCC0000-00007FF97BCDE000 libintl.DLL 	0.18.0.0
00007FF977BE0000-00007FF977D0B000 libKF5WidgetsAddons.dll
00007FF97B1D0000-00007FF97B1FD000 libKF5WindowSystem.dll
00007FF977B80000-00007FF977BD8000 Qt5PrintSupport.dll	5.12.5.0
00007FF982970000-00007FF98298B000 MPR.dll     	6.2.16299.15
00007FF9982C0000-00007FF9983CA000 comdlg32.dll	6.2.16299.125
00007FF98EDF0000-00007FF98EE07000 NETAPI32.dll	6.2.16299.15
00007FF993940000-00007FF99396A000 dwmapi.dll  	6.2.16299.15
00007FF993870000-00007FF993905000 UxTheme.dll 	6.2.16299.15
00007FF978120000-00007FF9795F6000 libkritaui.dll
00007FF994F90000-00007FF994FB9000 USERENV.dll 	6.2.16299.15
00007FF991A10000-00007FF991A1A000 VERSION.dll 	6.2.16299.15
00007FF992140000-00007FF992163000 WINMM.dll   	6.2.16299.15
00007FF97AD70000-00007FF97ADA0000 libquazip5.dll
00007FF977B30000-00007FF977B71000 libKF5Archive.dll
00007FF97BA00000-00007FF97BA12000 iconv.dll
00007FF98E6A0000-00007FF98E746000 COMCTL32.dll	5.82.16299.125
00007FF98E470000-00007FF98E4F6000 WINSPOOL.DRV	6.2.16299.15
00007FF983910000-00007FF98391E000 libkritacolor.dll
00007FF977910000-00007FF977B27000 libkritaflake.dll
00007FF9778A0000-00007FF97790A000 libkritalibbrush.dll
00007FF977870000-00007FF977891000 libkritaimpex.dll
00007FF977750000-00007FF97786E000 libkritawidgets.dll
00007FF977710000-00007FF977749000 libKF5Completion.dll
00007FF9776D0000-00007FF97770E000 libpng16.dll
00007FF977350000-00007FF977443000 Qt5Multimedia.dll	5.12.5.0
00007FF977450000-00007FF9776C7000 libexiv2.dll
00007FF9771C0000-00007FF97734D000 Qt5Network.dll	5.12.5.0
00007FF998C50000-00007FF998C58000 PSAPI.DLL   	6.2.16299.15
00007FF992110000-00007FF99213A000 WINMMBASE.dll	6.2.16299.15
00007FF995D60000-00007FF995F2E000 CRYPT32.dll 	6.2.16299.15
00007FF9771A0000-00007FF9771C0000 libzlib.dll 	1.2.11.0
0000000063CC0000-0000000063CEC000 liblzma.dll 	5.2.4.0
00007FF995120000-00007FF995132000 MSASN1.dll  	6.2.16299.15
00007FF9946B0000-00007FF9946E9000 IPHLPAPI.DLL	6.2.16299.15
00007FF994BF0000-00007FF994C15000 bcrypt.dll  	6.2.16299.125
00007FF977140000-00007FF977193000 Qt5Svg.dll  	5.12.5.0
00007FF9837A0000-00007FF9837B0000 Qt5Concurrent.dll	5.12.5.0
00007FF994B00000-00007FF994B0B000 CRYPTBASE.DLL	6.2.16299.15
00007FF977100000-00007FF977135000 libexpat.dll
00007FF9947B0000-00007FF9947BE000 NETUTILS.DLL	6.2.16299.15
00007FF9946F0000-00007FF9947A6000 DNSAPI.dll  	6.2.16299.19
00007FF9966D0000-00007FF9966D8000 NSI.dll     	6.2.16299.15
00007FF976E50000-00007FF9770F5000 libcrypto-1_1-x64.dll	1.1.1.2
00007FF976DC0000-00007FF976E46000 libssl-1_1-x64.dll	1.1.1.2
00007FF985CD0000-00007FF985CF6000 SRVCLI.DLL  	6.2.16299.15
00007FF9905A0000-00007FF9905DF000 LOGONCLI.DLL	6.2.16299.15
00007FF991BF0000-00007FF991C08000 SAMCLI.DLL  	6.2.16299.15
00007FF9983D0000-00007FF9983FD000 IMM32.DLL   	6.2.16299.15
000000006A880000-000000006AA36000 qwindows.dll	5.12.5.0
00007FF998590000-00007FF998655000 OLEAUT32.dll	6.2.16299.15
00007FF991D00000-00007FF991D13000 WTSAPI32.dll	6.2.16299.15
00007FF983270000-00007FF983319000 tiptsf.dll  	6.2.16299.15
00007FF976C20000-00007FF976DB5000 d3d9.dll    	6.2.16299.98
00007FF995140000-00007FF995198000 WINTRUST.DLL	6.2.16299.15
00007FF998C30000-00007FF998C4D000 imagehlp.dll	6.2.16299.15
00007FF994AE0000-00007FF994AF7000 CRYPTSP.dll 	6.2.16299.15
00007FF994530000-00007FF994563000 rsaenh.dll  	6.2.16299.15
00007FF976B00000-00007FF976C1E000 opengl32.dll	6.2.16299.15
00007FF976AD0000-00007FF976AFC000 GLU32.dll   	6.2.16299.15
00007FF998AB0000-00007FF998C17000 MSCTF.dll   	6.2.16299.19
0000000066D40000-0000000069007000 nvoglv64.DLL	23.21.13.8813
00007FF998660000-00007FF998AAE000 SETUPAPI.dll	6.2.16299.15
00007FF994EA0000-00007FF994EC7000 DEVOBJ.dll  	6.2.16299.15
00007FF9941D0000-00007FF994201000 ntmarta.dll 	6.2.16299.15
00007FF994240000-00007FF994295000 WINSTA.dll  	6.2.16299.15
00007FF998220000-00007FF9982BE000 clbcatq.dll 	2001.12.10941.16384
00007FF983330000-00007FF983340000 libEGL.DLL  	5.12.5.0
00007FF9766F0000-00007FF976AC9000 libGLESv2.dll	5.12.5.0
000000006CC40000-000000006CC74000 qwindowsvistastyle.dll	5.12.5.0
00007FF9766D0000-00007FF9766E2000 kimg_exr.dll
00007FF9766B0000-00007FF9766C3000 libIex.dll
00007FF976410000-00007FF9766AB000 libIlmImf.dll
00007FF9763F0000-00007FF97640A000 libImath.dll
00007FF982470000-00007FF98247F000 libIlmThread.dll
00007FF9763D0000-00007FF9763E1000 kimg_kra.dll
00007FF9763B0000-00007FF9763C1000 kimg_ora.dll
00007FF976390000-00007FF9763A3000 kimg_pcx.dll
00007FF976370000-00007FF976383000 kimg_pic.dll
00007FF976350000-00007FF976361000 kimg_psd.dll
00007FF976330000-00007FF976342000 kimg_ras.dll
00007FF976310000-00007FF976324000 kimg_rgb.dll
00007FF9762F0000-00007FF976301000 kimg_tga.dll
00007FF9762D0000-00007FF9762EE000 kimg_xcf.dll
0000000061F00000-0000000061F13000 qgif.dll    	5.12.5.0
000000006C600000-000000006C615000 qicns.dll   	5.12.5.0
000000006E840000-000000006E853000 qico.dll    	5.12.5.0
00000000626C0000-0000000062729000 qjpeg.dll   	5.12.5.0
0000000061B00000-0000000061B11000 qsvg.dll    	5.12.5.0
000000006CF00000-000000006CF71000 qtiff.dll   	5.12.5.0
0000000066AC0000-0000000066AD1000 qwbmp.dll   	5.12.5.0
000000000AB90000-000000000AC22000 qwebp.dll   	5.12.5.0
00007FF980B70000-00007FF980BBF000 dataexchange.dll	6.2.16299.15
00007FF992C50000-00007FF992F31000 d3d11.dll   	6.2.16299.98
00007FF993020000-00007FF993162000 dcomp.dll   	6.2.16299.15
00007FF993F00000-00007FF993FAF000 dxgi.dll    	6.2.16299.98
00007FF993970000-00007FF993AEB000 twinapi.appcore.dll	6.2.16299.19
00007FF993BF0000-00007FF993C10000 RMCLIENT.dll	6.2.16299.15
00007FF9762B0000-00007FF9762C1000 exchndl.dll 	0.8.2.0
00007FF976240000-00007FF9762A2000 mgwhelp.dll 	0.8.2.0
00007FF9760B0000-00007FF97623F000 dbghelp.dll 	6.3.9600.17298
00007FF975DA0000-00007FF9760AF000 dwrite.dll  	6.2.16299.15
00007FF98D0D0000-00007FF98D168000 TextInputFramework.dll	6.2.16299.15
00007FF992F40000-00007FF99301D000 CoreMessaging.dll	6.2.16299.15
00007FF9900D0000-00007FF9903BE000 CoreUIComponents.dll	6.2.16299.15
00007FF98FE20000-00007FF98FF56000 wintypes.dll	6.2.16299.15
00007FF98D4C0000-00007FF98D6C6000 uiautomationcore.dll	7.2.16299.15
00007FF994EF0000-00007FF994F8A000 sxs.dll     	6.2.16299.15
00007FF98E400000-00007FF98E46E000 OLEACC.dll  	7.2.16299.15
00007FF975D80000-00007FF975D95000 krita_shape_image.dll
00007FF975CA0000-00007FF975D7D000 krita_shape_text.dll
00007FF975B10000-00007FF975C97000 libkritatext.dll
00007FF975A90000-00007FF975B04000 libkritatextlayout.dll
00007FF975A30000-00007FF975A6F000 krita_shape_artistictext.dll
00007FF9759C0000-00007FF975A22000 krita_shape_paths.dll
00007FF975960000-00007FF975978000 kritaasccdl.dll
00007FF975920000-00007FF975952000 kritablurfilter.dll
00007FF9758D0000-00007FF97591A000 kritacolorsfilters.dll
00007FF9758B0000-00007FF9758C9000 kritaconvertheighttonormalmap.dll
00007FF975890000-00007FF9758A5000 kritaconvolutionfilters.dll
00007FF975870000-00007FF975884000 kritadodgeburn.dll
00007FF975850000-00007FF975869000 kritaedgedetection.dll
00007FF975830000-00007FF975843000 kritaembossfilter.dll
00007FF975810000-00007FF975824000 kritaexample.dll
00007FF9757F0000-00007FF97580A000 kritaextensioncolorsfilters.dll
00007FF9757D0000-00007FF9757E8000 kritafastcolortransferfilter.dll
00007FF9757A0000-00007FF9757C5000 kritagaussianhighpassfilter.dll
00007FF975780000-00007FF97579F000 kritagradientmap.dll
00007FF975760000-00007FF97577C000 kritahalftone.dll
00007FF975730000-00007FF97575B000 kritaimageenhancement.dll
00007FF975710000-00007FF97572D000 kritaindexcolors.dll
00007FF9756F0000-00007FF975709000 kritalevelfilter.dll
00007FF9756D0000-00007FF9756E8000 kritanoisefilter.dll
00007FF9756B0000-00007FF9756C5000 kritanormalize.dll
00007FF975690000-00007FF9756A7000 kritaoilpaintfilter.dll
00007FF975660000-00007FF975686000 kritapalettize.dll
00007FF975630000-00007FF975656000 kritaphongbumpmap.dll
00007FF975610000-00007FF975627000 kritapixelizefilter.dll
00007FF9755F0000-00007FF975606000 kritaposterize.dll
00007FF9755D0000-00007FF9755E4000 kritaraindropsfilter.dll
00007FF9755B0000-00007FF9755C9000 kritarandompickfilter.dll
00007FF975590000-00007FF9755A7000 kritaroundcornersfilter.dll
00007FF975570000-00007FF975585000 kritasmalltilesfilter.dll
00007FF975550000-00007FF97556A000 kritathreshold.dll
00007FF975520000-00007FF975543000 kritaunsharpfilter.dll
00007FF975500000-00007FF97551B000 kritawavefilter.dll
00007FF9754E0000-00007FF9754F8000 kritacolorgenerator.dll
00007FF9754C0000-00007FF9754D8000 kritapatterngenerator.dll
00007FF9754A0000-00007FF9754BE000 kritasimplexnoisegenerator.dll
00007FF975460000-00007FF975497000 kritacolorsmudgepaintop.dll
00007FF975340000-00007FF975456000 libkritalibpaintop.dll
00007FF9747A0000-00007FF975338000 kritalcmsengine.dll
00007FF974740000-00007FF974793000 liblcms2.dll
00007FF974700000-00007FF97473A000 krita_colorspaces_extensions.dll
00007FF9746D0000-00007FF9746FB000 kritacurvepaintop.dll
00007FF974670000-00007FF9746CA000 kritadefaultpaintops.dll
00007FF974630000-00007FF974665000 kritadeformpaintop.dll
00007FF974600000-00007FF97462D000 kritaexperimentpaintop.dll
00007FF9745D0000-00007FF9745F8000 kritafilterop.dll
00007FF9745A0000-00007FF9745C3000 kritagridpaintop.dll
00007FF974560000-00007FF974591000 kritahairypaintop.dll
00007FF974520000-00007FF974557000 kritahatchingpaintop.dll
00007FF9744F0000-00007FF974518000 kritaparticlepaintop.dll
00007FF9744C0000-00007FF9744E6000 kritaroundmarkerpaintop.dll
00007FF974490000-00007FF9744BC000 kritasketchpaintop.dll
00007FF974450000-00007FF97448D000 kritaspraypaintop.dll
00007FF974420000-00007FF97444B000 kritatangentnormalpaintop.dll
00007FF9743E0000-00007FF97441F000 krita_filtereffects.dll
00007FF974260000-00007FF9742A4000 kritaassistanttool.dll
00007FF974200000-00007FF974258000 krita_flaketools.dll
00007FF974190000-00007FF9741FE000 krita_karbontools.dll
00007FF974140000-00007FF974181000 krita_tool_svgtext.dll
00007FF9740B0000-00007FF974137000 kritadefaulttools.dll
00007FF9814E0000-00007FF9814F0000 libboost_system-mgw73-mt-1_61.dll
00007FF974090000-00007FF9740AB000 libkritabasicflakes.dll
00007FF973FF0000-00007FF97408C000 kritaselectiontools.dll
00007FF973FC0000-00007FF973FEE000 kritatoolSmartPatch.dll
00007FF973F90000-00007FF973FBC000 kritatoolcrop.dll
00007FF973F70000-00007FF973F87000 kritatooldyna.dll
00007FF973F40000-00007FF973F64000 kritatoollazybrush.dll
00007FF973F20000-00007FF973F37000 kritatoolpolygon.dll
00007FF973F00000-00007FF973F16000 kritatoolpolyline.dll
00007FF973E00000-00007FF973EF8000 kritatooltransform.dll
00007FF973D50000-00007FF973DF4000 kritaanimationdocker.dll
00007FF973D30000-00007FF973D47000 kritasvgcollectiondocker.dll
00007FF973D10000-00007FF973D29000 kritaarrangedocker.dll
00007FF973CE0000-00007FF973D10000 kritaartisticcolorselector.dll
00007FF973CB0000-00007FF973CD2000 kritachanneldocker.dll
00007FF973C40000-00007FF973CA2000 kritacolorselectorng.dll
0000000070700000-0000000070714000 qsvgicon.dll	5.12.5.0
00007FF973C20000-00007FF973C3F000 kritacompositiondocker.dll
00007FF973C00000-00007FF973C15000 kritadigitalmixer.dll
00007FF973BD0000-00007FF973BFC000 kritagamutmask.dll
00007FF973BB0000-00007FF973BCD000 kritagriddocker.dll
00007FF973B90000-00007FF973BA8000 kritahistogramdocker.dll
00007FF973B70000-00007FF973B90000 kritahistorydocker.dll
00007FF973B20000-00007FF973B62000 kritalayerdocker.dll
00007FF973B00000-00007FF973B1A000 kritalogdocker.dll
00007FF973AD0000-00007FF973AFA000 kritalutdocker.dll
00007FF973970000-00007FF973AC2000 libOpenColorIO.dll
00007FF973950000-00007FF97396C000 kritaoverviewdocker.dll
00007FF973930000-00007FF97394E000 kritapalettedocker.dll
00007FF973910000-00007FF973923000 kritapatterndocker.dll
00007FF9738F0000-00007FF973904000 kritapresetdocker.dll
00007FF9738D0000-00007FF9738E5000 kritapresethistory.dll
00007FF9738A0000-00007FF9738C1000 kritasmallcolorselector.dll
00007FF973880000-00007FF97389D000 kritasnapshotdocker.dll
00007FF973860000-00007FF97387C000 kritaspecificcolorselector.dll
00007FF973830000-00007FF973858000 kritatasksetdocker.dll
00007FF973810000-00007FF97382C000 kritatouchdocker.dll
00007FF9733F0000-00007FF973409000 Qt5QuickWidgets.dll	5.12.5.0
00007FF9732D0000-00007FF9733E8000 libkritaqml.dll
00007FF973410000-00007FF973806000 Qt5Qml.dll  	5.12.5.0
00007FF972EE0000-00007FF9732CD000 Qt5Quick.dll	5.12.5.0
000000000B8A0000-000000000B8C2000 qgenericbearer.dll	5.12.5.0
00007FF98C920000-00007FF98C936000 dhcpcsvc6.DLL	6.2.16299.15
00007FF98C900000-00007FF98C91A000 dhcpcsvc.DLL	6.2.16299.15
00007FF97FE40000-00007FF97FE84000 edputil.dll 	6.2.16299.15
00007FF972EA0000-00007FF972EE0000 kritaanimationrenderer.dll
00007FF972E80000-00007FF972E96000 kritabuginfo.dll
00007FF972E60000-00007FF972E7D000 kritaclonesarray.dll
00007FF972E30000-00007FF972E51000 kritacolorrange.dll
00007FF972E10000-00007FF972E2A000 kritacolorspaceconversion.dll
00007FF972DD0000-00007FF972E01000 kritaimagesize.dll
00007FF972DB0000-00007FF972DCD000 kritaimagesplit.dll
00007FF972D90000-00007FF972DA5000 kritalayergroupswitcher.dll
00007FF972D70000-00007FF972D8F000 kritalayersplit.dll
00007FF972D40000-00007FF972D6B000 kritametadataeditor.dll
00007FF972D20000-00007FF972D3C000 kritamodifyselection.dll
00007FF972CF0000-00007FF972D12000 kritaoffsetimage.dll
00007FF972CA0000-00007FF972CE5000 kritaqmic.dll
00007FF972C60000-00007FF972C97000 kritaresourcemanager.dll
00007FF972C40000-00007FF972C5C000 kritarotateimage.dll
00007FF972C10000-00007FF972C32000 kritaseparatechannels.dll
00007FF972BF0000-00007FF972C05000 kritashearimage.dll
00007FF972BD0000-00007FF972BEB000 kritawaveletdecompose.dll
00007FF972BA0000-00007FF972BCD000 kritapykrita.dll
00007FF972B00000-00007FF972B9B000 libkritalibkis.dll
0000000052460000-00000000527F4000 python36.dll	3.6.2150.1013
00007FF972AE0000-00007FF972AF7000 VCRUNTIME140.dll	14.0.23026.0
00007FF972A60000-00007FF972AD2000 krita.pyd
0000000064F40000-0000000064F64000 sip.pyd
000000006B880000-000000006BBA7000 QtCore.pyd
00007FF97E6A0000-00007FF97E6AF000 python3.dll 	3.6.2150.1013
0000000066300000-000000006662F000 QtGui.pyd
0000000065400000-0000000065A9F000 QtWidgets.pyd
0000000061640000-000000006168E000 QtXml.pyd
0000000066980000-000000006699A000 _bz2.pyd    	3.6.2150.1013
00007FF972A10000-00007FF972A52000 _lzma.pyd   	3.6.2150.1013
00007FF9728A0000-00007FF972A09000 _hashlib.pyd	3.6.2150.1013
0000000066950000-000000006697D000 _elementtree.pyd	3.6.2150.1013
00007FF972860000-00007FF972893000 pyexpat.pyd 	3.6.2150.1013
0000000066930000-0000000066945000 _socket.pyd 	3.6.2150.1013
0000000066920000-000000006692A000 select.pyd  	3.6.2150.1013
0000000066910000-000000006691E000 _overlapped.pyd	3.6.2150.1013
00007FF994920000-00007FF994986000 mswsock.dll 	6.2.16299.15
0000000066900000-000000006690B000 _multiprocessing.pyd	3.6.2150.1013
00007FF972840000-00007FF972851000 _asyncio.pyd	3.6.2150.1013
00007FF972640000-00007FF97283D000 _ssl.pyd    	3.6.2150.1013
00007FF985450000-00007FF985469000 CLDAPI.dll  	6.2.16299.15
00007FF985570000-00007FF9855B4000 AEPIC.dll   	6.2.16299.15
00007FF985E80000-00007FF985E8A000 FLTLIB.DLL  	6.2.16299.15
00007FF991EC0000-00007FF992071000 propsys.dll 	7.0.16299.15
000000006DA80000-000000006DA8F000 qtquick2plugin.dll	5.12.5.0
00007FF972570000-00007FF972631000 kritasketchplugin.dll
00007FF98D770000-00007FF98D9D9000 comctl32.dll	6.10.16299.125
00007FF990710000-00007FF9908BB000 WindowsCodecs.dll	6.2.16299.15
00007FF980170000-00007FF9801CB000 thumbcache.dll	6.2.16299.15
00007FF98E860000-00007FF98E8DB000 policymanager.dll	6.2.16299.15
00007FF98E780000-00007FF98E810000 msvcp110_win.dll	6.2.16299.15
00007FF9805F0000-00007FF980A83000 explorerframe.dll	6.2.16299.98
00007FF9833D0000-00007FF98357E000 DUI70.dll   	6.2.16299.15
00007FF98D6D0000-00007FF98D761000 DUser.dll   	6.2.16299.15
00007FF988430000-00007FF9885B7000 Windows.Globalization.dll	6.2.16299.15
00007FF98D3D0000-00007FF98D43A000 Bcp47Langs.dll	6.2.16299.15
00007FF988B90000-00007FF988BC0000 globinputhost.dll	6.2.16299.15
00007FF983320000-00007FF98332C000 atlthunk.dll	6.2.16299.15
00007FF97F1B0000-00007FF97F287000 ntshrui.dll 	6.2.16299.15
00007FF994FC0000-00007FF994FF0000 SspiCli.dll 	6.2.16299.125
00007FF97F0E0000-00007FF97F0F2000 cscapi.dll  	6.2.16299.15
00007FF988920000-00007FF9889C9000 StructuredQuery.dll	7.0.16299.15
00007FF985070000-00007FF985137000 Windows.Storage.Search.dll	6.2.16299.15
00007FF988240000-00007FF988363000 Windows.StateRepositoryPS.dll	6.2.16299.15
00007FF992080000-00007FF9920A3000 SAMLIB.dll  	6.2.16299.15
00007FF9981A0000-00007FF998211000 coml2.dll   	6.2.16299.15
00007FF98F310000-00007FF98F904000 OneCoreUAPCommonProxyStub.dll	6.2.16299.15
00007FF97F030000-00007FF97F040000 LINKINFO.dll	6.2.16299.15
00007FF983580000-00007FF983601000 twinapi.dll 	6.2.16299.15
00007FF98CD30000-00007FF98CD3B000 drprov.dll  	6.2.16299.15
00007FF9895D0000-00007FF9895E6000 ntlanman.dll	6.2.16299.15
00007FF989490000-00007FF9894AC000 davclnt.dll 	6.2.16299.15
00007FF989320000-00007FF98932C000 DAVHLPR.dll 	6.2.16299.15
00007FF9905E0000-00007FF9905F7000 wkscli.dll  	6.2.16299.15
00007FF988B40000-00007FF988B8A000 dlnashext.dll	6.2.16299.15
00007FF97EAA0000-00007FF97ED63000 FileSyncShell64.dll	17.3.7076.1026
00007FF983AF0000-00007FF983E24000 WININET.dll 	11.0.16299.98
00007FF988AD0000-00007FF988B33000 PlayToDevice.dll	6.2.16299.15
00007FF97DA30000-00007FF97DC70000 GROOVEEX.DLL	15.0.4907.1000
0000000069100000-00000000691D2000 MSVCR100.dll	10.0.40219.332
0000000069060000-00000000690F8000 MSVCP100.dll	10.0.40219.332
0000000069030000-000000006905B000 ATL100.DLL  	10.0.40219.332
00007FF988410000-00007FF98842F000 DevDispItemProvider.dll	6.2.16299.15
00007FF97D640000-00007FF97DA25000 msi.dll     	5.0.16299.15
0000000180000000-000000018087D000 GrooveIntlResource.dll	15.0.4907.1000
00007FF989060000-00007FF98922C000 urlmon.dll  	11.0.16299.125
00007FF98CA10000-00007FF98CCA9000 iertutil.dll	11.0.16299.125
00007FF98E8E0000-00007FF98E94F000 MMDevApi.dll	6.2.16299.15
00007FF98FD80000-00007FF98FE20000 PortableDeviceApi.dll	6.2.16299.15
00007FF9883E0000-00007FF988405000 EhStorAPI.dll	6.2.16299.15
00007FF988110000-00007FF988237000 NetworkExplorer.dll	6.2.16299.15
00007FF9861C0000-00007FF9861E4000 kritakraexport.dll
00007FF986150000-00007FF9861B8000 libkritalibkra.dll
00007FF98FD50000-00007FF98FD65000 ondemandconnroutehelper.dll	6.2.16299.15
00007FF98FF60000-00007FF99003E000 winhttp.dll 	6.2.16299.98
00007FF98CEC0000-00007FF98CECB000 WINNSI.DLL  	6.2.16299.15
00007FF98CD40000-00007FF98CDAF000 msiso.dll   	11.0.16299.125
00007FF98C850000-00007FF98C85A000 rasadhlp.dll	6.2.16299.15
00007FF98C9A0000-00007FF98CA10000 fwpuclnt.dll	6.2.16299.15
00007FF994570000-00007FF99457A000 DPAPI.DLL   	6.2.16299.15

Windows 6.2.9200
DrMingw 0.8.2
======================
Comment 2 Halla Rempt 2020-01-10 10:25:24 UTC
This is the backtrace for the crash on closing:

Thread 1 (Thread 0x7fc15c90c800 (LWP 23109)):
[KCrash Handler]
#6  0x00007fc1551b0711 in KoShape::boundingRect(QList<KoShape*> const&) (shapes=...) at /home/boud/dev/krita/libs/flake/KoShape.cpp:469
#7  0x00007fc1551eea9f in KoShapeLayer::boundingRect() const (this=<optimized out>) at /home/boud/dev/krita/libs/flake/KoShapeLayer.cpp:51
#8  0x00007fc1551cbfac in KoShapeManager::Private::DetectCollision::detect(KoRTree<KoShape*>&, KoShape*, int) (this=this@entry=0x7ffd3f1ffc78, tree=..., s=0x55585f038798, prevZIndex=0) at /home/boud/dev/krita/libs/flake/KoShapeManager_p.h:87
#9  0x00007fc1551c8604 in KoShapeManager::remove(KoShape*) [clone .localalias.217] (this=0x55585ef0fd40, shape=<optimized out>) at /home/boud/dev/krita/libs/flake/KoShapeManager.cpp:270
#10 0x00007fc15b222ed2 in KisShapeLayerCanvas::~KisShapeLayerCanvas() (this=0x55585e717a90, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:116
#11 0x00007fc15b223239 in KisShapeLayerCanvas::~KisShapeLayerCanvas() (this=0x55585e717a90, __in_chrg=<optimized out>) at /home/boud/dev/krita/libs/ui/flake/kis_shape_layer_canvas.cpp:146
#12 0x00007fc15b21a39d in KisShapeLayer::~KisShapeLayer() (this=0x55585f038760, __in_chrg=<optimized out>) at /home/boud/dev/krita/libs/ui/flake/kis_shape_layer.cc:262
#13 0x00007fc15b21a469 in KisShapeLayer::~KisShapeLayer() (this=0x55585f038760, __in_chrg=<optimized out>) at /home/boud/dev/krita/libs/ui/flake/kis_shape_layer.cc:250
#14 0x00007fc159d2b69e in KisSharedPtr<KisNode>::deref(KisSharedPtr<KisNode> const*, KisNode*) (sp=<optimized out>, t=<optimized out>) at /home/boud/dev/krita/libs/global/kis_shared_ptr.h:203
#15 0x00007fc159d2b69e in KisSharedPtr<KisNode>::deref(KisSharedPtr<KisNode> const*, KisNode*) (sp=0x7fc0e0002130, t=<optimized out>) at /home/boud/dev/krita/libs/global/kis_shared_ptr.h:203
#16 0x00007fc159d2b69e in KisSharedPtr<KisNode>::deref() const (this=0x7fc0e0002130) at /home/boud/dev/krita/libs/global/kis_shared_ptr.h:225
#17 0x00007fc159d2b69e in KisSharedPtr<KisNode>::~KisSharedPtr() (this=0x7fc0e0002130, __in_chrg=<optimized out>) at /home/boud/dev/krita/libs/global/kis_shared_ptr.h:109
#18 0x00007fc159d2b69e in QList<KisSharedPtr<KisNode> >::node_destruct(QList<KisSharedPtr<KisNode> >::Node*, QList<KisSharedPtr<KisNode> >::Node*) (this=<optimized out>, to=0x55585f0b8e50, from=0x55585f0b8e40) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:513
#19 0x00007fc159d2b69e in QList<KisSharedPtr<KisNode> >::dealloc(QListData::Data*) (this=<optimized out>, data=0x55585f0b8e30) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:884
#20 0x00007fc159d2b69e in QList<KisSharedPtr<KisNode> >::~QList() (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:846
#21 0x00007fc159ef9bd1 in QList<KisSharedPtr<KisNode> >::operator=(QList<KisSharedPtr<KisNode> >&&) (other=..., this=<optimized out>) at /usr/include/c++/8/bits/move.h:182
#22 0x00007fc159ef9bd1 in QList<KisSharedPtr<KisNode> >::clear() (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:893
#23 0x00007fc159ef9bd1 in KisNode::~KisNode() (this=0x55585ea6d090, __in_chrg=<optimized out>) at /home/boud/dev/krita/libs/image/kis_node.cpp:231
#24 0x00007fc159e597f9 in KisGroupLayer::~KisGroupLayer() (this=0x55585ea6d090, __in_chrg=<optimized out>) at /home/boud/dev/krita/libs/image/kis_group_layer.cc:78
#25 0x00007fc159e68bdd in KisSharedPtr<KisGroupLayer>::deref(KisSharedPtr<KisGroupLayer> const*, KisGroupLayer*) (sp=<optimized out>, t=0x55585ea6d090) at /home/boud/dev/krita/libs/global/kis_shared_ptr.h:203
#26 0x00007fc159e68bdd in KisSharedPtr<KisGroupLayer>::deref(KisSharedPtr<KisGroupLayer> const*, KisGroupLayer*) (t=0x55585ea6d090, sp=0x55585e792878) at /home/boud/dev/krita/libs/global/kis_shared_ptr.h:203
#27 0x00007fc159e72f9c in KisSharedPtr<KisGroupLayer>::attach(KisGroupLayer*) (this=0x55585e792878, p=0x0) at /home/boud/dev/krita/libs/global/kis_shared_ptr.h:521
#28 0x00007fc159e72f9c in KisSharedPtr<KisGroupLayer>::clear() (this=0x55585e792878) at /home/boud/dev/krita/libs/global/kis_shared_ptr.h:523
#29 0x00007fc159e72f9c in KisImage::KisImagePrivate::~KisImagePrivate() (this=0x55585e792830, __in_chrg=<optimized out>) at /home/boud/dev/krita/libs/image/kis_image.cc:195
#30 0x00007fc159e72f9c in KisImage::~KisImage() (this=0x55585ea58e30, __in_chrg=<optimized out>) at /home/boud/dev/krita/libs/image/kis_image.cc:281
#31 0x00007fc159e732b9 in KisImage::~KisImage() (this=0x55585ea58e30, __in_chrg=<optimized out>) at /home/boud/dev/krita/libs/image/kis_image.cc:272
#32 0x00007fc15b5a517d in KisSharedPtr<KisImage>::deref(KisSharedPtr<KisImage> const*, KisImage*) (sp=<optimized out>, t=0x55585ea58e30) at /home/boud/dev/krita/libs/global/kis_shared_ptr.h:203
#33 0x00007fc15b5a517d in KisSharedPtr<KisImage>::deref(KisSharedPtr<KisImage> const*, KisImage*) (t=0x55585ea58e30, sp=<optimized out>) at /home/boud/dev/krita/libs/global/kis_shared_ptr.h:203
#34 0x00007fc15b5ad95e in KisSharedPtr<KisImage>::attach(KisImage*) (this=<optimized out>, p=0x0) at /home/boud/dev/krita/libs/global/kis_shared_ptr.h:521
#35 0x00007fc15b5ad95e in KisSharedPtr<KisImage>::clear() (this=<optimized out>) at /home/boud/dev/krita/libs/global/kis_shared_ptr.h:523
#36 0x00007fc15b5ad95e in KisDocument::~KisDocument() (this=0x7fc1380045b0, __in_chrg=<optimized out>) at /home/boud/dev/krita/libs/ui/KisDocument.cpp:591
#37 0x00007fc15b5adc09 in KisDocument::~KisDocument() (this=0x7fc1380045b0, __in_chrg=<optimized out>) at /home/boud/dev/krita/libs/ui/KisDocument.cpp:544
#38 0x00007fc157dbc450 in QObject::event(QEvent*) (this=0x7fc1380045b0, e=<optimized out>) at kernel/qobject.cpp:1251
#39 0x00007fc158b8feac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007fc158b974b0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007fc15b59c8c7 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x7fc1380045b0, event=0x55585e248e50) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:658
#42 0x00007fc157d8af08 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7fc1380045b0, event=0x55585e248e50) at kernel/qcoreapplication.cpp:1095
#43 0x00007fc157d8b0de in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=event@entry=0x55585e248e50) at kernel/qcoreapplication.cpp:1490
#44 0x00007fc157d8d827 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x555853f59020) at kernel/qcoreapplication.cpp:1840
#45 0x00007fc157d8ddb8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1694
#46 0x00007fc157de9563 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x555854161c30) at kernel/qeventdispatcher_glib.cpp:277
#47 0x00007fc14f4ae417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007fc14f4ae650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007fc14f4ae6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007fc157de8b7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55585420fdd0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#51 0x00007fc157d8906a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd3f200620, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#52 0x00007fc157d923e0 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1403
#53 0x0000555851bd3a5d in main (argc=<optimized out>, argv=0x7ffd3f200948) at /home/boud/dev/krita/krita/main.cc:586
#54 0x00007fc15718ab97 in __libc_start_main (main=0x555851bd2650 <main>, argc=3, argv=0x7ffd3f200948, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd3f200938) at ../csu/libc-start.c:310
#55 0x0000555851bd4dba in _start () at /home/boud/dev/krita/krita/main.cc:461
Comment 3 Halla Rempt 2020-05-04 09:44:55 UTC
I cannot reproduce anymore with any current appimage, windows build or my own build. And the safe asserts are now all gone as well... Can anyone else still reproduce this with the latest beta? 

https://download.kde.org/unstable/krita/4.3.0-beta1/
Comment 4 Ahab Greybeard 2020-05-04 11:06:56 UTC
With the 03 May 4.3.0 beta1 Windows .zip package running on Windows 10, the Asserts, the z-order changes, the movement problem and the crash no longer happen.

When more than one shape is selected, only the last one to be selected is used to form the selection.

If shapes are grouped, then the selection follows the bounding box of the selected group of shapes.

The original report Expected Result is still not happening.
Comment 5 Halla Rempt 2020-05-04 11:28:00 UTC
I can confirm that only the last shape is used.
Comment 6 Dmitry Kazakov 2020-06-03 20:32:01 UTC
Git commit f9be64b30dc9d41633799c507eda4943fc54c651 by Dmitry Kazakov.
Committed on 03/06/2020 at 20:31.
Pushed by dkazakov into branch 'krita/4.3'.

Fix converting multile shapes into a vector selection

The code was written in expectation that there will be only one shape
on a shape selection, which is not entirely true (as we found out in
the bug 414262)

M  +57   -51   libs/ui/tool/kis_selection_tool_helper.cpp

https://invent.kde.org/graphics/krita/commit/f9be64b30dc9d41633799c507eda4943fc54c651
Comment 7 Dmitry Kazakov 2020-06-03 20:32:18 UTC
Git commit 6c22682177b6be0fd902994248ced2370120642b by Dmitry Kazakov.
Committed on 03/06/2020 at 20:32.
Pushed by dkazakov into branch 'master'.

Fix converting multile shapes into a vector selection

The code was written in expectation that there will be only one shape
on a shape selection, which is not entirely true (as we found out in
the bug 414262)

M  +57   -51   libs/ui/tool/kis_selection_tool_helper.cpp

https://invent.kde.org/graphics/krita/commit/6c22682177b6be0fd902994248ced2370120642b