Bug 487256

Summary: Crash on launch when opening an image with very large media files in the same directory
Product: [Applications] gwenview Reporter: Jacob Kauffmann <jacob>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: idontfeelcomfygivingyoumyemail
Priority: NOR    
Version First Reported In: 24.02.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Full backtrace from crash

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 ***