Crash in KDirLister (again)
Andras Mantia
amantia at kde.org
Sat Sep 10 10:24:32 BST 2005
Hi,
At least since KDE 3.4.2 (maybe in 3.4.0 as well) KDirLister has a
crash problem again. 3.5 is affected as well. The problem causes Quanta
to crash whenever a new project is created with the wizard.
The problem is in KDirListerCache::forgetDirs, holdesr is null, thus
"holders->removeRef( lister );" crashes. Reproducing is simple, just
create a new project and as soon as you finish, Quanta will crash.
There is a bug report (#111890) and here is a BT with debug info in
kdelibs:
#0 0x41bf1f3e in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#1 0x410cf6ad in KCrash::defaultCrashHandler (sig=11)
at /data/development/sources/kde-head/kdelibs/kdecore/kcrash.cpp:251
#2 <signal handler called>
#3 0x417c2210 in QGList::findRef () from /usr/lib/qt3/lib/libqt-mt.so.3
#4 0x417c32b5 in QGList::removeRef ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#5 0x40b7cef8 in QPtrList<KDirLister>::removeRef (this=0x0,
d=0x89a9750) at qptrlist.h:86
#6 0x40b76a25 in KDirListerCache::forgetDirs (this=0x861a370,
lister=0x89a9750, _url=@0xbfb21214, notify=true)
at /data/development/sources/kde-head/kdelibs/kio/kio/kdirlister.cpp:428
#7 0x40b7a006 in KDirListerCache::listDir (this=0x861a370,
lister=0x89a9750, _u=@0xbfb21438, _keep=true, _reload=false)
at /data/development/sources/kde-head/kdelibs/kio/kio/kdirlister.cpp:123
#8 0x40b7aba9 in KDirLister::openURL (this=0x89a9750, _url=@0xbfb21438,
_keep=true, _reload=false)
at /data/development/sources/kde-head/kdelibs/kio/kio/kdirlister.cpp:1825
#9 0x40c4f5cc in KFileTreeBranch::populate (this=0x89a9750,
url=@0xbfb21438, currItem=0x8e454b8)
at /data/development/sources/kde-head/kdelibs/kio/kfile/kfiletreebranch.cpp:513
#10 0x40c47942 in KFileTreeView::slotExpanded (this=0x8631b80,
item=0x8e454b8)
at /data/development/sources/kde-head/kdelibs/kio/kfile/kfiletreeview.cpp:304
#11 0x40c4b119 in KFileTreeView::qt_invoke (this=0x8631b80, _id=113,
_o=0xbfb21614) at kfiletreeview.moc:347
#12 0x081b30f9 in BaseTreeView::qt_invoke (this=0x8631b80, _id=113,
_o=0xbfb21614) at basetreeview.moc:441
#13 0x081865bd in ProjectTreeView::qt_invoke (this=0x8631b80, _id=113,
_o=0xbfb21614) at projecttreeview.moc:353
#14 0x41506f29 in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x4185c575 in QListView::expanded ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x415eb4cc in QListViewItem::setOpen ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x08186773 in KFileTreeBranch::setOpen (this=0x89a9750,
setopen=true) at kfiletreebranch.h:121
#18 0x08180d06 in ProjectTreeView::slotPopulateFinished (this=0x8631b80,
item=0x8e454b8)
at /home/andris/development/sources/kde-head/kdewebdev/quanta/treeviews/projecttreeview.cpp:494
#19 0x08186360 in ProjectTreeView::qt_invoke (this=0x8631b80, _id=153,
_o=0xbfb21798) at projecttreeview.moc:333
#20 0x41506e8c in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40c4da5f in KFileTreeBranch::populateFinished (this=0x89a9750,
t0=0x8e454b8) at kfiletreebranch.moc:171
#22 0x40c4eea3 in KFileTreeBranch::slCompleted (this=0x89a9750,
url=@0xbfb21a24)
at /data/development/sources/kde-head/kdelibs/kio/kfile/kfiletreebranch.cpp:409
#23 0x40c4f870 in KFileTreeBranch::qt_invoke (this=0x89a9750, _id=13,
_o=0xbfb219b8) at kfiletreebranch.moc:211
#24 0x081ae701 in BaseTreeBranch::qt_invoke (this=0x89a9750, _id=13,
_o=0xbfb219b8) at basetreeview.moc:87
#25 0x41506f29 in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x40b70126 in KDirLister::completed (this=0x89a9750, t0=@0xbfb21a24)
at kdirlister.moc:234
#27 0x40b7a4a4 in KDirListerCache::listDir (this=0x861a370,
lister=0x89a9750, _u=@0xbfb21c64, _keep=true, _reload=false)
at /data/development/sources/kde-head/kdelibs/kio/kio/kdirlister.cpp:191
#28 0x40b7aba9 in KDirLister::openURL (this=0x89a9750, _url=@0xbfb21c64,
_keep=true, _reload=false)
at /data/development/sources/kde-head/kdelibs/kio/kio/kdirlister.cpp:1825
#29 0x40c4f5cc in KFileTreeBranch::populate (this=0x89a9750,
url=@0xbfb21c64, currItem=0x8e454b8)
at /data/development/sources/kde-head/kdelibs/kio/kfile/kfiletreebranch.cpp:513
#30 0x0818191d in ProjectTreeView::newBranch (this=0x8631b80,
url=@0x8631ce0)
at /home/andris/development/sources/kde-head/kdewebdev/quanta/treeviews/projecttreeview.cpp:216
#31 0x081859d9 in ProjectTreeView::slotReloadTree (this=0x8631b80,
fileList=0x869f0c4, buildNewTree=true, folderToOpen=@0xbfb22264)
at /home/andris/development/sources/kde-head/kdewebdev/quanta/treeviews/projecttreeview.cpp:331
#32 0x081862d7 in ProjectTreeView::qt_invoke (this=0x8631b80, _id=151,
_o=0xbfb21e20) at projecttreeview.moc:331
#33 0x41506f29 in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x080ec6f5 in Project::reloadTree (this=0x869ef98, t0=0x869f0c4,
t1=true, t2=@0xbfb22264) at project.moc:305
#35 0x0810b162 in ProjectPrivate::slotAcceptCreateProject
(this=0x869efd0)
at /home/andris/development/sources/kde-head/kdewebdev/quanta/project/projectprivate.cpp:835
#36 0x0810b9a1 in ProjectPrivate::slotNewProject (this=0x869efd0)
at /home/andris/development/sources/kde-head/kdewebdev/quanta/project/projectprivate.cpp:1176
#37 0x08113280 in ProjectPrivate::qt_invoke (this=0x869efd0, _id=4,
_o=0xbfb22388) at projectprivate.moc:171
#38 0x41506f29 in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0x415073d0 in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0x40dc1598 in KAction::activated (this=0x869f9f0) at kaction.moc:176
#41 0x40dc2332 in KAction::slotActivated (this=0x869f9f0)
at /data/development/sources/kde-head/kdelibs/kdeui/kaction.cpp:1102
#42 0x40dc555b in KAction::slotPopupActivated (this=0x869f9f0)
at /data/development/sources/kde-head/kdelibs/kdeui/kaction.cpp:1129
#43 0x40dc58ca in KAction::qt_invoke (this=0x869f9f0, _id=16,
_o=0xbfb22514) at kaction.moc:219
#44 0x41506f29 in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#45 0x418470f2 in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#46 0x41523cdb in QSignal::activate ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#47 0x4160cd68 in QPopupMenu::mouseReleaseEvent ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#48 0x40dafde5 in KPopupMenu::mouseReleaseEvent (this=0x87598d0,
e=0xbfb22a84)
at /data/development/sources/kde-head/kdelibs/kdeui/kpopupmenu.cpp:511
#49 0x41540c98 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#50 0x414a7891 in QApplication::internalNotify ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#51 0x414a89f8 in QApplication::notify ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#52 0x4103e366 in KApplication::notify (this=0x83ab1c0,
receiver=0x87598d0, event=0xbfb22a84)
at /data/development/sources/kde-head/kdelibs/kdecore/kapplication.cpp:550
#53 0x41442f9e in QETWidget::translateMouseEvent ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#54 0x414419cb in QApplication::x11ProcessEvent ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#55 0x41455a4a in QEventLoop::processEvents ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#56 0x414be763 in QEventLoop::enterLoop ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#57 0x414be646 in QEventLoop::exec ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#58 0x414a71df in QApplication::exec ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#59 0x080967b2 in main (argc=1, argv=0xbfb22fc4)
at /home/andris/development/sources/kde-head/kdewebdev/quanta/src/main.cpp:212
No, I cannot run Quanta in valgrind...
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050910/ff45fb8d/attachment.sig>
More information about the kde-core-devel
mailing list