Bug 407554

Summary: Crashed when creating a text after autosaving on a document has a selection somewhere
Product: [Applications] krita Reporter: acc4commissions
Component: Tool/TextAssignee: Dmitry Kazakov <dimula73>
Status: RESOLVED FIXED    
Severity: crash CC: epicwrathssin, halla, me
Priority: NOR Keywords: release_blocker
Version: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description acc4commissions 2019-05-15 10:36:01 UTC
SUMMARY
git 7a773b1

Possibly related to : Bug 406648 (Which is still not resolved) 
After hours of testing I found this particular crash is always reproducable. Might be also helpful to resolve the previous one.


STEPS TO REPRODUCE
1. Make a very small selection somewhere on the document.
2. Drag the canvas with Text Tool and hold your mouse button(Do not 'create' the text yet!).
3. Wait until the document autosave itself(I set the interval to 1min to make this easier). 
4. Make sure the autosave is finished(Important!), and then unpress the button to create the text.
5. Crash.


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

ADDITIONAL INFORMATION
Comment 1 acc4commissions 2019-05-15 10:42:02 UTC
A backtrace : 
Error occurred on Wednesday, May 15, 2019 at 19:22:23.

krita.exe caused an Access Violation at location 000007FECE7C5687 in module Qt5Core.dll Reading from location 000000000000036E.

AddrPC           Params
000007FECE7C5687 000000000022B198 000007FE00000006 0000000000000006  Qt5Core.dll!0x205687 QMetaObject::cast+0x17
000007FEC2438A51 0000000030EFAA50 000007FEFEEA13D2 0000000000000002  libkritaflake.dll!0x8a51 KoDocumentResourceManager::shapeController+0x61
000007FEC2527F7B 000000000022B378 000000000000007D 000000001C9FD630  libkritaflake.dll!0xf7f7b KoSvgTextShapeFactory::createShape+0x26b
000007FEBDEFE631 000000000022B3C0 000000000022B3C0 3FF0000000000000  krita_tool_svgtext.dll!0xe631 SvgTextTool::mouseReleaseEvent+0x411
000007FEC2480F10 8000000000000000 C095022F89F8E580 0000000000000000  libkritaflake.dll!0x50f10 KoToolProxy::mouseReleaseEvent+0x60
000007FEC24813C1 0000000000000001 000007FEC16C4EB8 0000000000484148  libkritaflake.dll!0x513c1 KoToolProxy::mouseReleaseEvent+0x21
000007FEC01F54F3 000000001CB74470 000000001C78C8F0 0000000018E42E10  libkritaui.dll!0x154f3 KisToolProxy::forwardEvent+0x193
000007FEC044A94E 000000000000135C 0000000000000001 000000001CBA1780  libkritaui.dll!0x26a94e KisToolInvocationAction::end+0xae
000007FEC0455E70 000000000F0B9050 0000000100000003 00003D1402C00201  libkritaui.dll!0x275e70 KisShortcutMatcher::tryEndRunningShortcut+0x70
000007FEC0457DB5 0000000000000000 000007FE00000001 000000000F0B9050  libkritaui.dll!0x277db5 KisShortcutMatcher::buttonReleased+0x215
000007FEC04439A7 000000000CAEC160 000007FECE650D90 000000000022B6F0  libkritaui.dll!0x2639a7 KisInputManager::eventFilterImpl+0x667
000007FECE7BAA70 000000000022FBB0 0000000000000001 0000000018E42E10  Qt5Core.dll!0x1faa70 QCoreApplication::applicationVersionChanged+0x1a0
000007FEC1687BB5 000000000CAEA9E0 0000000000000003 000002DF000001F5  Qt5Widgets.dll!0x7bb5 QApplicationPrivate::notify_helper+0x75
000007FEC168FC5A 0000000000000000 000007FECE5E215F 0000000000000000  Qt5Widgets.dll!0xfc5a QApplication::notify+0x13aa
000007FEC049D9F6 0000000000000000 3FF0000000000000 C043800000000000  libkritaui.dll!0x2bd9f6 KisApplication::notify+0x16
000007FECE7BC0C8 0000000000000000 0000000000000000 3FF0000000000000  Qt5Core.dll!0x1fc0c8 QCoreApplication::sendSpontaneousEvent+0x1a8
000007FEC168E058 00000000006A0B18 0000000000000215 0000000000000000  Qt5Widgets.dll!0xe058 QApplicationPrivate::sendMouseEvent+0x208
000007FEC16DAA5D 0000000007870E40 000007FECE7BA971 0000000000000000  Qt5Widgets.dll!0x5aa5d QDesktopWidget::qt_metacall+0x2a1d
000007FEC16DD7E3 000000000022FBB0 00000000023803B0 0000000000000001  Qt5Widgets.dll!0x5d7e3 QDesktopWidget::qt_metacall+0x57a3
000007FEC1687BDC 0000000000000068 0000000000000068 00000000003102E8  Qt5Widgets.dll!0x7bdc QApplicationPrivate::notify_helper+0x9c
000007FEC168EC63 0000000019E042D0 000007FECE5E215F 000000000244ECD0  Qt5Widgets.dll!0xec63 QApplication::notify+0x3b3
000007FEC049D9F6 0000000000000001 000007FECEC4AD54 0000000000000000  libkritaui.dll!0x2bd9f6 KisApplication::notify+0x16
000007FECE7BC0C8 0000000000000000 0000000002000002 0000000000000000  Qt5Core.dll!0x1fc0c8 QCoreApplication::sendSpontaneousEvent+0x1a8
000007FECEC37228 000000000022C428 000007FECE7C1E82 0000000000000001  Qt5Gui.dll!0x37228 QGuiApplicationPrivate::processMouseEvent+0x858
000007FECEC38465 000000000248E520 0000000002380450 00000000003B0B9A  Qt5Gui.dll!0x38465 QGuiApplicationPrivate::processWindowSystemEvent+0x105
000007FECEC103FC 00000000772A6AF8 00000000003B0B9A 0000000000000401  Qt5Gui.dll!0x103fc QWindowSystemInterface::sendWindowSystemEvents+0x44c
000007FECE81689A 0000000000000000 0000000000000038 000000000022C608  Qt5Core.dll!0x25689a QEventDispatcherWin32Private::sendTimerEvent+0x60a
0000000077169BBD 000000000022C720 000007FECE8163C0 0000000000000000  USER32.dll!0x19bbd UserCallWinProcCheckWow+0x1ad
00000000771698C2 000000000022C720 000000000022C720 000007FECE8163C0  USER32.dll!0x198c2 DispatchMessageWorker+0x3b5
000007FECE815D4B 0000000002380450 0000000000000024 0000000002448B20  Qt5Core.dll!0x255d4b QEventDispatcherWin32::processEvents+0x5db
000000006A8FB7D5 0000000000000080 0000000000000014 000000001C4FD4D0  qwindows.dll!0x7b7d5 qt_plugin_instance+0x2e15
000007FECE7BA14F 000007FEECA4CE60 000007FEC1D2DA30 000000000022FB70  Qt5Core.dll!0x1fa14f QEventLoop::exec+0x13f
000007FECE7C3417 000000000022FC00 000000000022FBB0 0000000000000008  Qt5Core.dll!0x203417 QCoreApplication::exec+0x77
0000000140006EE3 0000000000000001 00000000023801B0 0000000140F7A978  krita.exe!0x6ee3 main+0x2143
00000001400013C7 0000000000000000 0000000000000000 0000000000000000  krita.exe!0x13c7 __tmainCRTStartup+0x247
00000001400014CB 0000000000000000 0000000000000000 0000000000000000  krita.exe!0x14cb WinMainCRTStartup+0x1b
000000007704556D 0000000000000000 0000000000000000 0000000000000000  kernel32.dll!0x1556d BaseThreadInitThunk+0xd
00000000772A385D 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!0x5385d RtlUserThreadStart+0x1d

