Bug 393897 - Dolphin crashes when it (unsuccessfully) tries to copy a file to an Android phone attached to the USB & the USB is unplugged
Summary: Dolphin crashes when it (unsuccessfully) tries to copy a file to an Android p...
Status: RESOLVED DUPLICATE of bug 384974
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 17.12.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-05-06 07:53 UTC by David Tonhofer
Modified: 2018-05-06 20:45 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 David Tonhofer 2018-05-06 07:53:14 UTC
Application: dolphin (17.12.2)

Qt Version: 5.9.4
Frameworks Version: 5.44.0
Operating System: Linux 4.16.5-200.fc27.x86_64 x86_64
Distribution: "Fedora release 27 (Twenty Seven)"

-- Information about the crash:
Trying to copy a file to Android device

This works sometimes and sometimes you cannot access the device, copying takes forever etc. Then you have to be patient, unplug the device, try again, etc. It seems to work better with camera:// URL than the mtp:// URL. In short, not ready for prime time.

So we are having this case again where the file transfer is in a funk. 20 KiB takes forever.

Time to unplug the USB device.

Dolphin crash.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f962f107940 (LWP 28056))]

Thread 5 (Thread 0x7f95f44ce700 (LWP 28060)):
#0  0x00007f9626a4bc6b in poll () from /lib64/libc.so.6
#1  0x00007f961e357e99 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f961e357fac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f96278a1c4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f962784f96a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f96276a08ca in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f96276a4de2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007f9622ce450b in start_thread () from /lib64/libpthread.so.0
#8  0x00007f9626a5616f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f9604d30700 (LWP 28059)):
#0  0x00007f9622cea82d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9606991f4b in util_queue_thread_func () from /usr/lib64/dri/nouveau_dri.so
#2  0x00007f9606991e67 in impl_thrd_routine () from /usr/lib64/dri/nouveau_dri.so
#3  0x00007f9622ce450b in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9626a5616f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f960dc60700 (LWP 28058)):
#0  0x00007f9626a47738 in read () from /lib64/libc.so.6
#1  0x00007f961e39c0a0 in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00007f961e3579a8 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007f961e357e40 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#4  0x00007f961e357fac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007f96278a1c4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f962784f96a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f96276a08ca in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f962986d449 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#9  0x00007f96276a4de2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007f9622ce450b in start_thread () from /lib64/libpthread.so.0
#11 0x00007f9626a5616f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f960ff98700 (LWP 28057)):
#0  0x00007f9626a4bc6b in poll () from /lib64/libc.so.6
#1  0x00007f961d8c7fe7 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f961d8c9dda in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f96120fabf9 in QXcbEventReader::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f96276a4de2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f9622ce450b in start_thread () from /lib64/libpthread.so.0
#6  0x00007f9626a5616f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f962f107940 (LWP 28056)):
[KCrash Handler]
#6  0x00007f962ad5dd74 in KIO::Slave::deref() () from /lib64/libKF5KIOCore.so.5
#7  0x00007f962ad5e1dd in KIO::Slave::gotInput() () from /lib64/libKF5KIOCore.so.5
#8  0x00007f9627879513 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#9  0x00007f962ad02439 in KIO::ConnectionPrivate::dequeue() [clone .part.12] () from /lib64/libKF5KIOCore.so.5
#10 0x00007f962787a26a in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#11 0x00007f9628b7992c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#12 0x00007f9628b81174 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#13 0x00007f9627850be7 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#14 0x00007f962785336b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#15 0x00007f96278a1e43 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#16 0x00007f961e357b77 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#17 0x00007f961e357f20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#18 0x00007f961e357fac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#19 0x00007f96278a1c2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#20 0x00007f962784f96a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#21 0x00007f9627858094 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#22 0x00007f962ecb8cfa in kdemain () from /lib64/libkdeinit5_dolphin.so
#23 0x00007f9626981f2a in __libc_start_main () from /lib64/libc.so.6
#24 0x0000556f2e13faea in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 384974.

Possible duplicates by query: bug 393652, bug 393526, bug 393500, bug 393136, bug 393128.

Reported using DrKonqi
Comment 1 Julian Steinmann 2018-05-06 09:30:41 UTC
Yeah, MTP support is not great right now. I think this is probably the same cause as in bug 384974, but I do not know a lot about the whole MTP implementation backend so this could easily be wrong.
Comment 2 Elvis Angelaccio 2018-05-06 20:45:40 UTC

*** This bug has been marked as a duplicate of bug 384974 ***