Bug 470912 - Gwenview crashes on newer jpg images vs opens fine older jpgs
Summary: Gwenview crashes on newer jpg images vs opens fine older jpgs
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.04.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-06-11 16:08 UTC by Kan
Modified: 2025-08-20 16:29 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kan 2023-06-11 16:08:56 UTC
Application: gwenview (23.04.2)

Qt Version: 5.15.9
Frameworks Version: 5.106.0
Operating System: Linux 6.3.7-zen1-1-zen x86_64
Windowing System: X11
Distribution: Garuda Linux
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
Strange behavior, some jpg images open fine, noticed all the newer jpgs created/added. The older jpg images open without issue.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f2512c9f26c in ?? () from /usr/lib/libc.so.6
#5  0x00007f2512c4fa08 in raise () from /usr/lib/libc.so.6
#6  0x00007f2512c38538 in abort () from /usr/lib/libc.so.6
#7  0x00007f2512e9ca6f in __gnu_cxx::__verbose_terminate_handler () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#8  0x00007f2512eb011c in __cxxabiv1::__terminate (handler=<optimized out>) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#9  0x00007f2512eb0189 in std::terminate () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#10 0x00007f2512eb03ed in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x7f251306c0e8 <typeinfo for std::out_of_range>, dest=0x7f2512ec85c0 <std::out_of_range::~out_of_range()>) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_throw.cc:98
#11 0x00007f25148f05d0 in ?? () from /usr/lib/libexiv2.so.28
#12 0x00007f25149de614 in Exiv2::JpegBase::readMetadata() () from /usr/lib/libexiv2.so.28
#13 0x00007f251578c05a in Gwenview::Exiv2ImageLoader::load(QString const&) () from /usr/lib/libgwenviewlib.so.5
#14 0x00007f25157ce683 in ?? () from /usr/lib/libgwenviewlib.so.5
#15 0x00007f25157cf3d1 in Gwenview::TimeUtils::dateTimeForFileItem(KFileItem const&, Gwenview::TimeUtils::CachePolicy) () from /usr/lib/libgwenviewlib.so.5
#16 0x00007f25157a5186 in Gwenview::SortedDirModel::lessThan(QModelIndex const&, QModelIndex const&) const () from /usr/lib/libgwenviewlib.so.5
#17 0x00007f251347a253 in ?? () from /usr/lib/libQt5Core.so.5
#18 0x00007f251347bc56 in ?? () from /usr/lib/libQt5Core.so.5
#19 0x00007f2513470a98 in ?? () from /usr/lib/libQt5Core.so.5
#20 0x00007f2513475756 in ?? () from /usr/lib/libQt5Core.so.5
#21 0x00007f2513483e74 in ?? () from /usr/lib/libQt5Core.so.5
#22 0x00007f25134d01a3 in ?? () from /usr/lib/libQt5Core.so.5
#23 0x00007f25134562f3 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () from /usr/lib/libQt5Core.so.5
#24 0x00007f2513456457 in QAbstractItemModel::endInsertRows() () from /usr/lib/libQt5Core.so.5
#25 0x00007f2515356608 in ?? () from /usr/lib/libKF5KIOWidgets.so.5
#26 0x00007f25134cffe7 in ?? () from /usr/lib/libQt5Core.so.5
#27 0x00007f251519923f in KCoreDirLister::itemsAdded(QUrl const&, KFileItemList const&) () from /usr/lib/libKF5KIOCore.so.5
#28 0x00007f25151999ed in ?? () from /usr/lib/libKF5KIOCore.so.5
#29 0x00007f251519e1b0 in ?? () from /usr/lib/libKF5KIOCore.so.5
#30 0x00007f25134cffe7 in ?? () from /usr/lib/libQt5Core.so.5
#31 0x00007f2515151759 in KIO::ListJob::entries(KIO::Job*, QList<KIO::UDSEntry> const&) () from /usr/lib/libKF5KIOCore.so.5
#32 0x00007f25134cffe7 in ?? () from /usr/lib/libQt5Core.so.5
#33 0x00007f251514772a in KIO::SlaveInterface::listEntries(QList<KIO::UDSEntry> const&) () from /usr/lib/libKF5KIOCore.so.5
#34 0x00007f251514f930 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libKF5KIOCore.so.5
#35 0x00007f251514742a in KIO::SlaveInterface::dispatch() () from /usr/lib/libKF5KIOCore.so.5
#36 0x00007f2515149d82 in KIO::Slave::gotInput() () from /usr/lib/libKF5KIOCore.so.5
#37 0x00007f25134cffe7 in ?? () from /usr/lib/libQt5Core.so.5
#38 0x00007f25134c2834 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#39 0x00007f251417893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#40 0x00007f251349ab18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#41 0x00007f251349fa7b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#42 0x00007f25134e6088 in ?? () from /usr/lib/libQt5Core.so.5
#43 0x00007f2511310981 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0x00007f251136db39 in ?? () from /usr/lib/libglib-2.0.so.0
#45 0x00007f251130e032 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#46 0x00007f25134e9f0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#47 0x00007f2513499824 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#48 0x00007f251349acc3 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#49 0x00005636c5756a49 in ?? ()
#50 0x00007f2512c39850 in ?? () from /usr/lib/libc.so.6
#51 0x00007f2512c3990a in __libc_start_main () from /usr/lib/libc.so.6
#52 0x00005636c5757245 in ?? ()
[Inferior 1 (process 238361) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-06-11 17:05:11 UTC
Can you attach one of the affected broken images?
Comment 2 A Linux User 2025-08-19 17:15:22 UTC
Without the file, I propose a close. If this still persists on a newer version, please reopen.
Comment 3 Kan 2025-08-20 14:22:18 UTC
This is no longer an issue, thank you .