0000000140000000-0000000140F8A000 krita.exe
0000000077250000-00000000773EF000 ntdll.dll   	6.1.7601.24417
000007FEE0750000-000007FEE0762000 aswhook.dll 	19.4.4318.0
0000000077030000-000000007714F000 kernel32.dll	6.1.7601.24417
000007FEFCDE0000-000007FEFCE4A000 KERNELBASE.dll	6.1.7601.24417
000007FEECA30000-000007FEECA6F000 libkritaglobal.dll
000007FEF6AC0000-000007FEF6ACE000 libkritaversion.dll
0000000061440000-000000006145A000 libgcc_s_seh-1.dll
000007FEFEEA0000-000007FEFEF3F000 msvcrt.dll  	7.0.7601.17744
0000000064940000-0000000064955000 libwinpthread-1.dll	1.0.0.0
000000006FC40000-000000006FDA5000 libstdc++-6.dll
0000000077150000-000000007724A000 USER32.dll  	6.1.7601.23594
000007FEFD5E0000-000007FEFD647000 GDI32.dll   	6.1.7601.24417
000007FEFD160000-000007FEFD16E000 LPK.dll     	6.1.7601.24280
000007FEFF0F0000-000007FEFF1BB000 USP10.dll   	1.626.7601.24417
000007FECE5C0000-000007FECEBE4000 Qt5Core.dll 	5.12.2.0
000007FEFF260000-000007FEFF33B000 ADVAPI32.dll	6.1.7601.24417
000007FEFD510000-000007FEFD52F000 sechost.dll 	6.1.7601.18869
000007FEFECF0000-000007FEFEE1C000 RPCRT4.dll  	6.1.7601.24417
000007FEF2D40000-000007FEF2D58000 MPR.dll     	6.1.7600.16385
000007FEFAB90000-000007FEFABA6000 NETAPI32.dll	6.1.7601.17887
000007FEFAB80000-000007FEFAB8C000 netutils.dll	6.1.7601.17514
000007FEFC830000-000007FEFC853000 srvcli.dll  	6.1.7601.17514
000007FEFAB40000-000007FEFAB55000 wkscli.dll  	6.1.7601.17514
000007FEFF340000-000007FEFF53F000 ole32.dll   	6.1.7601.24417
000007FEFDF60000-000007FEFECEB000 SHELL32.dll 	6.1.7601.24383
000007FEFDC00000-000007FEFDC71000 SHLWAPI.dll 	6.1.7601.17514
000007FEFCFC0000-000007FEFCFDE000 USERENV.dll 	6.1.7601.17514
000007FEFCDA0000-000007FEFCDAF000 profapi.dll 	6.1.7600.16385
000007FEFBE60000-000007FEFBE6C000 VERSION.dll 	6.1.7600.16385
000007FEFA940000-000007FEFA97B000 WINMM.dll   	6.1.7600.16385
000007FEFD530000-000007FEFD57D000 WS2_32.dll  	6.1.7601.23451
000007FEFDC80000-000007FEFDC88000 NSI.dll     	6.1.7601.23889
000007FEF67F0000-000007FEF6847000 libKF5I18n.dll
000007FEF6150000-000007FEF616E000 libintl.DLL 	0.18.0.0
000007FEF5E50000-000007FEF5E62000 iconv.dll
000007FECEC00000-000007FECF217000 Qt5Gui.dll  	5.12.2.0
000007FEEC790000-000007FEEC7CB000 Qt5Xml.dll  	5.12.2.0
000007FEC1BF0000-000007FEC2116000 libkritaimage.dll
000007FEEE320000-000007FEEE33F000 libkritacommand.dll
000007FEEC410000-000007FEEC542000 libkritawidgetutils.dll
000007FEEC5F0000-000007FEEC683000 libkritaodf.dll
000007FEECA00000-000007FEECA23000 libkritaplugin.dll
000007FEEC590000-000007FEEC5EC000 libKF5ConfigCore.dll
000007FEEC7F0000-000007FEEC80F000 libkritastore.dll
000007FEEC560000-000007FEEC590000 libquazip5.dll
000007FEEC7D0000-000007FEEC7F0000 libzlib.dll 	1.2.11.0
000007FEEC710000-000007FEEC739000 libKF5ConfigGui.dll
000007FEEC380000-000007FEEC40A000 libKF5CoreAddons.dll
000007FEFC330000-000007FEFC360000 LOGONCLI.DLL	6.1.7601.17514
000007FEFA9B0000-000007FEFA9C4000 SAMCLI.DLL  	6.1.7601.17514
000007FEEC350000-000007FEEC379000 libKF5GuiAddons.dll
000007FEEC310000-000007FEEC34D000 libKF5ItemViews.dll
000007FEC1680000-000007FEC1BEC000 Qt5Widgets.dll	5.12.2.0
000007FEFBE10000-000007FEFBE28000 dwmapi.dll  	6.1.7601.18917
000007FEFB730000-000007FEFB786000 UxTheme.dll 	6.1.7600.16385
000007FEC3C50000-000007FEC3D79000 libKF5WidgetsAddons.dll
000007FEEC2E0000-000007FEEC30D000 libKF5WindowSystem.dll
000007FEEC280000-000007FEEC2D8000 Qt5PrintSupport.dll	5.12.2.0
000007FEFEF40000-000007FEFEFD7000 comdlg32.dll	6.1.7601.17514
000007FEE9C00000-000007FEE9CA0000 COMCTL32.dll	5.82.7601.18837
000007FEEE810000-000007FEEE881000 WINSPOOL.DRV	6.1.7601.24383
000007FEEC240000-000007FEEC278000 libkritametadata.dll
000007FEC3600000-000007FEC387D000 libkritapigment.dll
000007FEEC090000-000007FEEC0DE000 libHalf.dll
000007FEDC5C0000-000007FEDC61E000 libkritapsd.dll
000007FECAB10000-000007FECAC21000 libfftw3.dll
000007FEC01E0000-000007FEC1676000 libkritaui.dll
000007FEF6AA0000-000007FEF6AAE000 libkritacolor.dll
000007FEC2430000-000007FEC2643000 libkritaflake.dll
000007FECE560000-000007FECE5B3000 Qt5Svg.dll  	5.12.2.0
000007FEE96E0000-000007FEE9701000 libkritaimpex.dll
000007FECD5E0000-000007FECD64C000 libkritalibbrush.dll
000007FEC3B20000-000007FEC3C4B000 libkritawidgets.dll
000007FEF67E0000-000007FEF67F0000 Qt5Concurrent.dll	5.12.2.0
000007FEC21B0000-000007FEC2427000 libexiv2.dll
00000000773F0000-00000000773F7000 PSAPI.DLL   	6.1.7600.16385
000007FEE95F0000-000007FEE9625000 libexpat.dll
000007FECE470000-000007FECE4AC000 libKF5Completion.dll
000007FECE430000-000007FECE46E000 libpng16.dll
000007FEC3500000-000007FEC35F3000 Qt5Multimedia.dll	5.12.2.0
000007FEC28E0000-000007FEC2A6D000 Qt5Network.dll	5.12.2.0
000007FEFCE50000-000007FEFCFBD000 CRYPT32.dll 	6.1.7601.24382
000007FEFCDB0000-000007FEFCDBF000 MSASN1.dll  	6.1.7601.17514
000007FEFC360000-000007FEFC3BB000 DNSAPI.dll  	6.1.7601.24168
000007FEFA640000-000007FEFA667000 IPHLPAPI.DLL	6.1.7601.17514
000007FEFA600000-000007FEFA60B000 WINNSI.DLL  	6.1.7601.23889
000007FEBFF30000-000007FEC01D5000 libcrypto-1_1-x64.dll	1.1.1.2
000007FECD1B0000-000007FECD236000 libssl-1_1-x64.dll	1.1.1.2
000007FEFD4E0000-000007FEFD50E000 IMM32.DLL   	6.1.7600.16385
000007FEFEFE0000-000007FEFF0E9000 MSCTF.dll   	6.1.7601.23915
000007FEFCC00000-000007FEFCC0F000 cryptbase.dll	6.1.7601.24417
000000006A880000-000000006AA31000 qwindows.dll	5.12.2.0
000007FEFD650000-000007FEFD72B000 OLEAUT32.dll	6.1.7601.24417
000007FEFBE70000-000007FEFBE81000 WTSAPI32.dll	6.1.7600.16385
000007FEE9940000-000007FEE99BF000 tiptsf.dll  	6.1.7601.18984
000007FECCDE0000-000007FECD03E000 wintab32.dll	1.0.5.9
000007FEFB370000-000007FEFB37B000 HID.DLL     	6.1.7600.16385
000007FEFD300000-000007FEFD4D7000 SETUPAPI.dll	6.1.7601.17514
000007FEFCFE0000-000007FEFD016000 CFGMGR32.dll	6.1.7601.17514
000007FEFD0E0000-000007FEFD0FA000 DEVOBJ.dll  	6.1.7600.16385
000007FEFBE00000-000007FEFBE03000 api-ms-win-core-synch-l1-2-0.DLL	10.0.14393.2630
000007FEDFA30000-000007FEDFCB9000 Wacom_Tablet.dll	6.3.33.3
000000006CC40000-000000006CC74000 qwindowsvistastyle.dll	5.12.2.0
000007FEEA0C0000-000007FEEA2BF000 d3d9.dll    	6.1.7601.17514
000007FEEA0A0000-000007FEEA0A7000 d3d8thk.dll 	6.1.7600.16385
000007FEE0820000-000007FEE093D000 opengl32.dll	6.1.7600.16385
000007FEFA780000-000007FEFA7AD000 GLU32.dll   	6.1.7600.16385
000007FEE05D0000-000007FEE06C1000 DDRAW.dll   	6.1.7600.16385
000007FEFA900000-000007FEFA908000 DCIMAN32.dll	6.1.7601.24280
000007FEE0550000-000007FEE0577000 atig6pxx.dll	25.20.15002.58
000007FEDCB90000-000007FEDF2BE000 atio6axx.dll	25.20.15002.58
000007FEEA070000-000007FEEA091000 dxva2.dll   	6.1.7600.16385
000007FEDCB50000-000007FEDCB8A000 atig6txx.dll	25.20.15002.58
000007FEDFCC0000-000007FEDFE5B000 atiadlxx.dll	25.20.15002.58
000007FEFB790000-000007FEFB8BC000 PROPSYS.dll 	7.0.7601.17514
000007FEFD100000-000007FEFD13B000 WINTRUST.dll	6.1.7601.24382
000007FEFC540000-000007FEFC558000 CRYPTSP.dll 	6.1.7601.24382
000007FEFC240000-000007FEFC287000 rsaenh.dll  	6.1.7600.16385
000007FEFCCF0000-000007FEFCD04000 RpcRtRemote.dll	6.1.7601.17514
000007FEF6140000-000007FEF6150000 libEGL.DLL  	5.12.2.0
000007FEBFB50000-000007FEBFF29000 libGLESv2.dll	5.12.2.0
000007FEE9FF0000-000007FEEA04D000 dxgi.dll    	6.2.9200.16492
000007FEE9D70000-000007FEE9F45000 d3d11.dll   	6.2.9200.16570
000007FEDC620000-000007FEDC7FB000 aticfx64.dll	25.20.15002.58
000007FED5D40000-000007FED5D75000 atiuxp64.dll	25.20.15002.58
000007FECB8B0000-000007FECC8E7000 atidxx64.dll	25.20.15002.58
000007FEEED10000-000007FEEED3B000 amdihk64.dll	1.0.0.0
000007FEEC220000-000007FEEC232000 kimg_exr.dll
000007FEE96C0000-000007FEE96D3000 libIex.dll
000007FEBF8B0000-000007FEBFB4B000 libIlmImf.dll
000007FEEEB80000-000007FEEEB8F000 libIlmThread.dll
000007FEE3080000-000007FEE309A000 libImath.dll
000007FECD5C0000-000007FECD5D1000 kimg_kra.dll
000007FECD590000-000007FECD5BD000 libKF5Archive.dll
000007FECD570000-000007FECD581000 kimg_ora.dll
000007FECD4C0000-000007FECD4D3000 kimg_pcx.dll
000007FECD4A0000-000007FECD4B3000 kimg_pic.dll
000007FECD480000-000007FECD491000 kimg_psd.dll
000007FECB310000-000007FECB322000 kimg_ras.dll
000007FECAAF0000-000007FECAB04000 kimg_rgb.dll
000007FECAAD0000-000007FECAAE1000 kimg_tga.dll
000007FECAAB0000-000007FECAACF000 kimg_xcf.dll
0000000061F00000-0000000061F13000 qgif.dll    	5.12.2.0
000000006C600000-000000006C615000 qicns.dll   	5.12.2.0
000000006E840000-000000006E853000 qico.dll    	5.12.2.0
00000000626C0000-0000000062729000 qjpeg.dll   	5.12.2.0
0000000061B00000-0000000061B11000 qsvg.dll    	5.12.2.0
000000006CF00000-000000006CF71000 qtiff.dll   	5.12.2.0
0000000066AC0000-0000000066AD1000 qwbmp.dll   	5.12.2.0
00000000675C0000-0000000067652000 qwebp.dll   	5.12.2.0
000007FECAA90000-000007FECAAA1000 exchndl.dll 	0.8.2.0
000007FEC4410000-000007FEC4472000 mgwhelp.dll 	0.8.2.0
000007FEBF720000-000007FEBF8AF000 dbghelp.dll 	6.3.9600.17298
000007FEE3550000-000007FEE36E7000 dwrite.dll  	6.2.9200.22164
000007FEFF1C0000-000007FEFF259000 CLBCatQ.DLL 	2001.12.8530.16385
000007FECAA70000-000007FECAA85000 krita_shape_image.dll
000007FEBF640000-000007FEBF720000 krita_shape_text.dll
000007FEBF4B0000-000007FEBF63D000 libkritatext.dll
000007FEC4390000-000007FEC4404000 libkritatextlayout.dll
000007FECAA30000-000007FECAA6F000 krita_shape_artistictext.dll
000007FEC3490000-000007FEC34F2000 krita_shape_paths.dll
000007FECA880000-000007FECA898000 kritaasccdl.dll
000007FEC2170000-000007FEC21A2000 kritablurfilter.dll
000007FEC2120000-000007FEC2169000 kritacolorsfilters.dll
000007FEC3B00000-000007FEC3B19000 kritaconvertheighttonormalmap.dll
000007FEC3470000-000007FEC3485000 kritaconvolutionfilters.dll
000007FEBF490000-000007FEBF4A4000 kritadodgeburn.dll
000007FEBF470000-000007FEBF489000 kritaedgedetection.dll
000007FEBF450000-000007FEBF463000 kritaembossfilter.dll
000007FEBF430000-000007FEBF444000 kritaexample.dll
000007FEBF410000-000007FEBF42A000 kritaextensioncolorsfilters.dll
000007FEBF3F0000-000007FEBF409000 kritafastcolortransferfilter.dll
000007FEBF3D0000-000007FEBF3EC000 kritagradientmap.dll
000007FEBF3B0000-000007FEBF3CC000 kritahalftone.dll
000007FEBF380000-000007FEBF3AB000 kritaimageenhancement.dll
000007FEBF360000-000007FEBF37D000 kritaindexcolors.dll
000007FEBF340000-000007FEBF359000 kritalevelfilter.dll
000007FEBF320000-000007FEBF338000 kritanoisefilter.dll
000007FEBF300000-000007FEBF315000 kritanormalize.dll
000007FEBF2E0000-000007FEBF2F7000 kritaoilpaintfilter.dll
000007FEBF2B0000-000007FEBF2D6000 kritaphongbumpmap.dll
000007FEBF290000-000007FEBF2A7000 kritapixelizefilter.dll
000007FEBF270000-000007FEBF286000 kritaposterize.dll
000007FEBF250000-000007FEBF264000 kritaraindropsfilter.dll
000007FEBF230000-000007FEBF249000 kritarandompickfilter.dll
000007FEBF210000-000007FEBF227000 kritaroundcornersfilter.dll
000007FEBF1F0000-000007FEBF205000 kritasmalltilesfilter.dll
000007FEBF1D0000-000007FEBF1EA000 kritathreshold.dll
000007FEBF1A0000-000007FEBF1C3000 kritaunsharpfilter.dll
000007FEBF180000-000007FEBF19B000 kritawavefilter.dll
000007FEBF160000-000007FEBF178000 kritacolorgenerator.dll
000007FEBF140000-000007FEBF158000 kritapatterngenerator.dll
000007FEBF120000-000007FEBF13E000 kritasimplexnoisegenerator.dll
000007FEBF0E0000-000007FEBF117000 kritacolorsmudgepaintop.dll
000007FEBEFC0000-000007FEBF0D8000 libkritalibpaintop.dll
000007FEBE440000-000007FEBEFB6000 kritalcmsengine.dll
000007FEBE3E0000-000007FEBE433000 liblcms2.dll
000007FEBE3A0000-000007FEBE3D9000 krita_colorspaces_extensions.dll
000007FEBE370000-000007FEBE39B000 kritacurvepaintop.dll
000007FEBE310000-000007FEBE36A000 kritadefaultpaintops.dll
000007FEBE2D0000-000007FEBE305000 kritadeformpaintop.dll
000007FEBE2A0000-000007FEBE2CD000 kritaexperimentpaintop.dll
000007FEBE270000-000007FEBE298000 kritafilterop.dll
000007FEBE240000-000007FEBE263000 kritagridpaintop.dll
000007FEBE200000-000007FEBE231000 kritahairypaintop.dll
000007FEBE1C0000-000007FEBE1F7000 kritahatchingpaintop.dll
000007FEBE190000-000007FEBE1B8000 kritaparticlepaintop.dll
000007FEBE160000-000007FEBE186000 kritaroundmarkerpaintop.dll
000007FEBE130000-000007FEBE15C000 kritasketchpaintop.dll
000007FEBE0F0000-000007FEBE12D000 kritaspraypaintop.dll
000007FEBE0C0000-000007FEBE0EB000 kritatangentnormalpaintop.dll
000007FEBE080000-000007FEBE0BF000 krita_filtereffects.dll
000007FEBE040000-000007FEBE080000 kritaassistanttool.dll
000007FEBDFE0000-000007FEBE036000 krita_flaketools.dll
000007FEBDF70000-000007FEBDFDE000 krita_karbontools.dll
000007FEBDF50000-000007FEBDF62000 krita_tool_basicflakes.dll
000007FEBDF30000-000007FEBDF4B000 libkritabasicflakes.dll
000007FEBDEF0000-000007FEBDF2D000 krita_tool_svgtext.dll
000007FEBDE70000-000007FEBDEEE000 kritadefaulttools.dll
000007FEEE310000-000007FEEE320000 libboost_system-mgw73-mt-1_61.dll
000007FEBDDE0000-000007FEBDE63000 kritaselectiontools.dll
000007FEBDDB0000-000007FEBDDDE000 kritatoolSmartPatch.dll
000007FEBDD80000-000007FEBDDAC000 kritatoolcrop.dll
000007FEBDD60000-000007FEBDD77000 kritatooldyna.dll
000007FEBDD30000-000007FEBDD54000 kritatoollazybrush.dll
000007FEBDD10000-000007FEBDD26000 kritatoolpolygon.dll
000007FEBDCF0000-000007FEBDD06000 kritatoolpolyline.dll
000007FEBDC00000-000007FEBDCEF000 kritatooltransform.dll
000007FEBDB50000-000007FEBDBF3000 kritaanimationdocker.dll
000007FEBDB30000-000007FEBDB47000 kritasvgcollectiondocker.dll
000007FEBDB10000-000007FEBDB28000 kritaarrangedocker.dll
000007FEBDAE0000-000007FEBDB10000 kritaartisticcolorselector.dll
000007FEBDAB0000-000007FEBDAD2000 kritachanneldocker.dll
000007FEBDA40000-000007FEBDAA2000 kritacolorselectorng.dll
0000000070700000-0000000070714000 qsvgicon.dll	5.12.2.0
000007FEBDA20000-000007FEBDA3F000 kritacompositiondocker.dll
000007FEBDA00000-000007FEBDA15000 kritadigitalmixer.dll
000007FEBD9D0000-000007FEBD9FC000 kritagamutmask.dll
000007FEBD9B0000-000007FEBD9CE000 kritagriddocker.dll
000007FEBD990000-000007FEBD9A8000 kritahistogramdocker.dll
000007FEBD970000-000007FEBD990000 kritahistorydocker.dll
000007FEBD920000-000007FEBD961000 kritalayerdocker.dll
000007FEBD900000-000007FEBD91A000 kritalogdocker.dll
000007FEBD8D0000-000007FEBD8F9000 kritalutdocker.dll
000007FEBD770000-000007FEBD8C2000 libOpenColorIO.dll
000007FEBD750000-000007FEBD76C000 kritaoverviewdocker.dll
000007FEBD730000-000007FEBD74C000 kritapalettedocker.dll
000007FEBD710000-000007FEBD723000 kritapatterndocker.dll
000007FEBD6F0000-000007FEBD704000 kritapresetdocker.dll
000007FEBD6D0000-000007FEBD6E5000 kritapresethistory.dll
000007FEBD6A0000-000007FEBD6C1000 kritasmallcolorselector.dll
000007FEBD680000-000007FEBD69C000 kritaspecificcolorselector.dll
000007FEBD650000-000007FEBD678000 kritatasksetdocker.dll
000007FEBD630000-000007FEBD64C000 kritatouchdocker.dll
000007FEBD510000-000007FEBD628000 libkritaqml.dll
000007FEBD110000-000007FEBD505000 Qt5Qml.dll  	5.12.2.0
000007FEBCD20000-000007FEBD10B000 Qt5Quick.dll	5.12.2.0
000007FEBCD00000-000007FEBCD19000 Qt5QuickWidgets.dll	5.12.2.0
0000000067580000-00000000675A2000 qgenericbearer.dll	5.12.2.0
000007FEFA450000-000007FEFA461000 dhcpcsvc6.DLL	6.1.7601.17970
000007FEFA370000-000007FEFA388000 dhcpcsvc.DLL	6.1.7600.16385
000007FEBCCC0000-000007FEBCD00000 kritaanimationrenderer.dll
000007FEBCCA0000-000007FEBCCB6000 kritabuginfo.dll
000007FEBCC80000-000007FEBCC9D000 kritaclonesarray.dll
000007FEBCC50000-000007FEBCC71000 kritacolorrange.dll
000007FEBCC30000-000007FEBCC4A000 kritacolorspaceconversion.dll
000007FEBCBF0000-000007FEBCC21000 kritaimagesize.dll
000007FEBCBD0000-000007FEBCBED000 kritaimagesplit.dll
000007FEBCBB0000-000007FEBCBC5000 kritalayergroupswitcher.dll
000007FEBCB90000-000007FEBCBAF000 kritalayersplit.dll
000007FEBCB60000-000007FEBCB8B000 kritametadataeditor.dll
000007FEBCB40000-000007FEBCB5C000 kritamodifyselection.dll
000007FEBCB10000-000007FEBCB32000 kritaoffsetimage.dll
000007FEBCAC0000-000007FEBCB06000 kritaqmic.dll
000007FEBCA80000-000007FEBCAB7000 kritaresourcemanager.dll
000007FEBCA60000-000007FEBCA7C000 kritarotateimage.dll
000007FEBCA30000-000007FEBCA52000 kritaseparatechannels.dll
000007FEBCA10000-000007FEBCA25000 kritashearimage.dll
000007FEBC9F0000-000007FEBCA0B000 kritawaveletdecompose.dll
000007FEBC9C0000-000007FEBC9ED000 kritapykrita.dll
000007FEBC920000-000007FEBC9BB000 libkritalibkis.dll
000000006AD40000-000000006B0D4000 python36.dll	3.6.2150.1013
000007FEBC900000-000007FEBC917000 VCRUNTIME140.dll	14.0.23026.0
000007FEEEC30000-000007FEEEC34000 api-ms-win-crt-runtime-l1-1-0.dll	10.0.14393.2630
000007FEE2110000-000007FEE2204000 ucrtbase.DLL	10.0.14393.2630
000007FEED2D0000-000007FEED2D3000 api-ms-win-core-timezone-l1-1-0.dll	10.0.14393.2630
000007FEEB8B0000-000007FEEB8B3000 api-ms-win-core-file-l2-1-0.dll	10.0.14393.2630
000007FEEB8A0000-000007FEEB8A3000 api-ms-win-core-localization-l1-2-0.dll	10.0.14393.2630
000007FEEB890000-000007FEEB893000 api-ms-win-core-processthreads-l1-1-1.dll	10.0.14393.2630
000007FEEB880000-000007FEEB883000 api-ms-win-core-file-l1-2-0.dll	10.0.14393.2630
000007FEEB870000-000007FEEB874000 api-ms-win-crt-string-l1-1-0.dll	10.0.14393.2630
000007FEEB860000-000007FEEB863000 api-ms-win-crt-heap-l1-1-0.dll	10.0.14393.2630
000007FEEB850000-000007FEEB854000 api-ms-win-crt-stdio-l1-1-0.dll	10.0.14393.2630
000007FEEB840000-000007FEEB844000 api-ms-win-crt-convert-l1-1-0.dll	10.0.14393.2630
000007FEEA050000-000007FEEA055000 api-ms-win-crt-math-l1-1-0.dll	10.0.14393.2630
000007FEEA060000-000007FEEA063000 api-ms-win-crt-locale-l1-1-0.dll	10.0.14393.2630
000007FEE9F50000-000007FEE9F53000 api-ms-win-crt-time-l1-1-0.dll	10.0.14393.2630
000007FEE9740000-000007FEE9743000 api-ms-win-crt-environment-l1-1-0.dll	10.0.14393.2630
000007FEEE190000-000007FEEE193000 api-ms-win-crt-process-l1-1-0.dll	10.0.14393.2630
000007FEFA880000-000007FEFA883000 api-ms-win-crt-conio-l1-1-0.dll	10.0.14393.2630
000007FEE9D60000-000007FEE9D63000 api-ms-win-crt-filesystem-l1-1-0.dll	10.0.14393.2630
000007FEBC880000-000007FEBC8F2000 krita.pyd
0000000064F40000-0000000064F64000 sip.pyd
000000006B880000-000000006BBA7000 QtCore.pyd
000007FEEC550000-000007FEEC55F000 python3.dll 	3.6.2150.1013
0000000066300000-000000006662F000 QtGui.pyd
0000000065400000-0000000065A9F000 QtWidgets.pyd
0000000061640000-000000006168E000 QtXml.pyd
0000000073370000-000000007338A000 _bz2.pyd    	3.6.2150.1013
000007FEBC830000-000007FEBC872000 _lzma.pyd   	3.6.2150.1013
000007FEBC6C0000-000007FEBC829000 _hashlib.pyd	3.6.2150.1013
000007FEE2100000-000007FEE2103000 api-ms-win-crt-utility-l1-1-0.dll	10.0.14393.2630
0000000073340000-000000007336D000 _elementtree.pyd	3.6.2150.1013
000007FEBC680000-000007FEBC6B3000 pyexpat.pyd 	3.6.2150.1013
0000000073390000-00000000733A5000 _socket.pyd 	3.6.2150.1013
0000000073320000-000000007332A000 select.pyd  	3.6.2150.1013
0000000073330000-000000007333E000 _overlapped.pyd	3.6.2150.1013
000007FEFC4E0000-000007FEFC535000 mswsock.dll 	6.1.7601.23451
000007FEFBF50000-000007FEFBF57000 wshtcpip.dll	6.1.7600.16385
0000000073300000-000000007330B000 _multiprocessing.pyd	3.6.2150.1013
000007FEBC660000-000007FEBC671000 _asyncio.pyd	3.6.2150.1013
000007FEBC460000-000007FEBC65D000 _ssl.pyd    	3.6.2150.1013
000007FEFB910000-000007FEFBB05000 comctl32.dll	6.10.7601.24417
000007FEFAE10000-000007FEFAE3D000 ntmarta.dll 	6.1.7600.16385
000007FEFD580000-000007FEFD5D2000 WLDAP32.dll 	6.1.7601.23889
000000006DA80000-000000006DA8F000 qtquick2plugin.dll	5.12.2.0
000007FEBC390000-000007FEBC451000 kritasketchplugin.dll
000007FEBC360000-000007FEBC383000 kritakraexport.dll
000007FEBC2F0000-000007FEBC356000 libkritalibkra.dll
000007FEFD730000-000007FEFDBDC000 WININET.dll 	11.0.9600.19326
000007FEFD0D0000-000007FEFD0D4000 api-ms-win-downlevel-user32-l1-1-0.dll	6.2.9200.16492
000007FEFCDD0000-000007FEFCDD4000 api-ms-win-downlevel-shlwapi-l1-1-0.dll	6.2.9200.16492
000007FEFD140000-000007FEFD144000 api-ms-win-downlevel-version-l1-1-0.dll	6.2.9200.16492
000007FEFCDC0000-000007FEFCDC3000 api-ms-win-downlevel-normaliz-l1-1-0.dll	6.2.9200.16492
0000000077400000-0000000077403000 normaliz.DLL	6.1.7600.16385
000007FEFDC90000-000007FEFDF5A000 iertutil.dll	11.0.9600.19326
000007FEFD150000-000007FEFD155000 api-ms-win-downlevel-advapi32-l1-1-0.dll	6.2.9200.16492
000007FEFC9C0000-000007FEFC9CB000 Secur32.dll 	6.1.7601.24417
000007FEFCB70000-000007FEFCB95000 SSPICLI.DLL 	6.1.7601.24417
000007FEEE020000-000007FEEE024000 api-ms-win-downlevel-advapi32-l2-1-0.dll	6.2.9200.16492
000007FEFD0C0000-000007FEFD0C4000 api-ms-win-downlevel-ole32-l1-1-0.dll	6.2.9200.16492
000007FEFC4D0000-000007FEFC4D7000 wship6.dll  	6.1.7600.16385
000007FEEE8D0000-000007FEEE8D4000 api-ms-win-downlevel-shlwapi-l2-1-0.dll	6.2.9200.16492
000007FEF1120000-000007FEF1194000 netprofm.dll	6.1.7600.16385
000007FEFA990000-000007FEFA9A5000 nlaapi.dll  	6.1.7601.24000
000007FEFD170000-000007FEFD2F8000 urlmon.dll  	11.0.9600.19326
0000000072650000-0000000072676000 mdnsNSP.dll 	3.0.0.10
000007FEF0E00000-000007FEF0E08000 rasadhlp.dll	6.1.7600.16385
000007FEEED00000-000007FEEED0C000 npmproxy.dll	6.1.7600.16385
000007FEFA500000-000007FEFA553000 fwpuclnt.dll	6.1.7601.24000

