Bug 453884 - Krita 5.0.6 crashes during saving
Summary: Krita 5.0.6 crashes during saving
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.0.6
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
: 452374 453953 454020 454033 454112 454164 454496 454563 455182 455425 456084 456165 456374 456468 456649 458480 458684 (view as bug list)
Depends on:
Blocks: 455535
  Show dependency treegraph
 
Reported: 2022-05-16 11:38 UTC by VulcanSphere
Modified: 2022-09-05 01:19 UTC (History)
22 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.18 KB, text/plain)
2022-05-16 17:54 UTC, Pierre "bloodywing" Geier
Details
New crash information added by DrKonqi (18.32 KB, text/plain)
2022-05-25 20:48 UTC, Ice.cat
Details
New crash information added by DrKonqi (5.77 KB, text/plain)
2022-07-04 16:13 UTC, Christian Engholm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description VulcanSphere 2022-05-16 11:38:23 UTC
Application: krita (5.0.6)

Qt Version: 5.15.4
Frameworks Version: 5.94.0
Operating System: Linux 5.17.7-arch1-2 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:

When I saved or exported file that I edited, Krita suddenly terminated itself with a segmentation fault and Dr Konqi notification appeared

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f579fa34c77 in std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x2ffffffff) at /usr/include/c++/11.2.0/bits/atomic_base.h:481
#5  QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) (_q_value=<error reading variable: Cannot access memory at address 0x2ffffffff>) at /usr/include/qt/QtCore/qatomic_cxx11.h:239
#6  QBasicAtomicInteger<int>::loadRelaxed() const (this=0x2ffffffff) at /usr/include/qt/QtCore/qbasicatomic.h:107
#7  QtPrivate::RefCount::deref() (this=0x2ffffffff) at /usr/include/qt/QtCore/qrefcount.h:66
#8  QList<QAction*>::~QList() (this=0x55f8ca348410, this=<optimized out>) at /usr/include/qt/QtCore/qlist.h:873
#9  0x00007f579fa983dc in KToolBar::Private::~Private() (this=0x55f8ca348360, this=<optimized out>) at /usr/src/debug/krita-5.0.6/libs/widgetutils/xmlgui/ktoolbar.cpp:83
#10 KToolBar::~KToolBar() (this=0x55f8cc59eef0, this=<optimized out>) at /usr/src/debug/krita-5.0.6/libs/widgetutils/xmlgui/ktoolbar.cpp:794
#11 0x00007f579fa984be in KToolBar::~KToolBar() (this=0x55f8cc59eef0, this=<optimized out>) at /usr/src/debug/krita-5.0.6/libs/widgetutils/xmlgui/ktoolbar.cpp:795
#12 0x00007f57a1019db5 in QObjectPrivate::deleteChildren() (this=this@entry=0x55f8cc4e8f90) at kernel/qobject.cpp:2104
#13 0x00007f57a1a87d05 in QWidget::~QWidget() (this=0x55f8cc321240, this=<optimized out>) at kernel/qwidget.cpp:1522
#14 0x00007f57a1a87f1e in QWidget::~QWidget() (this=0x55f8cc321240, this=<optimized out>) at kernel/qwidget.cpp:1546
#15 0x00007f57a1019db5 in QObjectPrivate::deleteChildren() (this=this@entry=0x55f8cc5d0230) at kernel/qobject.cpp:2104
#16 0x00007f57a1a87d05 in QWidget::~QWidget() (this=0x55f8cc5d01f0, this=<optimized out>) at kernel/qwidget.cpp:1522
#17 0x00007f57a1c109be in QSplitter::~QSplitter() (this=0x55f8cc5d01f0, this=<optimized out>) at widgets/qsplitter.cpp:979
#18 0x00007f57a1019db5 in QObjectPrivate::deleteChildren() (this=this@entry=0x55f8cc4e8ca0) at kernel/qobject.cpp:2104
#19 0x00007f57a1a87d05 in QWidget::~QWidget() (this=0x55f8cb6fc000, this=<optimized out>) at kernel/qwidget.cpp:1522
#20 0x00007f579ab7ff0e in KFileWidget::~KFileWidget() (this=0x55f8cb6fc000, this=<optimized out>) at /usr/src/debug/kio-5.94.0/src/filewidgets/kfilewidget.cpp:472
#21 0x00007f57a1019db5 in QObjectPrivate::deleteChildren() (this=this@entry=0x55f8c5e99b10) at kernel/qobject.cpp:2104
#22 0x00007f57a1a87d05 in QWidget::~QWidget() (this=0x55f8ca8c35e0, this=<optimized out>) at kernel/qwidget.cpp:1522
#23 0x00007f579ac5dc82 in KDEPlatformFileDialogBase::~KDEPlatformFileDialogBase() (this=0x55f8ca8c35e0, this=<optimized out>) at /usr/src/debug/build/src/platformtheme/KDEPlasmaPlatformTheme_autogen/EWIEGA46WW/../../../../../plasma-integration-5.24.5/src/platformtheme/kdeplatformfiledialogbase_p.h:14
#24 KDEPlatformFileDialog::~KDEPlatformFileDialog() (this=0x55f8ca8c35e0, this=<optimized out>) at /usr/src/debug/build/src/platformtheme/KDEPlasmaPlatformTheme_autogen/EWIEGA46WW/../../../../../plasma-integration-5.24.5/src/platformtheme/kdeplatformfiledialoghelper.h:14
#25 KDEPlatformFileDialog::~KDEPlatformFileDialog() (this=0x55f8ca8c35e0, this=<optimized out>) at /usr/src/debug/build/src/platformtheme/KDEPlasmaPlatformTheme_autogen/EWIEGA46WW/../../../../../plasma-integration-5.24.5/src/platformtheme/kdeplatformfiledialoghelper.h:14
#26 0x00007f579ac734fc in KDEPlatformFileDialogHelper::~KDEPlatformFileDialogHelper() (this=0x55f8c709d300, this=<optimized out>) at /usr/src/debug/plasma-integration-5.24.5/src/platformtheme/kdeplatformfiledialoghelper.cpp:257
#27 0x00007f579ac7356d in KDEPlatformFileDialogHelper::~KDEPlatformFileDialogHelper() (this=0x55f8c709d300, this=<optimized out>) at /usr/src/debug/plasma-integration-5.24.5/src/platformtheme/kdeplatformfiledialoghelper.cpp:258
#28 0x00007f57a1c5c828 in QDialogPrivate::~QDialogPrivate() (this=0x55f8c7422c90, this=<optimized out>) at dialogs/qdialog.cpp:112
#29 0x00007f57a1c6baee in QFileDialogPrivate::~QFileDialogPrivate() (this=0x55f8c7422c90, this=<optimized out>) at dialogs/qfiledialog.cpp:556
#30 0x00007f579fa29176 in KisPreviewFileDialog::~KisPreviewFileDialog() (this=0x55f8cc248ce0, this=<optimized out>) at /usr/src/debug/build/libs/widgetutils/kritawidgetutils_autogen/EWIEGA46WW/../../../../../krita-5.0.6/libs/widgetutils/KisPreviewFileDialog.h:41
#31 KisPreviewFileDialog::~KisPreviewFileDialog() (this=0x55f8cc248ce0, this=<optimized out>) at /usr/src/debug/build/libs/widgetutils/kritawidgetutils_autogen/EWIEGA46WW/../../../../../krita-5.0.6/libs/widgetutils/KisPreviewFileDialog.h:41
#32 0x00007f579fa3f6e0 in QScopedPointerDeleter<KisPreviewFileDialog>::cleanup(KisPreviewFileDialog*) (pointer=<optimized out>) at /usr/include/qt/QtCore/qscopedpointer.h:52
#33 QScopedPointer<KisPreviewFileDialog, QScopedPointerDeleter<KisPreviewFileDialog> >::~QScopedPointer() (this=0x55f8cc239958, this=<optimized out>) at /usr/include/qt/QtCore/qscopedpointer.h:107
#34 KoFileDialog::Private::~Private() (this=0x55f8cc239910, this=<optimized out>) at /usr/src/debug/krita-5.0.6/libs/widgetutils/KoFileDialog.cpp:43
#35 KoFileDialog::~KoFileDialog() (this=this@entry=0x7ffc3cba99d0, this=<optimized out>) at /usr/src/debug/krita-5.0.6/libs/widgetutils/KoFileDialog.cpp:67
#36 0x00007f57a2c9c7ff in KisMainWindow::saveDocument(KisDocument*, bool, bool, bool) (this=0x55f8c11f5880, document=<optimized out>, saveas=<optimized out>, isExporting=<optimized out>, isAdvancedExporting=<optimized out>) at /usr/src/debug/krita-5.0.6/libs/ui/KisMainWindow.cpp:1471
#37 0x00007f57a2c9d41f in KisMainWindow::slotExportFile() (this=0x55f8c11f5880) at /usr/src/debug/krita-5.0.6/libs/ui/KisMainWindow.cpp:1759
#38 0x00007f57a1023c78 in doActivate<false>(QObject*, int, void**) (sender=0x55f8c746a040, signal_index=4, argv=0x7ffc3cba9b80) at kernel/qobject.cpp:3898
#39 0x00007f57a1a57e07 in QAction::triggered(bool) (this=this@entry=0x55f8c746a040, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#40 0x00007f57a1a5d817 in QAction::activate(QAction::ActionEvent) (this=0x55f8c746a040, event=<optimized out>) at kernel/qaction.cpp:1161
#41 0x00007f57a1bdf9db in QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) (this=this@entry=0x55f8c8287450, causedStack=..., action=action@entry=0x55f8c746a040, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1384
#42 0x00007f57a1bdfafd in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) (this=0x55f8c8287450, action=0x55f8c746a040, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1461
#43 0x00007f57a1a9b677 in QWidget::event(QEvent*) (this=0x55f8ca2eaa50, event=0x7ffc3cbaa230) at kernel/qwidget.cpp:8659
#44 0x00007f57a1a64a7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x7f5774031be0, receiver=receiver@entry=0x55f8ca2eaa50, e=e@entry=0x7ffc3cbaa230) at kernel/qapplication.cpp:3637
#45 0x00007f57a1a6a289 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffc3cbaabe0, receiver=receiver@entry=0x55f8ca2eaa50, e=e@entry=0x7ffc3cbaa230) at kernel/qapplication.cpp:3081
#46 0x00007f57a2c6084f in KisApplication::notify(QObject*, QEvent*) (this=0x7ffc3cbaabe0, receiver=0x55f8ca2eaa50, event=0x7ffc3cbaa230) at /usr/src/debug/krita-5.0.6/libs/ui/KisApplication.cpp:768
#47 0x00007f57a0ff34a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55f8ca2eaa50, event=0x7ffc3cbaa230) at kernel/qcoreapplication.cpp:1064
#48 0x00007f57a1a68287 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) (receiver=0x55f8ca2eaa50, event=0x7ffc3cbaa230, alienWidget=<optimized out>, nativeWidget=0x55f8ca2eaa50, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2619
#49 0x00007f57a1ab9824 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=0x7f5748002ac0, event=0x7ffc3cbaa630) at kernel/qwidgetwindow.cpp:580
#50 0x00007f57a1abb0ee in QWidgetWindow::event(QEvent*) (this=0x7f5748002ac0, event=0x7ffc3cbaa630) at kernel/qwidgetwindow.cpp:300
#51 0x00007f57a1a64a7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x7f5774031be0, receiver=0x7f5748002ac0, e=0x7ffc3cbaa630, e@entry=0x94d37082cee75800) at kernel/qapplication.cpp:3637
#52 0x00007f57a1a69141 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffc3cbaabe0, receiver=receiver@entry=0x7f5748002ac0, e=0x94d37082cee75800, e@entry=0x7ffc3cbaa630) at kernel/qapplication.cpp:3383
#53 0x00007f57a2c6084f in KisApplication::notify(QObject*, QEvent*) (this=0x7ffc3cbaabe0, receiver=0x7f5748002ac0, event=0x7ffc3cbaa630) at /usr/src/debug/krita-5.0.6/libs/ui/KisApplication.cpp:768
#54 0x00007f57a0ff34a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7f5748002ac0, event=0x7ffc3cbaa630) at kernel/qcoreapplication.cpp:1064
#55 0x00007f57a13c4f8c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x55f8cc322c50) at kernel/qguiapplication.cpp:2282
#56 0x00007f57a13ae8e5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#57 0x00007f579adb8de0 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /usr/src/debug/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#58 0x00007f579e38c163 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#59 0x00007f579e3e29e9 in  () at /usr/lib/libglib-2.0.so.0
#60 0x00007f579e3896c5 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#61 0x00007f57a103dc6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55f8bf0966f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#62 0x00007f57a0febc5c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffc3cbaa9c0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#63 0x00007f57a0ff6759 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#64 0x00007f57a13bff82 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#65 0x00007f57a1a62e8a in QApplication::exec() () at kernel/qapplication.cpp:2829
#66 0x000055f8bdda69a8 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/krita-5.0.6/krita/main.cc:698
[Inferior 1 (process 22198) detached]

