Bug 473939

Summary: Gwenview crashes
Product: [Applications] gwenview Reporter: fire.eagle.ch
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: idontfeelcomfygivingyoumyemail
Priority: NOR Keywords: drkonqi
Version First Reported In: 23.04.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description fire.eagle.ch 2023-08-30 11:28:19 UTC
Application: gwenview (23.04.3)

Qt Version: 5.15.10
Frameworks Version: 5.109.0
Operating System: Linux 6.4.11-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.7 [KCrashBackend]

-- Information about the crash:
Regardless of image, gwenview crashes when opening any image that is too large, or opening any folder that contains such an image under the browse menu

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f6871291e4c in __pthread_kill_implementation () from /lib64/libc.so.6
#5  0x00007f687123f126 in raise () from /lib64/libc.so.6
#6  0x00007f6871226917 in abort () from /lib64/libc.so.6
#7  0x00007f68716acc17 in ?? () from /lib64/libstdc++.so.6
#8  0x00007f68716bc23c in ?? () from /lib64/libstdc++.so.6
#9  0x00007f68716bc2a7 in std::terminate() () from /lib64/libstdc++.so.6
#10 0x00007f68716bc508 in __cxa_throw () from /lib64/libstdc++.so.6
#11 0x00007f68732f621b in ?? () from /lib64/glibc-hwcaps/x86-64-v3/libexiv2.so.0.28.0
#12 0x00007f687336eba7 in Exiv2::JpegBase::readMetadata() () from /lib64/glibc-hwcaps/x86-64-v3/libexiv2.so.0.28.0
#13 0x00007f68740a7e1d in Gwenview::Exiv2ImageLoader::load (this=0x7ffd87d7a0e8, filePath=...) at /usr/src/debug/gwenview-23.04.3/lib/exiv2imageloader.cpp:88
#14 0x00007f68740e859b in Gwenview::TimeUtils::CacheItem::updateFromExif (this=this@entry=0x563a62c1a228, url=...) at /usr/src/debug/gwenview-23.04.3/lib/timeutils.cpp:87
#15 0x00007f68740e935c in Gwenview::TimeUtils::CacheItem::update (fileItem=..., this=<optimized out>) at /usr/src/debug/gwenview-23.04.3/lib/timeutils.cpp:74
#16 Gwenview::TimeUtils::dateTimeForFileItem (fileItem=..., cachePolicy=<optimized out>) at /usr/src/debug/gwenview-23.04.3/lib/timeutils.cpp:139
#17 0x00007f68740c0845 in Gwenview::SortedDirModel::lessThan (this=0x563a628183d0, left=..., right=...) at /usr/src/debug/gwenview-23.04.3/lib/semanticinfo/sorteddirmodel.cpp:274
#18 0x00007f6871cc6922 in QSortFilterProxyModelLessThan::operator() (r2=636, r1=<optimized out>, this=0x7ffd87d7a590) at itemmodels/qsortfilterproxymodel.cpp:82
#19 __gnu_cxx::__ops::_Iter_comp_iter<QSortFilterProxyModelLessThan>::operator()<int*, int*> (__it2=0x563a62dba2a0, __it1=0x563a62dba2a4, this=0x7ffd87d7a590) at /usr/include/c++/13/bits/predefined_ops.h:158
#20 std::__insertion_sort<int*, __gnu_cxx::__ops::_Iter_comp_iter<QSortFilterProxyModelLessThan> > (__first=__first@entry=0x563a62dba2a0, __last=__last@entry=0x563a62dba2bc, __comp=...) at /usr/include/c++/13/bits/stl_algo.h:1819
#21 0x00007f6871cc8726 in std::__chunk_insertion_sort<int*, long, __gnu_cxx::__ops::_Iter_comp_iter<QSortFilterProxyModelLessThan> > (__chunk_size=7, __comp=..., __last=0x563a62dba318, __first=0x563a62dba2a0) at /usr/include/c++/13/bits/stl_algo.h:2706
#22 std::__merge_sort_with_buffer<int*, int*, __gnu_cxx::__ops::_Iter_comp_iter<QSortFilterProxyModelLessThan> > (__first=__first@entry=0x563a62dba1f8, __last=__last@entry=0x563a62dba318, __buffer=__buffer@entry=0x563a62b906e0, __comp=...) at /usr/include/c++/13/bits/stl_algo.h:2727
#23 0x00007f6871cba92f in std::__stable_sort_adaptive<int*, int*, __gnu_cxx::__ops::_Iter_comp_iter<QSortFilterProxyModelLessThan> > (__comp=..., __buffer=0x563a62b906e0, __last=0x563a62dba438, __middle=<optimized out>, __first=0x563a62dba1f8) at /usr/include/c++/13/bits/stl_algo.h:2742
#24 std::__stable_sort<int*, __gnu_cxx::__ops::_Iter_comp_iter<QSortFilterProxyModelLessThan> > (__comp=..., __last=0x563a62dba438, __first=0x563a62dba1f8) at /usr/include/c++/13/bits/stl_algo.h:5041
#25 std::stable_sort<int*, QSortFilterProxyModelLessThan> (__comp=..., __last=0x563a62dba438, __first=0x563a62dba1f8) at /usr/include/c++/13/bits/stl_algo.h:5119
#26 QSortFilterProxyModelPrivate::sort_source_rows (this=<optimized out>, source_rows=..., source_parent=...) at itemmodels/qsortfilterproxymodel.cpp:704
#27 0x00007f6871cc08cb in QSortFilterProxyModelPrivate::source_items_inserted (this=0x563a62794990, source_parent=..., start=<optimized out>, end=<optimized out>, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:1060
#28 0x00007f6871cc3afd in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (end=750, start=593, source_parent=..., this=0x563a62794990) at itemmodels/qsortfilterproxymodel.cpp:1702
#29 QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x563a62794990, source_parent=..., start=593, end=750) at itemmodels/qsortfilterproxymodel.cpp:1696
#30 0x00007f6871d257b3 in doActivate<false> (sender=0x563a627c7bc0, signal_index=13, argv=0x7ffd87d7a970) at kernel/qobject.cpp:3937
#31 0x00007f6871d1e47f in QMetaObject::activate (sender=sender@entry=0x563a627c7bc0, m=m@entry=0x7f6871fc5d40, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffd87d7a970) at kernel/qobject.cpp:3985
#32 0x00007f6871c8643e in QAbstractItemModel::rowsInserted (this=this@entry=0x563a627c7bc0, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:592
#33 0x00007f6871c8f38a in QAbstractItemModel::endInsertRows (this=0x563a627c7bc0) at itemmodels/qabstractitemmodel.cpp:2780
#34 0x00007f6873c728d5 in KDirModelPrivate::_k_slotNewItems (this=0x563a627bf270, directoryUrl=..., items=...) at /usr/src/debug/kio-5.109.0/src/widgets/kdirmodel.cpp:568
#35 0x00007f6871d25812 in QtPrivate::QSlotObjectBase::call (a=0x7ffd87d7ac10, r=0x563a627c7bc0, this=0x563a627efb00) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#36 doActivate<false> (sender=0x563a627c8140, signal_index=16, argv=0x7ffd87d7ac10) at kernel/qobject.cpp:3925
#37 0x00007f6871d1e47f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f6873b308e0 <KCoreDirLister::staticMetaObject>, local_signal_index=local_signal_index@entry=13, argv=argv@entry=0x7ffd87d7ac10) at kernel/qobject.cpp:3985
#38 0x00007f6873ab0dca in KCoreDirLister::itemsAdded (this=<optimized out>, _t1=..., _t2=...) at /usr/src/debug/kio-5.109.0/build/src/core/KF5KIOCore_autogen/include/moc_kcoredirlister.cpp:565
#39 0x00007f6873ab1e1c in KCoreDirListerPrivate::emitItems (this=0x563a627df610) at /usr/src/debug/kio-5.109.0/src/core/kcoredirlister.cpp:2558
#40 0x00007f6873aaee80 in KCoreDirListerCache::slotEntries (this=<optimized out>, job=<optimized out>, entries=...) at /usr/src/debug/kio-5.109.0/src/core/kcoredirlister.cpp:1243
#41 0x00007f6871d25812 in QtPrivate::QSlotObjectBase::call (a=0x7ffd87d7ae80, r=0x7f6873b344a0 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0>, this=0x563a62b870a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#42 doActivate<false> (sender=0x563a62b89010, signal_index=25, argv=0x7ffd87d7ae80) at kernel/qobject.cpp:3925
#43 0x00007f6871d1e47f in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd87d7ae80) at kernel/qobject.cpp:3985
#44 0x00007f6873a6c644 in KIO::ListJob::entries (this=<optimized out>, _t1=<optimized out>, _t2=...) at /usr/src/debug/kio-5.109.0/build/src/core/KF5KIOCore_autogen/include/moc_listjob.cpp:237
#45 0x00007f6871d25812 in QtPrivate::QSlotObjectBase::call (a=0x7ffd87d7af80, r=0x563a62b89010, this=0x563a62c1e760) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#46 doActivate<false> (sender=0x563a62da3130, signal_index=9, argv=0x7ffd87d7af80) at kernel/qobject.cpp:3925
#47 0x00007f6871d1e47f in QMetaObject::activate (sender=sender@entry=0x563a62da3130, m=<optimized out>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffd87d7af80) at kernel/qobject.cpp:3985
#48 0x00007f6873a5d0e5 in KIO::SlaveInterface::listEntries (this=this@entry=0x563a62da3130, _t1=...) at /usr/src/debug/kio-5.109.0/build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:478
#49 0x00007f6873a6207d in KIO::SlaveInterface::dispatch (this=0x563a62da3130, _cmd=<optimized out>, rawdata=...) at /usr/src/debug/kio-5.109.0/src/core/slaveinterface.cpp:166
#50 0x00007f6873a5ce16 in KIO::SlaveInterface::dispatch (this=0x563a62da3130) at /usr/src/debug/kio-5.109.0/src/core/slaveinterface.cpp:78
#51 0x00007f6873a5f719 in KIO::Slave::gotInput (this=0x563a62da3130) at /usr/src/debug/kio-5.109.0/src/core/slave.cpp:354
#52 0x00007f6871d25812 in QtPrivate::QSlotObjectBase::call (a=0x7ffd87d7b1a0, r=0x563a62da3130, this=0x563a62b94e00) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#53 doActivate<false> (sender=0x563a62b900d0, signal_index=3, argv=0x7ffd87d7b1a0) at kernel/qobject.cpp:3925
#54 0x00007f6871d19320 in QObject::event (this=0x563a62b900d0, e=0x563a62e6be80) at kernel/qobject.cpp:1347
#55 0x00007f6872ba519e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x563a62b900d0, e=0x563a62e6be80) at kernel/qapplication.cpp:3640
#56 0x00007f6871ced568 in QCoreApplication::notifyInternal2 (receiver=0x563a62b900d0, event=0x563a62e6be80) at kernel/qcoreapplication.cpp:1064
#57 0x00007f6871ced72e in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#58 0x00007f6871cf0b61 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x563a625bb4b0) at kernel/qcoreapplication.cpp:1821
#59 0x00007f6871cf10a8 in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680
#60 0x00007f6871d46c93 in postEventSourceDispatch (s=0x563a6261d8e0) at kernel/qeventdispatcher_glib.cpp:277
#61 0x00007f686f9169b8 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#62 0x00007f686f916dc8 in ?? () from /lib64/libglib-2.0.so.0
#63 0x00007f686f916e5c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#64 0x00007f6871d464a6 in QEventDispatcherGlib::processEvents (this=0x563a6262a190, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#65 0x00007f6871cebffb in QEventLoop::exec (this=this@entry=0x7ffd87d7b590, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#66 0x00007f6871cf4490 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#67 0x0000563a60ccc413 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/gwenview-23.04.3/app/main.cpp:213
[Inferior 1 (process 16211) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-09-17 23:29:38 UTC
*** Bug 474569 has been marked as a duplicate of this bug. ***
Comment 2 A Linux User 2025-08-17 11:09:08 UTC
(In reply to fire.eagle.ch from comment #0)

> Regardless of image, gwenview crashes when opening any image that is too
> large, or opening any folder that contains such an image under the browse
> menu
> 
> The crash can be reproduced every time.


Can you specify "too large"?
Comment 3 Bug Janitor Service 2025-09-01 03:47:21 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 4 Bug Janitor Service 2025-09-16 03:48:05 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.