Bug 479471

Summary: Wine created image crashes Gwenview when showing it
Product: [Applications] gwenview Reporter: macbrayne.fs
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: REPORTED ---    
Severity: crash CC: phelanobryan1
Priority: NOR Keywords: drkonqi
Version First Reported In: 23.04.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description macbrayne.fs 2024-01-06 17:05:24 UTC
Application: gwenview (23.04.2)

Qt Version: 5.15.9
Frameworks Version: 5.107.0
Operating System: Linux 6.1.52-valve9-1-neptune-61 x86_64
Windowing System: X11
Distribution: SteamOS
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
The crash happens both when opening the affected image directly (thumbnail generation by Dolphin is fine) or when navigating to the folder using Gwenview.
The affected image was created by a program running inside wine and manually moved outside. All files (4) inside the folder are PNG files, the three other files are created by Spectacle and can be opened fine.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Aborted

[KCrash Handler]
#4  0x00007f336d89f26c in ?? () from /usr/lib/libc.so.6
#5  0x00007f336d84fa08 in raise () from /usr/lib/libc.so.6
#6  0x00007f336d838538 in abort () from /usr/lib/libc.so.6
#7  0x00007f336da9ca6f in __gnu_cxx::__verbose_terminate_handler () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#8  0x00007f336dab011c in __cxxabiv1::__terminate (handler=<optimized out>) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#9  0x00007f336dab0189 in std::terminate () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#10 0x00007f336dab03ed in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x7f336e327538 <typeinfo for QUnhandledException>, dest=0x7f336def9770 <QUnhandledException::~QUnhandledException()>) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_throw.cc:98
#11 0x00007f336dea26f7 in QUnhandledException::raise() const () from /usr/lib/libQt5Core.so.5
#12 0x00007f336defe332 in QFutureInterfaceBase::waitForResult(int) () from /usr/lib/libQt5Core.so.5
#13 0x00007f337038ecc4 in ?? () from /usr/lib/libgwenviewlib.so.5
#14 0x00007f336e0cffe7 in ?? () from /usr/lib/libQt5Core.so.5
#15 0x00007f336defd0d5 in QFutureWatcherBase::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#16 0x00007f336ed7893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#17 0x00007f336e09ab18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#18 0x00007f336e09fa7b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#19 0x00007f336e0e6088 in ?? () from /usr/lib/libQt5Core.so.5
#20 0x00007f336bf10981 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0x00007f336bf6db39 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x00007f336bf0e032 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0x00007f336e0e9f0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#24 0x00007f336e099824 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#25 0x00007f336e09acc3 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#26 0x00005642b5656a49 in ?? ()
#27 0x00007f336d839850 in ?? () from /usr/lib/libc.so.6
#28 0x00007f336d83990a in __libc_start_main () from /usr/lib/libc.so.6
#29 0x00005642b5657245 in ?? ()
[Inferior 1 (process 30711) detached]

Reported using DrKonqi
Comment 1 phelanobryan1 2024-06-26 14:27:44 UTC
Created attachment 171017 [details]
New crash information added by DrKonqi

gwenview (23.04.2) using Qt 5.15.9

i was on pixai.art making Ai art, i went and chose a picture from the picture library and boom it closed.

-- Backtrace (Reduced):
#7  0x00007f62bba9ca6f in __gnu_cxx::__verbose_terminate_handler () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#8  0x00007f62bbab011c in __cxxabiv1::__terminate (handler=<optimized out>) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#9  0x00007f62bbab0189 in std::terminate () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#10 0x00007f62bbab03ed in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x7f62bc327538 <typeinfo for QUnhandledException>, dest=0x7f62bbef9770 <QUnhandledException::~QUnhandledException()>) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_throw.cc:98
#11 0x00007f62bbea26f7 in QUnhandledException::raise() const () from /usr/lib/libQt5Core.so.5