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

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


Hi,

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 
work):

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

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?

Cheers,
-- 
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'
  °--web: http://www.kde.org/people/michaelb.html

KDE 3: The Next Generation in Desktop Experience




More information about the kde-core-devel mailing list