Bug 476578 - digikam crashes when opening 'Tools' menu
Summary: digikam crashes when opening 'Tools' menu
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Engine (show other bugs)
Version: 8.1.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-11-05 10:49 UTC by Karsten de Freese
Modified: 2023-11-06 16:13 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 Karsten de Freese 2023-11-05 10:49:26 UTC
Application: digikam (8.1.0)

Qt Version: 5.15.11
Frameworks Version: 5.111.0
Operating System: Linux 6.5.9-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
- started digikam
- opened 'Tools' menu, no other action yet
- digikam crashed
=> repeated two times with same result, while the check for new items was still running
=> another attempt when the check for new items was already finished did not lead to a crash
Specific system settings: external mariadb, shared with Win10 installation (as per https://mail.kde.org/pipermail/digikam-users/2018-March/026586.html)

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f377ef04e76 in  () at /lib64/libQt5Core.so.5
#5  0x00007f3781921be4 in Digikam::Album::childAtRow(int) const () at /lib64/libdigikamgui.so.8.1.0
#6  0x00007f3781914955 in Digikam::AbstractAlbumModel::index(int, int, QModelIndex const&) const () at /lib64/libdigikamgui.so.8.1.0
#7  0x00007f378193b400 in  () at /lib64/libdigikamgui.so.8.1.0
#8  0x00007f377f1253e3 in  () at /lib64/libQt5Core.so.5
#9  0x00007f377f085ffe in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () at /lib64/libQt5Core.so.5
#10 0x00007f377f08ef4a in QAbstractItemModel::endInsertRows() () at /lib64/libQt5Core.so.5
#11 0x00007f377f0bc595 in  () at /lib64/libQt5Core.so.5
#12 0x00007f377f0c0465 in  () at /lib64/libQt5Core.so.5
#13 0x00007f377f0c36bd in  () at /lib64/libQt5Core.so.5
#14 0x00007f377f1253e3 in  () at /lib64/libQt5Core.so.5
#15 0x00007f377f085ffe in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () at /lib64/libQt5Core.so.5
#16 0x00007f377f08ef4a in QAbstractItemModel::endInsertRows() () at /lib64/libQt5Core.so.5
#17 0x00007f37819101e5 in Digikam::AbstractAlbumModel::slotAlbumAdded(Digikam::Album*) () at /lib64/libdigikamgui.so.8.1.0
#18 0x00007f377f125442 in  () at /lib64/libQt5Core.so.5
#19 0x00007f3781918052 in Digikam::AlbumManager::signalAlbumAdded(Digikam::Album*) () at /lib64/libdigikamgui.so.8.1.0
#20 0x00007f378194ec4a in Digikam::AlbumManager::scanPAlbums() () at /lib64/libdigikamgui.so.8.1.0
#21 0x00007f377f1253e3 in  () at /lib64/libQt5Core.so.5
#22 0x00007f377f12921a in QTimer::timeout(QTimer::QPrivateSignal) () at /lib64/libQt5Core.so.5
#23 0x00007f377f118e5b in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#24 0x00007f377fda519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#25 0x00007f377f0ed198 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#26 0x00007f377f1454c9 in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#27 0x00007f377f145d74 in  () at /lib64/libQt5Core.so.5
#28 0x00007f3771913f30 in  () at /lib64/libglib-2.0.so.0
#29 0x00007f3771915b58 in  () at /lib64/libglib-2.0.so.0
#30 0x00007f377191620c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#31 0x00007f377f1460d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#32 0x00007f377f0ebc2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#33 0x00007f377ffadc67 in QDialog::exec() () at /lib64/libQt5Widgets.so.5
#34 0x00007f378182f7c1 in Digikam::DigikamApp::slotMaintenance() () at /lib64/libdigikamgui.so.8.1.0
#35 0x00007f377f1253e3 in  () at /lib64/libQt5Core.so.5
#36 0x00007f377fd9e8b2 in QAction::triggered(bool) () at /lib64/libQt5Widgets.so.5
#37 0x00007f377fda142f in QAction::activate(QAction::ActionEvent) () at /lib64/libQt5Widgets.so.5
#38 0x00007f377ff25f02 in  () at /lib64/libQt5Widgets.so.5
#39 0x00007f377ff2dd33 in  () at /lib64/libQt5Widgets.so.5
#40 0x00007f377fde6d58 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#41 0x00007f377fda519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#42 0x00007f377fdad5cf in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#43 0x00007f377f0ed198 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#44 0x00007f377fdab92e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib64/libQt5Widgets.so.5
#45 0x00007f377fe002ba in  () at /lib64/libQt5Widgets.so.5
#46 0x00007f377fe02d0f in  () at /lib64/libQt5Widgets.so.5
#47 0x00007f377fda519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#48 0x00007f377f0ed198 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#49 0x00007f377f57d0db in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#50 0x00007f377f55038c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#51 0x00007f374b0f854a in  () at /lib64/libQt5XcbQpa.so.5
#52 0x00007f3771913f30 in  () at /lib64/libglib-2.0.so.0
#53 0x00007f3771915b58 in  () at /lib64/libglib-2.0.so.0
#54 0x00007f377191620c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#55 0x00007f377f1460d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#56 0x00007f377f0ebc2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#57 0x00007f37818d562c in Digikam::ScanController::completeCollectionScanCore(bool, bool, bool) () at /lib64/libdigikamgui.so.8.1.0
#58 0x00007f37819f395f in Digikam::NewItemsFinder::slotStart() () at /lib64/libdigikamgui.so.8.1.0
#59 0x00007f377f118f50 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#60 0x00007f377fda519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#61 0x00007f377f0ed198 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#62 0x00007f377f0f0791 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#63 0x00007f377f1468c3 in  () at /lib64/libQt5Core.so.5
#64 0x00007f3771913f30 in  () at /lib64/libglib-2.0.so.0
#65 0x00007f3771915b58 in  () at /lib64/libglib-2.0.so.0
#66 0x00007f377191620c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#67 0x00007f377f1460d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#68 0x00007f377f0ebc2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#69 0x00007f377f0f40c0 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#70 0x000055d5b7803a37 in  ()
#71 0x00007f377e6281b0 in __libc_start_call_main () at /lib64/libc.so.6
#72 0x00007f377e628279 in __libc_start_main_impl () at /lib64/libc.so.6
#73 0x000055d5b78049d5 in  ()
[Inferior 1 (process 2728) detached]

Reported using DrKonqi
Comment 1 caulier.gilles 2023-11-05 11:17:32 UTC
Hi,

Sound like a broken binary compatibility.

Can you reprodduce the crash with the 8.2.0 pre-release appimage bundle for Linux available here :

https://files.kde.org/digikam/

How to use AppImage: https://docs.digikam.org/fr/getting_started/installation.html#digikam-on-linux

Gilles Caulier
Comment 2 Maik Qualmann 2023-11-05 19:01:35 UTC
This problem is fixed in digiKam-8.2.0 with bug 473801, it has nothing to do with the Tools menu. New albums are added in the background.

Maik
Comment 3 Karsten de Freese 2023-11-06 16:13:49 UTC
the 8.2.0 AppImage seems to work fine so far. I'll wait for the official release to update my installations (Linux and Win10), to avoid database incompatibilities between the versions.