| Summary: | Reproducible crash after undoing twice in a new window | ||
|---|---|---|---|
| Product: | [Applications] kolourpaint | Reporter: | marc00077 |
| Component: | general | Assignee: | kolourpaint-support |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | martin |
| Priority: | NOR | ||
| Version First Reported In: | 22.04.3 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
marc00077
2022-08-15 13:22:17 UTC
This may be the same bug as described in 2010 in https://bugs.kde.org/show_bug.cgi?id=236464, which was marked as a duplicate of https://bugs.kde.org/show_bug.cgi?id=211481 which was closed as Fixed in 2010. This could be an edge case or a regression of that bug. A current backtrace from Version 23.07.70
ASSERT: "!document ()->selection ()" in file /home/KDE5/source/kolourpaint/environments/document/kpDocumentEnvironment.cpp, line 127
Thread 1 "kolourpaint" received signal SIGABRT, Aborted.
0x00007ffff0d67c6b in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff0d67c6b in raise () from /lib64/libc.so.6
#1 0x00007ffff0d69305 in abort () from /lib64/libc.so.6
#2 0x00007ffff175856b in QMessageLogger::fatal(char const*, ...) const () from /usr/lib64/libQt5Core.so.5
#3 0x00007ffff1757d61 in qt_assert(char const*, char const*, int) () from /usr/lib64/libQt5Core.so.5
#4 0x000000000046ea8f in kpDocumentEnvironment::switchToCompatibleTool (this=0xd3b370, selection=...,
isTextChanged=0x7fffffffc73f) at /home/KDE5/source/kolourpaint/environments/document/kpDocumentEnvironment.cpp:127
#5 0x000000000046d74f in kpDocument::setSelection (this=0xcef6f0, selection=...)
at /home/KDE5/source/kolourpaint/document/kpDocument_Selection.cpp:93
#6 0x000000000047f9b7 in SetDocumentToSelectionImageCommand::unexecute (this=0xd26320)
at /home/KDE5/source/kolourpaint/imagelib/transforms/kpTransformCrop_ImageSelection.cpp:201
#7 0x000000000044dee7 in kpMacroCommand::unexecute (this=0xe06540)
at /home/KDE5/source/kolourpaint/commands/kpMacroCommand.cpp:119
#8 0x000000000044a0b7 in kpCommandHistoryBase::undoInternal (this=0x935b50)
at /home/KDE5/source/kolourpaint/commands/kpCommandHistoryBase.cpp:314
#9 0x000000000044a2d9 in kpCommandHistoryBase::undo (this=0x935b50)
at /home/KDE5/source/kolourpaint/commands/kpCommandHistoryBase.cpp:378
#10 0x000000000044d85c in kpCommandHistory::undo (this=0x935b50) at /home/KDE5/source/kolourpaint/commands/kpCommandHistory.cpp:107
#11 0x000000000044c05b in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (kpCommandHistoryBase::*)()>::call(void (kpCommandHistoryBase::*)(), kpCommandHistoryBase*, void**) (f=&virtual kpCommandHistoryBase::undo(), o=0x935b50,
--Type <RET> for more, q to quit, c to continue without paging--
x7fffffffca80) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#12 0x000000000044bfbd in QtPrivate::FunctionPointer<void (kpCommandHistoryBase::*)()>::call<QtPrivate::List<>, void>(void (kpCommandHistoryBase::*)(), kpCommandHistoryBase*, void**) (f=&virtual kpCommandHistoryBase::undo(), o=0x935b50, arg=0x7fffffffca80)
at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#13 0x000000000044bec2 in QtPrivate::QSlotObject<void (kpCommandHistoryBase::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x712cd0, r=0x935b50, a=0x7fffffffca80, ret=0x0)
at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#14 0x00007ffff19b31c7 in ?? () from /usr/lib64/libQt5Core.so.5
#15 0x00007ffff2bd3e12 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007ffff2bd647c in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007ffff2bd6e11 in QAction::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007ffff2bda3bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007ffff2be11a0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007ffff1975c23 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#21 0x00007ffff22b5d86 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib64/libQt5Gui.so.5
#22 0x00007ffff22b67fa in QShortcutMap::tryShortcut(QKeyEvent*) () from /usr/lib64/libQt5Gui.so.5
#23 0x00007ffff2263dc3 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /usr/lib64/libQt5Gui.so.5
#24 0x00007ffff2283c77 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) ()
from /usr/lib64/libQt5Gui.so.5
#25 0x00007ffff2288655 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
from /usr/lib64/libQt5Gui.so.5
#26 0x00007ffff226044b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Gui.so.5
#27 0x00007fffe73c1d0a in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#28 0x00007fffeca4182b in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fffeca41bd0 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fffeca41c5c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007ffff19d802c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#32 0x00007ffff197448a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#33 0x00007ffff197dcc7 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#34 0x0000000000481547 in main (argc=1, argv=0x7fffffffd838) at /home/KDE5/source/kolourpaint/kolourpaint.cpp:161
|