Bug 415693 - MTP randomly crashes kdeinit5
Summary: MTP randomly crashes kdeinit5
Status: RESOLVED FIXED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: MTP (show other bugs)
Version: 18.08.3
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-29 22:09 UTC by rusty.robot.g
Modified: 2022-01-06 12:08 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rusty.robot.g 2019-12-29 22:09:07 UTC
SUMMARY


STEPS TO REPRODUCE
1. Connect Android phone, allow data transfer
2. Browse it via Dolphin, copy/paste files

OBSERVED RESULT
Dolphin reports I/O errors, KCrash reports kdeinit5 crash

EXPECTED RESULT
Dolphin works without errors


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
Stack trace:
> Thread 1 (Thread 0x7f3120e77780 (LWP 19606)):
> [KCrash Handler]
> #6  CachedDevice::getDevice (this=0x0) at ./mtp/devicecache.cpp:64
> #7  0x00007f3125608457 in MTPSlave::getPath (this=0x7ffd47af24d0, path=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:115
> #8  0x00007f31256091b9 in MTPSlave::stat (this=0x7ffd47af24d0, url=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:120
> #9  0x00007f3120a7ffd6 in KIO::SlaveBase::dispatch (this=0x7ffd47af24e0, command=69, data=...) at ./src/core/slavebase.cpp:1162
> #10 0x00007f3120a80876 in KIO::SlaveBase::dispatchLoop (this=0x7ffd47af24e0) at ./src/core/slavebase.cpp:325
> #11 0x00007f312560d7fd in kdemain (argc=<optimized out>, argv=<optimized out>) at ./mtp/kio_mtp.cpp:56
> #12 0x000055b59f118e1c in launch (argc=4, _name=0x55b59f280318 "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/mtp.so", args=<optimized out>, cwd=<optimized out>, envc=0, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x55b59f11c187 "0") at ./src/kdeinit/kinit.cpp:706
> #13 0x000055b59f119eea in handle_launcher_request (sock=7, who=<optimized out>) at ./src/kdeinit/kinit.cpp:1146
> #14 0x000055b59f11a8fb in handle_requests (waitForPid=0) at ./src/kdeinit/kinit.cpp:1339
> #15 0x000055b59f115645 in main (argc=1, argv=<optimized out>) at ./src/kdeinit/kinit.cpp:1785
> [Inferior 1 (process 19606) detached]
Comment 1 Bernhard Übelacker 2020-01-09 18:35:46 UTC
This downstream bug report seems related:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920772#20
Comment 2 Harald Sitter 2022-01-06 12:08:43 UTC
Pretty sure this has been fixed long since, the code in question doesn't even exist anymore.