Windows 6.1.7601
DrMingw 0.8.2
Comment 2 acc4commissions 2019-05-15 10:45:38 UTC
There has been a few backtraces on text tool crash starts with 
"krita.exe caused an Access Violation at location 0000000000000000 DEP violation at location 0000000000000000."
and not 
"krita.exe caused an Access Violation at location 000007FECE7C5687 in module Qt5Core.dll Reading from location 000000000000036E." -which is always the case when I make the krita crash in this particular way, but I wouldn't know what it says... :/
Comment 3 acc4commissions 2019-05-15 10:50:46 UTC
(In reply to acc4commissions from comment #2)
> There has been a few backtraces on text tool crash starts with 
> "krita.exe caused an Access Violation at location 0000000000000000 DEP
> violation at location 0000000000000000."
> and not 
> "krita.exe caused an Access Violation at location 000007FECE7C5687 in module
> Qt5Core.dll Reading from location 000000000000036E." -which is always the
> case when I make the krita crash in this particular way, but I wouldn't know
> what it says... :/

* Oops, the "from location ~~~~~~~~~~~~~~~~." varies.
Comment 4 Halla Rempt 2019-05-15 13:01:29 UTC
Good catch... I can reproduce the issue. Linux backtrace:

Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
0x00007ffff25a7677 in QMetaObject::cast(QObject const*) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
(gdb) bt
#0  0x00007ffff25a7677 in QMetaObject::cast(QObject const*) const ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007fffeef2ff16 in qobject_cast<KoShapeController*> (object=<optimized out>)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:504
#2  QtPrivate::QVariantValueHelper<KoShapeController*>::object (v=...)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:734
#3  QtPrivate::ObjectInvoker<QtPrivate::QVariantValueHelper<KoShapeController*>, QVariant const&, KoShapeController*>::invoke (a=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:106
#4  qvariant_cast<KoShapeController*> (v=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:860
#5  QVariant::value<KoShapeController*> (this=0x7fffffffc090)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:362
#6  KoDocumentResourceManager::shapeController (this=this@entry=0x603001c68d00)
    at /home/boud/dev/krita/libs/flake/KoDocumentResourceManager.cpp:193
#7  0x00007fffef0c28ec in KoSvgTextShapeFactory::createShape (this=this@entry=0x603002200990, 
    params=params@entry=0x60200037a770, documentResources=0x603001c68d00)
    at /home/boud/dev/krita/libs/flake/text/KoSvgTextShape.cpp:620
