Bug 507549 - Gwenview crashes when it attempts to open a "100-GiB" sparse file
Summary: Gwenview crashes when it attempts to open a "100-GiB" sparse file
Status: REPORTED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-07-27 18:26 UTC by Roke Julian Lockhart Beedell
Modified: 2025-07-27 18:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/224777/events/b4445106bd444e2ead88886b575952c2/


Attachments
New crash information added by DrKonqi (70.08 KB, text/plain)
2025-07-27 18:26 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2025-07-27 18:26:40 UTC
Application: gwenview (25.04.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.16.0
Operating System: Linux 6.15.7-200.fc42.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 42 (KDE Plasma Desktop Edition)"
DrKonqi: 6.4.3 [CoredumpBackend]

-- Information about the crash:
1. I downloaded https://commons.wikimedia.org/w/index.php?title=Category:Large_images&oldid=1056636490#/media/File:%22_Shot_From_The_Sky%22_Army_Show_1945_Oak_Ridge_(24971013612).jpg.

2. I invoked the file in Gwenview.

3. I ran `truncate -s 100000MB "/home/RokeJulianLockhart/Downloads/__Shot_From_The_Sky__Army_Show_1945_Oak_Ridge_(24971013612).jpg"`.

4. Gwenview attempted to reload the file, but crashed.

Thereafter, attempting to invoke the file crashes Gwenview.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007fe6aa6811e3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007fe6aa627afe in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007fe6aa60f6d0 in __GI_abort () at abort.c:73
#9  0x00007fe6aa8091b6 in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#10 0x00007fe6aa81eadc in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#11 0x00007fe6aa808d3c in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:58
#12 0x00007fe6aac3f925 in (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:376
#13 QThreadPrivate::start (arg=0x5557b04b5000) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:394
#14 0x00007fe6aa67f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#15 0x00007fe6aa701d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78


Reported using DrKonqi
Comment 1 Roke Julian Lockhart Beedell 2025-07-27 18:26:41 UTC
Created attachment 183569 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Roke Julian Lockhart Beedell 2025-07-27 18:29:14 UTC
(In reply to Roke Julian Lockhart Beedell from comment #0)

Reported downstream, at https://bugzilla.redhat.com/show_bug.cgi?id=2383767#c0.
Comment 3 Roke Julian Lockhart Beedell 2025-07-27 18:32:19 UTC
I hit https://bugzilla.redhat.com/show_bug.cgi?id=2383768#c0 after restarting it from Dr. Konqi's GUI.
Comment 4 Roke Julian Lockhart Beedell 2025-07-27 18:38:08 UTC
Managed to reproduce it in Okular, too, at https://bugs.kde.org/show_bug.cgi?id=507550#c0 (although not in ShowFoto, KSnip, or Krita).