Bug 474810 - Dolphin crashed after rapidly opening different drives
Summary: Dolphin crashed after rapidly opening different drives
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.04.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-09-23 16:57 UTC by dev
Modified: 2024-01-04 03:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dev 2023-09-23 16:57:25 UTC
Application: dolphin (23.04.3)

Qt Version: 5.15.10
Frameworks Version: 5.109.0
Operating System: Linux 6.4.15-200.fc38.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 38 (KDE Plasma)
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
I was rapidly opening different drives inside Dolphin, trying to find my CD-ROM drive, when the program unexpectedly crashed.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f69b1f3347b in QHashData::free_helper(void (*)(QHashData::Node*)) () from /lib64/libQt5Core.so.5
#5  0x00007f69b421e349 in KItemListWidget::setData(QHash<QByteArray, QVariant> const&, QSet<QByteArray> const&) () from /lib64/libdolphinprivate.so.5
#6  0x00007f69b4216274 in KItemListView::updateWidgetProperties(KItemListWidget*, int) () from /lib64/libdolphinprivate.so.5
#7  0x00007f69b4216463 in KItemListView::createWidget(int) () from /lib64/libdolphinprivate.so.5
#8  0x00007f69b4216df2 in KItemListView::doLayout(KItemListView::LayoutAnimationHint, int, int) () from /lib64/libdolphinprivate.so.5
#9  0x00007f69b42195cd in KItemListView::slotItemsInserted(KItemRangeList const&) () from /lib64/libdolphinprivate.so.5
#10 0x00007f69b20e8481 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#11 0x00007f69b41d2fa9 in KItemModelBase::itemsInserted(KItemRangeList const&) () from /lib64/libdolphinprivate.so.5
#12 0x00007f69b41ea703 in KFileItemModel::insertItems(QList<KFileItemModel::ItemData*>&) () from /lib64/libdolphinprivate.so.5
#13 0x00007f69b41ead0e in KFileItemModel::dispatchPendingItemsToInsert() () from /lib64/libdolphinprivate.so.5
#14 0x00007f69b41eadab in KFileItemModel::slotCompleted() () from /lib64/libdolphinprivate.so.5
#15 0x00007f69b20e8481 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#16 0x00007f69b3c9f70c in KCoreDirLister::listingDirCompleted(QUrl const&) () from /lib64/libKF5KIOCore.so.5
#17 0x00007f69b3c96e47 in KCoreDirListerCache::slotResult(KJob*) () from /lib64/libKF5KIOCore.so.5
#18 0x00007f69b20e8481 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#19 0x00007f69b34705f6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
#20 0x00007f69b34764bb in KJob::finishJob(bool) () from /lib64/libKF5CoreAddons.so.5
#21 0x00007f69b20e8481 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#22 0x00007f69b3c4eba8 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib64/libKF5KIOCore.so.5
#23 0x00007f69b3c497eb in KIO::SlaveInterface::dispatch() () from /lib64/libKF5KIOCore.so.5
#24 0x00007f69b3c4c241 in KIO::Slave::gotInput() () from /lib64/libKF5KIOCore.so.5
#25 0x00007f69b20e8481 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#26 0x00007f69b20ded2b in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#27 0x00007f69b2daeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#28 0x00007f69b20b41a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#29 0x00007f69b20b7655 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#30 0x00007f69b2106c5f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#31 0x00007f69aff134fc in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#32 0x00007f69aff716b8 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#33 0x00007f69aff10b83 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#34 0x00007f69b2106749 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#35 0x00007f69b20b2b6b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#36 0x00007f69b20badfb in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#37 0x000055cb3aa8e025 in main ()
[Inferior 1 (process 2849) detached]

Reported using DrKonqi
Comment 1 Akseli Lahtinen 2023-12-05 13:42:41 UTC
Seems the bug appears around kitemlistview.cpp:2126, likely m_model->data(index) was dangling pointer or something.

Can't reproduce on Plasma 6 though. Needs debug symbols.

Can you install debug symbols to dolphin and kio? Then see if you can make the bug appear again.
Comment 2 Bug Janitor Service 2023-12-20 03:45:56 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2024-01-04 03:46:19 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!