#8  0x00007fffb73b37e6 in SvgTextTool::mouseReleaseEvent (this=0x60e00004e1c0, event=0x7fffffffc2b0)
    at /home/boud/dev/krita/plugins/tools/svgtexttool/SvgTextTool.cpp:383
#9  0x00007fffeefa150e in KoToolProxy::mouseReleaseEvent (this=this@entry=0x6140010b26a0, 
    event=event@entry=0x7fffffffc2b0) at /home/boud/dev/krita/libs/flake/KoToolProxy.cpp:316
#10 0x00007fffeefa1a4f in KoToolProxy::mouseReleaseEvent (this=0x6140010b26a0, event=<optimized out>, point=...)
    at /home/boud/dev/krita/libs/flake/KoToolProxy.cpp:305
#11 0x00007ffff5841d96 in KisToolProxy::forwardEvent (this=0x6140010b26a0, state=state@entry=KisToolProxy::END, 
    action=action@entry=KisTool::Primary, event=event@entry=0x7fffffffccc0, 
    originalEvent=originalEvent@entry=0x7fffffffccc0)
    at /home/boud/dev/krita/libs/ui/canvas/kis_tool_proxy.cpp:134
#12 0x00007ffff5c1e7be in KisToolInvocationAction::end (this=0x6030029f3f80, event=0x7fffffffccc0)
    at /home/boud/dev/krita/libs/ui/input/kis_tool_invocation_action.cpp:152
