Bug 465615

Summary: Gwenview crashed when opening a truly huge file.
Product: [Applications] gwenview Reporter: chipuni
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: idontfeelcomfygivingyoumyemail
Priority: NOR Keywords: drkonqi
Version First Reported In: 22.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description chipuni 2023-02-12 08:53:43 UTC
Application: gwenview (22.12.2)

Qt Version: 5.15.8
Frameworks Version: 5.102.0
Operating System: Linux 6.1.10-arch1-1 x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
I created a very, very large .png file.
Then used Gwenview to open it. 
Then put Gwenview in the background while I worked on other things. 
Gwenview crashed, almost definitely due to lack of memory.
This is probably not best behavior -- it should shut down nicely when given too large of a file -- but it's not unexpected.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Gwenview (gwenview), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  0x00007f71170a08ec in  () at /usr/lib/libc.so.6
#7  0x00007f7117051ea8 in raise () at /usr/lib/libc.so.6
#8  0x00007f711703b53d in abort () at /usr/lib/libc.so.6
#9  0x00007f711769fede in qt_assert(char const*, char const*, int) () at /usr/lib/libQt5Core.so.5
#10 0x00007f71176a16da in  () at /usr/lib/libQt5Core.so.5
#11 0x00007f71199d5d2e in Gwenview::ThumbnailGenerator::~ThumbnailGenerator() (this=0x7f7104003670, this=<optimized out>) at /usr/src/debug/gwenview/build/lib/gwenviewlib_autogen/6D5CK4GEXA/../../../../gwenview-22.12.2/lib/thumbnailprovider/thumbnailgenerator.h:47
#12 Gwenview::ThumbnailGenerator::~ThumbnailGenerator() (this=0x7f7104003670, this=<optimized out>) at /usr/src/debug/gwenview/build/lib/gwenviewlib_autogen/6D5CK4GEXA/../../../../gwenview-22.12.2/lib/thumbnailprovider/thumbnailgenerator.h:47
#13 0x00007f71178b19da in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#14 0x00007f7118578b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7f7104003670, e=0x7f70fc0023e0) at kernel/qapplication.cpp:3640
#15 0x00007f711788df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#16 0x00007f711788ea53 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#17 0x00007f71178d4e88 in  () at /usr/lib/libQt5Core.so.5
#18 0x00007f711571682b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#19 0x00007f711576dcc9 in  () at /usr/lib/libglib-2.0.so.0
#20 0x00007f71157150e2 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#21 0x00007f71178d8c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#22 0x00007f71178866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#23 0x00007f7117891219 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#24 0x00007f7117d39fe2 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#25 0x00007f7118576f2a in QApplication::exec() () at kernel/qapplication.cpp:2832
#26 0x00005619d0485a39 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/gwenview/gwenview-22.12.2/app/main.cpp:213
[Inferior 1 (process 3079) detached]

Reported using DrKonqi
Comment 1 A Linux User 2025-08-19 17:10:15 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0 (the latest released version)?
Comment 2 Bug Janitor Service 2025-09-03 03:48:04 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 3 Bug Janitor Service 2025-09-18 03:48:34 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.