Summary: | crash when using Paste into Active Layer | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | marty <kynlo.art> |
Component: | * Unknown | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | halla, werewgrin |
Priority: | NOR | ||
Version: | 5.1.3 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/fcf08bcef1826a769c79a12b73627722acf83bd0 | Version Fixed In: | |
Sentry Crash Report: |
Description
marty
2022-11-25 02:29:09 UTC
I tested again with krita-nightly-x64-5.1.3-6e7d3ee463 and krita-nightly-x64-5.2.0-prealpha-6c2a2709ba, both see the same issue. The full debug symbols are a separate download that you can unpack. But I can reproduce the bug on Linux as well. There is a big pause, and then a crash: Thread 1 "krita" received signal SIGSEGV, Segmentation fault. 0x00007ffff703a794 in KisPaintDevice::makeFullCopyFrom (this=0x55555cf9f0b0, rhs=..., copyMode=KritaUtils::CopySnapshot, newParentNode=0x0) at /home/halla/dev/krita/libs/image/kis_paint_device.cc:1114 1114 m_d->cloneAllDataObjects(rhs.m_d, copyMode == KritaUtils::CopyAllFrames); (gdb) (gdb) bt #0 0x00007ffff703a794 in KisPaintDevice::makeFullCopyFrom (this=0x55555cf9f0b0, rhs=..., copyMode=KritaUtils::CopySnapshot, newParentNode=0x0) at /home/halla/dev/krita/libs/image/kis_paint_device.cc:1114 #1 0x00007ffff703aab2 in KisPaintDevice::KisPaintDevice (this=this@entry=0x55555cf9f0b0, rhs=..., copyMode=copyMode@entry=KritaUtils::CopySnapshot, newParentNode=newParentNode@entry=0x0) at /home/halla/dev/krita/libs/image/kis_paint_device.cc:1104 #2 0x00007ffff7b6795b in KisPasteIntoActionFactory::run (this=this@entry=0x7fffffffc9a0, viewManager=0x555557c99ad0) at /home/halla/dev/krita/libs/ui/actions/KisPasteActionFactories.cpp:315 #3 0x00007ffff78f9914 in KisSelectionManager::pasteInto (this=0x555557c9a418) at /home/halla/dev/krita/libs/ui/kis_selection_manager.cc:371 #4 0x00007ffff5948243 in QMetaObject::activate(QObject*, int, int, void**) () from /home/halla/dev/deps/lib/libQt5Core.so.5 #5 0x00007ffff6360a66 in QAction::triggered(bool) () from /home/halla/dev/deps/lib/libQt5Widgets.so.5 #6 0x00007ffff636375b in QAction::activate(QAction::ActionEvent) () from /home/halla/dev/deps/lib/libQt5Widgets.so.5 #7 0x00007ffff64ec6c2 in ?? () from /home/halla/dev/deps/lib/libQt5Widgets.so.5 #8 0x00007ffff64f4449 in ?? () from /home/halla/dev/deps/lib/libQt5Widgets.so.5 #9 0x00007ffff63ab38e in QWidget::event(QEvent*) () from /home/halla/dev/deps/lib/libQt5Widgets.so.5 #10 0x00007ffff6367846 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/halla/dev/deps/lib/libQt5Widgets.so.5 #11 0x00007ffff636fb4e in QApplication::notify(QObject*, QEvent*) () from /home/halla/dev/deps/lib/libQt5Widgets.so.5 #12 0x00007ffff7bfc755 in KisApplication::notify (this=0x7fffffffdaf0, receiver=0x55555acf3ce0, event=0x7fffffffd190) at /home/halla/dev/krita/libs/ui/KisApplication.cpp:757 #13 0x00007ffff591cf02 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/halla/dev/deps/lib/libQt5Core.so.5 #14 0x00007ffff636e629 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /home/halla/dev/deps/lib/libQt5Widgets.so.5 #15 0x00007ffff63c624c in ?? () from /home/halla/dev/deps/lib/libQt5Widgets.so.5 #16 0x00007ffff63c8805 in ?? () from /home/halla/dev/deps/lib/libQt5Widgets.so.5 #17 0x00007ffff6367846 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/halla/dev/deps/lib/libQt5Widgets.so.5 #18 0x00007ffff7bfc755 in KisApplication::notify (this=0x7fffffffdaf0, receiver=0x7fffd4004b60, event=0x7fffffffd4f0) at /home/halla/dev/krita/libs/ui/KisApplication.cpp:757 #19 0x00007ffff591cf02 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/halla/dev/deps/lib/libQt5Core.so.5 #20 0x00007ffff5d13c1b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/halla/dev/deps/lib/libQt5Gui.so.5 #21 0x00007ffff5ceae0c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/halla/dev/deps/lib/libQt5Gui.so.5 #22 0x00007fffefe5848e in ?? () from /home/halla/dev/deps/plugins/platforms/../../lib/libQt5XcbQpa.so.5 #23 0x00007ffff2ef7d1b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #24 0x00007ffff2f4c6f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #25 0x00007ffff2ef53c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #26 0x00007ffff597391b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/halla/dev/deps/lib/libQt5Core.so.5 #27 0x00007ffff591b8fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/halla/dev/deps/lib/libQt5Core.so.5 #28 0x00007ffff5923ad6 in QCoreApplication::exec() () from /home/halla/dev/deps/lib/libQt5Core.so.5 #29 0x000055555555dd37 in main (argc=<optimized out>, argv=<optimized out>) at /home/halla/dev/krita/krita/main.cc:727 Oh, that's only part of the backtrace, there's some recursion going on here: this backtrace is repeated endlessly, even gdb has trouble with it. Git commit 220e4cdcf8a34a427411e957cd835b3b5ee23526 by Dmitry Kazakov. Committed on 09/12/2022 at 15:20. Pushed by dkazakov into branch 'master'. Fix crash when trying to "Paste into Active Layer" "Paste into Active Layer" is supposed to work **only** with internal Krita layers. It cannot paste external clips. It least it is not implemented yet. M +5 -3 libs/ui/actions/KisPasteActionFactories.cpp https://invent.kde.org/graphics/krita/commit/220e4cdcf8a34a427411e957cd835b3b5ee23526 Git commit fcf08bcef1826a769c79a12b73627722acf83bd0 by Dmitry Kazakov. Committed on 09/12/2022 at 15:21. Pushed by dkazakov into branch 'krita/5.1'. Fix crash when trying to "Paste into Active Layer" "Paste into Active Layer" is supposed to work **only** with internal Krita layers. It cannot paste external clips. It least it is not implemented yet. M +5 -3 libs/ui/actions/KisPasteActionFactories.cpp https://invent.kde.org/graphics/krita/commit/fcf08bcef1826a769c79a12b73627722acf83bd0 *** Bug 463055 has been marked as a duplicate of this bug. *** |