Summary: | Dolphin is very slow to start, it lags many seconds before open | ||
---|---|---|---|
Product: | [Unmaintained] solid | Reporter: | Xelis <xiam> |
Component: | general | Assignee: | Lukáš Tinkl <lukas> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | antonio.guadagnin, cloutier.jo, flyser42, frank78ac, idebal, josh+tech, marc.collin, Ondrej.Machulda, oracle2b |
Priority: | NOR | ||
Version: | 4.10.5 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | The archive contains the output of "strace dophin" command |
Description
Xelis
2011-09-30 10:04:49 UTC
it occurs to me too. I'm on precise with kde 4.8 rc1 and dolphin starting is inexplicable slow. It aparently does nothing, the hard disk doesn't load but dolphin start with a couple of second of lag. I've 2 hard disk with 6 and 8 partitions respectively on them and I suspect is this the culprit, the time needed to have answers from the hdds at start. Tried a live kubuntu precise cd on a laptop with only 1 hd and 3 partitions and dolphin open fast. It's a network related problem but I don't understand why it happens. Try to disconnect from network and check if it occours. thanx for your reply, guys. I've tried with my network disconnected (cable unplugged from the computer) but I'd say there's no difference, it's still lagging a lot. As shimon pointed out it seems related to the number of partitions dolphin has to read when it opens, I've a lot of them on my system. I reproduced his example, an ubuntu live cd, oneiric, on a pc with only one hard disk and there dolphin opens very quickly (though not as fast as in kde 4.5). I must add I'm now on ubuntu development branch (precise) with kde 4.8 rc2 and here dolphin seems faster again, almost the same responsiveness it used to have in kde 4.5, and again network enabled or disabled seems to have no effects at all. Created attachment 67773 [details]
The archive contains the output of "strace dophin" command
I added a strace dolphin output, hope it can help
Does the problem also occur if you hide the "Places Panel" (F9) on the left? (In reply to comment #5) > Does the problem also occur if you hide the "Places Panel" (F9) on the left? yes, the responsivness doesn't change if the "Places Panel" is closed and dolphin restarted. The same occurs in Gwenview opening it via double click on an image, there is no difference if sidebar with folder browser is hidden or showed, it lags. Kate speed, otherwise, is effected by "Browser filesystem" extension: if it is enabled Kate lags at start, if it's disabled Kate regains its speed. But I'm now on KDE 4.8 RC2 and something seems to be happened between 4.8 RC1 and 4.8 RC2 because now dolphin, gwenview and kate with that extension enabled are way faster than before (faster than in KDE 4.6, 4.7 and 4.8 until RC1). KDE 4.5, though, was the fastest of them, I still have Kubuntu Maverick installed on a partition (with KDE upgraded by Kubuntu PPA to the 4.5 version) and there Dolphin is blazingly fast, it opens almost instantly after the mouse click, the same happens for gwenview. I have seen a similar report in a forum and it was solved by downgrading xorg-server. maybe this is not a dolphin/gwenview but after all? Is the rest of the system responsive while dolphin is starting? can you move the mouse cursor smoothly or type in another window? Hi Fabian, I tested Ubuntu with the same X server version and nautilus opens immediately after the click, dolphin and gwenview still lag. As said previously it's now (4.8.2) way better than before but still, it's not as fast as it was until kde 4.5. Dolphin takes 4-6 seconds to launch compared to windows explorer "1 second" launch time! I hope this gets resolved.. despite the launch lag, Dolphin still remains the #1 File manager in my opinion. I'm using Kubuntu 12.04 with KDE 4.8.3. Resetting assignee to default as per bug #305719 If this also affects Gwenview, it is probably not a Dolphin bug. Could anyone who can reproduce this try to run Dolphin in gdb and obtain a backtrace while it locks? ("gdb dolphin", then "run", when it locks, press Ctrl+Z, then "bt"). when i start it from a console mode: "/org/freedesktop/UDisks2/drives/MATSHITADVD_RAM_UJ8B2_HM33_008954" : property "Drive" does not exist "/org/freedesktop/UDisks2/drives/PLEXTOR_PX_128M5M_P02310102061" : property "Drive" does not exist "/org/freedesktop/UDisks2/drives/Samsung_SSD_840_PRO_Series_S12RNEACC41938F" : property "Drive" does not exist "/org/freedesktop/UDisks2/block_devices/dm_2d0" : property "Name" does not exist "/" : property "DeviceNumber" does not exist "/" : property "Device" does not exist "/" : property "MediaCompatibility" does not exist "/" : property "MediaRemovable" does not exist "/" : property "Removable" does not exist "/" : property "ConnectionBus" does not exist dolphin(5771) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf Loaded services file OK. ERROR: pid directory /var/run/samba does not exist that took like 15 seconds to start with kde 4.10 I'll close this for the time being because there is no way to know what the problem is until we have a backtrace that tells us where the freeze occurs (see comment 11). It's most likely not a Dolphin isse though. Comment 12 indicates that it might have something to do with Solid/UDisks2, which seems plausible. Thanks for your help. The same symptoms are affecting me right now - it tooks over 10 secs for both dolphin and gwenview to start. I recently update both KDE (now 4.10.5) and xorg-server (1.14.2-2) so it may be related... It is also worth noting I have CIFS share in fstab and it is shown in the KDE places panel. Gdb from dolphin lock: 0xb7fdd424 in __kernel_vsyscall () (gdb) bt #0 0xb7fdd424 in __kernel_vsyscall () #1 0xb7e4c87b in poll () from /usr/lib/libc.so.6 #2 0xb50f17eb in ?? () from /usr/lib/libdbus-1.so.3 #3 0xb50ea75d in ?? () from /usr/lib/libdbus-1.so.3 #4 0xb50e93a9 in ?? () from /usr/lib/libdbus-1.so.3 #5 0xb50d0e14 in ?? () from /usr/lib/libdbus-1.so.3 #6 0xb50d1836 in ?? () from /usr/lib/libdbus-1.so.3 #7 0xb50e2c5f in dbus_pending_call_block () from /usr/lib/libdbus-1.so.3 #8 0xb50d1e45 in dbus_connection_send_with_reply_and_block () from /usr/lib/libdbus-1.so.3 #9 0xb5f33cbd in ?? () from /usr/lib/libQtDBus.so.4 #10 0xb5f35bf9 in ?? () from /usr/lib/libQtDBus.so.4 #11 0xb5f41f97 in ?? () from /usr/lib/libQtDBus.so.4 #12 0xb5f420db in QDBusInterface::QDBusInterface(QString const&, QString const&, QString const&, QDBusConnection const&, QObject*) () from /usr/lib/libQtDBus.so.4 #13 0xb7a5be92 in ?? () from /usr/lib/libsolid.so.4 #14 0xb7a01758 in ?? () from /usr/lib/libsolid.so.4 #15 0xb7a0320c in ?? () from /usr/lib/libsolid.so.4 #16 0xb7a033ae in ?? () from /usr/lib/libsolid.so.4 #17 0xb7a034b8 in Solid::DeviceNotifier::instance() () from /usr/lib/libsolid.so.4 #18 0xb7a01a3f in Solid::Device::Device(QString const&) () from /usr/lib/libsolid.so.4 #19 0xb7d21d2a in ?? () from /usr/lib/libkfile.so.4 #20 0xb7d24b8f in KFilePlacesModel::Private::loadBookmarkList() () from /usr/lib/libkfile.so.4 #21 0xb7d24d69 in KFilePlacesModel::Private::_k_reloadBookmarks() () from /usr/lib/libkfile.so.4 #22 0xb7d25b33 in KFilePlacesModel::KFilePlacesModel(QObject*) () from /usr/lib/libkfile.so.4 #23 0xb7f517de in ?? () from /usr/lib/libkdeinit4_dolphin.so #24 0xb7f412e8 in ?? () from /usr/lib/libkdeinit4_dolphin.so #25 0xb7f4e926 in ?? () from /usr/lib/libkdeinit4_dolphin.so #26 0xb7f3e9a4 in ?? () from /usr/lib/libkdeinit4_dolphin.so #27 0xb7f58221 in kdemain () from /usr/lib/libkdeinit4_dolphin.so #28 0x0804855b in ?? () #29 0xb7d857c3 in __libc_start_main () from /usr/lib/libc.so.6 #30 0x08048581 in _start () From gwenview: 0xb7fdd424 in __kernel_vsyscall () (gdb) bt #0 0xb7fdd424 in __kernel_vsyscall () #1 0xb63e987b in poll () from /usr/lib/libc.so.6 #2 0xb4e597eb in ?? () from /usr/lib/libdbus-1.so.3 #3 0xb4e5275d in ?? () from /usr/lib/libdbus-1.so.3 #4 0xb4e513a9 in ?? () from /usr/lib/libdbus-1.so.3 #5 0xb4e38e14 in ?? () from /usr/lib/libdbus-1.so.3 #6 0xb4e39836 in ?? () from /usr/lib/libdbus-1.so.3 #7 0xb4e4ac5f in dbus_pending_call_block () from /usr/lib/libdbus-1.so.3 #8 0xb4e39e45 in dbus_connection_send_with_reply_and_block () from /usr/lib/libdbus-1.so.3 #9 0xb5943cbd in ?? () from /usr/lib/libQtDBus.so.4 #10 0xb5945bf9 in ?? () from /usr/lib/libQtDBus.so.4 #11 0xb5951f97 in ?? () from /usr/lib/libQtDBus.so.4 #12 0xb59520db in QDBusInterface::QDBusInterface(QString const&, QString const&, QString const&, QDBusConnection const&, QObject*) () from /usr/lib/libQtDBus.so.4 #13 0xb629ee92 in ?? () from /usr/lib/libsolid.so.4 #14 0xb6244758 in ?? () from /usr/lib/libsolid.so.4 #15 0xb624620c in ?? () from /usr/lib/libsolid.so.4 #16 0xb62463ae in ?? () from /usr/lib/libsolid.so.4 #17 0xb62464b8 in Solid::DeviceNotifier::instance() () from /usr/lib/libsolid.so.4 #18 0xb6244a3f in Solid::Device::Device(QString const&) () from /usr/lib/libsolid.so.4 #19 0xb7f63d2a in ?? () from /usr/lib/libkfile.so.4 #20 0xb7f66b8f in KFilePlacesModel::Private::loadBookmarkList() () from /usr/lib/libkfile.so.4 #21 0xb7f66d69 in KFilePlacesModel::Private::_k_reloadBookmarks() () from /usr/lib/libkfile.so.4 #22 0xb7f67b33 in KFilePlacesModel::KFilePlacesModel(QObject*) () from /usr/lib/libkfile.so.4 #23 0x0809fba3 in _start () Similary Konqueror - it starts OK, but when I open the "Places" sidebar, it freezes for 10 secs. The gdb from the lock: 0xb7fdd424 in __kernel_vsyscall () (gdb) bt #0 0xb7fdd424 in __kernel_vsyscall () #1 0xb7e0587b in poll () from /usr/lib/libc.so.6 #2 0xb58877eb in ?? () from /usr/lib/libdbus-1.so.3 #3 0xb588075d in ?? () from /usr/lib/libdbus-1.so.3 #4 0xb587f3a9 in ?? () from /usr/lib/libdbus-1.so.3 #5 0xb5866e14 in ?? () from /usr/lib/libdbus-1.so.3 #6 0xb5867836 in ?? () from /usr/lib/libdbus-1.so.3 #7 0xb5878c5f in dbus_pending_call_block () from /usr/lib/libdbus-1.so.3 #8 0xb5867e45 in dbus_connection_send_with_reply_and_block () from /usr/lib/libdbus-1.so.3 #9 0xb62b7cbd in ?? () from /usr/lib/libQtDBus.so.4 #10 0xb62b9bf9 in ?? () from /usr/lib/libQtDBus.so.4 #11 0xb62c5f97 in ?? () from /usr/lib/libQtDBus.so.4 #12 0xb62c60db in QDBusInterface::QDBusInterface(QString const&, QString const&, QString const&, QDBusConnection const&, QObject*) () from /usr/lib/libQtDBus.so.4 #13 0xb5fcde92 in ?? () from /usr/lib/libsolid.so.4 #14 0xb5f73758 in ?? () from /usr/lib/libsolid.so.4 #15 0xb5f7520c in ?? () from /usr/lib/libsolid.so.4 #16 0xb5f753ae in ?? () from /usr/lib/libsolid.so.4 #17 0xb5f754b8 in Solid::DeviceNotifier::instance() () from /usr/lib/libsolid.so.4 #18 0xb5f73a3f in Solid::Device::Device(QString const&) () from /usr/lib/libsolid.so.4 #19 0xb7c05d2a in ?? () from /usr/lib/libkfile.so.4 #20 0xb7c08b8f in KFilePlacesModel::Private::loadBookmarkList() () from /usr/lib/libkfile.so.4 #21 0xb7c08d69 in KFilePlacesModel::Private::_k_reloadBookmarks() () from /usr/lib/libkfile.so.4 #22 0xb7c09b33 in KFilePlacesModel::KFilePlacesModel(QObject*) () from /usr/lib/libkfile.so.4 #23 0xb16b8ee0 in ?? () from /usr/lib/kde4/konqsidebar_places.so #24 0xb16b9cce in ?? () from /usr/lib/kde4/konqsidebar_places.so #25 0xb16d181a in ?? () from /usr/lib/kde4/konq_sidebar.so #26 0xb16d18a1 in ?? () from /usr/lib/kde4/konq_sidebar.so #27 0xb16d1b11 in ?? () from /usr/lib/kde4/konq_sidebar.so #28 0xb16d46fd in ?? () from /usr/lib/kde4/konq_sidebar.so #29 0xb16d57f0 in ?? () from /usr/lib/kde4/konq_sidebar.so #30 0xb649786a in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4 #31 0xb649f6bb in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #32 0xb6a41412 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #33 0xb69e79a4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #34 0xb69ee3b3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #35 0xb753ecb4 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #36 0xb648645a in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 This is really annoying bug - it is making my system really difficult to use :-(. If I can provide any cooperation hunting the bug, let my know. The backtrace shows that it's a Solid issue, so I'll reassign (note that installing kdelibs debugging packages might make your backtraces more useful). It looks like it's waiting for a response to a synchronous D-Bus call. Not sure if anything can be about this easily in KDE 4.x (AFAIK, Solid will be completely asynchronous in the KDE 5/Frameworks era). *** Bug 323094 has been marked as a duplicate of this bug. *** I could reproduce today after updating udev/systemd to latest openSUSE Factory version (206 something). The issue was upower not running correctly. Going back to stable (195) resolved the issue. Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Please try again with the latest version and submit a new bug to frameworks-solid if your issue persists. Thank you! |