#13 0x00007ffff5c2cc0f in KisShortcutMatcher::tryEndRunningShortcut (this=0x6110009de0b0, 
    button=<optimized out>, event=0x7fffffffccc0)
    at /home/boud/dev/krita/libs/ui/input/kis_shortcut_matcher.cpp:568
#14 0x00007ffff5c2d5f5 in KisShortcutMatcher::buttonReleased (this=0x6110009de0b0, button=<optimized out>, 
    event=event@entry=0x7fffffffccc0) at /home/boud/dev/krita/libs/ui/input/kis_shortcut_matcher.cpp:233
#15 0x00007ffff5c0c474 in KisInputManager::eventFilterImpl (this=0x61a00006cb58, event=0x7fffffffccc0)
    at /home/boud/dev/krita/libs/ui/input/kis_input_manager.cpp:331
#16 0x00007ffff259e0ad in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff3394885 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff339cd18 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff5c9a9c7 in KisApplication::notify (this=<optimized out>, receiver=0x60700093ec60, 
    event=0x7fffffffccc0) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:639
#20 0x00007ffff259e328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ffff339b30f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff33efaf0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff33f257a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff33948ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff339be40 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff5c9a9c7 in KisApplication::notify (this=<optimized out>, receiver=0x608000120520, 
    event=0x7fffffffd1c0) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:639
