[karmic] plasma panel freezes for a few seconds when opening a usb drive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE Base |
Invalid
|
High
|
|||
kdebase-workspace (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: plasma-
I have a 320 GB USB drive which has about 200 GB data.
When I mount my drive, either clicking on Device Notifier applet or by dolphin Places, plasma panel freezes for a few seconds, ie until the drive is opened in dolphin it freezes the panel and everything goes back to normal once dolphin opens the drive.
Its the same if I mount manually using mount command. Plasma freezes for a few seconds, during which
1. system tray works.
2. no other applets in plasma works - eg, desktop switcher, task manager, notifiactions
3. alt-tab switching of applications work.
I believe its not related to device notifier.
I removed Device Notifier. Mounted from konsole. After 2 seconds it freezes the plasma panel. I dont even have any dolphin or anything running. But the device is properly mounted. I opened a movie in the drive with mplayer when the plasma panel was in a frozen state.
So my guess some process related to plasma is reading something from the device which freezes it.
In KDE Bug Tracking System #184062, Exabyte-g (exabyte-g) wrote : | #9 |
In KDE Bug Tracking System #184062, Francis-mestdagh (francis-mestdagh) wrote : | #10 |
*** Bug 185552 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #184062, Jirik-0 (jirik-0) wrote : | #11 |
I am confirming this. It is really annoying. This should not happen. KDE components should not have dependency on components like NFS.
Can someone please fix it urgently.
Environment:
Debian Unstable, KDE 4.2.2
Problem:
When NFS mounted and unplug cable plasma process reports "disk sleep". Any part of Plasma is not responsive.
In KDE Bug Tracking System #184062, Arkadi-shishlov (arkadi-shishlov) wrote : | #12 |
Same with CIFS mounts on Fedora:
Plasma freezes when network mount is unavailable
https:/
In KDE Bug Tracking System #184062, Dario Andres (andresbajotierra) wrote : | #13 |
Have you tried removing the Kickoff menu and reproduce the NFS disconnection to test if it is indeed related to Kickoff or to another component? (I'm also thinking about the Device Manager; or the base lib for this: Solid)
Thanks
In KDE Bug Tracking System #184062, Jirik-0 (jirik-0) wrote : | #14 |
If you umount the NFS export (umount /mnt/data -l) then everything becomes responsive again in about 1 minute.
In KDE Bug Tracking System #184062, Exabyte-g (exabyte-g) wrote : | #15 |
(In reply to comment #4)
> Have you tried removing the Kickoff menu and reproduce the NFS disconnection to
> test if it is indeed related to Kickoff or to another component? (I'm also
> thinking about the Device Manager; or the base lib for this: Solid)
> Thanks
Yes, when there is no Kickoff menu the NFS disconnection doesn't lead to Plasma hang. There was some strange behaviour in some gadgets and apps, but I can't recall what it was, but the behaviour described in the report happens due to Kickoff. I don't claim that the root cause is Kickoff's code, though. But the "Computer" section in the menu is what most probably triggers it.
To be clear what I mean by "some strange behaviour" above: Trying to open a folder containing a disconnected NFS mount with Dolphin is an example. Dolphin is responsive, but huge part of the files and folders in the folder simply aren't shown until NFS comes back.
In KDE Bug Tracking System #184062, Dario Andres (andresbajotierra) wrote : | #16 |
Thanks for the tests.
In KDE Bug Tracking System #184062, Michal Witkowski (neuro-o2) wrote : | #17 |
Yes i can confirm the same behaviour with Arch Linux KDE 4.2.4.
I've got two NFS shares mounted upon connecting to my home wireless server. Whenever I turn my wifi-switch off, plasma hangs. This doesn't happen when NFS shares are unmounted.
I've also tested the case with a cable connection. Same story: when NFS shares are mounted, unplugging the cable causes plasma to freeze. With no NFS shares, everything works alright.
summary: |
- plasma panel freezes for a few seconds when opening a usb drrive + [karmic] plasma panel freezes for a few seconds when opening a usb drive |
15 comments hidden Loading more comments | view all 112 comments |
Jithin Emmanuel (jithin1987) wrote : | #1 |
One side effect of this bug is any notifications which appear during that time,
like a chat message received in kopete during this time stays in notification
area itself.
Jonathan Thomas (echidnaman) wrote : | #2 |
Does this also freeze the mouse and other applications, or is it just Plasma that freezes?
Jithin Emmanuel (jithin1987) wrote : | #3 |
Only for plasma panel. Rest all works. Even system tray except notifications.
14 comments hidden Loading more comments | view all 112 comments |
In KDE Bug Tracking System #184062, Dario Andres (andresbajotierra) wrote : | #18 |
*** Bug 202242 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #184062, aseigo (aseigo) wrote : | #19 |
*** Bug 201897 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #184062, Dario Andres (andresbajotierra) wrote : | #20 |
*** Bug 202271 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #184062, Michal Witkowski (neuro-o2) wrote : | #21 |
The bug is very much alive in KDE 4.3.0.
In can be reproduces exactly as before (see comment #8).
16 comments hidden Loading more comments | view all 112 comments |
Jithin Emmanuel (jithin1987) wrote : | #4 |
upstream bug
https:/
17 comments hidden Loading more comments | view all 112 comments |
In KDE Bug Tracking System #184062, Jithin Emmanuel (jithin1987) wrote : | #22 |
Why is this bug still unconfirmed? I am having this issue every time I plug my usb drive.
In KDE Bug Tracking System #184062, giaso (giaso) wrote : | #23 |
I can confirm the bug is still alive in KDE 4.3.1 on kubuntu jaunty packages. I can reproduce it by the following steps (using kickoff as launcher):
- Login as user A
- Let network manager put up wireless connection and mount nfs share
- Log out
- Log in as user B
- Plasma hangs on splash
In KDE Bug Tracking System #184062, Alexander Inglessi (inglessi) wrote : | #24 |
*** This bug has been confirmed by popular vote. ***
In KDE Bug Tracking System #184062, Jithin Emmanuel (jithin1987) wrote : | #25 |
The issue I had I think is kubuntu specific one. I moved to arch linux. Now its plasma is not freezing on mounting usb drive.
19 comments hidden Loading more comments | view all 112 comments |
Rich Johnson (nixternal) wrote : | #5 |
Confirming due to upstream, even though most of the comments relate to NFS, it also occurs with some pluggable devices, in this case a large usb drive. My 120GB I don't notice this, but my 1TB I do.
Changed in kdebase-workspace (Ubuntu): | |
status: | New → Confirmed |
Jithin Emmanuel (jithin1987) wrote : | #6 |
I am not sure if the bug is with kde. I moved to arch linux there I am not experiencing this problem with my same 320 gb disk.
Rich Johnson (nixternal) wrote : | #7 |
Funny you should say this, as my 1TB drives takes a few seconds as well in GNOME. If I remember correctly, recently there were some issues with USB. If I do this on my desktop which is a fresh install, I can't reproduce this, however my laptop which is a mess from hacking on it, probably isn't the best thing to try and reproduce on.
I will research a bit more and see if I can come up with anything. Thanks!
18 comments hidden Loading more comments | view all 112 comments |
In KDE Bug Tracking System #184062, Jithin Emmanuel (jithin1987) wrote : | #26 |
I can confirm that this issue with usb drive freezing plasma is because of 2.6.31 kernel. Noticed when 2.6.31 kernel was available in arch. Downgrading to 2.6.30 kernel fixed the issue.
Is the problem with kde or kernel. Can any kde devs confirm?
In KDE Bug Tracking System #184062, Pcgscrap (pcgscrap) wrote : | #27 |
This bug still exists in kdebase-
In KDE Bug Tracking System #184062, Sebastian Sauer (mail-dipe) wrote : | #28 |
In KDE Bug Tracking System #184062, Sebastian Sauer (mail-dipe) wrote : | #29 |
Created attachment 37729
updated patch
In KDE Bug Tracking System #184062, Jithin Emmanuel (jithin1987) wrote : | #30 |
Without the patch and kernel 2.6.32-rc6 fixes the issue for me.
In KDE Bug Tracking System #184062, Asraniel (asraniel) wrote : | #31 |
what is the status of this bug? what about the patch? can we get this fixed for 4.4 final? thank you
(if the submitter of the patch does not have an svn account, consider uploading the patch to reviewboard.
In KDE Bug Tracking System #184062, Jirik-0 (jirik-0) wrote : | #32 |
Can anyone increase this as the HIGH priority to fix.
All my notebooks have got same issue. This is really annoying issue.
More annoying is that nobody is trying to fix it. This issue goes from 4.1 release.
In KDE Bug Tracking System #184062, Asraniel (asraniel) wrote : | #33 |
problem is that there is no real maintainer for kickoff currently.. but i increased the priority
In KDE Bug Tracking System #184062, Asraniel (asraniel) wrote : | #34 |
i forgot to mention, please test the proposed patch, i can commit it if needed, but somebody has to test it.
In KDE Bug Tracking System #184062, Asraniel (asraniel) wrote : | #35 |
if anybody cares about this patch, it has to be tested and submitted to the right people. please contact the plasma developers in IRC or on the plasma-devel mailing list. thank you
In KDE Bug Tracking System #184062, Sebastian Kügler (sebasje) wrote : | #36 |
The patch looks wrong, porting from KDirWatch to QFileSystemWatcher is the wrong thing to do. KDirWatcher should simply not block, and that's the real cause of the problem.
Now the question is "where does it block (when it shouldn't)?". Anyone who can reproduce the problem, please attach a debugger to your Plasma and tell us where it blocks. Those that have reported crashers, please supply a backtrace.
The s/KDirWatch/
In KDE Bug Tracking System #184062, BRULE Herman (alpha-one-x86) wrote : | #37 |
I thinks I have the same bug here.
Changed in kdebase: | |
status: | Unknown → Confirmed |
In KDE Bug Tracking System #184062, aseigo (aseigo) wrote : | #38 |
*** Bug 181323 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #184062, Asraniel (asraniel) wrote : | #39 |
Any work beeing done on this bug? having a patch (even if it is wrong) at least helps to identify the problem.
In KDE Bug Tracking System #184062, David Faure (faure) wrote : | #40 |
Well, the backtrace requested in comment #27 would be much more useful than a bad patch (we use KDirWatch everywhere else in KDE, so the problem would just move to somewhere else).
But this is really odd, the patch is about the RecentDocuments directory which is something like $KDEHOME/
Changed in kdebase: | |
importance: | Unknown → High |
31 comments hidden Loading more comments | view all 112 comments |
Harald Sitter (apachelogger) wrote : | #8 |
Closing in favor of upstream report. Please refer there for updates on the issue.
Changed in kdebase-workspace (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in kde-baseapps: | |
status: | Confirmed → Unknown |
64 comments hidden Loading more comments | view all 112 comments |
In KDE Bug Tracking System #184062, Bugs-kde-org3 (bugs-kde-org3) wrote : | #73 |
I'm not sure if this also belongs here:
When I have a cifs share mounted and tell KDE to poweroff, it also hangs like 2 minutes during shut down until it finally times out and turns off. For some reasons the shares aren't properly dismounted hence the timeout somewhere.
In KDE Bug Tracking System #184062, Sebastian 'polrus' Tur (dpbasti) wrote : | #74 |
still exists in kde 4.9.5
having no additional apps open, just desktop widgets (weather+eth traffic + temperature monitor)
when i remove the ethernet cable the whole desktop freezes,
i tried to disable network in networkmanager plasmoid before removing the cable -
the result is the same
ctrl-alt-backspace does not solve the problem
In KDE Bug Tracking System #184062, Dennisgrunert (dennisgrunert) wrote : | #75 |
Christoph Feck changed the version from 4.8.4 to 4.9.5. But shouldn't it be the lowest version number where this bug can be found, to find regression: Bugs usually don't disappear with newer versions.
In KDE Bug Tracking System #184062, BRULE Herman (alpha-one-x86) wrote : | #76 |
I use Qt5SystemInfo for mount point manipulation (change, read), it's not the solution here?
In KDE Bug Tracking System #184062, Sebastian Kügler (sebasje) wrote : | #77 |
@Dennis: The logic is the other way round, the first question is usually: is this bug still valid.
In KDE Bug Tracking System #184062, Dennisgrunert (dennisgrunert) wrote : | #78 |
(In reply to comment #68)
> @Dennis: The logic is the other way round, the first question is usually: is
> this bug still valid.
Sorry, I though so, because I did set the field to the newest version myself one time and received this reply: https:/
No I'm confused what helps the dev's the most to narrow it down. But this seems to be too much off-topic for a this long bug. I'm sorry about that.
In KDE Bug Tracking System #184062, Vincent-rubiolo (vincent-rubiolo) wrote : | #79 |
Also getting this bug (Ubutu 12.04 - KDE 4.8.5). I usually get by using the following:
1. Lazy unmount of the problematic mount point (sudo umount -l /mnt/mountpoint).
2. Restart plasma : killall plasma-desktop && plasma-desktop That allows the panel to unfreeze. Unfortunately, it also pollutes the notification area with lots of spurious notification entries, resulting in a smaller (width-speaking) taskbar/paenl. I have to manually hide those to get back to the actual panel width (see screenshot).
Is there something we can do to help as users (getting backtraces, etc) so that this problem is fixed?
In KDE Bug Tracking System #184062, Vincent-rubiolo (vincent-rubiolo) wrote : | #80 |
Created attachment 77609
Vincent's system tray spurious notifications
In KDE Bug Tracking System #184062, BRULE Herman (alpha-one-x86) wrote : | #81 |
I use solution to prevent this in my application: I use Qt5 Qt System Information module (tiers modules). That's work by event and prevent that's. But to be compatible with Qt4, I suggest thread usage with queued connexion.
In KDE Bug Tracking System #184062, Vincent-rubiolo (vincent-rubiolo) wrote : | #82 |
(In reply to comment #70)
> Also getting this bug (Ubutu 12.04 - KDE 4.8.5). I usually get by using the
> following:
> 1. Lazy unmount of the problematic mount point (sudo umount -l
> /mnt/mountpoint).
> 2. Restart plasma : killall plasma-desktop && plasma-desktop That allows the
> panel to unfreeze. Unfortunately, it also pollutes the notification area
> with lots of spurious notification entries, resulting in a smaller
> (width-speaking) taskbar/paenl. I have to manually hide those to get back to
> the actual panel width (see screenshot).
>
> Is there something we can do to help as users (getting backtraces, etc) so
> that this problem is fixed?
Forgot to mention that you'll also need to restart krunner in this case, otherwise you'll also lose handling of some keyboard shortcuts (esp Ctl-Alt-L to lock your desktop).
In KDE Bug Tracking System #184062, Marcin Janowski (janowski-m) wrote : | #83 |
Still exists in kde 4.10
If i disconnect my ethernet cabel and connect to new router (i want install new router, so this havent internet), plasma hang.
This same if in university block me internet - i have routing only to AP and plasma zombie.
How can i help and debug this?
In KDE Bug Tracking System #184062, aseigo (aseigo) wrote : | #84 |
It has been noted several times in this bug report what is needed to improve the situation: back traces of the frozen application.
Phillip did so in comment #50 and that resulted in a fix. That was not the only problem leading to the same symptom, though, and we need backtraces from those situations so we know what we're looking for.
In KDE Bug Tracking System #184062, Marcin Janowski (janowski-m) wrote : | #85 |
Created attachment 77646
Debug
Ok, i try to make debug with gdb, please tell me if it is make good.
In KDE Bug Tracking System #184062, Andrew-myers (andrew-myers) wrote : | #86 |
Already did a bug report under duplicate bug Bug 290855 with a gdb debug report
In KDE Bug Tracking System #184062, Sebastian 'polrus' Tur (dpbasti) wrote : | #87 |
probably the same or similar problem existr if I'm conected via openVPN to ym company network and have some CIF mounts there. When i disconnect from openVPN plasma also freezes.
I'm not sure if it's thee same bug or just similar one?
In KDE Bug Tracking System #184062, Marcin Janowski (janowski-m) wrote : | #88 |
When i have network access and i have routing to internet, all work good. But when unexpectedly i have lost routing to internet (i have connect to AP), plasma hangs out. Next, when routing go back, plasma hangs off (work good).
BT: #0 0x00007f5962007303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/
#1 0x00007f5955c0cd84 in ?? () from /lib/x86_
#2 0x00007f5955c0cea4 in g_main_
#3 0x00007f595ec01c26 in QEventDispatche
#4 0x00007f595e01fc1e in QGuiEventDispat
#5 0x00007f595ebd22ef in QEventLoop:
#6 0x00007f595ebd2578 in QEventLoop::exec (this=0x7fff982
#7 0x00007f595ebd7738 in QCoreApplicatio
#8 0x00007f596231b1b1 in kdemain (argc=1, argv=0x7fff9821
#9 0x00007f5961f4076d in __libc_start_main (main=0x4006a0 <main(int, char**)>, argc=1, ubp_av=
rtld_
#10 0x00000000004006d1 in _start ()
In KDE Bug Tracking System #184062, Jree2kx (jree2kx) wrote : | #89 |
This is definitely still an issue in 4.10. I can reproduce every time by plugging in my ethernet and switching off wifi to transfer large files to my NAS. It only locks up Dolphin. If I umount my CIFS shares everything then returns to normal. Quite irritating to say the least.
Arch x86_64
KDE 4.10.2
kernel 3.8.8
In KDE Bug Tracking System #184062, Jree2kx (jree2kx) wrote : | #90 |
Update to my previous comment. I finally switched over everything to NFS and the issue still persists.
In KDE Bug Tracking System #184062, Ettore Atalan (atalanttore) wrote : | #91 |
kdialog is also freezing when this issue takes place. Maybe it has the same reason?
In KDE Bug Tracking System #184062, Jree2kx (jree2kx) wrote : | #92 |
Is there any chance this will be fixed in 4.11? This is big bug imo. You shouldn't have to restart your computer after switching interfaces.
In KDE Bug Tracking System #184062, DA (adawit) wrote : | #93 |
*** Bug 274674 has been marked as a duplicate of this bug. ***
In KDE Bug Tracking System #184062, Ralf Habacker (ralf-habacker) wrote : | #94 |
Created attachment 82265
plasma-desktop backtrace
same issue here with plasma-desktop on opensuse 12.2 x86_64, kde 4.11.1 and pam_mounted cifs mounts
In KDE Bug Tracking System #184062, Ralf Habacker (ralf-habacker) wrote : | #95 |
bug 316655 seems to have the same reason.
In KDE Bug Tracking System #184062, Laurent-9 (laurent-9) wrote : | #96 |
Hi, I got this bug since several months.
I read on different bug reports that the freeze was due to the fact that some users where using kernel cifs mount and thus it was more a kernel bug.
(you can find a lot related, "freeze smb cifs")
So I switched to smbnetfs mount that is a fuse mount of the samba share.
Once I come back to home and computer wake up from sleep, fuse mount does not see anymore the files, still kde desktop is completely frozen until I do fusermount -u -z /media/smb
Now I still don't understand why it freeze since kde shouldn't knew that I got a mount now...
Perhaps it scans all fuse mount?
The kde desktop freeze when either:
- I open dolphin
- Open kate and click on open a file.
- From firefox, select a file -> (it open a kde file dialog) all frozen.
Under debian/testing, KDE 4.10.5 (got also that on kde 4.9)
In KDE Bug Tracking System #184062, Software-n (software-n) wrote : | #97 |
I confirm freezes of the whole panel after waking up from standby with unavailable nfs mounts in the background. The freeze goes away when the nfs target becomes available again. With xfce I did not have this problem.
Without knowing the technical kde internal details I think that network mounts should be detected by kde and be marked as unreliable, i.e., nothing should depend on them to prevent such execution blockings.
I am running arch linux with the following packages:
linux 3.12.8-1
extra/kdebase-lib 4.12.1-1
extra/kdebase-
extra/kdebase-
extra/kdebase-
Btw: Several nfs directories are mounted using the bg flag.
I guess one workaround for users having this problem is to mount network shares via autofs. However, the kde core gui parts such as the panel should definitely not freeze when, e.g., a connected network attached storage is offline.
In KDE Bug Tracking System #184062, Dennisgrunert (dennisgrunert) wrote : | #98 |
@Moritz: Please read comment 75 if you want to help. Thank you.
In KDE Bug Tracking System #184062, JW (jason-wallace) wrote : | #99 |
I'm having the same apparent problem, where different applications (Chrome, Kontact, Dolphin, etc) will freeze for minutes on end. I ran strace on a hanging process (Chrome in this case). The output from ~30 seconds is below:
write(11, "!", 1) = 1
recvfrom(8, 0x7fd483747074, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 1 ([{fd=10, revents=POLLIN}])
read(10, "!", 2) = 1
recvfrom(8, 0x7fd483747074, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
recvfrom(8, 0x7fd483747074, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}], 3, 818) = 0 (Timeout)
write(44, "\0", 1) = 1
futex(0x7fd4837
futex(0x7fd489a
recvfrom(8, 0x7fd483747074, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
recvfrom(8, 0x7fd483747074, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}], 3, 8888) = 1 ([{fd=10, revents=POLLIN}])
read(10, "!", 2) = 1
write(11, "!", 1) = 1
recvfrom(8, 0x7fd483747074, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 1 ([{fd=10, revents=POLLIN}])
read(10, "!", 2) = 1
recvfrom(8, 0x7fd483747074, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
recvfrom(8, 0x7fd483747074, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}], 3, 8886) = 0 (Timeout)
recvfrom(8, 0x7fd483747074, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
recvfrom(8, 0x7fd483747074, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}], 3, 284) = 0 (Timeout)
write(11, "!", 1) = 1
recvfrom(8, 0x7fd483747074, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 1 ([{fd=10, revents=POLLIN}])
read(10, "!", 2) = 1
recvfrom(8, 0x7fd483747074, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
recvfrom(8, 0x7fd483747074, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}], 3, 823) = 0 (Timeout)
write(44...
In KDE Bug Tracking System #184062, Software-n (software-n) wrote : | #100 |
Created attachment 87734
strace of hanging plasma with recent kde
created by using kde 4.13.2 and the command
strace -tt plasma-desktop
hanging: all entries with time 07:12:xy
resuming (correlated with the re-availability of the nfs master): entries with time 07:23:xz
In KDE Bug Tracking System #184062, Marcin Janowski (janowski-m) wrote : | #101 |
Workaround for me: remove from plaismoids gmail-plaismoid . Now i havent problem with hangs.
Qt: 4.8.6
KDE: 4.13.2
kde4-config: 1.0
In KDE Bug Tracking System #184062, Bugs4-kde-org (bugs4-kde-org) wrote : | #102 |
on shout down the same happens when you mount stuff over openvpn... because first openvpn gets closed before it tries to unmount networked drives. On Kubuntu openvpn also comes with down-root plugin.
So I just enhanced my ovpn config with this:
plugin /usr/lib/
At least on shutting down my notebook I don't have to wait those 180 seconds anymore.
In KDE Bug Tracking System #184062, Rulatir (rulatir) wrote : | #103 |
Gotta love how people commenting here no longer even *HOPE* it will ever be fixed, and share workarounds instead.
In KDE Bug Tracking System #184062, Sebastian Kügler (sebasje) wrote : | #104 |
Szczepan, I don't see how a snarky comment of yours is going to motivate anyone to put their time into this. I for one have removed myself from the CC: list of this bugreport, since the last thing I need is polemic remarks from bystanders. You're not making your life, or that of others easier.
In KDE Bug Tracking System #184062, Rulatir (rulatir) wrote : | #105 |
> Szczepan, I don't see how a snarky comment of yours is going to motivate anyone to put their time into this.
I don't see why it necessarily couldn't work, and this appropach hasn't been tried yet, unlike much everything else that has been *proven* ineffective over the last five years.
In KDE Bug Tracking System #184062, Tilman Vogel (tilman-vogel) wrote : | #106 |
For me, this is by far the most annoying problem I have with KDE because it happens to me every time I switch from wired network to wireless. So, I sympathize with Szczepan's frustration, even if that does not immediately help.
6th anniversary in February and a lot of votes makes me wish one of the people who could fix this quickly had a similar setup as I do. It would probably be fixed within days...
In KDE Bug Tracking System #184062, Rdieter-math (rdieter-math) wrote : | #107 |
In a *constructive* vein, from looking that the most recent backtrace posted:
#0 0x00007ffff026aba5 in _lxstat () from /lib64/libc.so.6
#1 0x00007ffff01d2c65 in realpath@@GLIBC_2.3 () from /lib64/libc.so.6
#2 0x00007ffff24c9914 in KStandardDirs:
#3 0x00007ffff24955b3 in KMountPoint:
#4 0x00007ffff40638c1 in KDiskFreeSpaceI
#5 0x00007fff3f8d2544 in SolidDeviceEngi
looks like it gets stuck trying to get free/available space info.
That said, I *vaguely* recall seeing a reviewboard request covering this case recently. I'll go do some digging.
That said, can anyone confirm problem exists using latest kde-workspace-
In KDE Bug Tracking System #184062, aseigo (aseigo) wrote : | #108 |
This bug should perhaps be assigned to kdelibs, as it is not really a plasma bug ... thought it could be worked-around in kickoff. See Bug#316655 which has more information on the problem. The culprit is the free space checking code; it makes a blocking call and when the mount point is not available this simply hangs. This problem affects several KDE components (among other software out there) ... one possibility is to simply not show the free space in kickoff, though that probably involves moving away from PlacesModel (assuming that is what is still used). So a proper solution in the free space checker is probably the best approach.
My suggestion would be look at the filesystem type advertised for the mount point and simply avoid any free space (or similar info fetching) attempts on nfs, cifs, etc. and perhaps also fuse mounts.
@Szczepan "I don't see why it necessarily couldn't work, and this appropach hasn't been tried yet, unlike much everything else that has been *proven* ineffective over the last five years."
You are not the first person think that behaving badly will make things better. It has been tried many times in the past and honestly doesn't work.
Regardless of whether it works or not, it is not welcome in KDE. Please see: https:/
@Tilman Vogel: If you can not fix it yourself, and evidently people who may be able to are not motivated to do so, then perhaps paying someone to fix it would be a possibility. Not everything gets accomplished gratis. (No, I'm not interested in being paid to fix this :)
In KDE Bug Tracking System #184062, Rdieter-math (rdieter-math) wrote : | #109 |
Thanks aaron (hugs), marking as dup
*** This bug has been marked as a duplicate of bug 316655 ***
In KDE Bug Tracking System #184062, Tilman Vogel (tilman-vogel) wrote : | #110 |
(In reply to Aaron J. Seigo from comment #99)
> @Tilman Vogel: If you can not fix it yourself, and evidently people who may
> be able to are not motivated to do so, then perhaps paying someone to fix it
> would be a possibility. Not everything gets accomplished gratis. (No, I'm
> not interested in being paid to fix this :)
That's an interesting suggestion - however, where do I find those people? It might actually be quite a good idea to invent an open-source job market where I could post "Who is going to fix https:/
In KDE Bug Tracking System #184062, Sebastian 'polrus' Tur (dpbasti) wrote : | #111 |
I fully support the bounty idea - it's brilliant, simple and it works for Elementary OS bug-figthing
Changed in kde-baseapps: | |
status: | Unknown → Invalid |
In KDE Bug Tracking System #184062, Rulatir (rulatir) wrote : | #112 |
@Aaron: "You are not the first person think that behaving badly will make things better. It has been tried many times in the past and honestly doesn't work."
That's not my experience, and probably not even yours. This is just your *wish* for a Politeness God to exist, rewarding the righteous and punishing the wicked. Meanwhile on planet Reality, I have been profusely thanked by people whose daily work was made easier because I got authors of certain software artifacts to fix critical bugs after everyone else had been polite with them for years.
"Regardless of whether it works or not, it is not welcome in KDE."
So there we have this conflict between two unwelcome things: behaving badly and long-standing critical bugs. Both are definitely unwelcome, but there is an interesting relationship between them:
- the former can be used to hasten the elimination of the latter
- if the latter remains, the former is inevitable anyway
- when the latter is eliminated, the former also vanishes
Version: (using KDE 4.2.0)
Compiler: GCC 4.3.1
OS: Linux
Installed from: Gentoo Packages
How I manage to reproduce this on my machine: Use kickoff menu, have a NFS mount (in my case, mounted before KDE started), unplug the network cable and wait. Plasma hangs after a few seconds-minutes and comes back to life when I plug my network cable back. Also, adding the kickoff plugin when the network cable is unplugged results in a immediate crash.
I ran strace on plasma and the result when the hang appears is this:
lstat("/dev/md1", {st_mode= S_IFBLK| 0640, st_rdev=makedev(9, 1), ...}) = 0 S_IFDIR| 0755, st_size=4096, ...}) = 0 S_IFBLK| 0640, st_rdev=makedev(9, 2), ...}) = 0 S_IFDIR| 0755, st_size=56, ...}) = 0 S_IFBLK| 0640, st_rdev=makedev(9, 0), ...}) = 0 S_IFDIR| 0755, st_size=1024, ...}) = 0 firebird: /home/ftp/ pub", 0x7fffda66dec0) = -1 ENOENT (No such file or directory) /home/ftp/ pub", <unfinished ...>
lstat("/", {st_mode=
lstat("/dev/md2", {st_mode=
lstat("/volatile", {st_mode=
lstat("/dev/md0", {st_mode=
lstat("/boot", {st_mode=
lstat("
lstat("
So it is obviosly trying to lstat all devices *and* mountpoints. This leads to hangs, and I believe stating the nfs path is incorrect behaviour either way.
Of course, such hangs in apps are expected (and wanted) when nfs goes away, but having the whole plasma hang is quite an unpleasant side effect, and likely possible to fix. :)