Possible duplicates by query: bug 436724, bug 433633, bug 426384, bug 410387, bug 409909.

Reported using DrKonqi
Comment 1 Halla Rempt 2022-05-16 15:16:38 UTC
I suspect that this is an arch deps build problem. Probably the kde plasma qt platform plugin broke. You can either disable native file dialogs in Krita's settings, fix your arch installation or use the appimage.
Comment 2 Pierre "bloodywing" Geier 2022-05-16 17:54:42 UTC
Created attachment 148887 [details]
New crash information added by DrKonqi

krita (5.0.6) using Qt 5.15.3

- What I was doing when the application crashed:
I started krita, klicked open file
I tried it only with hotkeys, same happend
File selection dialogs, for example resource manager makes krita crash as well

-- Backtrace (Reduced):
#4  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x2ffffffff) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/atomic_base.h:481
#5  QAtomicOps<int>::loadRelaxed<int> (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:239
#6  0x00007fba3fab6eea in QBasicAtomicInteger<int>::loadRelaxed (this=0x2ffffffff) at /usr/include/qt5/QtCore/qbasicatomic.h:107
[...]
#8  0x00007fba3facbc6d in QList<QAction*>::~QList (this=0x562b9418e130, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:873
#9  0x00007fba3fb72072 in KToolBar::Private::~Private (this=0x562b9418e080, __in_chrg=<optimized out>) at /home/pierre/kritatest/krita-5.0.6/libs/widgetutils/xmlgui/ktoolbar.cpp:83
Comment 3 Pierre "bloodywing" Geier 2022-05-16 17:57:06 UTC
(In reply to Halla Rempt from comment #1)
> I suspect that this is an arch deps build problem. Probably the kde plasma
> qt platform plugin broke. You can either disable native file dialogs in
> Krita's settings, fix your arch installation or use the appimage.

Appimage works for me, that is my workaround at the moment
native file dialog works, until i want to actually open a file
Comment 4 VulcanSphere 2022-05-16 23:47:27 UTC
(In reply to Halla Rempt from comment #1)
> I suspect that this is an arch deps build problem. Probably the kde plasma
> qt platform plugin broke. You can either disable native file dialogs in
> Krita's settings, fix your arch installation or use the appimage.

Currently workaround this by downgrading kxmlgui package to 5.93.0
Comment 5 Bug Janitor Service 2022-05-17 04:35:39 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 6 Halla Rempt 2022-05-17 07:48:15 UTC
Not a bug in Krita then.
Comment 7 Halla Rempt 2022-05-17 19:51:40 UTC
*** Bug 453953 has been marked as a duplicate of this bug. ***
Comment 8 Alvin Wong 2022-05-19 01:04:18 UTC
*** Bug 454020 has been marked as a duplicate of this bug. ***
Comment 9 Alvin Wong 2022-05-19 01:28:14 UTC
I may have an idea why this is happening...

Krita vendors its own fork of kxmlgui (it's been here for 6 years!), compiled into libkritawidgetutils, which has departed from upstream kxmlgui by quite a bit. On the other hand, it looks like KDEPlatformFileDialog in the KDE platform integration uses KToolBar from upstream kxmlgui. Somehow, instead of loading the system kxmlgui shared library, it appears to be using the KToolBar functions in Krita's fork of kxmlgui. It would crash if the two are not compatible in layout and contains inline functions.
Comment 10 Alvin Wong 2022-05-19 10:03:34 UTC
*** Bug 454033 has been marked as a duplicate of this bug. ***
Comment 11 Halla Rempt 2022-05-19 10:19:42 UTC
I thought the platform plugin would get the classes from the right library, but I guess I'll replace those class names then.
Comment 12 Halla Rempt 2022-05-19 10:59:09 UTC
Git commit e8e7017941a2f50f27dd918bf574d6c7077171da by Halla Rempt.
Committed on 19/05/2022 at 10:54.
Pushed by rempt into branch 'master'.

Rename all forked xmlgui classes

M  +2    -2    libs/command/kundo2stack.cpp
M  +3    -3    libs/command/kundo2stack.h
M  +3    -3    libs/flake/KoCanvasController.cpp
M  +4    -4    libs/flake/KoCanvasController.h
M  +1    -1    libs/flake/KoCanvasControllerWidget.cpp
M  +1    -1    libs/flake/KoCanvasControllerWidget.h
M  +1    -1    libs/flake/KoToolFactoryBase.cpp
M  +2    -2    libs/flake/KoToolFactoryBase.h
M  +3    -3    libs/flake/KoToolManager.cpp
M  +2    -2    libs/flake/KoToolManager.h
M  +2    -2    libs/libkis/Krita.cpp
M  +2    -2    libs/libqml/KisSketchView.cpp
M  +21   -21   libs/ui/KisMainWindow.cpp
M  +1    -1    libs/ui/KisNodeActivationActionCreatorVisitor.cpp
M  +3    -3    libs/ui/KisNodeActivationActionCreatorVisitor.h
M  +2    -2    libs/ui/KisPart.cpp
M  +1    -1    libs/ui/KisView.cpp
M  +1    -1    libs/ui/KisView.h
M  +4    -4    libs/ui/KisViewManager.cpp
M  +2    -2    libs/ui/KisViewManager.h
M  +1    -1    libs/ui/canvas/kis_canvas_controller.cpp
M  +1    -1    libs/ui/canvas/kis_canvas_controller.h
M  +1    -1    libs/ui/canvas/kis_mirror_axis.cpp
M  +2    -2    libs/ui/dialogs/kis_dlg_preferences.cc
M  +1    -1    libs/ui/input/KisCanvasOnlyAction.cpp
M  +1    -1    libs/ui/input/KisTouchGestureAction.cpp
M  +2    -2    libs/ui/kis_action_manager.cpp
M  +3    -3    libs/ui/kis_action_manager.h
M  +2    -2    libs/ui/kis_filter_manager.cc
M  +2    -2    libs/ui/kis_filter_manager.h
M  +1    -1    libs/ui/kis_mask_manager.cc
M  +2    -2    libs/ui/kis_mask_manager.h
M  +1    -1    libs/ui/kis_mirror_manager.cpp
M  +2    -2    libs/ui/kis_mirror_manager.h
M  +1    -1    libs/ui/kis_node_manager.cpp
M  +2    -2    libs/ui/kis_node_manager.h
M  +1    -1    libs/ui/kis_popup_palette.h
M  +2    -2    libs/ui/kis_zoom_manager.cc
M  +1    -1    libs/ui/kis_zoom_manager.h
M  +1    -1    libs/ui/thememanager.cpp
M  +2    -2    libs/ui/thememanager.h
M  +1    -1    libs/ui/tool/kis_selection_tool_helper.cpp
M  +1    -1    libs/widgets/KoDialog.h
M  +2    -2    libs/widgets/KoZoomController.cpp
M  +2    -2    libs/widgets/KoZoomController.h
M  +1    -1    libs/widgets/KoZoomController_p.h
M  +1    -1    libs/widgets/tests/zoomcontroller_test.cpp
M  +4    -4    libs/widgetutils/KisActionsSnapshot.cpp
M  +2    -2    libs/widgetutils/KisActionsSnapshot.h
M  +6    -6    libs/widgetutils/config/kstandardaction.cpp
M  +2    -2    libs/widgetutils/config/kstandardaction.h
M  +1    -1    libs/widgetutils/katecommandbar.cpp
M  +3    -3    libs/widgetutils/katecommandbar.h
M  +4    -4    libs/widgetutils/kis_action_registry.cpp
M  +2    -2    libs/widgetutils/kis_action_registry.h
M  +7    -7    libs/widgetutils/xmlgui/KisShortcutEditWidget.cpp
M  +3    -3    libs/widgetutils/xmlgui/KisShortcutsDialog.cpp
M  +5    -5    libs/widgetutils/xmlgui/KisShortcutsDialog.h
M  +17   -17   libs/widgetutils/xmlgui/KisShortcutsDialog_p.h
M  +7    -7    libs/widgetutils/xmlgui/KisShortcutsEditor.cpp
M  +3    -3    libs/widgetutils/xmlgui/KisShortcutsEditor.h
M  +1    -1    libs/widgetutils/xmlgui/KisShortcutsEditorDelegate.cpp
M  +1    -1    libs/widgetutils/xmlgui/KisShortcutsEditor_p.cpp
M  +1    -1    libs/widgetutils/xmlgui/KisShortcutsEditor_p.h
M  +1    -1    libs/widgetutils/xmlgui/kaboutkdedialog_p.cpp
M  +8    -8    libs/widgetutils/xmlgui/kaboutkdedialog_p.h
M  +20   -20   libs/widgetutils/xmlgui/kactioncategory.cpp
M  +14   -14   libs/widgetutils/xmlgui/kactioncategory.h
M  +80   -80   libs/widgetutils/xmlgui/kactioncollection.cpp
M  +17   -17   libs/widgetutils/xmlgui/kactioncollection.h
M  +8    -8    libs/widgetutils/xmlgui/kbugreport.cpp
M  +9    -9    libs/widgetutils/xmlgui/kbugreport.h
M  +11   -11   libs/widgetutils/xmlgui/kcheckaccelerators.cpp
M  +2    -2    libs/widgetutils/xmlgui/kcheckaccelerators.h
M  +83   -83   libs/widgetutils/xmlgui/kedittoolbar.cpp
M  +13   -13   libs/widgetutils/xmlgui/kedittoolbar.h
M  +16   -16   libs/widgetutils/xmlgui/kedittoolbar_p.h
M  +46   -46   libs/widgetutils/xmlgui/kgesture.cpp
M  +25   -25   libs/widgetutils/xmlgui/kgesture_p.h
M  +33   -33   libs/widgetutils/xmlgui/kgesturemap.cpp
M  +19   -19   libs/widgetutils/xmlgui/kgesturemap_p.h
M  +27   -27   libs/widgetutils/xmlgui/khelpmenu.cpp
M  +15   -15   libs/widgetutils/xmlgui/khelpmenu.h
M  +49   -49   libs/widgetutils/xmlgui/kkeysequencewidget.cpp
M  +11   -11   libs/widgetutils/xmlgui/kkeysequencewidget.h
M  +2    -2    libs/widgetutils/xmlgui/kkeysequencewidget_p.h
M  +81   -81   libs/widgetutils/xmlgui/kmainwindow.cpp
M  +40   -40   libs/widgetutils/xmlgui/kmainwindow.h
M  +8    -8    libs/widgetutils/xmlgui/kmainwindow_p.h
M  +10   -10   libs/widgetutils/xmlgui/kmainwindowiface.cpp
M  +7    -7    libs/widgetutils/xmlgui/kmainwindowiface_p.h
M  +1    -1    libs/widgetutils/xmlgui/kpartgui.dtd
M  +16   -16   libs/widgetutils/xmlgui/kshortcutschemeseditor.cpp
M  +2    -2    libs/widgetutils/xmlgui/kshortcutschemeseditor.h
M  +2    -2    libs/widgetutils/xmlgui/kshortcutschemeshelper.cpp
M  +3    -3    libs/widgetutils/xmlgui/kshortcutschemeshelper_p.h
M  +17   -17   libs/widgetutils/xmlgui/kshortcutwidget.cpp
M  +8    -8    libs/widgetutils/xmlgui/kshortcutwidget.h
M  +5    -5    libs/widgetutils/xmlgui/kshortcutwidget.ui
M  +21   -21   libs/widgetutils/xmlgui/kswitchlanguagedialog_p.cpp
M  +8    -8    libs/widgetutils/xmlgui/kswitchlanguagedialog_p.h
M  +5    -5    libs/widgetutils/xmlgui/ktoggletoolbaraction.cpp
M  +5    -5    libs/widgetutils/xmlgui/ktoggletoolbaraction.h
M  +92   -92   libs/widgetutils/xmlgui/ktoolbar.cpp
M  +17   -17   libs/widgetutils/xmlgui/ktoolbar.h
M  +15   -15   libs/widgetutils/xmlgui/ktoolbarhandler.cpp
M  +2    -2    libs/widgetutils/xmlgui/ktoolbarhandler_p.h
M  +2    -2    libs/widgetutils/xmlgui/kundoactions.cpp
M  +6    -6    libs/widgetutils/xmlgui/kundoactions.h
M  +1    -1    libs/widgetutils/xmlgui/kxmlgui.xsd
M  +31   -31   libs/widgetutils/xmlgui/kxmlguibuilder.cpp
M  +10   -10   libs/widgetutils/xmlgui/kxmlguibuilder.h
M  +69   -69   libs/widgetutils/xmlgui/kxmlguiclient.cpp
M  +40   -40   libs/widgetutils/xmlgui/kxmlguiclient.h
M  +44   -44   libs/widgetutils/xmlgui/kxmlguifactory.cpp
M  +34   -34   libs/widgetutils/xmlgui/kxmlguifactory.h
M  +11   -11   libs/widgetutils/xmlgui/kxmlguifactory_p.cpp
M  +14   -14   libs/widgetutils/xmlgui/kxmlguifactory_p.h
M  +2    -2    libs/widgetutils/xmlgui/kxmlguiversionhandler.cpp
M  +4    -4    libs/widgetutils/xmlgui/kxmlguiversionhandler_p.h
M  +24   -24   libs/widgetutils/xmlgui/kxmlguiwindow.cpp
M  +21   -21   libs/widgetutils/xmlgui/kxmlguiwindow.h
M  +2    -2    plugins/dockers/advancedcolorselector/kis_color_selector_container.cpp
M  +2    -2    plugins/dockers/advancedcolorselector/kis_color_selector_ng_docker_widget.cpp
M  +1    -1    plugins/dockers/arrangedocker/arrange_docker_widget.cpp
M  +1    -1    plugins/dockers/arrangedocker/arrange_docker_widget.h
M  +1    -1    plugins/dockers/arrangedocker/arrangedocker_dock.cpp
M  +1    -1    plugins/dockers/recorder/recorderdocker_dock.cpp
M  +2    -2    plugins/dockers/tasksetdocker/tasksetdocker_dock.cpp
M  +3    -3    plugins/extensions/spensettings/KisSPenSettings.cpp
M  +1    -1    plugins/extensions/spensettings/SPenSettings.cpp
M  +1    -1    plugins/tools/basictools/kis_tool_brush.h
M  +6    -6    plugins/tools/svgtexttool/SvgTextEditor.cpp
M  +1    -1    plugins/tools/tool_lazybrush/kis_tool_lazy_brush.h
M  +1    -1    plugins/tools/tool_smart_patch/kis_tool_smart_patch.h

https://invent.kde.org/graphics/krita/commit/e8e7017941a2f50f27dd918bf574d6c7077171da
Comment 13 Halla Rempt 2022-05-19 13:11:34 UTC
Looks like I was wrong... Sorry :-(. We hope to release 5.1 with this patch next month. The patch doesn't apply to krita/5.0, unfortunately.
Comment 14 Halla Rempt 2022-05-21 08:32:31 UTC
*** Bug 454112 has been marked as a duplicate of this bug. ***
Comment 15 Halla Rempt 2022-05-21 15:21:25 UTC
*** Bug 454164 has been marked as a duplicate of this bug. ***
Comment 16 Halla Rempt 2022-05-24 14:24:11 UTC
Git commit 18951b1df22225cdb7325ccc4b2185a8394a64b5 by Halla Rempt.
Committed on 24/05/2022 at 14:23.
Pushed by rempt into branch 'krita/5.0'.

Apply the backported patch renaming xmlgui from Arch to 5.0

M  +2    -2    libs/command/kundo2stack.cpp
M  +3    -3    libs/command/kundo2stack.h
M  +3    -3    libs/flake/KoCanvasController.cpp
M  +4    -4    libs/flake/KoCanvasController.h
M  +1    -1    libs/flake/KoCanvasControllerWidget.cpp
M  +1    -1    libs/flake/KoCanvasControllerWidget.h
M  +1    -1    libs/flake/KoToolFactoryBase.cpp
M  +2    -2    libs/flake/KoToolFactoryBase.h
M  +3    -3    libs/flake/KoToolManager.cpp
M  +2    -2    libs/flake/KoToolManager.h
M  +2    -2    libs/libkis/Krita.cpp
M  +2    -2    libs/libqml/KisSketchView.cpp
M  +21   -21   libs/ui/KisMainWindow.cpp
M  +1    -1    libs/ui/KisNodeActivationActionCreatorVisitor.cpp
M  +3    -3    libs/ui/KisNodeActivationActionCreatorVisitor.h
M  +2    -2    libs/ui/KisPart.cpp
M  +1    -1    libs/ui/KisView.cpp
M  +1    -1    libs/ui/KisView.h
M  +4    -4    libs/ui/KisViewManager.cpp
M  +2    -2    libs/ui/KisViewManager.h
M  +1    -1    libs/ui/canvas/kis_canvas_controller.cpp
M  +1    -1    libs/ui/canvas/kis_canvas_controller.h
M  +1    -1    libs/ui/canvas/kis_mirror_axis.cpp
M  +2    -2    libs/ui/dialogs/kis_dlg_preferences.cc
M  +1    -1    libs/ui/input/KisCanvasOnlyAction.cpp
M  +2    -2    libs/ui/kis_action_manager.cpp
M  +3    -3    libs/ui/kis_action_manager.h
M  +2    -2    libs/ui/kis_filter_manager.cc
M  +2    -2    libs/ui/kis_filter_manager.h
M  +1    -1    libs/ui/kis_mask_manager.cc
M  +2    -2    libs/ui/kis_mask_manager.h
M  +1    -1    libs/ui/kis_mirror_manager.cpp
M  +2    -2    libs/ui/kis_mirror_manager.h
M  +1    -1    libs/ui/kis_node_manager.cpp
M  +2    -2    libs/ui/kis_node_manager.h
M  +1    -1    libs/ui/kis_popup_palette.h
M  +1    -1    libs/ui/kis_tooltip_manager.cpp
M  +2    -2    libs/ui/kis_zoom_manager.cc
M  +1    -1    libs/ui/kis_zoom_manager.h
M  +1    -1    libs/ui/thememanager.cpp
M  +2    -2    libs/ui/thememanager.h
M  +1    -1    libs/ui/tool/kis_selection_tool_helper.cpp
M  +1    -1    libs/widgets/KoDialog.h
M  +2    -2    libs/widgets/KoZoomController.cpp
M  +2    -2    libs/widgets/KoZoomController.h
M  +1    -1    libs/widgets/KoZoomController_p.h
M  +1    -1    libs/widgets/tests/zoomcontroller_test.cpp
M  +4    -4    libs/widgetutils/KisActionsSnapshot.cpp
M  +2    -2    libs/widgetutils/KisActionsSnapshot.h
M  +6    -6    libs/widgetutils/config/kstandardaction.cpp
M  +2    -2    libs/widgetutils/config/kstandardaction.h
M  +1    -1    libs/widgetutils/katecommandbar.cpp
M  +3    -3    libs/widgetutils/katecommandbar.h
M  +4    -4    libs/widgetutils/kis_action_registry.cpp
M  +2    -2    libs/widgetutils/kis_action_registry.h
M  +7    -7    libs/widgetutils/xmlgui/KisShortcutEditWidget.cpp
M  +3    -3    libs/widgetutils/xmlgui/KisShortcutsDialog.cpp
M  +5    -5    libs/widgetutils/xmlgui/KisShortcutsDialog.h
M  +17   -17   libs/widgetutils/xmlgui/KisShortcutsDialog_p.h
M  +7    -7    libs/widgetutils/xmlgui/KisShortcutsEditor.cpp
M  +3    -3    libs/widgetutils/xmlgui/KisShortcutsEditor.h
M  +1    -1    libs/widgetutils/xmlgui/KisShortcutsEditorDelegate.cpp
M  +1    -1    libs/widgetutils/xmlgui/KisShortcutsEditor_p.cpp
M  +1    -1    libs/widgetutils/xmlgui/KisShortcutsEditor_p.h
M  +1    -1    libs/widgetutils/xmlgui/kaboutkdedialog_p.cpp
M  +8    -8    libs/widgetutils/xmlgui/kaboutkdedialog_p.h
M  +20   -20   libs/widgetutils/xmlgui/kactioncategory.cpp
M  +14   -14   libs/widgetutils/xmlgui/kactioncategory.h
M  +80   -80   libs/widgetutils/xmlgui/kactioncollection.cpp
M  +17   -17   libs/widgetutils/xmlgui/kactioncollection.h
M  +8    -8    libs/widgetutils/xmlgui/kbugreport.cpp
M  +9    -9    libs/widgetutils/xmlgui/kbugreport.h
M  +11   -11   libs/widgetutils/xmlgui/kcheckaccelerators.cpp
M  +2    -2    libs/widgetutils/xmlgui/kcheckaccelerators.h
M  +83   -83   libs/widgetutils/xmlgui/kedittoolbar.cpp
M  +13   -13   libs/widgetutils/xmlgui/kedittoolbar.h
M  +16   -16   libs/widgetutils/xmlgui/kedittoolbar_p.h
M  +46   -46   libs/widgetutils/xmlgui/kgesture.cpp
M  +25   -25   libs/widgetutils/xmlgui/kgesture_p.h
M  +33   -33   libs/widgetutils/xmlgui/kgesturemap.cpp
M  +19   -19   libs/widgetutils/xmlgui/kgesturemap_p.h
M  +27   -27   libs/widgetutils/xmlgui/khelpmenu.cpp
M  +15   -15   libs/widgetutils/xmlgui/khelpmenu.h
M  +49   -49   libs/widgetutils/xmlgui/kkeysequencewidget.cpp
M  +11   -11   libs/widgetutils/xmlgui/kkeysequencewidget.h
M  +2    -2    libs/widgetutils/xmlgui/kkeysequencewidget_p.h
M  +81   -81   libs/widgetutils/xmlgui/kmainwindow.cpp
M  +40   -40   libs/widgetutils/xmlgui/kmainwindow.h
M  +8    -8    libs/widgetutils/xmlgui/kmainwindow_p.h
M  +10   -10   libs/widgetutils/xmlgui/kmainwindowiface.cpp
M  +7    -7    libs/widgetutils/xmlgui/kmainwindowiface_p.h
M  +1    -1    libs/widgetutils/xmlgui/kpartgui.dtd
M  +16   -16   libs/widgetutils/xmlgui/kshortcutschemeseditor.cpp
M  +2    -2    libs/widgetutils/xmlgui/kshortcutschemeseditor.h
M  +2    -2    libs/widgetutils/xmlgui/kshortcutschemeshelper.cpp
M  +3    -3    libs/widgetutils/xmlgui/kshortcutschemeshelper_p.h
M  +17   -17   libs/widgetutils/xmlgui/kshortcutwidget.cpp
M  +8    -8    libs/widgetutils/xmlgui/kshortcutwidget.h
M  +5    -5    libs/widgetutils/xmlgui/kshortcutwidget.ui
M  +21   -21   libs/widgetutils/xmlgui/kswitchlanguagedialog_p.cpp
M  +8    -8    libs/widgetutils/xmlgui/kswitchlanguagedialog_p.h
M  +5    -5    libs/widgetutils/xmlgui/ktoggletoolbaraction.cpp
M  +5    -5    libs/widgetutils/xmlgui/ktoggletoolbaraction.h
M  +92   -92   libs/widgetutils/xmlgui/ktoolbar.cpp
M  +17   -17   libs/widgetutils/xmlgui/ktoolbar.h
M  +15   -15   libs/widgetutils/xmlgui/ktoolbarhandler.cpp
M  +2    -2    libs/widgetutils/xmlgui/ktoolbarhandler_p.h
M  +2    -2    libs/widgetutils/xmlgui/kundoactions.cpp
M  +6    -6    libs/widgetutils/xmlgui/kundoactions.h
M  +1    -1    libs/widgetutils/xmlgui/kxmlgui.xsd
M  +31   -31   libs/widgetutils/xmlgui/kxmlguibuilder.cpp
M  +10   -10   libs/widgetutils/xmlgui/kxmlguibuilder.h
M  +69   -69   libs/widgetutils/xmlgui/kxmlguiclient.cpp
M  +40   -40   libs/widgetutils/xmlgui/kxmlguiclient.h
M  +44   -44   libs/widgetutils/xmlgui/kxmlguifactory.cpp
M  +34   -34   libs/widgetutils/xmlgui/kxmlguifactory.h
M  +11   -11   libs/widgetutils/xmlgui/kxmlguifactory_p.cpp
M  +14   -14   libs/widgetutils/xmlgui/kxmlguifactory_p.h
M  +2    -2    libs/widgetutils/xmlgui/kxmlguiversionhandler.cpp
M  +4    -4    libs/widgetutils/xmlgui/kxmlguiversionhandler_p.h
M  +24   -24   libs/widgetutils/xmlgui/kxmlguiwindow.cpp
M  +21   -21   libs/widgetutils/xmlgui/kxmlguiwindow.h
M  +2    -2    plugins/dockers/advancedcolorselector/kis_color_selector_container.cpp
M  +2    -2    plugins/dockers/advancedcolorselector/kis_color_selector_ng_docker_widget.cpp
M  +1    -1    plugins/dockers/arrangedocker/arrange_docker_widget.cpp
M  +1    -1    plugins/dockers/arrangedocker/arrange_docker_widget.h
M  +1    -1    plugins/dockers/arrangedocker/arrangedocker_dock.cpp
M  +1    -1    plugins/dockers/recorder/recorderdocker_dock.cpp
M  +2    -2    plugins/dockers/tasksetdocker/tasksetdocker_dock.cpp
M  +3    -3    plugins/extensions/spensettings/KisSPenSettings.cpp
M  +1    -1    plugins/extensions/spensettings/SPenSettings.cpp
M  +1    -1    plugins/tools/basictools/kis_tool_brush.h
M  +6    -6    plugins/tools/svgtexttool/SvgTextEditor.cpp
M  +1    -1    plugins/tools/tool_lazybrush/kis_tool_lazy_brush.h
M  +1    -1    plugins/tools/tool_smart_patch/kis_tool_smart_patch.h

https://invent.kde.org/graphics/krita/commit/18951b1df22225cdb7325ccc4b2185a8394a64b5
Comment 17 Rajinder Yadav 2022-05-24 19:23:36 UTC
I can confirm 5.1.0-prealpha has fixed this bug, I am no longer seeing this crash.
Comment 18 Ice.cat 2022-05-25 20:48:43 UTC
Created attachment 149220 [details]
New crash information added by DrKonqi

krita (5.0.5) using Qt 5.15.4

- What I was doing when the application crashed:
I was exporting a saved image. Krita crashed every time upon confirming the export.

-- Backtrace (Reduced):
#4  0x00007f6af7f69c47 in std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x2ffffffff) at /usr/include/c++/9/bits/atomic_base.h:413
#5  QAtomicOps<int>::loadRelaxed<int> (_q_value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:239
#6  QBasicAtomicInteger<int>::loadRelaxed (this=0x2ffffffff) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:107
[...]
#8  QList<QAction*>::~QList (this=0x55ed5114ca70, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:873
#9  0x00007f6af7ff378c in KToolBar::Private::~Private (this=0x55ed5114c9c0, __in_chrg=<optimized out>) at ./libs/widgetutils/xmlgui/ktoolbar.cpp:83
Comment 19 amyspark 2022-05-27 18:40:33 UTC
*** Bug 454496 has been marked as a duplicate of this bug. ***
Comment 20 Halla Rempt 2022-05-29 12:01:34 UTC
*** Bug 454563 has been marked as a duplicate of this bug. ***
Comment 21 Halla Rempt 2022-06-12 14:54:02 UTC
*** Bug 455182 has been marked as a duplicate of this bug. ***
Comment 22 lurix 2022-06-14 15:50:02 UTC
I am new linux user, i don't know about program code. I don't know how to solve my crash with any code.
Comment 23 Alvin Wong 2022-06-14 16:00:07 UTC
(In reply to lurix from comment #22)
> I am new linux user, i don't know about program code. I don't know how to
> solve my crash with any code.

You can use the Krita AppImage.
Comment 24 Alvin Wong 2022-06-16 17:07:52 UTC
*** Bug 455425 has been marked as a duplicate of this bug. ***
Comment 25 lurix 2022-06-19 05:31:39 UTC
(In reply to Alvin Wong from comment #23)
> (In reply to lurix from comment #22)
> > I am new linux user, i don't know about program code. I don't know how to
> > solve my crash with any code.
> 
> You can use the Krita AppImage.

Sorry for slow respon, i have tried appimage but its not works
Comment 26 Halla Rempt 2022-06-28 14:51:27 UTC
*** Bug 456084 has been marked as a duplicate of this bug. ***
Comment 27 Halla Rempt 2022-06-30 11:15:06 UTC
*** Bug 456165 has been marked as a duplicate of this bug. ***
Comment 28 Christian Engholm 2022-07-04 16:13:28 UTC
Created attachment 150394 [details]
New crash information added by DrKonqi

krita (5.0.0) using Qt 5.15.3

- What I was doing when the application crashed:
I was trying to open a new file when it crashed. Before that it was also crashing when I tried to save.

-- Backtrace (Reduced):
#5  0x00007f447b987964 in KToolBar::~KToolBar() () from /lib64/libkritawidgetutils.so.17
#6  0x00007f447b987a4d in KToolBar::~KToolBar() () from /lib64/libkritawidgetutils.so.17
#7  0x00007f447c8cff3a in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#8  0x00007f447d5ed106 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#9  0x00007f447d5ed44d in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
Comment 29 Halla Rempt 2022-07-06 06:25:04 UTC
*** Bug 456374 has been marked as a duplicate of this bug. ***
Comment 30 Halla Rempt 2022-07-08 02:51:09 UTC
*** Bug 456468 has been marked as a duplicate of this bug. ***
Comment 31 Halla Rempt 2022-07-12 19:45:27 UTC
*** Bug 456649 has been marked as a duplicate of this bug. ***
Comment 32 Halla Rempt 2022-07-18 13:43:13 UTC
*** Bug 452374 has been marked as a duplicate of this bug. ***
Comment 33 Lynx3d 2022-08-29 18:37:24 UTC
*** Bug 458480 has been marked as a duplicate of this bug. ***
Comment 34 Halla Rempt 2022-09-04 06:31:55 UTC
*** Bug 458684 has been marked as a duplicate of this bug. ***
Comment 35 Rajinder Yadav 2022-09-05 01:19:45 UTC
I've gotten a crash on undo as well.

Operating System: openSUSE Tumbleweed 20220901
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.2-1-default (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7A38
System Version: 8.0