#27 0x00007ffff259e328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007ffff2b6652b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#29 0x00007ffff2b67695 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#30 0x00007ffff2b4014b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
    () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#31 0x00007fffdaeda30a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#32 0x00007fffe9a6a417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fffe9a6a650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fffe9a6a6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffff25fb13f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007ffff259c64a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007ffff25a5800 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x0000555555e4d781 in main (argc=<optimized out>, argv=0x7fffffffd878)
    at /home/boud/dev/krita/krita/main.cc:546
Comment 5 acc4commissions 2019-05-15 20:34:04 UTC
It seems you don't need to hold your mouse button. Just 
1. Make a selection
2. Autosave
3. Create a text
always leads to crash.
Comment 6 acc4commissions 2019-05-18 10:51:48 UTC
I don't know what happened but it doesn't seem to crash anymore in the lastest nightly. (git 28fed10)
Comment 7 acc4commissions 2019-05-18 10:58:07 UTC
(In reply to acc4commissions from comment #6)
> I don't know what happened but it doesn't seem to crash anymore in the
> lastest nightly. (git 28fed10)

Still crash in the beta version though.
Comment 8 acc4commissions 2019-05-18 13:05:04 UTC
(In reply to acc4commissions from comment #6)
> I don't know what happened but it doesn't seem to crash anymore in the
> lastest nightly. (git 28fed10)

I apologize. I mistook an old 4.1.7 nightly for the new 4.2 one. I'm really sorry for being idiotic on this. I'll think twice before repoting anything. :/
Comment 9 acc4commissions 2019-05-28 23:02:44 UTC
It seems that you don't have to autosave the document...

Make a selection > Save or Autosave > Stay or Deselect (Either ways it crashes) > Create a text > Crash

And it doesn't seem to affect the other documents in current krita instance. The problem happens only in the document that the selection-save action has been done in.
Comment 10 Halla Rempt 2019-05-29 07:01:25 UTC
I've asked Dmitry to take a look, but he's taking a few days off after the pre-release hectics. We'll try to have a fix for this in 4.2.1.
Comment 11 Halla Rempt 2019-06-04 11:13:04 UTC
*** Bug 408276 has been marked as a duplicate of this bug. ***
Comment 12 Dmitry Kazakov 2019-06-04 14:11:19 UTC
This bug is Windows-only. It is not reproducible on Linux, but is reproducible on Windows
Comment 13 Halla Rempt 2019-06-04 14:26:35 UTC
Are you sure; the duplicate was on Kubuntu and the backtrace looked very similar.
Comment 14 Dmitry Kazakov 2019-06-07 10:47:22 UTC
Git commit eb61160966ddc794cfd02a9225e577f0844e51e0 by Dmitry Kazakov.
Committed on 07/06/2019 at 10:46.
Pushed by dkazakov into branch 'master'.

Fix a crash when creating a text shape

Every KoShapeController used to reset the global "shape document" in its
KoDocumentResourceManager. The problem is that in Krita we have multiple
KoShapeController-s, but the resource manager is the only one. It means
that every shape selection or shape layer used to reset the pointer to
the global "shape document" to its own one. The only reason why we didn't
have too many crashes is that almost noone uses this "shape document".

Ideally we should:
1) Remove KoDocumentResourceManager::GlobalShapeController resource. This
   resource is not global to the document, but is created per-layer. The only
   user of it atm is the legacy text tool, which should be deprecated.

2) Remove KoDocumentResourceManager at all. There is no much use of it
   anymore. Its main user is legacy text tool.

