Bug 474668

Summary: Gwenview crashes
Product: [Applications] gwenview Reporter: kido <latlon>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: vincefvanwijk
Priority: NOR Keywords: drkonqi
Version First Reported In: 23.08.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description kido 2023-09-18 21:23:45 UTC
Application: gwenview (23.08.1)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.3-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
Gwenview crashes when i try open any images (jpg/png)

The crash can be reproduced every time.

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

[KCrash Handler]
#4  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#5  0x00007fa10f691e93 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#6  0x00007fa10f63f0e6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#7  0x00007fa10f6268d7 in __GI_abort () at abort.c:79
#8  0x00007fa10faacc17 in ?? () from /lib64/libstdc++.so.6
#9  0x00007fa10fabc1fc in ?? () from /lib64/libstdc++.so.6
#10 0x00007fa10fabc267 in std::terminate() () from /lib64/libstdc++.so.6
#11 0x00007fa10fabc4c8 in __cxa_throw () from /lib64/libstdc++.so.6
#12 0x00007fa1114f621b in ?? () from /lib64/glibc-hwcaps/x86-64-v3/libexiv2.so.0.28.0
#13 0x00007fa11161eea4 in ?? () from /lib64/glibc-hwcaps/x86-64-v3/libexiv2.so.0.28.0
#14 0x00007fa11161f0f3 in ?? () from /lib64/glibc-hwcaps/x86-64-v3/libexiv2.so.0.28.0
#15 0x00007fa1115a982d in Exiv2::PngImage::readMetadata() () from /lib64/glibc-hwcaps/x86-64-v3/libexiv2.so.0.28.0
#16 0x00007fa11240b16d in Gwenview::Exiv2ImageLoader::load (this=0x7fff18e68708, filePath=...) at /usr/src/debug/gwenview-23.08.1/lib/exiv2imageloader.cpp:88
#17 0x00007fa11244b8eb in Gwenview::TimeUtils::CacheItem::updateFromExif (this=this@entry=0x55c8e78fa578, url=...) at /usr/src/debug/gwenview-23.08.1/lib/timeutils.cpp:87
#18 0x00007fa11244c6ac in Gwenview::TimeUtils::CacheItem::update (fileItem=..., this=<optimized out>) at /usr/src/debug/gwenview-23.08.1/lib/timeutils.cpp:74
#19 Gwenview::TimeUtils::dateTimeForFileItem (fileItem=..., cachePolicy=<optimized out>) at /usr/src/debug/gwenview-23.08.1/lib/timeutils.cpp:139
#20 0x00007fa112423b95 in Gwenview::SortedDirModel::lessThan (this=0x55c8e72f1c50, left=..., right=...) at /usr/src/debug/gwenview-23.08.1/lib/semanticinfo/sorteddirmodel.cpp:274
#21 0x00007fa1100c6922 in QSortFilterProxyModelLessThan::operator() (r2=152, r1=<optimized out>, this=0x7fff18e68bb0) at itemmodels/qsortfilterproxymodel.cpp:82
#22 __gnu_cxx::__ops::_Iter_comp_iter<QSortFilterProxyModelLessThan>::operator()<int*, int*> (__it2=0x55c8e78f6f4c, __it1=0x55c8e78f6f54, this=0x7fff18e68bb0) at /usr/include/c++/13/bits/predefined_ops.h:158
#23 std::__insertion_sort<int*, __gnu_cxx::__ops::_Iter_comp_iter<QSortFilterProxyModelLessThan> > (__first=__first@entry=0x55c8e78f6f4c, __last=__last@entry=0x55c8e78f6f60, __comp=...) at /usr/include/c++/13/bits/stl_algo.h:1819
#24 0x00007fa1100c8768 in std::__chunk_insertion_sort<int*, long, __gnu_cxx::__ops::_Iter_comp_iter<QSortFilterProxyModelLessThan> > (__chunk_size=7, __comp=..., __last=0x55c8e78f6f60, __first=0x55c8e78f6f4c) at /usr/include/c++/13/bits/stl_algo.h:2709
#25 std::__merge_sort_with_buffer<int*, int*, __gnu_cxx::__ops::_Iter_comp_iter<QSortFilterProxyModelLessThan> > (__first=__first@entry=0x55c8e78f6e34, __last=__last@entry=0x55c8e78f6f60, __buffer=__buffer@entry=0x55c8e7832bc0, __comp=...) at /usr/include/c++/13/bits/stl_algo.h:2727
#26 0x00007fa1100ba968 in std::__stable_sort_adaptive<int*, int*, __gnu_cxx::__ops::_Iter_comp_iter<QSortFilterProxyModelLessThan> > (__comp=..., __buffer=<optimized out>, __last=0x55c8e78f6f60, __middle=<optimized out>, __first=0x55c8e78f6d08) at /usr/include/c++/13/bits/stl_algo.h:2748
#27 std::__stable_sort<int*, __gnu_cxx::__ops::_Iter_comp_iter<QSortFilterProxyModelLessThan> > (__comp=..., __last=0x55c8e78f6f60, __first=0x55c8e78f6d08) at /usr/include/c++/13/bits/stl_algo.h:5041
#28 std::stable_sort<int*, QSortFilterProxyModelLessThan> (__comp=..., __last=0x55c8e78f6f60, __first=0x55c8e78f6d08) at /usr/include/c++/13/bits/stl_algo.h:5119
#29 QSortFilterProxyModelPrivate::sort_source_rows (this=<optimized out>, source_rows=..., source_parent=...) at itemmodels/qsortfilterproxymodel.cpp:704
#30 0x00007fa1100c08cb in QSortFilterProxyModelPrivate::source_items_inserted (this=0x55c8e72e8a40, source_parent=..., start=<optimized out>, end=<optimized out>, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:1060
#31 0x00007fa1100c3afd in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (end=156, start=0, source_parent=..., this=0x55c8e72e8a40) at itemmodels/qsortfilterproxymodel.cpp:1702
#32 QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x55c8e72e8a40, source_parent=..., start=0, end=156) at itemmodels/qsortfilterproxymodel.cpp:1696
#33 0x00007fa1101257b3 in doActivate<false> (sender=0x55c8e70e5130, signal_index=13, argv=0x7fff18e68f90) at kernel/qobject.cpp:3937
#34 0x00007fa11011e47f in QMetaObject::activate (sender=sender@entry=0x55c8e70e5130, m=m@entry=0x7fa1103c5d40, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fff18e68f90) at kernel/qobject.cpp:3985
#35 0x00007fa11008643e in QAbstractItemModel::rowsInserted (this=this@entry=0x55c8e70e5130, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:592
#36 0x00007fa11008f38a in QAbstractItemModel::endInsertRows (this=0x55c8e70e5130) at itemmodels/qabstractitemmodel.cpp:2780
#37 0x00007fa111fd48d5 in KDirModelPrivate::_k_slotNewItems (this=0x55c8e72f2e80, directoryUrl=..., items=...) at /usr/src/debug/kio-5.110.0/src/widgets/kdirmodel.cpp:568
#38 0x00007fa110125812 in QtPrivate::QSlotObjectBase::call (a=0x7fff18e69230, r=0x55c8e70e5130, this=0x55c8e72eb160) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#39 doActivate<false> (sender=0x55c8e70e4420, signal_index=16, argv=0x7fff18e69230) at kernel/qobject.cpp:3925
#40 0x00007fa11011e47f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fa111e928e0 <KCoreDirLister::staticMetaObject>, local_signal_index=local_signal_index@entry=13, argv=argv@entry=0x7fff18e69230) at kernel/qobject.cpp:3985
#41 0x00007fa111e12dca in KCoreDirLister::itemsAdded (this=<optimized out>, _t1=..., _t2=...) at /usr/src/debug/kio-5.110.0/build/src/core/KF5KIOCore_autogen/include/moc_kcoredirlister.cpp:565
#42 0x00007fa111e13e1c in KCoreDirListerPrivate::emitItems (this=0x55c8e72ea4d0) at /usr/src/debug/kio-5.110.0/src/core/kcoredirlister.cpp:2558
#43 0x00007fa111e10e80 in KCoreDirListerCache::slotEntries (this=<optimized out>, job=<optimized out>, entries=...) at /usr/src/debug/kio-5.110.0/src/core/kcoredirlister.cpp:1243
#44 0x00007fa110125812 in QtPrivate::QSlotObjectBase::call (a=0x7fff18e694a0, r=0x7fa111e964a0 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0>, this=0x55c8e72bd740) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#45 doActivate<false> (sender=0x55c8e73ae080, signal_index=25, argv=0x7fff18e694a0) at kernel/qobject.cpp:3925
#46 0x00007fa11011e47f in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff18e694a0) at kernel/qobject.cpp:3985
#47 0x00007fa111dce644 in KIO::ListJob::entries (this=<optimized out>, _t1=<optimized out>, _t2=...) at /usr/src/debug/kio-5.110.0/build/src/core/KF5KIOCore_autogen/include/moc_listjob.cpp:237
#48 0x00007fa110125812 in QtPrivate::QSlotObjectBase::call (a=0x7fff18e695a0, r=0x55c8e73ae080, this=0x55c8e782cb80) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#49 doActivate<false> (sender=0x55c8e7795480, signal_index=9, argv=0x7fff18e695a0) at kernel/qobject.cpp:3925
#50 0x00007fa11011e47f in QMetaObject::activate (sender=sender@entry=0x55c8e7795480, m=<optimized out>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff18e695a0) at kernel/qobject.cpp:3985
#51 0x00007fa111dbf0e5 in KIO::SlaveInterface::listEntries (this=this@entry=0x55c8e7795480, _t1=...) at /usr/src/debug/kio-5.110.0/build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:478
#52 0x00007fa111dc407d in KIO::SlaveInterface::dispatch (this=0x55c8e7795480, _cmd=<optimized out>, rawdata=...) at /usr/src/debug/kio-5.110.0/src/core/slaveinterface.cpp:166
#53 0x00007fa111dbee16 in KIO::SlaveInterface::dispatch (this=0x55c8e7795480) at /usr/src/debug/kio-5.110.0/src/core/slaveinterface.cpp:78
#54 0x00007fa111dc1719 in KIO::Slave::gotInput (this=0x55c8e7795480) at /usr/src/debug/kio-5.110.0/src/core/slave.cpp:354
#55 0x00007fa110125812 in QtPrivate::QSlotObjectBase::call (a=0x7fff18e697c0, r=0x55c8e7795480, this=0x55c8e73d18f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#56 doActivate<false> (sender=0x55c8e732c850, signal_index=3, argv=0x7fff18e697c0) at kernel/qobject.cpp:3925
#57 0x00007fa110119320 in QObject::event (this=0x55c8e732c850, e=0x55c8e7836b60) at kernel/qobject.cpp:1347
#58 0x00007fa110da519e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c8e732c850, e=0x55c8e7836b60) at kernel/qapplication.cpp:3640
#59 0x00007fa1100ed568 in QCoreApplication::notifyInternal2 (receiver=0x55c8e732c850, event=0x55c8e7836b60) at kernel/qcoreapplication.cpp:1064
#60 0x00007fa1100ed72e in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#61 0x00007fa1100f0b61 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55c8e6cab4b0) at kernel/qcoreapplication.cpp:1821
#62 0x00007fa1100f10a8 in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680
#63 0x00007fa110146c93 in postEventSourceDispatch (s=0x55c8e6da0e40) at kernel/qeventdispatcher_glib.cpp:277
#64 0x00007fa10dd169d8 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#65 0x00007fa10dd16de8 in ?? () from /lib64/libglib-2.0.so.0
#66 0x00007fa10dd16e7c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#67 0x00007fa1101464a6 in QEventDispatcherGlib::processEvents (this=0x55c8e6daeb20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#68 0x00007fa1100ebffb in QEventLoop::exec (this=this@entry=0x7fff18e69bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#69 0x00007fa1100f4490 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#70 0x000055c8e5f5b423 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/gwenview-23.08.1/app/main.cpp:213
[Inferior 1 (process 3468) detached]

Reported using DrKonqi
Comment 1 kido 2023-09-20 02:12:14 UTC
Gwenview crashes when i try open any images only in folder "/home/kido/Загрузки/Telegram Desktop/"
Comment 2 Visne 2023-10-02 21:22:30 UTC
Created attachment 162039 [details]
New crash information added by DrKonqi

gwenview (23.08.1) using Qt 5.15.10

Crashes whenever  I open an image. The type of image doesn't seem to matter.

-- Backtrace (Reduced):
#6  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#7  0x00007f80f68ac8a3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#8  0x00007f80f685c668 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#9  0x00007f80f68444b8 in __GI_abort () at abort.c:79
#10 0x00007f80f6a9ca6f in __gnu_cxx::__verbose_terminate_handler() () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
Comment 3 kido 2023-12-17 10:48:25 UTC
The error will no longer be reproduced.