Big trouble with KIO::NetAccess::enter_loop()

Michael Brade brade at
Wed Mar 31 11:41:08 BST 2004


I encountered a problem with my excessive KIO::NetAccess usage in KNotes: 
every now and then KNotes completely freezes with regard to input - no 
keyboard or mouse input is processed at all anymore. This happens after (or 
rather while) saving the notes, sadly not reproduceable at the moment. gdb 
shows the following while KNotes is "frozen" (Alt-LMB and the like still 

(gdb) bt
#0  0x41b92758 in select () from /lib/tls/
#1  0x411db2ca in QEventLoop::processEvents(unsigned) () 
from /opt/qt-3/lib/
#2  0x412443b8 in QEventLoop::enterLoop() () from /opt/qt-3/lib/
#3  0x412322e1 in QApplication::enter_loop() () 
from /opt/qt-3/lib/
#4  0x4045f653 in KIO::NetAccess::enter_loop() () 
from /opt/kde-3/lib/

I guess the exit_loop call is never reached (in NetAccess::slotResult())...

Should I revert to using QFile:: methods or does anyone have an idea of how to 
fix this or what the cause could be?

Michael Brade;                 KDE Developer, Student of Computer Science
  |-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'

KDE 3: The Next Generation in Desktop Experience

More information about the kde-core-devel mailing list