M  +18   -5    libs/flake/KoDocumentResourceManager.cpp
M  +13   -3    libs/flake/KoDocumentResourceManager.h
M  +0    -3    libs/flake/KoShapeController.cpp
M  +1    -1    libs/flake/KoShapeRegistry.cpp
M  +1    -1    libs/flake/tests/TestKoShapeRegistry.cpp
M  +2    -4    libs/flake/text/KoSvgTextShape.cpp
M  +9    -6    libs/ui/KisDocument.cpp
M  +1    -1    libs/ui/flake/kis_dummies_facade_base.h
M  +26   -0    libs/ui/flake/kis_shape_controller.cpp
M  +6    -0    libs/ui/flake/kis_shape_controller.h
M  +1    -1    plugins/flake/textshape/TextShapeFactory.cpp

https://invent.kde.org/kde/krita/commit/eb61160966ddc794cfd02a9225e577f0844e51e0
Comment 15 Dmitry Kazakov 2019-06-13 06:14:52 UTC
*** Bug 408459 has been marked as a duplicate of this bug. ***
Comment 16 Halla Rempt 2019-06-13 06:33:17 UTC
Git commit 940651773798000c7fcdc7e6d811f52fe4c2a117 by Boudewijn Rempt, on behalf of Dmitry Kazakov.
Committed on 13/06/2019 at 05:59.
Pushed by rempt into branch 'krita/4.2'.

