Bug 473913 - Digikam crashes while refreshing albums
Summary: Digikam crashes while refreshing albums
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Engine (show other bugs)
Version: 8.1.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-08-29 20:42 UTC by Natalia Portillo
Modified: 2023-08-29 21:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Natalia Portillo 2023-08-29 20:42:00 UTC
Application: digikam (8.1.0)

Qt Version: 5.15.10
Frameworks Version: 5.109.0
Operating System: Linux 6.4.12-arch1-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.27.7 [KCrashBackend]

-- Information about the crash:
Digikam crashes while refreshing albums.

No options have been changed, just moved some folders outside of digikam.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#7  0x00007f3f72c8e8a3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#8  0x00007f3f72c3e668 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#9  0x00007f3f72c264b8 in __GI_abort () at abort.c:79
#10 0x00007f3f734a0098 in qt_message_fatal (message=<synthetic pointer>..., context=<optimized out>) at global/qlogging.cpp:1919
#11 QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffd8c2943d8, msg=msg@entry=0x7f3f737801d8 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:898
#12 0x00007f3f734a00f6 in qt_assert(char const*, char const*, int) (assertion=assertion@entry=0x7f3f7639d790 "size == 0 || offset < 0 || size_t(offset) >= sizeof(QArrayData)", file=file@entry=0x7f3f7639d768 "/usr/include/qt/QtCore/qarraydata.h", line=line@entry=60) at global/qglobal.cpp:3391
#13 0x00007f3f75f6b2ce in QArrayData::data() [clone .part.0] [clone .lto_priv.0] (this=<optimized out>) at /usr/include/qt/QtCore/qarraydata.h:60
#14 0x00007f3f75f92867 in QArrayData::data() (this=<optimized out>) at /usr/src/debug/digikam/digikam-8.1.0/core/libs/album/engine/album.cpp:131
#15 QTypedArrayData<Digikam::Album*>::data() (this=<optimized out>) at /usr/include/qt/QtCore/qarraydata.h:209
#16 QTypedArrayData<Digikam::Album*>::begin(QTypedArrayData<Digikam::Album*>::iterator) (this=<optimized out>) at /usr/include/qt/QtCore/qarraydata.h:212
#17 QVector<Digikam::Album*>::value(int, Digikam::Album* const&) const (this=<optimized out>, defaultValue=<optimized out>, i=41) at /usr/include/qt/QtCore/qvector.h:774
#18 Digikam::Album::childAtRow(int) const (this=<optimized out>, row=<optimized out>) at /usr/src/debug/digikam/digikam-8.1.0/core/libs/album/engine/album.cpp:141
#19 0x00007f3f761144fa in Digikam::AbstractAlbumModel::index(int, int, QModelIndex const&) const (column=<optimized out>, parent=<optimized out>, row=41, this=0x5653bafe5320) at /usr/src/debug/digikam/digikam-8.1.0/core/libs/models/abstractalbummodel.cpp:274
#20 Digikam::AbstractAlbumModel::index(int, int, QModelIndex const&) const (this=0x5653bafe5320, row=41, column=<optimized out>, parent=<optimized out>) at /usr/src/debug/digikam/digikam-8.1.0/core/libs/models/abstractalbummodel.cpp:241
#21 0x00007f3f7613cf59 in Digikam::AbstractCheckableAlbumTreeView::rowsInserted(QModelIndex const&, int, int) (end=<optimized out>, start=<optimized out>, parent=<optimized out>, this=<optimized out>) at /usr/src/debug/digikam/digikam-8.1.0/core/libs/album/treeview/abstractcheckablealbumtreeview.cpp:189
#22 Digikam::AbstractCheckableAlbumTreeView::rowsInserted(QModelIndex const&, int, int) (this=0x5653bafda080, parent=..., start=<optimized out>, end=41) at /usr/src/debug/digikam/digikam-8.1.0/core/libs/album/treeview/abstractcheckablealbumtreeview.cpp:181
#23 0x00007f3f736d17f3 in doActivate<false>(QObject*, int, void**) (sender=0x5653bafe3e20, signal_index=13, argv=0x7ffd8c294590) at kernel/qobject.cpp:3937
#24 0x00007f3f73657f13 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0x5653bafe3e20, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:592
#25 0x00007f3f73658077 in QAbstractItemModel::endInsertRows() (this=0x5653bafe3e20) at itemmodels/qabstractitemmodel.cpp:2780
#26 0x00007f3f7367625e in QSortFilterProxyModelPrivate::insert_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) (this=this@entry=0x5653bafe44d0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:950
#27 0x00007f3f7367732c in QSortFilterProxyModelPrivate::source_items_inserted(QModelIndex const&, int, int, Qt::Orientation) (this=<optimized out>, source_parent=..., start=<optimized out>, end=<optimized out>, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:1061
#28 0x00007f3f73685a94 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted(QModelIndex const&, int, int) (end=41, start=41, source_parent=..., this=0x5653bafe44d0) at itemmodels/qsortfilterproxymodel.cpp:1702
#29 QSortFilterProxyModelPrivate::_q_sourceRowsInserted(QModelIndex const&, int, int) (end=41, start=41, source_parent=..., this=0x5653bafe44d0) at itemmodels/qsortfilterproxymodel.cpp:1696
#30 QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:282
#31 0x00007f3f736d17f3 in doActivate<false>(QObject*, int, void**) (sender=0x5653bafe5320, signal_index=13, argv=0x7ffd8c294a40) at kernel/qobject.cpp:3937
#32 0x00007f3f73657f13 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0x5653bafe5320, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:592
#33 0x00007f3f73658077 in QAbstractItemModel::endInsertRows() (this=this@entry=0x5653bafe5320) at itemmodels/qabstractitemmodel.cpp:2780
#34 0x00007f3f7610f966 in Digikam::AbstractAlbumModel::slotAlbumAdded(Digikam::Album*) (this=0x5653bafe5320, album=<optimized out>) at /usr/src/debug/digikam/digikam-8.1.0/core/libs/models/abstractalbummodel.cpp:528
#35 0x00007f3f736d1637 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd8c294c00, r=<optimized out>, this=0x5653bafe44a0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#36 doActivate<false>(QObject*, int, void**) (sender=0x7f3f765a14d0 <Digikam::(anonymous namespace)::Q_QGS_creator::innerFunction()::holder>, signal_index=4, argv=0x7ffd8c294c00) at kernel/qobject.cpp:3925
#37 0x00007f3f76117ec7 in Digikam::AlbumManager::signalAlbumAdded(Digikam::Album*) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/digikam/build/core/libs/album/gui_digikamalbum_obj_autogen/7P4I4GMEXJ/moc_albummanager.cpp:614
#38 0x00007f3f7615178d in Digikam::AlbumManager::scanPAlbums() (this=0x7f3f765a14d0 <Digikam::(anonymous namespace)::Q_QGS_creator::innerFunction()::holder>) at /usr/src/debug/digikam/digikam-8.1.0/core/libs/album/manager/albummanager_palbum.cpp:173
#39 0x00007f3f736d17f3 in doActivate<false>(QObject*, int, void**) (sender=0x5653b6e65440, signal_index=3, argv=0x7ffd8c294e40) at kernel/qobject.cpp:3937
#40 0x00007f3f736d316f in QTimer::timeout(QTimer::QPrivateSignal) (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#41 0x00007f3f736c40ee in QObject::event(QEvent*) (this=0x5653b6e65440, e=0x7ffd8c294fb0) at kernel/qobject.cpp:1324
#42 0x00007f3f7437893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5653b6e65440, e=0x7ffd8c294fb0) at kernel/qapplication.cpp:3640
#43 0x00007f3f7369c6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5653b6e65440, event=0x7ffd8c294fb0) at kernel/qcoreapplication.cpp:1064
#44 0x00007f3f736ead6b in QTimerInfoList::activateTimers() (this=0x5653b68bbf00) at kernel/qtimerinfo_unix.cpp:643
#45 0x00007f3f736eb3a2 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#46 idleTimerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:230
#47 0x00007f3f62f0fa31 in g_main_dispatch (context=0x7f3f48000ee0) at ../glib/glib/gmain.c:3460
#48 g_main_context_dispatch (context=0x7f3f48000ee0) at ../glib/glib/gmain.c:4200
#49 0x00007f3f62f6ccc9 in g_main_context_iterate.isra.0 (context=context@entry=0x7f3f48000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#50 0x00007f3f62f0d0e2 in g_main_context_iteration (context=0x7f3f48000ee0, may_block=1) at ../glib/glib/gmain.c:4343
#51 0x00007f3f736eb51c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5653b68bd130, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#52 0x00007f3f7369b404 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5653b6edc050, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#53 0x00007f3f760d15b4 in Digikam::ScanController::completeCollectionScanCore(bool, bool, bool) (this=0x7f3f765a12c0 <_ZZN7Digikam12_GLOBAL__N_113Q_QGS_creator13innerFunctionEvE6holder.lto_priv.1>, needTotalFiles=<optimized out>, defer=false, fastScan=<optimized out>) at /usr/include/qt/QtCore/qflags.h:121
#54 0x00007f3f762005f6 in Digikam::NewItemsFinder::slotStart() (this=0x5653bbbeef00) at /usr/src/debug/digikam/digikam-8.1.0/core/utilities/maintenance/newitemsfinder.cpp:86
#55 0x00007f3f736c4174 in QObject::event(QEvent*) (this=0x5653bbbeef00, e=0x5653c4914ad0) at kernel/qobject.cpp:1347
#56 0x00007f3f7437893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5653bbbeef00, e=0x5653c4914ad0) at kernel/qapplication.cpp:3640
#57 0x00007f3f7369c6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5653bbbeef00, event=0x5653c4914ad0) at kernel/qcoreapplication.cpp:1064
#58 0x00007f3f736a165b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5653b66f0eb0) at kernel/qcoreapplication.cpp:1821
#59 0x00007f3f736e76d8 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5653b6741900) at kernel/qeventdispatcher_glib.cpp:277
#60 0x00007f3f62f0fa31 in g_main_dispatch (context=0x7f3f48000ee0) at ../glib/glib/gmain.c:3460
#61 g_main_context_dispatch (context=0x7f3f48000ee0) at ../glib/glib/gmain.c:4200
#62 0x00007f3f62f6ccc9 in g_main_context_iterate.isra.0 (context=context@entry=0x7f3f48000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#63 0x00007f3f62f0d0e2 in g_main_context_iteration (context=0x7f3f48000ee0, may_block=1) at ../glib/glib/gmain.c:4343
#64 0x00007f3f736eb51c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5653b68bd130, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#65 0x00007f3f7369b404 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd8c295760, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#66 0x00007f3f7369c8a3 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#67 0x00007f3f73b3bef2 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#68 0x00007f3f74376cda in QApplication::exec() () at kernel/qapplication.cpp:2832
#69 0x00005653b4a2d1dc in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/digikam/digikam-8.1.0/core/app/main/main.cpp:478
[Inferior 1 (process 295507) detached]

Reported using DrKonqi
Comment 1 Maik Qualmann 2023-08-29 21:11:41 UTC
Fixed with Bug 473801

Find it strange that lately the distributions deliver Qt with debugging assertions.

Maik