Bug 487256 - Crash on launch when opening an image with very large media files in the same directory
Summary: Crash on launch when opening an image with very large media files in the same...
Status: RESOLVED DUPLICATE of bug 341594
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.02.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-19 23:37 UTC by Jacob Kauffmann
Modified: 2025-08-25 10:55 UTC (History)
1 user (show)

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


Attachments
Full backtrace from crash (82.23 KB, text/plain)
2024-05-19 23:42 UTC, Jacob Kauffmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Kauffmann 2024-05-19 23:37:00 UTC
SUMMARY
If I have a folder structure like this:

- Project Folder
    - 200GB ProRes video file
    - 6MB PNG file

Attempting to open the PNG file results in Gwenview freezing before the file has finished the fade-in animation, then crashing. If I delete the 200GB ProRes video file (or move it to a different directory), then the PNG file opens successfully.

STEPS TO REPRODUCE
1. Put a very large media file in the same directory as an image.
2. Attempt to open the image.

OBSERVED RESULT
Gwenview crashes on launch.

EXPECTED RESULT
Gwenview displays the image.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.9.1-arch1-1
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
I don't think this is a recent regression. I've long had certain "broken" folders where Gwenview was unable to open images; I've never managed to determine an exact cause until now.
Comment 1 Jacob Kauffmann 2024-05-19 23:42:34 UTC
Created attachment 169634 [details]
Full backtrace from crash

I think this is a full backtrace from one of the crashes. Based on the behavior and the backtrace, I assume the issue has something to do with Gwenview attempting to thumbnail the massive video file.
Comment 2 A Linux User 2025-08-25 10:55:35 UTC

*** This bug has been marked as a duplicate of bug 341594 ***