| Summary: | open krita > create a document or open an image > select background or the first layer > cut(Ctrl+X) > crash | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | acc4commissions |
| Component: | * Unknown | Assignee: | Halla Rempt <halla> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | griffinvalley, halla, jade.cooperama, loudsquid |
| Priority: | NOR | ||
| Version First Reported In: | nightly build (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | All | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/commit/8fec4a666c46b660349ab4a2de6486117660644e | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Bug Depends on: | |||
| Bug Blocks: | 460954 | ||
|
Description
acc4commissions
2022-08-04 10:44:35 UTC
Ctrl +C also leads to crash, it seems. Hum, I don't have the latest copy of master, but that looks like it was caused by this: https://invent.kde.org/graphics/krita/-/commit/72bad700c6835dcd6619fb2d687b862a6353624c I'll ping them with this. Argh... Yes, I can reproduce, and it happens somewhere in the animation code, while the animation guys are on vacation. I'll take a look. 0x00007ffff70609ea in KisPaintDeviceFramesInterface::currentFrameId (this=0x0)
at /home/halla/dev/krita/libs/image/kis_paint_device.cc:2294
2294 return q->m_d->currentFrameId();
(gdb) bt
#0 0x00007ffff70609ea in KisPaintDeviceFramesInterface::currentFrameId (this=0x0)
at /home/halla/dev/krita/libs/image/kis_paint_device.cc:2294
#1 0x00007ffff7069025 in KisPaintDevice::burnKeyframe (this=0x55555d360b80)
at /home/halla/dev/krita/libs/image/kis_paint_device.cc:2210
#2 0x00007ffff7b7ebe0 in operator() (node=..., __closure=0x7fffffffc860)
at /home/halla/dev/krita/libs/ui/actions/kis_selection_action_factories.cpp:322
#3 KisLayerUtils::recursiveApplyNodes<KisSharedPtr<KisNode>, KisCutCopyActionFactory::run(bool, bool, KisViewManager*)::<lambda(KisNodeSP)> >(KisSharedPtr<KisNode>, struct {...}) (node=..., func=...)
at /home/halla/dev/krita/libs/image/kis_layer_utils.h:209
#4 0x00007ffff7b7fa25 in KisCutCopyActionFactory::run (this=this@entry=0x7fffffffc900,
willCut=willCut@entry=true, makeSharpClip=makeSharpClip@entry=false, view=0x7fffffffc860)
at /home/halla/dev/krita/libs/ui/actions/kis_selection_action_factories.cpp:320
#5 0x00007ffff791ba4b in KisSelectionManager::cut (this=0x5555579acd20)
at /home/halla/dev/krita/libs/ui/kis_selection_manager.cc:329
#6 0x00007ffff59bb0f0 in QMetaObject::activate(QObject*, int, int, void**) ()
from /home/halla/dev/deps/lib/libQt5Core.so.5
#7 0x00007ffff63bfa36 in QAction::triggered(bool) () from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#8 0x00007ffff63c20f2 in QAction::activate(QAction::ActionEvent) ()
from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#9 0x00007ffff63c29bf in QAction::event(QEvent*) () from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#10 0x00007ffff63c60d6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#11 0x00007ffff63cf5d0 in QApplication::notify(QObject*, QEvent*) ()
from /home/halla/dev/deps/lib/libQt5Widgets.so.5
#12 0x00007ffff7c19195 in KisApplication::notify (this=0x7fffffffd520, receiver=0x555557b9d5d0,
event=0x7fffffffcdf0) at /home/halla/dev/krita/libs/ui/KisApplication.cpp:761
#13 0x00007ffff598f6ea in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
from /home/halla/dev/deps/lib/libQt5Core.so.5
#14 0x00007ffff5dab93e in QShortcutMap::dispatchEvent(QKeyEvent*) ()
from /home/halla/dev/deps/lib/libQt5Gui.so.5
#15 0x00007ffff5daba23 in QShortcutMap::tryShortcut(QKeyEvent*) () from /home/halla/dev/deps/lib/libQt5Gui.so.5
#16 0x00007ffff5d5fcf3 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) ()
from /home/halla/dev/deps/lib/libQt5Gui.so.5
#17 0x00007ffff5d7d231 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) ()
from /home/halla/dev/deps/lib/libQt5Gui.so.5
#18 0x00007ffff5d828d1 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /home/halla/dev/deps/lib/libQt5Gui.so.5
#19 0x00007ffff5d5c97c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /home/halla/dev/deps/lib/libQt5Gui.so.5
#20 0x00007fffefe9854e in ?? () from /home/halla/dev/deps/lib/libQt5XcbQpa.so.5
#21 0x00007ffff2cd017d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff2cd0400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff2cd04a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff59e7635 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /home/halla/dev/deps/lib/libQt5Core.so.5
#25 0x00007ffff598e29b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /home/halla/dev/deps/lib/libQt5Core.so.5
#26 0x00007ffff5995ff6 in QCoreApplication::exec() () from /home/halla/dev/deps/lib/libQt5Core.so.5
#27 0x000055555555dd5b in main (argc=<optimized out>, argv=<optimized out>)
at /home/halla/dev/krita/krita/main.cc:721
Git commit 7616542761fb393d5dbb81af8a3f546b75f1dff2 by Halla Rempt. Committed on 04/08/2022 at 11:09. Pushed by rempt into branch 'master'. Check pointer before dereferencing Fixes crash on selecting and cutting/copying in a new document. Not every paint device has a frameinterface. M +4 -1 libs/image/kis_paint_device.cc M +5 -4 libs/ui/actions/kis_selection_action_factories.cpp M +1 -3 plugins/python/scripter/debugger_scripter/debugger.py https://invent.kde.org/graphics/krita/commit/7616542761fb393d5dbb81af8a3f546b75f1dff2 *** Bug 460954 has been marked as a duplicate of this bug. *** Git commit 8fec4a666c46b660349ab4a2de6486117660644e by L. E. Segovia, on behalf of Halla Rempt. Committed on 24/10/2022 at 23:58. Pushed by lsegovia into branch 'krita/5.1'. Check pointer before dereferencing Fixes crash on selecting and cutting/copying in a new document. Not every paint device has a frameinterface. Related: bug 460954 (cherry picked from commit 7616542761fb393d5dbb81af8a3f546b75f1dff2) M +4 -1 libs/image/kis_paint_device.cc M +5 -4 libs/ui/actions/kis_selection_action_factories.cpp https://invent.kde.org/graphics/krita/commit/8fec4a666c46b660349ab4a2de6486117660644e *** Bug 460892 has been marked as a duplicate of this bug. *** |