Fix a crash when creating a text shape

Every KoShapeController used to reset the global "shape document" in its
KoDocumentResourceManager. The problem is that in Krita we have multiple
KoShapeController-s, but the resource manager is the only one. It means
that every shape selection or shape layer used to reset the pointer to
the global "shape document" to its own one. The only reason why we didn't
have too many crashes is that almost noone uses this "shape document".

Ideally we should:
1) Remove KoDocumentResourceManager::GlobalShapeController resource. This
   resource is not global to the document, but is created per-layer. The only
   user of it atm is the legacy text tool, which should be deprecated.

2) Remove KoDocumentResourceManager at all. There is no much use of it
   anymore. Its main user is legacy text tool.

M  +18   -5    libs/flake/KoDocumentResourceManager.cpp
M  +13   -3    libs/flake/KoDocumentResourceManager.h
M  +0    -3    libs/flake/KoShapeController.cpp
M  +1    -1    libs/flake/KoShapeRegistry.cpp
M  +1    -1    libs/flake/tests/TestKoShapeRegistry.cpp
M  +2    -4    libs/flake/text/KoSvgTextShape.cpp
M  +9    -6    libs/ui/KisDocument.cpp
M  +1    -1    libs/ui/flake/kis_dummies_facade_base.h
M  +26   -0    libs/ui/flake/kis_shape_controller.cpp
M  +6    -0    libs/ui/flake/kis_shape_controller.h
M  +1    -1    plugins/flake/textshape/TextShapeFactory.cpp

https://invent.kde.org/kde/krita/commit/940651773798000c7fcdc7e6d811f52fe4c2a117