Bug 382847 - listing desktop:// in kio_desktop crashes
Summary: listing desktop:// in kio_desktop crashes
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-07-28 09:46 UTC by Aaron J. Seigo
Modified: 2018-07-07 15:50 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 Aaron J. Seigo 2017-07-28 09:46:18 UTC
Application: dolphin (17.11.70)
 (Compiled from sources)
Qt Version: 5.9.2
Frameworks Version: 5.37.0
Operating System: Linux 3.10.0-514.26.2.el7.x86_64 x86_64

-- Information about the crash:
- What I was doing when the application crashed:

Opening desktop:/ in dolphin, or for that matter in a folderview in plamashell, results in a crash. I am seeing this message quite often as well:

kf5.kio.core: UDSEntry for '.' not found, creating a default one. Please fix the "kio_desktop" KIO slave

I am also seeing this on the http ioslave as well though, sooo. ..

Interestingly, `kioclient5 ls desktop:/` lists the contents of the desktop folder just fine. Seems to be limited to graphical applications, even if launched from the same terminal shell that kioclient5 is run from.

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7fea33866700 (LWP 23557)):
#0  0x00007fea4431ee2d in poll () from /lib64/libc.so.6
#1  0x00007fea40d41262 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007fea40d42f6f in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007fea35843199 in ?? () from /usr/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#4  0x00007fea44ec1c1d in ?? () from /lib/libQt5Core.so.5
#5  0x00007fea41848dc5 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fea4432976d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fea31dba700 (LWP 23558)):
#0  0x00007fea4431ee2d in poll () from /lib64/libc.so.6
#1  0x00007fea4022b04c in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#2  0x00007fea4022b16c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fea450d426b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#4  0x00007fea45081d1b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#5  0x00007fea44ebd4fa in QThread::exec() () from /lib/libQt5Core.so.5
#6  0x00007fea4c7364c5 in ?? () from /lib/libQt5DBus.so.5
#7  0x00007fea44ec1c1d in ?? () from /lib/libQt5Core.so.5
#8  0x00007fea41848dc5 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fea4432976d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fea29129700 (LWP 23559)):
#0  0x00007fea4431ac4d in read () from /lib64/libc.so.6
#1  0x00007fea4026c5d0 in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00007fea4022ab99 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007fea4022afd0 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#4  0x00007fea4022b16c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007fea450d426b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#6  0x00007fea45081d1b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#7  0x00007fea44ebd4fa in QThread::exec() () from /lib/libQt5Core.so.5
#8  0x00007fea44ec1c1d in ?? () from /lib/libQt5Core.so.5
#9  0x00007fea41848dc5 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fea4432976d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fea3be2c900 (LWP 23556)):
[KCrash Handler]
#6  0x00007fea442671d7 in raise () from /lib64/libc.so.6
#7  0x00007fea442688c8 in abort () from /lib64/libc.so.6
#8  0x00007fea44eadb9e in QMessageLogger::fatal(char const*, ...) const () from /lib/libQt5Core.so.5
#9  0x00007fea44ea9176 in qt_assert(char const*, char const*, int) () from /lib/libQt5Core.so.5
#10 0x00007fea495eb43e in KCoreDirListerCache::slotEntries (this=0x7fea498a0b60 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, job=0x1a9e200, entries=...) at /home/aseigo/src/kde/frameworks/kio/src/core/kcoredirlister.cpp:1239
#11 0x00007fea495f760b in KCoreDirListerCache::qt_static_metacall (_o=0x7fea498a0b60 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffea98540c0) at /home/aseigo/src/kde/build/frameworks/kio/src/core/KF5KIOCore_autogen/include/moc_kcoredirlister_p.cpp:135
#12 0x00007fea450acedf in QMetaObject::activate(QObject*, int, int, void**) () from /lib/libQt5Core.so.5
#13 0x00007fea495a1d3f in KIO::ListJob::entries (this=0x1a9e200, _t1=0x1a9e200, _t2=...) at /home/aseigo/src/kde/build/frameworks/kio/src/core/KF5KIOCore_autogen/include/moc_listjob.cpp:267
#14 0x00007fea495a09cf in KIO::ListJobPrivate::slotListEntries (this=0x1ac3980, list=...) at /home/aseigo/src/kde/frameworks/kio/src/core/listjob.cpp:151
#15 0x00007fea495a1861 in KIO::ListJob::qt_static_metacall (_o=0x1a9e200, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffea98545b0) at /home/aseigo/src/kde/build/frameworks/kio/src/core/KF5KIOCore_autogen/include/moc_listjob.cpp:132
#16 0x00007fea450acedf in QMetaObject::activate(QObject*, int, int, void**) () from /lib/libQt5Core.so.5
#17 0x00007fea4958dc71 in KIO::SlaveInterface::listEntries (this=0x1608970, _t1=...) at /home/aseigo/src/kde/build/frameworks/kio/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:440
#18 0x00007fea4958bca4 in KIO::SlaveInterface::dispatch (this=0x1608970, _cmd=106, rawdata=...) at /home/aseigo/src/kde/frameworks/kio/src/core/slaveinterface.cpp:177
#19 0x00007fea4958b842 in KIO::SlaveInterface::dispatch (this=0x1608970) at /home/aseigo/src/kde/frameworks/kio/src/core/slaveinterface.cpp:89
#20 0x00007fea4958fa9b in KIO::Slave::gotInput (this=0x1608970) at /home/aseigo/src/kde/frameworks/kio/src/core/slave.cpp:399
#21 0x00007fea4961e557 in KIO::Slave::qt_static_metacall (_o=0x1608970, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffea98549c0) at /home/aseigo/src/kde/build/frameworks/kio/src/core/KF5KIOCore_autogen/EWIEGA46WW/moc_slave.cpp:89
#22 0x00007fea450acedf in QMetaObject::activate(QObject*, int, int, void**) () from /lib/libQt5Core.so.5
#23 0x00007fea4953560d in KIO::Connection::readyRead (this=0x1b60710) at /home/aseigo/src/kde/build/frameworks/kio/src/core/KF5KIOCore_autogen/include/moc_connection_p.cpp:144
#24 0x00007fea49534283 in KIO::ConnectionPrivate::dequeue (this=0x1b60ec0) at /home/aseigo/src/kde/frameworks/kio/src/core/connection.cpp:46
#25 0x00007fea4953543b in KIO::Connection::qt_static_metacall (_o=0x1b60710, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x1b5ff90) at /home/aseigo/src/kde/build/frameworks/kio/src/core/KF5KIOCore_autogen/include/moc_connection_p.cpp:87
#26 0x00007fea450ae826 in QObject::event(QEvent*) () from /lib/libQt5Core.so.5
#27 0x00007fea46319afc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/libQt5Widgets.so.5
#28 0x00007fea46320840 in QApplication::notify(QObject*, QEvent*) () from /lib/libQt5Widgets.so.5
#29 0x00007fea45083a25 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/libQt5Core.so.5
#30 0x00007fea45086003 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/libQt5Core.so.5
#31 0x00007fea450d4a23 in ?? () from /lib/libQt5Core.so.5
#32 0x00007fea4022ad7a in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#33 0x00007fea4022b0b8 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#34 0x00007fea4022b16c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#35 0x00007fea450d424c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#36 0x00007fea45081d1b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#37 0x00007fea4508a2e4 in QCoreApplication::exec() () from /lib/libQt5Core.so.5
#38 0x00007fea4c2e423b in kdemain () from /lib64/libkdeinit5_dolphin.so
#39 0x0000000000400baf in main ()

Reported using DrKonqi
Comment 1 Elvis Angelaccio 2017-07-28 09:53:05 UTC
This is probably https://phabricator.kde.org/D6906#129675
Comment 2 Julian Steinmann 2018-05-23 10:25:03 UTC
The commit mentioned in comment 1 has since been reverted. @Aaron, could you please update your system & try this again? Thanks!
Comment 3 Julian Steinmann 2018-06-09 14:51:54 UTC
It'd be great if we knew the status of this ticket. Aaron, have you been able to update your system & test this again?
Comment 4 Julian Steinmann 2018-06-23 08:48:14 UTC
If we do not get a response in the next two weeks, I'll assume that this is indeed caused by this flawed commit and is therefore already fixed in a newer version of Dolphin.
Comment 5 Julian Steinmann 2018-07-07 15:50:17 UTC
No response -> closing. Probably fixed through reverting the commit mentioned in comment 1.