Bug 456374 - Krita crashes when I try to save an image
Summary: Krita crashes when I try to save an image
Status: RESOLVED DUPLICATE of bug 453884
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.0.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-07-05 23:51 UTC by Kris
Modified: 2022-07-07 08:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kris 2022-07-05 23:51:36 UTC
Application: krita (5.0.0)

Qt Version: 5.15.3
Frameworks Version: 5.94.0
Operating System: Linux 5.18.9-200.fc36.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 36 (Design Suite)
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I tried to save a file, and Krita crashed. This crash happens when I try to export an image as well.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f2d14254677 in QList<QAction*>::~QList() [clone .lto_priv.0] () from /lib64/libkritawidgetutils.so.17
#5  0x00007f2d142b9964 in KToolBar::~KToolBar() () from /lib64/libkritawidgetutils.so.17
#6  0x00007f2d142b9a4d in KToolBar::~KToolBar() () from /lib64/libkritawidgetutils.so.17
#7  0x00007f2d15730f3a in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#8  0x00007f2d16213106 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#9  0x00007f2d1621344d in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#10 0x00007f2d15730f3a in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#11 0x00007f2d16213106 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#12 0x00007f2d1638986d in QSplitter::~QSplitter() () from /lib64/libQt5Widgets.so.5
#13 0x00007f2d15730f3a in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#14 0x00007f2d16213106 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#15 0x00007f2d022b0cdd in KFileWidget::~KFileWidget() () from /lib64/libKF5KIOFileWidgets.so.5
#16 0x00007f2d15730f3a in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#17 0x00007f2d16213106 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#18 0x00007f2d02374bf1 in KDEPlatformFileDialog::~KDEPlatformFileDialog() () from /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so
#19 0x00007f2d02389c9b in KDEPlatformFileDialogHelper::~KDEPlatformFileDialogHelper() () from /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so
#20 0x00007f2d02389cfd in KDEPlatformFileDialogHelper::~KDEPlatformFileDialogHelper() () from /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so
#21 0x00007f2d163e29f8 in QDialogPrivate::~QDialogPrivate() () from /lib64/libQt5Widgets.so.5
#22 0x00007f2d163ed6dd in QFileDialogPrivate::~QFileDialogPrivate() () from /lib64/libQt5Widgets.so.5
#23 0x00007f2d14248c75 in KisPreviewFileDialog::~KisPreviewFileDialog() () from /lib64/libkritawidgetutils.so.17
#24 0x00007f2d1425ed3f in KoFileDialog::~KoFileDialog() () from /lib64/libkritawidgetutils.so.17
#25 0x00007f2d1741a23e in KisMainWindow::saveDocument(KisDocument*, bool, bool, bool) () from /lib64/libkritaui.so.17
#26 0x00007f2d1741b06d in KisMainWindow::slotExportFile() () from /lib64/libkritaui.so.17
#27 0x00007f2d1573bdbf in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#28 0x00007f2d161ce266 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5
#29 0x00007f2d161d0f43 in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
#30 0x00007f2d163599e2 in QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#31 0x00007f2d163618ec in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#32 0x00007f2d16217798 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#33 0x00007f2d161d4c82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#34 0x00007f2d161dd302 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#35 0x00007f2d173db3f0 in KisApplication::notify(QObject*, QEvent*) () from /lib64/libkritaui.so.17
#36 0x00007f2d15708658 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#37 0x00007f2d161db402 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#38 0x00007f2d16230f45 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#39 0x00007f2d16233eb0 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#40 0x00007f2d161d4c82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#41 0x00007f2d173db3f0 in KisApplication::notify(QObject*, QEvent*) () from /lib64/libkritaui.so.17
#42 0x00007f2d15708658 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#43 0x00007f2d15b58115 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#44 0x00007f2d15b37f5c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#45 0x00007f2d024fcaee in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#46 0x00007f2d12c8efaf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#47 0x00007f2d12ce42c8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#48 0x00007f2d12c8c940 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#49 0x00007f2d157592fa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#50 0x00007f2d157070ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#51 0x00007f2d1570f162 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#52 0x0000564d19647b46 in main ()
[Inferior 1 (process 3925) detached]

Possible duplicates by query: bug 455426, bug 455425, bug 454563, bug 454496, bug 454164.

Reported using DrKonqi
Comment 1 Halla Rempt 2022-07-06 06:25:04 UTC
Tell your distribution to update to 5.0.8 already.

*** This bug has been marked as a duplicate of bug 453884 ***
Comment 2 Rex Dieter 2022-07-06 17:41:21 UTC
"Distribution hat on", if you want distributions to release 5.0.8, please include an announcement on krita.org about it (currently it advertises 5.0.6 as the latest), and was the source of my recent forum query on the topic,
https://krita-artists.org/t/latest-stable-release-5-0-6-or-5-0-8/43723
Comment 3 Halla Rempt 2022-07-06 18:06:46 UTC
That's a bit tricky... I did mail the release list about it, but if I put it on the website, I'd get tons of people asking me to make builds for other os'es. I don't know whether there's a more relevant mailing list I should have announced this on?
Comment 4 Rex Dieter 2022-07-06 19:38:53 UTC
This list?
https://marc.info/?l=kde-release-team
or other?
Comment 5 Halla Rempt 2022-07-07 08:47:43 UTC
Yes. This is the mail:

Krita 5.0.8

From:	Halla Rempt <halla@valdyas.org>
To:	release-team-request@kde.org
CC:	kimageshop@kde.org
Date:	25-05-2022 11:05
Hi,

I've just made a tarball for Krita 5.0.8. This is a source only release, only relevant for Linux distribution that package Krita and use the latest frameworks release.

The reason for the release is that our fork of kxmlgui conflicts with the latest kxmlgui. Our fork exists because back in the day patches that would make certain kxmlgui dependencies optional were rejected. Since then, of course, the codebases have diverged too much to consider going back to the framework.

The fix consists of a patch to Krita's master branch which the Arch Linux maintainers backported to the krita/5.0 branch. There are no other fixes in this release, and we will not create binaries for other operating systems or appimage builds.

Halla Rempt