Bug 475267 - Crash when opening a large tif image
Summary: Crash when opening a large tif image
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.1.5
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-10-06 06:23 UTC by Jason Wolfram
Modified: 2024-11-30 03:46 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 Jason Wolfram 2023-10-06 06:23:05 UTC
Application: krita (5.1.5)

Qt Version: 5.15.8
Frameworks Version: 5.104.0
Operating System: Linux 6.2.0-34-generic x86_64
Windowing System: X11
Distribution: Ubuntu 23.04
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
Krita crashes while opening a 1.6 GB tif image exported from Agisoft Metashape.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007fef0d4c3cad in QMetaObject::cast(QObject const*) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fef0e1c1737 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007fef0e174cd5 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fef0f4130d6 in KisApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libkritaui.so.18
#9  0x00007fef0d4bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fef0d514201 in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fef0d514aec in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fef0ae6149d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fef0aebc178 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007fef0ae601b0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fef0d514e7a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fef0c91c467 in KoProgressUpdater::update() () from /lib/x86_64-linux-gnu/libkritawidgetutils.so.18
#17 0x00007fef0d4e7de0 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fef0e16bf92 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fef0f4130d6 in KisApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libkritaui.so.18
#20 0x00007fef0d4bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fef0d4bdea1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fef0d5157b7 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fef0ae6149d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fef0aebc178 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fef0ae601b0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fef0d514e7a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fef0d4b97cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fef0d4c1c1a in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x000055cee80ef3c6 in ?? ()
#30 0x00007fef0ca23a90 in __libc_start_call_main (main=main@entry=0x55cee80ecc00, argc=argc@entry=2, argv=argv@entry=0x7ffd7c3e4328) at ../sysdeps/nptl/libc_start_call_main.h:58
#31 0x00007fef0ca23b49 in __libc_start_main_impl (main=0x55cee80ecc00, argc=2, argv=0x7ffd7c3e4328, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd7c3e4318) at ../csu/libc-start.c:360
#32 0x000055cee80f0fc5 in ?? ()
[Inferior 1 (process 12197) detached]

Reported using DrKonqi
Comment 1 Halla Rempt 2023-10-06 08:43:24 UTC
Please provide the actual image, too.
Comment 2 Bug Janitor Service 2023-10-21 03:45:27 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Halla Rempt 2024-10-31 10:27:30 UTC
Without access to the image we cannot investigate the issue, so this bug needs to stay in needsinfo until the image is provided, preferable as a stable download link. Given that it is a very large image, you might have to tweak Krita's memory settings in the Performance page of the settings dialog.
Comment 4 Bug Janitor Service 2024-11-15 03:46:43 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2024-11-30 03:46:24 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.