Bug 219253

Summary: Plasma hangs when connecting a USB device (PlacesModel on Kickoff menu hanging while trying to determine the free space on disk)
Product: [Unmaintained] plasma4 Reporter: BRULE Herman <alpha_one_x86>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andresbajotierra, aspotashev, kdelibs-bugs
Priority: NOR    
Version: 4.5 and older   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description BRULE Herman 2009-12-18 23:10:55 UTC
Version:            (using KDE 4.3.4)
Installed from:    Gentoo Packages

Hello,
When I copy to usb key fat bug file, use bugged plasmoid, have my internet connexion which lag (do the resolution dns after 10s), ...
All my desktop is frozen, can you fix it before the release of the version 4.4 ?
My target is not wait the end of the copy for use my computer, or never wait, always can work while all data is in ram. The minimum is not freeze kwin, and plasma and Oxygen plasma themes (no problem plastique Qt4 themes)
Thanks.
Comment 1 Dario Andres 2009-12-19 01:31:32 UTC
- Which kind of file are you trying to copy ?
- What is the size of that file ?
- What is the "buggy" thing ? The usb key has some problem ?
- Have you noticed too much hard disk activity ?
- Have you check if any process was taking too much CPU ?

Plasma never blocks during file operations so it could be an unrelated problem in a corner case. If all the desktop gets slow, may be there is another problem. (memory swapping to disk)

- Have you tried to repeat the same situation ?

Regards
Comment 2 BRULE Herman 2009-12-19 10:17:16 UTC
- All kind of file
- 4MB to 4GB
- *sorry not bug but big
- No, I do freeze plasma too if only one copy from hdd to usb key (slow usb key), or hdd to hdd
- It's not possible, I can't switch to windows, I can open nothing, when I put mouse on button or menu the event for highlighting not work, ...

I have very ofter this behaviors since I use KDE 4. The blocking operations is not threaded, or slow async op too.
I have this behaviors on my laptop (4GB ram + 512MB swap not used) and on my desktop (16GB of ram)

- Yes, always when I copy file to my slow usb key, or when or copy hdd to hdd file like 20GB (the highlight for button or menu with the event "mouse on over" not work), and selection in konqueror/dolphin not work because all it frozen.

I have sata controller good supported by linux (ahci) + raid (scheduler: dead line).
Comment 3 Dario Andres 2009-12-19 13:51:07 UTC
Mh, looks like the all system "collapses"

- Can you test this situations?
1) Use Konsole to copy the files ("cp /path/to/sourcefile /path/to/destination") and check if that also causes the system to collapse
-
2) Close Plasma and try to copy the files are you usually do
  (In order to close Plasma you need to run the following command "kquitapp plasma-desktop")
  You should get the old-style file-operation notifications.
  This way we can determine if Plasma is the culprit.
-
3) Keep Plasma opened, start Konsole and run "top" on it (to monitor the processes), then copy the files and check the CPU activity of the processes...

Thanks
Comment 4 BRULE Herman 2009-12-19 14:57:34 UTC
1) with cli copy no freeze kde, all work, with ctrl alt F1 all work in console only
2) close the plasma seam solve this problem, nothing is freeze during the copy
3) not cpu activity, cpu at idle... :(
4) freeze at mounting my usb key too, unfreeze when I plug it or if I wait 5min
Comment 5 Dario Andres 2009-12-19 15:00:34 UTC
About 4), was Plasma running when you plugged your USB key ? 

Another case to test:
- Right click in the System Tray widget in your panel and select, SystemTray settings.
- Uncheck the "File transfers and other jobs" checkbox in the "Popup Notices" group
- Click OK to save the settings
- Now try to start a file copy operation
The old-style file-transfer dialog should appear (instead of the new Plasma notifications)

- Check if the system is freezed or not.

Thanks
Comment 6 BRULE Herman 2009-12-19 16:01:34 UTC
About 4) all freeze and I plug it after plasma running

- No freeze at the plug my usb key
- Freeze at the copy
- When I have cancel the copy, my usb key had been disappeared for plasmoid device notifier, but not to dmesg
- The copy is threaded especially for local file? Because QFile::write() QFile::close(), QFile::read() can by block the current at end of buffer, cache.
Comment 7 Dario Andres 2009-12-19 16:08:08 UTC
KDE file operations use the KIO framework...but I don't know the internals..

