Bug 435839 - Dolphin crashed after selecting files on Android over mtp
Summary: Dolphin crashed after selecting files on Android over mtp
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.12.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-04-17 10:01 UTC by skierpage
Modified: 2024-01-07 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 skierpage 2021-04-17 10:01:20 UTC
Application: dolphin (20.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.11.12-200.fc33.x86_64 x86_64
Windowing system: X11
Distribution: "Fedora release 33 (Thirty Three)"

-- Information about the crash:
I was trying to get files off my phone. KDE Connect didn't work, so I plugged it in over USB, made it available for file transfer, clicked the Mount icon in the device notifier, and opened Dolphin. I was able to browse my phone's files! Then I selected three images in Dolphin. I wanted to copy them but the context menu didn't have this, then I clicked Dolphin's [Split] button and nothing happened and then about 20 seconds of inactivity later... crash.

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

[KCrash Handler]
#4  0x000056156a26b048 in ?? ()
#5  0x00007f9593d7a9a2 in KFileItemModel::fileItem(int) const () from /lib64/libdolphinprivate.so.5
#6  0x00007f9593de0eb3 in DolphinView::calculateItemCount(int&, int&, unsigned long long&) const () from /lib64/libdolphinprivate.so.5
#7  0x00007f9593dd7437 in DolphinView::statusBarText() const () from /lib64/libdolphinprivate.so.5
#8  0x00007f9594070a9e in DolphinViewContainer::updateStatusBar() () from /lib64/libkdeinit5_dolphin.so
#9  0x00007f9591f50386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#10 0x00007f9593de149d in DolphinView::slotDirectoryLoadingCompleted() () from /lib64/libdolphinprivate.so.5
#11 0x00007f9591f50386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#12 0x00007f9591f50386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#13 0x00007f95938610f9 in KCoreDirLister::completed(QUrl const&) () from /lib64/libKF5KIOCore.so.5
#14 0x00007f959385cfeb in KCoreDirListerCache::emitItemsFromCache(KCoreDirListerPrivate::CachedItemsJob*, KCoreDirLister*, QUrl const&, bool, bool) () from /lib64/libKF5KIOCore.so.5
#15 0x00007f9593861874 in KCoreDirListerPrivate::CachedItemsJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libKF5KIOCore.so.5
#16 0x00007f9591f48d1e in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007f9592a79ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007f9591f20bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007f9591f238c7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#20 0x00007f9591f6dc27 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#21 0x00007f958fec8a9f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#22 0x00007f958ff1aa98 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#23 0x00007f958fec5e73 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#24 0x00007f9591f6d6f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#25 0x00007f9591f1f57b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#26 0x00007f9591f271b4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#27 0x00007f9594060d5e in kdemain () from /lib64/libkdeinit5_dolphin.so
#28 0x00007f9593e661e2 in __libc_start_main () from /lib64/libc.so.6
#29 0x00005615677be0ae in _start ()
[Inferior 1 (process 54736) detached]

Possible duplicates by query: bug 434860, bug 433218, bug 431277, bug 430773, bug 295044.

Reported using DrKonqi
Comment 1 skierpage 2021-04-17 10:16:50 UTC
I retried and repeated the steps up to selecting images, but this time I first split Dolphin. I was able to drag the files from Android to a local folder, and that worked fine.

Trying to reproduce the failure, I once again selected the images and right-clicked to bring up the context menu. I realize that takes a loonngg time, (over a minute), during which Dolphin is largely unresponsive. Finally I got a context menu but Dolphin thought I was trying to delete the files; on another attempt it opened an unrelated pdf, but neither time crashed. So maybe the crash happened because the context menu is so sluggish to open that Dolphin falls behind on input and/or attempts unrelated actions in delayed inputs. This is in my Android Download folder which has about 100 files in it.

I tried selecting about 16 files in Android Download folder over mtp in Dolphin and it seemed to work. But again when I right-clicked the context menu didn't appear and when I closed Dolphin Plasma notified that the window was taking a long time, I chose wait, and then Dolphin crashed again.
Comment 2 Akseli Lahtinen 2023-12-08 09:09:00 UTC
Can't reproduce on Plasma 6.

Have you been able to reproduce this on newer version of Dolphin? Please install debug symbols to Dolphin, KIO and KIO-Extras and send a backtrace if it still crashes. Thank you!
Comment 3 Bug Janitor Service 2023-12-23 03:46:11 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 4 Bug Janitor Service 2024-01-07 03:46:14 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!