Bug 454546 - Krita crashed during invocation of many large files.
Summary: Krita crashed during invocation of many large files.
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.0.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-28 22:42 UTC by Roke Julian Lockhart Beedell
Modified: 2022-05-30 13:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2022-05-28 22:42:34 UTC
Application: krita (5.0.2)

Qt Version: 5.15.4
Frameworks Version: 5.94.0
Operating System: Linux 5.19.0-0.rc0.20220526gitbabf0bb978e3.4.fc37.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 37 (Rawhide Prerelease)
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Krita crashed during simultaneous invocation of approximately 92 ".TIF"-files whose size was approximately 120 mibibytes each. Additionally, invocation was problematically slow.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00007fb510daa9b1 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#5  0x00007fb511863c32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#6  0x00007fb512a65ed6 in KisApplication::notify(QObject*, QEvent*) () from /lib64/libkritaui.so.17
#7  0x00007fb510daac38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#8  0x00007fb510dfac61 in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5
#9  0x00007fb510dfb53c in timerSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#10 0x00007fb50e2abf9f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#11 0x00007fb50e3012a8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#12 0x00007fb50e2a9930 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#13 0x00007fb510dfb8da in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#14 0x00007fb50f927fa7 in KoProgressUpdater::update() () from /lib64/libkritawidgetutils.so.17
#15 0x00007fb510dd4c74 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#16 0x00007fb511863c42 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007fb512a65ed6 in KisApplication::notify(QObject*, QEvent*) () from /lib64/libkritaui.so.17
#18 0x00007fb510daac38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007fb510dadf94 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#20 0x00007fb510dfbde7 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#21 0x00007fb50e2abf9f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#22 0x00007fb50e3012a8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#23 0x00007fb50e2a9930 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#24 0x00007fb510dfb8da in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#25 0x00007fb512b3391a in KisDelayedSaveDialog::blockIfImageIsBusy() [clone .constprop.0] () from /lib64/libkritaui.so.17
#26 0x00007fb512abd706 in (anonymous namespace)::busyWaitWithFeedback(KisSharedPtr<KisImage>) () from /lib64/libkritaui.so.17
#27 0x00007fb512abec62 in std::_Function_handler<void (KisSharedPtr<KisImage>), void (*)(KisSharedPtr<KisImage>)>::_M_invoke(std::_Any_data const&, KisSharedPtr<KisImage>&&) () from /lib64/libkritaui.so.17
#28 0x00007fb5121ba64c in KisBusyWaitBroker::notifyWaitOnImageStarted(KisImage*) () from /lib64/libkritaimage.so.17
#29 0x00007fb512219aad in KisImage::waitForDone() () from /lib64/libkritaimage.so.17
#30 0x00007fb4a40a46de in KisTIFFImport::convert(KisDocument*, QIODevice*, KisPinnedSharedPtr<KisPropertiesConfiguration>) () from /usr/lib64/kritaplugins/kritatiffimport.so
#31 0x00007fb512a9247e in KisImportExportManager::doImport(QString const&, QSharedPointer<KisImportExportFilter>) () from /lib64/libkritaui.so.17
#32 0x00007fb512a93e9d in KisImportExportManager::convert(KisImportExportManager::Direction, QString const&, QString const&, QString const&, bool, KisPinnedSharedPtr<KisPropertiesConfiguration>, bool, bool) () from /lib64/libkritaui.so.17
#33 0x00007fb512a8f879 in KisImportExportManager::importDocument(QString const&, QString const&) () from /lib64/libkritaui.so.17
#34 0x00007fb512a84567 in KisDocument::openFile() () from /lib64/libkritaui.so.17
#35 0x00007fb512a85b51 in KisDocument::openPathInternal(QString const&) () from /lib64/libkritaui.so.17
#36 0x00007fb512a86829 in KisDocument::openPath(QString const&, QFlags<KisDocument::OpenFlag>) () from /lib64/libkritaui.so.17
#37 0x00007fb512a9a495 in KisMainWindow::openDocumentInternal(QString const&, QFlags<KisMainWindow::OpenFlag>) () from /lib64/libkritaui.so.17
#38 0x00007fb512aa117e in KisMainWindow::openDocument(QString const&, QFlags<KisMainWindow::OpenFlag>) () from /lib64/libkritaui.so.17
#39 0x00007fb512a6b532 in KisApplication::start(KisApplicationArguments const&) () from /lib64/libkritaui.so.17
#40 0x000055a10e0c1ac9 in main ()
[Inferior 1 (process 51691) detached]

Possible duplicates by query: bug 454496, bug 454299, bug 454198, bug 454164, bug 454052.

Reported using DrKonqi
Comment 1 Halla Rempt 2022-05-29 07:47:07 UTC
Sorry, but stressing a system to the point of breaking is, of course, a user error, not a bug. Just don't do this.
Comment 2 Roke Julian Lockhart Beedell 2022-05-30 13:15:05 UTC
(In reply to Halla Rempt from comment #1)
> Sorry, but stressing a system to the point of breaking is, of course, a user
> error, not a bug. Just don't do this.

I haven't stressed it. Krita should be able to load so few files. This system easily possesses enough RAM and CPU-power to not be bothered by a few hundred megabytes of image files.