- Have you tried to disable the SystemTray notifications for file operations as I described ?
Comment 8 BRULE Herman 2009-12-19 16:24:42 UTC
Yes, and that's do the same behaviors under the copy.
Comment 9 Dario Andres 2009-12-19 16:32:27 UTC
Ok...
So, the preliminary conclusions are:

- It is Plasma related (it doesn't happen when Plasma is not running)
- But it is not related to Plasma notifications
...

---
More tests:
- Could you try to remove the Device Notifier, the K-menu and the SystemTray widgets from your Plasma panel and try the filecopy again ?

Thanks
Comment 10 BRULE Herman 2009-12-19 16:59:06 UTC
After test, how mount usb key with the device notifier? Well I had done it via dolphin, dolphin have freeze and unable to mount the usb key (freeze all the time). The I had not can by test the file copy.
But I have do bt, not I have do lot of ctrl - c, it have unfreeze only after I have unplg the usb key at hot, then I don't know if the bt is usefull for you:
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.           
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"   
and "show warranty" for details.                                             
This GDB was configured as "x86_64-pc-linux-gnu"...                          
(gdb) run                                                                    
Starting program: /usr/bin/dolphin --sync --nofork                           
[Thread debugging using libthread_db enabled]                                
[New Thread 0x7f2e1e902740 (LWP 19546)]                                      
^C^C^Cbt                                                                     
bt                                                                           

Program received signal SIGINT, Interrupt.
[Switching to Thread 0x7f2e1e902740 (LWP 19546)]
0x00007f2e1a147e37 in statfs64 () from /lib64/libc.so.6
Current language:  auto; currently c                   
(gdb) bt                                               
#0  0x00007f2e1a147e37 in statfs64 () from /lib64/libc.so.6
#1  0x00007f2e1a147ec1 in *__GI_statvfs (file=0x22571a8 "/media/disk", buf=0x7fffe6b02540) at ../sysdeps/unix/sysv/linux/wordsize-64/../statvfs.c:36
#2  0x00007f2e1e44e084 in KDiskFreeSpaceInfo::freeSpaceInfo (path=@0x22133f8) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kio/kfile/kdiskfreespaceinfo.cpp:135
#3  0x00007f2e1e025fc7 in KFilePlacesViewDelegate::paint (this=0x1d47920, painter=0x7fffe6b02dd0, option=@0x7fffe6b02ad0, index=@0x2214dc0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kfile/kfileplacesview.cpp:189
#4  0x00007f2e1b201da9 in QListView::paintEvent (this=0x1d182e0, e=0x7fffe6b03ad0) at itemviews/qlistview.cpp:1192                                                                                                                     
#5  0x00007f2e1e023699 in KFilePlacesView::paintEvent (this=0x22571a8, event=0x7fffe6b02480) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kfile/kfileplacesview.cpp:792                                               
#6  0x00007f2e1ad7ab75 in QWidget::event (this=0x1d182e0, event=0x7fffe6b03ad0) at kernel/qwidget.cpp:7692                                                                                                                             
#7  0x00007f2e1b0bef9c in QFrame::event (this=0x1d182e0, e=0x7fffe6b03ad0) at widgets/qframe.cpp:559                                                                                                                                   
#8  0x00007f2e1b1e8f2b in QAbstractItemView::viewportEvent (this=0x1d182e0, event=0x7fffe6b03ad0) at itemviews/qabstractitemview.cpp:1476                                                                                              
#9  0x00007f2e1ba1bf07 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1d181a0, event=0x7fffe6b03ad0) at kernel/qcoreapplication.cpp:726                                             
#10 0x00007f2e1ad268ae in QApplicationPrivate::notify_helper (this=0x1c172e0, receiver=0x1d181a0, e=0x7fffe6b03ad0) at kernel/qapplication.cpp:4061                                                                                    
#11 0x00007f2e1ad2e45a in QApplication::notify (this=0x7fffe6b05440, receiver=0x1d181a0, e=0x7fffe6b03ad0) at kernel/qapplication.cpp:4030                                                                                             
#12 0x00007f2e1c8765ea in KApplication::notify (this=0x7fffe6b05440, receiver=0x1d181a0, event=0x7fffe6b03ad0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kdeui/kernel/kapplication.cpp:302                         
#13 0x00007f2e1ba1cd2b in QCoreApplication::notifyInternal (this=0x7fffe6b05440, receiver=0x1d181a0, event=0x7fffe6b03ad0) at kernel/qcoreapplication.cpp:606                                                                          
#14 0x00007f2e1ad7d7ef in QWidgetPrivate::drawWidget (this=0x1d44100, pdev=0x1c6aa98, rgn=@0x7fffe6b03d00, offset=@0x7fffe6b03cf0, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1ca0a80) at kernel/qwidget.cpp:5084  
#15 0x00007f2e1ad7df3a in QWidgetPrivate::paintSiblingsRecursive (this=0x1f4d9b0, pdev=0x1c6aa98, siblings=@0x1f4d9c8, index=0, rgn=@0x7fffe6b04030, offset=@0x7fffe6b04020, flags=4, sharedPainter=0x0, backingStore=0x1ca0a80)       
    at kernel/qwidget.cpp:5194                                                                                                                                                                                                         
#16 0x00007f2e1ad7d45d in QWidgetPrivate::drawWidget (this=0x1f4d9b0, pdev=0x1c6aa98, rgn=@0x7fffe6b04030, offset=@0x7fffe6b04020, flags=4, sharedPainter=0x0, backingStore=0x1ca0a80) at kernel/qwidget.cpp:5133                      
#17 0x00007f2e1ad7df3a in QWidgetPrivate::paintSiblingsRecursive (this=0x1c7d310, pdev=0x1c6aa98, siblings=@0x1c7d328, index=5, rgn=@0x7fffe6b04360, offset=@0x7fffe6b04350, flags=4, sharedPainter=0x0, backingStore=0x1ca0a80)       
    at kernel/qwidget.cpp:5194                                                                                                                                                                                                         
#18 0x00007f2e1ad7d45d in QWidgetPrivate::drawWidget (this=0x1c7d310, pdev=0x1c6aa98, rgn=@0x7fffe6b04360, offset=@0x7fffe6b04350, flags=4, sharedPainter=0x0, backingStore=0x1ca0a80) at kernel/qwidget.cpp:5133                      
#19 0x00007f2e1ad7df3a in QWidgetPrivate::paintSiblingsRecursive (this=0x1c6e2e0, pdev=0x1c6aa98, siblings=@0x1c6e2f8, index=15, rgn=@0x7fffe6b048d0, offset=@0x1ca0ac4, flags=4, sharedPainter=0x0, backingStore=0x1ca0a80)           
    at kernel/qwidget.cpp:5194                                                                                                                                                                                                         
#20 0x00007f2e1ad7d45d in QWidgetPrivate::drawWidget (this=0x1c6e2e0, pdev=0x1c6aa98, rgn=@0x7fffe6b048d0, offset=@0x1ca0ac4, flags=4, sharedPainter=0x0, backingStore=0x1ca0a80) at kernel/qwidget.cpp:5133                           
#21 0x00007f2e1aeeb3d0 in QWidgetBackingStore::sync (this=0x1ca0a80) at painting/qbackingstore.cpp:1272                                                                                                                                
#22 0x00007f2e1ad6fc43 in QWidgetPrivate::syncBackingStore (this=0x1c6e2e0) at kernel/qwidget.cpp:1603                                                                                                                                 
#23 0x00007f2e1ad7aa80 in QWidget::event (this=0x1ca1500, event=0x21ca590) at kernel/qwidget.cpp:7832                                                                                                                                  
#24 0x00007f2e1b0d822b in QMainWindow::event (this=0x1ca1500, event=0x21ca590) at widgets/qmainwindow.cpp:1399                                                                                                                         
#25 0x00007f2e1c997655 in KXmlGuiWindow::event (this=0x22571a8, ev=0x7fffe6b02480) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kdeui/xmlgui/kxmlguiwindow.cpp:131                                                    
#26 0x00007f2e1ad268d5 in QApplicationPrivate::notify_helper (this=0x1c172e0, receiver=0x1ca1500, e=0x21ca590) at kernel/qapplication.cpp:4065                                                                                         
#27 0x00007f2e1ad2e45a in QApplication::notify (this=0x7fffe6b05440, receiver=0x1ca1500, e=0x21ca590) at kernel/qapplication.cpp:4030                                                                                                  
#28 0x00007f2e1c8765ea in KApplication::notify (this=0x7fffe6b05440, receiver=0x1ca1500, event=0x21ca590) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kdeui/kernel/kapplication.cpp:302
#29 0x00007f2e1ba1cd2b in QCoreApplication::notifyInternal (this=0x7fffe6b05440, receiver=0x1ca1500, event=0x21ca590) at kernel/qcoreapplication.cpp:606
#30 0x00007f2e1ba1d6f8 in QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=0, data=0x1bf6fb0) at kernel/qcoreapplication.h:213
#31 0x00007f2e1ba44a53 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218
#32 0x00007f2e17ca3649 in IA__g_main_context_dispatch (context=0x1c19c40) at gmain.c:1824
#33 0x00007f2e17ca6e68 in g_main_context_iterate (context=0x1c19c40, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2455
#34 0x00007f2e17ca701e in IA__g_main_context_iteration (context=0x1c19c40, may_block=1) at gmain.c:2518
#35 0x00007f2e1ba4464f in QEventDispatcherGlib::processEvents (this=0x1c17510, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#36 0x00007f2e1adb5b28 in QGuiEventDispatcherGlib::processEvents (this=0x22571a8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#37 0x00007f2e1ba1b372 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -424651920}) at kernel/qeventloop.cpp:149
#38 0x00007f2e1ba1b55c in QEventLoop::exec (this=0x7fffe6b053b0, flags={i = -424651840}) at kernel/qeventloop.cpp:197
#39 0x00007f2e1ba1d99c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#40 0x0000000000436e29 in main (argc=3, argv=0x7fffe6b05928) at /var/tmp/portage/kde-base/dolphin-4.3.4/work/dolphin-4.3.4/dolphin/src/main.cpp:94
(gdb) bt
#0  0x00007f2e1a147e37 in statfs64 () from /lib64/libc.so.6
#1  0x00007f2e1a147ec1 in *__GI_statvfs (file=0x22571a8 "/media/disk", buf=0x7fffe6b02540) at ../sysdeps/unix/sysv/linux/wordsize-64/../statvfs.c:36
#2  0x00007f2e1e44e084 in KDiskFreeSpaceInfo::freeSpaceInfo (path=@0x22133f8) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kio/kfile/kdiskfreespaceinfo.cpp:135
#3  0x00007f2e1e025fc7 in KFilePlacesViewDelegate::paint (this=0x1d47920, painter=0x7fffe6b02dd0, option=@0x7fffe6b02ad0, index=@0x2214dc0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kfile/kfileplacesview.cpp:189
#4  0x00007f2e1b201da9 in QListView::paintEvent (this=0x1d182e0, e=0x7fffe6b03ad0) at itemviews/qlistview.cpp:1192
#5  0x00007f2e1e023699 in KFilePlacesView::paintEvent (this=0x22571a8, event=0x7fffe6b02480) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kfile/kfileplacesview.cpp:792
#6  0x00007f2e1ad7ab75 in QWidget::event (this=0x1d182e0, event=0x7fffe6b03ad0) at kernel/qwidget.cpp:7692
#7  0x00007f2e1b0bef9c in QFrame::event (this=0x1d182e0, e=0x7fffe6b03ad0) at widgets/qframe.cpp:559
#8  0x00007f2e1b1e8f2b in QAbstractItemView::viewportEvent (this=0x1d182e0, event=0x7fffe6b03ad0) at itemviews/qabstractitemview.cpp:1476
#9  0x00007f2e1ba1bf07 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1d181a0, event=0x7fffe6b03ad0) at kernel/qcoreapplication.cpp:726
#10 0x00007f2e1ad268ae in QApplicationPrivate::notify_helper (this=0x1c172e0, receiver=0x1d181a0, e=0x7fffe6b03ad0) at kernel/qapplication.cpp:4061
#11 0x00007f2e1ad2e45a in QApplication::notify (this=0x7fffe6b05440, receiver=0x1d181a0, e=0x7fffe6b03ad0) at kernel/qapplication.cpp:4030
#12 0x00007f2e1c8765ea in KApplication::notify (this=0x7fffe6b05440, receiver=0x1d181a0, event=0x7fffe6b03ad0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kdeui/kernel/kapplication.cpp:302
#13 0x00007f2e1ba1cd2b in QCoreApplication::notifyInternal (this=0x7fffe6b05440, receiver=0x1d181a0, event=0x7fffe6b03ad0) at kernel/qcoreapplication.cpp:606
#14 0x00007f2e1ad7d7ef in QWidgetPrivate::drawWidget (this=0x1d44100, pdev=0x1c6aa98, rgn=@0x7fffe6b03d00, offset=@0x7fffe6b03cf0, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1ca0a80) at kernel/qwidget.cpp:5084
#15 0x00007f2e1ad7df3a in QWidgetPrivate::paintSiblingsRecursive (this=0x1f4d9b0, pdev=0x1c6aa98, siblings=@0x1f4d9c8, index=0, rgn=@0x7fffe6b04030, offset=@0x7fffe6b04020, flags=4, sharedPainter=0x0, backingStore=0x1ca0a80)
    at kernel/qwidget.cpp:5194
#16 0x00007f2e1ad7d45d in QWidgetPrivate::drawWidget (this=0x1f4d9b0, pdev=0x1c6aa98, rgn=@0x7fffe6b04030, offset=@0x7fffe6b04020, flags=4, sharedPainter=0x0, backingStore=0x1ca0a80) at kernel/qwidget.cpp:5133
#17 0x00007f2e1ad7df3a in QWidgetPrivate::paintSiblingsRecursive (this=0x1c7d310, pdev=0x1c6aa98, siblings=@0x1c7d328, index=5, rgn=@0x7fffe6b04360, offset=@0x7fffe6b04350, flags=4, sharedPainter=0x0, backingStore=0x1ca0a80)
    at kernel/qwidget.cpp:5194
#18 0x00007f2e1ad7d45d in QWidgetPrivate::drawWidget (this=0x1c7d310, pdev=0x1c6aa98, rgn=@0x7fffe6b04360, offset=@0x7fffe6b04350, flags=4, sharedPainter=0x0, backingStore=0x1ca0a80) at kernel/qwidget.cpp:5133
#19 0x00007f2e1ad7df3a in QWidgetPrivate::paintSiblingsRecursive (this=0x1c6e2e0, pdev=0x1c6aa98, siblings=@0x1c6e2f8, index=15, rgn=@0x7fffe6b048d0, offset=@0x1ca0ac4, flags=4, sharedPainter=0x0, backingStore=0x1ca0a80)
    at kernel/qwidget.cpp:5194
#20 0x00007f2e1ad7d45d in QWidgetPrivate::drawWidget (this=0x1c6e2e0, pdev=0x1c6aa98, rgn=@0x7fffe6b048d0, offset=@0x1ca0ac4, flags=4, sharedPainter=0x0, backingStore=0x1ca0a80) at kernel/qwidget.cpp:5133
#21 0x00007f2e1aeeb3d0 in QWidgetBackingStore::sync (this=0x1ca0a80) at painting/qbackingstore.cpp:1272
#22 0x00007f2e1ad6fc43 in QWidgetPrivate::syncBackingStore (this=0x1c6e2e0) at kernel/qwidget.cpp:1603
#23 0x00007f2e1ad7aa80 in QWidget::event (this=0x1ca1500, event=0x21ca590) at kernel/qwidget.cpp:7832
#24 0x00007f2e1b0d822b in QMainWindow::event (this=0x1ca1500, event=0x21ca590) at widgets/qmainwindow.cpp:1399
#25 0x00007f2e1c997655 in KXmlGuiWindow::event (this=0x22571a8, ev=0x7fffe6b02480) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kdeui/xmlgui/kxmlguiwindow.cpp:131
#26 0x00007f2e1ad268d5 in QApplicationPrivate::notify_helper (this=0x1c172e0, receiver=0x1ca1500, e=0x21ca590) at kernel/qapplication.cpp:4065
#27 0x00007f2e1ad2e45a in QApplication::notify (this=0x7fffe6b05440, receiver=0x1ca1500, e=0x21ca590) at kernel/qapplication.cpp:4030
#28 0x00007f2e1c8765ea in KApplication::notify (this=0x7fffe6b05440, receiver=0x1ca1500, event=0x21ca590) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kdeui/kernel/kapplication.cpp:302
#29 0x00007f2e1ba1cd2b in QCoreApplication::notifyInternal (this=0x7fffe6b05440, receiver=0x1ca1500, event=0x21ca590) at kernel/qcoreapplication.cpp:606
#30 0x00007f2e1ba1d6f8 in QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=0, data=0x1bf6fb0) at kernel/qcoreapplication.h:213
#31 0x00007f2e1ba44a53 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218
#32 0x00007f2e17ca3649 in IA__g_main_context_dispatch (context=0x1c19c40) at gmain.c:1824
#33 0x00007f2e17ca6e68 in g_main_context_iterate (context=0x1c19c40, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2455
#34 0x00007f2e17ca701e in IA__g_main_context_iteration (context=0x1c19c40, may_block=1) at gmain.c:2518
#35 0x00007f2e1ba4464f in QEventDispatcherGlib::processEvents (this=0x1c17510, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#36 0x00007f2e1adb5b28 in QGuiEventDispatcherGlib::processEvents (this=0x22571a8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#37 0x00007f2e1ba1b372 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -424651920}) at kernel/qeventloop.cpp:149
#38 0x00007f2e1ba1b55c in QEventLoop::exec (this=0x7fffe6b053b0, flags={i = -424651840}) at kernel/qeventloop.cpp:197
#39 0x00007f2e1ba1d99c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#40 0x0000000000436e29 in main (argc=3, argv=0x7fffe6b05928) at /var/tmp/portage/kde-base/dolphin-4.3.4/work/dolphin-4.3.4/dolphin/src/main.cpp:94
Comment 11 BRULE Herman 2009-12-19 17:00:51 UTC
After have reput all the widget, not freeze only dolphin, but too plasma-desktop
Comment 12 BRULE Herman 2009-12-19 17:08:05 UTC
Other test:
Only with the menu widget:
- Plasma not freeze while I don't put the mouse over dolphin, when I put the mouse under dolphin all freeze.
Without menu and device notifier,  but with systray widget
- All work, no freeze.
Can by thread all widget? (That's prevent lag too of system tray icon adding lag when swith 30 systray icon to other systray widget like my)
Comment 13 BRULE Herman 2009-12-19 17:16:34 UTC
Can you add option in KDE 4.4 for remove the "computer" sub menu, for drop the hald access.
Comment 14 Dario Andres 2009-12-19 17:24:58 UTC
Then it seems that the KMenu is the culprit

According to the backtrace, the application is hanging when trying to lookup for the free disk space in the mounted usb stick.

This could be related to bug 184062 (The KMenu widget also freezing Plasma when a device/connection had a problem...)

I don't think adding that option would be possible, as it would introduce a new string... which is not allowed right now... sorry
Comment 15 BRULE Herman 2009-12-19 17:31:01 UTC
Then for the next version? Or add preprocessor command and ask to gentoo to add use flags "hal" for drop at the compilation the hal access.

I have same plasma freeze with the widget webview with auto refreshing when resolution dns, query or content download is really slow (greater than 5s is not usable)
Comment 16 BRULE Herman 2009-12-19 17:34:23 UTC
Can you put in thread just plasma + container + task manager + all widget which is sure to not blocked (by hal, network, ...) for keep this widget reactive when the other widget freeze?
Comment 17 Dario Andres 2009-12-19 17:41:43 UTC
I'm not a Plasma developer so you should wait for something else to appear and answer this questions.
Thanks for investigating the issue
(BTW, I can't be sure this is related to HAL)
Comment 18 BRULE Herman 2009-12-19 18:12:00 UTC
But my problem it's can freeze on network slow or other condition, my request is not only for hald, it's more for prevent any blocking on plasma, in put safe widget into thread for that's widget is never frozen.
My request is more, do that's plasma can never freeze.

For the hal part, why have choose hal? It's not support my raid soft (md) for free space for example.
Comment 19 Alexander Potashev 2011-01-06 23:42:04 UTC
Duplicate of bug#205761 ?
Related to bug#184062 ?
Comment 20 Myriam Schweingruber 2012-05-16 11:36:45 UTC

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