When applying a translation (transform) operation Krita will will sometimes immediately crash with no prompt what so ever beforehand. Running Krita through the terminal gives me: *** Error in `/home/user/Documents/krita-3.1.4.appimage': malloc(): memory corruption (fast): 0x00000000175862ff *** Due to the rarity of this bug I can't add an attachment or ask any maintainers to reproduce the bug due to its severity so if there are any easy ways for me to grab more information out of the crashes for you please let me know.
Correction on the second paragraph: *, but due to its severity this should no be ignored. So if there are any easy ways for me to grab more information out of the crashes for you please let me know.
Which distribution are you on? Appimages don't have debug info, but distro packages do, and some distributions like (k)ubuntu and opensuse tumbleweed have recent Krita builds. This looks like it could be caught with valgrind, but for that, debug symbols are needed.
I gues I've found a way to reproduce: drag and drop still works absolutely fine for me, but click and then draw an outline causes a big recursive crash if the current layer isn't a vector layer. This still worked in 3.1.2.
Git commit 3e53dbf915a6799160090be3cc5594d29473514a by Boudewijn Rempt. Committed on 08/06/2017 at 07:49. Pushed by rempt into branch 'krita/3.2'. Revert "Fix a crash after switching tools while running color picking" This reverts commit daa136675d54877780bd136225e77e611347c223. Related: bug 373883, bug 373883 This commit caused an infinite loop when creating a new shape by clicking in the add-shape docker and then dragging an outline. CCMAIL:dimula73@gmail.com Date: Mon Mar 27 13:56:39 2017 +0300 Fix a crash after switching tools while running color picking The input manager should finish the action before the tool is switched, otherwise the tool may be left with dangling KoStrokeId pointers and crash after the next execution. Fixes T4962 I'm not sure how to fix both issues; reverting for now. M +0 -1 libs/flake/KoToolManager.cpp M +0 -6 libs/flake/KoToolManager.h M +0 -10 libs/ui/input/kis_input_manager.cpp M +0 -1 libs/ui/input/kis_input_manager.h https://commits.kde.org/krita/3e53dbf915a6799160090be3cc5594d29473514a
This has actually been an issue for me for multiple versions now, though they may all be different issues with the same result. I'm on Ubuntu 15.10 (I know I should be using 16.04 but I have specific things preventing an upgrade). If you could give me a link to what debug build I should use I could compile that and run it.
It would be best to build the last source release, I guess: it's in https://download.kde,.org/stable/krita
Is this somehow related to this -> bug https://bugs.kde.org/show_bug.cgi?id=369549
Very likely, let's consolidate the reports. *** This bug has been marked as a duplicate of bug 369549 ***