[krita] [Bug 458418] Krita 5.1.0 stuck at "Colorize Mask Key Stroke 0%" on painting brush/eraser on colorize mask and crashes later with OOM
https://bugs.kde.org/show_bug.cgi?id=458418 Dmitry Kazakov changed: What|Removed |Added Resolution|--- |DUPLICATE Status|CONFIRMED |RESOLVED CC||[email protected] --- Comment #3 from Dmitry Kazakov --- *** This bug has been marked as a duplicate of bug 460157 *** -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 458418] Krita 5.1.0 stuck at "Colorize Mask Key Stroke 0%" on painting brush/eraser on colorize mask and crashes later with OOM
https://bugs.kde.org/show_bug.cgi?id=458418 [email protected] changed: What|Removed |Added CC||[email protected] --- Comment #2 from [email protected] --- Confirmed on my Fedora and Windows installs. I ran into the problem myself and can easily reproduce it: 1. Create new Image (any settings) 2. On a Paint layer right-click and Add -> Add colorize mask 3. Use Colorize Mask Tool to draw a dot or line (anywhere) 4. Still using the Colorize Mask Tool, select eraser pencil and completely erase the color I tried to generate a backtrace with GDB, but launching `krita` in my terminal starts an old 5.8 install where the problem does not occur. It seems like it was introduced after 5.0.8, maybe in 5.1? The version I use was installed via FlatPack and GDB can't load its debuginfo. Anyway, here's the coredumpctl gdb output: coredumpctl gdb 4267 PID: 4267 (krita) UID: 1000 GID: 1000 Signal: 11 (SEGV) Timestamp: Sun 2022-10-23 13:35:23 CEST (18min ago) Command Line: krita Executable: /app/bin/krita Control Group: /user.slice/user-1000.slice/[email protected]/app.slice/app-flatpak-org.kde.krita-4249.scope Unit: [email protected] User Unit: app-flatpak-org.kde.krita-4249.scope Slice: user-1000.slice Owner UID: 1000 Boot ID: 9c88e1819f984b59a04c02f268765592 Machine ID: 78fcbd691f30426085106a3b0f1446e0 Hostname: localhost.localdomain Storage: /var/lib/systemd/coredump/core.krita.1000.9c88e1819f984b59a04c02f268765592.4267.166652492300.zst (present) Disk Size: 60.4M Message: Process 4267 (krita) of user 1000 dumped core. Module /app/bin/krita with build-id c8e8c62d4f3a5333c86943503fb35e9533e5fe9a Module /app/lib/libkritalibkra.so.18.0.0 with build-id 329989f45b59ad4636d2484e96f6abe1ed29bfc6 Module /app/lib/qml/org/krita/sketch/libkritasketchplugin.so with build-id ac05e64936194e0c7dc548ab7b5a4266726f59d6 Module /app/lib/qml/QtQuick.2/libqtquick2plugin.so with build-id 261b2748664b4efb20db7102d6b177afdfee930a Module /usr/lib/python3.9/lib-dynload/_asyncio.cpython-39-x86_64-linux-gnu.so with build-id 7c0054087547039cfe327390d025409405ecffb7 Module /usr/lib/python3.9/lib-dynload/_pickle.cpython-39-x86_64-linux-gnu.so with build-id ce42a059cfe9e852db2870af404074da51bcd34e Module /usr/lib/python3.9/lib-dynload/_ssl.cpython-39-x86_64-linux-gnu.so with build-id 0882a3fc1dd41b9ccc7920bbe4e5712cd3d53118 Module /usr/lib/python3.9/lib-dynload/_datetime.cpython-39-x86_64-linux-gnu.so with build-id 557d16ced47c393df04cde22c27c3f9bee826a7c Module /usr/lib/python3.9/lib-dynload/array.cpython-39-x86_64-linux-gnu.so with build-id adc102762f24c6db7d8df3c8fdbfa4ce4f6fc379 Module /usr/lib/python3.9/lib-dynload/_socket.cpython-39-x86_64-linux-gnu.so with build-id 40b2557ceceb6654326fceaff665fefb03955d19 Module /usr/lib/python3.9/lib-dynload/_blake2.cpython-39-x86_64-linux-gnu.so with build-id 9951d05fa023d8889f5a5f988be51c3e5a751d17 Module /usr/lib/python3.9/lib-dynload/_hashlib.cpython-39-x86_64-linux-gnu.so with build-id 087b4c81a6b69c6f7a5ef6980bc4e96fe2855b28 Module /usr/lib/python3.9/lib-dynload/_csv.cpython-39-x86_64-linux-gnu.so with build-id f45ef7c6b620c855f86c970872ea758772c153cb Module /usr/lib/python3.9/lib-dynload/pyexpat.cpython-39-x86_64-linux-gnu.so with build-id 0c496a727227212bc96b3765d05bafad771cda08 Module /usr/lib/python3.9/lib-dynload/_elementtree.cpython-39-x86_64-linux-gnu.so with build-id 6c70bd1be51792902d79e2c38c1821079910985b Module /usr/lib/python3.9/lib-dynload/_struct.cpython-39-x86_64-linux-gnu.so with build-id 129f306e784496955e731a9996e24a4a646379f7 Module /usr/lib/python3.9/lib-dynload/binascii.cpython-39-x86_64-linux-gnu.so with build-id 532764e95583e07e35b0c265157ef1faa667a8ff Module /usr/lib/python3.9/lib-dynload/_json.cpython-39-x86_64-linux-gnu.so with build-id 7c081171ad63f4fb8abaa68a0ce7b2dd67887b1e Module /app/lib/python3.9/site-packages/PyQt5/QtWidgets.abi3.so with build-id aa6004483b5bcaff0c5447ed5ee8612107f5905a Module /usr/lib/python3.9/lib-dynload/_contextvars.cpython-39-x86_64-linux-gnu.so with build-id 6feec9279ab732661fa74c76c8ac0a3588ddf6e8 Module /usr/lib/python3.9/lib-dynload/_sha512.cpython-39-x86_64-linux-gnu.so with build-id ee292e44d00d643102ca2d47cabc93783d47466e Module /usr/lib/python3.9/lib-dynload/_random.cpython-39-x86_64-linux-gnu.so with build-id 563cca8b328d0298385d4985721706da9b3558cc Module /usr/lib/python3.9/lib-d
[krita] [Bug 458418] Krita 5.1.0 stuck at "Colorize Mask Key Stroke 0%" on painting brush/eraser on colorize mask and crashes later with OOM
https://bugs.kde.org/show_bug.cgi?id=458418 Freya Lupen changed: What|Removed |Added Status|REPORTED|CONFIRMED CC||[email protected] Ever confirmed|0 |1 --- Comment #1 from Freya Lupen --- I was able to reproduce this on 5.1.0 and recent 5.2.x by following the steps provided (and using a 16-bit image as described in the log; no idea if that's relevant). I couldn't narrow down the cause- it seemed to happen randomly after a while. I also encountered a safe assert which may or may not be relevant. > SAFE ASSERT (krita): "m_newPropertyList == other->m_oldPropertyList" in file > C:/mykrita/src/libs/image/commands/kis_node_property_list_command.cpp, line > 106 I got a stacktrace in gdb by setting a breakpoint at KisProgressWidget::cancel() (that is, when hitting the Cancel Brushstroke button on the progress bar). I'm not sure how useful it is, but it seems like the address for "this" isn't right...? #0 0x7ffaf8cd1920 in ntdll!RtlCompareMemoryUlong () from C:\WINDOWS\SYSTEM32\ntdll.dll -- #8 0x7ffaa1fd2c3e in KUndo2Command::KUndo2Command (this=0x22e457592b0, parent=0x30c) at C:/mykrita/src/libs/command/kundo2stack.cpp:147 147 d = new KUndo2CommandPrivate; #9 0x7ffaa1fd98e3 in KisCommandUtils::FlipFlopCommand::FlipFlopCommand (this=0xd5, finalizing=true, parent=0xfeeefeee) at C:/mykrita/src/libs/command/kis_command_utils.cpp:134 134 : KUndo2Command(parent) #10 0x7ffa5920fd83 in KeyStrokeAddRemoveCommand::KeyStrokeAddRemoveCommand (this=0xd5, this@entry=0x22e457592b0, add=, index=index@entry=0, stroke=, list=0x22d172d38b8, node=..., parentCommand=0x22d172b7480) at C:/mykrita/src/libs/image/lazybrush/kis_colorize_mask.cpp:711 711 : FlipFlopCommand(!add, parentCommand), #11 0x7ffa5920af85 in KisColorizeMask::mergeToLayerUnthreaded (this=0x22d207c54c0, layer=..., parentCommand=0x22d172b7480, transactionText=..., timedID=-1) at C:/mykrita/src/libs/image/lazybrush/kis_colorize_mask.cpp:806 806 new KeyStrokeAddRemoveCommand( #12 0x7ffa5920d8b0 in KisColorizeMask::mergeToLayerThreaded(KisSharedPtr, KUndo2Command*, KUndo2MagicString const&, int, QVector*)::$_1::operator()() const (this=) at C:/mykrita/src/libs/image/lazybrush/kis_colorize_mask.cpp:741 741 this->mergeToLayerUnthreaded(layer, parentCommand, transactionText, timedID); -- You are receiving this mail because: You are watching all bug changes.
