KDirWatch still crashes
Christoph Cullmann
crossfire at babylon2k.de
Mon Apr 15 22:13:04 BST 2002
KDirLister crashs here ALWAYS if something is changed in a dir which for
example the open dialog is about to show :(
[New Thread 1024 (LWP 9166)]
0x410c9079 in wait4 () from /lib/libc.so.6
#0 0x410c9079 in wait4 () from /lib/libc.so.6
#1 0x411418c4 in __DTOR_END__ () from /lib/libc.so.6
#2 0x40fc5177 in waitpid () from /lib/libpthread.so.0
#3 0x406d8585 in ?? () from /cvs/kde/lib/libkdecore.so.4
#4 0x40fc2bc4 in pthread_sighandler () from /lib/libpthread.so.0
#5 <signal handler called>
#6 0x402361fa in KDirListerCache::findByName(KDirLister const*, QString
const&) const () from /cvs/kde/lib/libkio.so.4
#7 0x4024236f in KDirLister::findByName(QString const&) const ()
from /cvs/kde/lib/libkio.so.4
#8 0x402a4612 in KDirOperator::setCurrentItem(QString const&) ()
from /cvs/kde/lib/libkio.so.4
#9 0x4029bb45 in KFileDialog::slotLoadingFinished() ()
from /cvs/kde/lib/libkio.so.4
#10 0x4029f316 in KFileDialog::qt_invoke(int, QUObject*) ()
from /cvs/kde/lib/libkio.so.4
#11 0x416c92dd in KateFileDialog::qt_invoke(int, QUObject*) ()
from /cvs/kde/lib/kate.so
#12 0x40a868ab in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /cvs/qt/lib/libqt-mt.so.3
#13 0x40a8679f in QObject::activate_signal(int) ()
from /cvs/qt/lib/libqt-mt.so.3
#14 0x402a7dfe in KDirOperator::finishedLoading() ()
from /cvs/kde/lib/libkio.so.4
#15 0x402a75a2 in KDirOperator::slotCanceled() () from
/cvs/kde/lib/libkio.so.4
#16 0x402a84f6 in KDirOperator::qt_invoke(int, QUObject*) ()
from /cvs/kde/lib/libkio.so.4
#17 0x40a86850 in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /cvs/qt/lib/libqt-mt.so.3
#18 0x40a8679f in QObject::activate_signal(int) ()
from /cvs/qt/lib/libqt-mt.so.3
#19 0x4024403e in KDirLister::canceled() () from /cvs/kde/lib/libkio.so.4
#20 0x40233fd5 in KDirListerCache::forgetDirs(KDirLister*, KURL const&, bool)
() from /cvs/kde/lib/libkio.so.4
#21 0x4023305b in KDirListerCache::forgetDirs(KDirLister*) ()
from /cvs/kde/lib/libkio.so.4
#22 0x40231949 in KDirListerCache::listDir(KDirLister*, KURL const&, bool,
bool) () from /cvs/kde/lib/libkio.so.4
#23 0x40241238 in KDirLister::openURL(KURL const&, bool, bool) ()
from /cvs/kde/lib/libkio.so.4
#24 0x402a3e9a in KDirOperator::connectView(KFileView*) ()
from /cvs/kde/lib/libkio.so.4
#25 0x402a411a in KDirOperator::setView(KFileView*) ()
from /cvs/kde/lib/libkio.so.4
#26 0x402a3bde in KDirOperator::setView(KFile::FileView) ()
from /cvs/kde/lib/libkio.so.4
#27 0x402a409a in KDirOperator::setMode(KFile::Mode) ()
from /cvs/kde/lib/libkio.so.4
#28 0x4029dd4c in KFileDialog::setMode(KFile::Mode) ()
from /cvs/kde/lib/libkio.so.4
#29 0x416c8ba5 in KateFileDialog::KateFileDialog(QString const&, QString
const&, QWidget*, QString const&, int) () from /cvs/kde/lib/kate.so
#30 0x416b7e1f in KateViewManager::slotDocumentOpen() ()
from /cvs/kde/lib/kate.so
#31 0x416b5777 in KateViewManager::qt_invoke(int, QUObject*) ()
from /cvs/kde/lib/kate.so
#32 0x40a868ab in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /cvs/qt/lib/libqt-mt.so.3
#33 0x40a8679f in QObject::activate_signal(int) ()
from /cvs/qt/lib/libqt-mt.so.3
#34 0x4044b6eb in KAction::activated() () from /cvs/kde/lib/libkdeui.so.4
#35 0x40439c3f in KAction::slotActivated() () from /cvs/kde/lib/libkdeui.so.4
#36 0x4044b8e2 in KAction::qt_invoke(int, QUObject*) ()
from /cvs/kde/lib/libkdeui.so.4
#37 0x40a86850 in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /cvs/qt/lib/libqt-mt.so.3
#38 0x40a8679f in QObject::activate_signal(int) ()
from /cvs/qt/lib/libqt-mt.so.3
#39 0x40d37c7e in QButton::clicked() () from /cvs/qt/lib/libqt-mt.so.3
#40 0x40b0567d in QButton::mouseReleaseEvent(QMouseEvent*) ()
from /cvs/qt/lib/libqt-mt.so.3
#41 0x40ab900f in QWidget::event(QEvent*) () from /cvs/qt/lib/libqt-mt.so.3
#42 0x40a37694 in QApplication::internalNotify(QObject*, QEvent*) ()
from /cvs/qt/lib/libqt-mt.so.3
#43 0x40a36dd3 in QApplication::notify(QObject*, QEvent*) ()
from /cvs/qt/lib/libqt-mt.so.3
#44 0x4064f1c6 in ?? () from /cvs/kde/lib/libkdecore.so.4
#45 0x409e09e8 in QETWidget::translateMouseEvent(_XEvent const*) ()
from /cvs/qt/lib/libqt-mt.so.3
#46 0x409dda6e in QApplication::x11ProcessEvent(_XEvent*) ()
from /cvs/qt/lib/libqt-mt.so.3
#47 0x409dd5c6 in QApplication::processNextEvent(bool) ()
from /cvs/qt/lib/libqt-mt.so.3
#48 0x40a38c90 in QApplication::enter_loop() () from /cvs/qt/lib/libqt-mt.so.3
#49 0x409dcfbd in QApplication::exec() () from /cvs/qt/lib/libqt-mt.so.3
#50 0x416c1d0d in main () from /cvs/kde/lib/kate.so
#51 0x0804ce18 in launch(int, char const*, char const*, char const*, int, char
const*, bool, char const*, bool, char const*) ()
#52 0x0804dc53 in handle_launcher_request(int) ()
#53 0x0804e14c in handle_requests(int) ()
#54 0x0804efbe in main ()
#55 0x4103e7ee in __libc_start_main () from /lib/libc.so.6
On Sunday 14 April 2002 17:43, Michael Brade wrote:
> Hi!
>
> For me KDirWatch still crashes if removeDir is called within the slot
> connected to KDirWatch::dirty(..), the console says:
>
> kio (KDirWatch): KDirWatch-1 emitting dirty /home/michael
> kio (KDirListerCache): [void KDirListerCache::updateDirectory(const KURL
> &)] file:/home/michael
> kio (KDirWatch): Removed Dir /home/michael [KDirWatch-1]
> kio (KDirListerCache): [void KDirListerCache::updateDirectory(const KURL
> &)] directory file:/home/michael not in use, marked dirty.
> KCrash: crashing.... crashRecursionCounter = 2
>
> and the backtrace looks as follows:
> ...
> #5 0x410c8928 in sigaction () from /lib/libc.so.6
> #6 0x402f51d9 in KDirWatchPrivate::emitEvent (this=0x8276968, e=0x8278888,
> event=1, fileName=@0x40ec7f64) at /opt/qt-3.0/include/qptrlist.h:94
> #7 0x402f661c in KDirWatchPrivate::slotRescan (this=0x8276968)
> at /usr/src/KDE/kde-cvs/kdelibs/kio/kio/kdirwatch.cpp:906
> #8 0x402f90e0 in KDirWatchPrivate::qt_invoke (this=0x8276968, _id=2,
> _o=0xbffff2b8) at kdirwatch_p.moc:85
> #9 0x40ab67b6 in QObject::activate_signal ()
> from /opt/qt-3.0/lib/libqt-mt.so.3
>
> Thanks,
--
Christoph "Crossfire" Cullmann
Kate/KDE developer
cullmann at kde.org
http://kate.kde.org
More information about the kde-core-devel
mailing list