Version: (using KDE KDE 3.5.3) Installed from: Gentoo Packages OS: Linux I clicked somewhere in the list of subscribed newsgroups, then knode crashed. I'll certainly not be able to reproduce it since clicking on an entry in this list is such a frequent operation and this is the first time that it crashed. Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1247512384 (LWP 13627)] [New Thread -1250530384 (LWP 13643)] 0xb7ec7d44 in KNGroup::buildThreads (this=0x8278ac8, cnt=11594, client=0x0) at kngroup.cpp:761 in kngroup.cpp #0 0xb7ec7d44 in KNGroup::buildThreads (this=0x8278ac8, cnt=11594, client=0x0) at kngroup.cpp:761 #1 0xb7eda9e7 in KNGroup::reorganize (this=0x8278ac8) at kngroup.cpp:964 #2 0xb7edacaf in KNGroup::updateThreadInfo (this=0x8278ac8) at kngroup.cpp:1009 #3 0xb7edad8f in KNArticleManager::setAllNotNew (this=0x8282e78) at knarticlemanager.cpp:749 #4 0xb7eff565 in KNMainWidget::slotCollectionSelected (this=0x81caee8, i=0x8395fe0) at knmainwidget.cpp:1071 #5 0xb7f022bf in KNMainWidget::qt_invoke (this=0x81caee8, _id=48, _o=0xbfa57a10) at knmainwidget.moc:289 #6 0xb7034ca4 in QObject::activate_signal (this=0x8269688, clist=0x82b1670, o=0xbfa57a10) at qobject.cpp:2356 #7 0xb743725c in QListView::selectionChanged (this=0x8269688, t0=0x8395fe0) at moc_qlistview.cpp:315 #8 0xb714d09a in QListView::setCurrentItem (this=0x8269688, i=0x8395fe0) at qlistview.cpp:5466 #9 0xb714887d in QListView::contentsMousePressEventEx (this=0x8269688, e=0xbfa57ce0) at qlistview.cpp:4352 #10 0xb7147f4e in QListView::contentsMousePressEvent (this=0x8269688, e=0xbfa57ce0) at qlistview.cpp:4236 #11 0xb7a7324c in KListView::contentsMousePressEvent (this=0x8269688, e=0xbfa57ce0) at klistview.cpp:791 #12 0xb7cf5d39 in KFolderTree::contentsMousePressEvent (this=0x8269688, e=0x847a2e0) at kfoldertree.cpp:351 #13 0xb718540c in QScrollView::viewportMousePressEvent (this=0x8269688, e=0xbfa582e0) at qscrollview.cpp:1733 #14 0xb7184aaa in QScrollView::eventFilter (this=0x8269688, obj=0x82793b8, e=0xbfa582e0) at qscrollview.cpp:1496 #15 0xb7147bcd in QListView::eventFilter (this=0x8269688, o=0x82793b8, e=0xbfa582e0) at qlistview.cpp:3866 #16 0xb7e8839d in KNCollectionView::eventFilter (this=0x8269688, o=0x82793b8, e=0xbfa582e0) at kncollectionview.cpp:439 #17 0xb70320da in QObject::activate_filters (this=0x82793b8, e=0xbfa582e0) at qobject.cpp:903 #18 0xb7031f59 in QObject::event (this=0x82793b8, e=0xbfa582e0) at qobject.cpp:735 #19 0xb70783e7 in QWidget::event (this=0x82793b8, e=0xbfa582e0) at qwidget.cpp:4659 #20 0xb6fc3abd in QApplication::internalNotify (this=0xbfa58790, receiver=0x82793b8, e=0xbfa582e0) at qapplication.cpp:2635 #21 0xb6fc2ffa in QApplication::notify (this=0xbfa58790, receiver=0x82793b8, e=0xbfa582e0) at qapplication.cpp:2421 #22 0xb7855ed5 in KApplication::notify (this=0xbfa58790, receiver=0x82793b8, event=0xbfa582e0) at kapplication.cpp:550 #23 0xb6f49272 in QApplication::sendSpontaneousEvent (receiver=0x82793b8, event=0xbfa582e0) at qapplication.h:499 #24 0xb6f427c6 in QETWidget::translateMouseEvent (this=0x82793b8, event=0xbfa586a0) at qapplication_x11.cpp:4296 #25 0xb6f400a3 in QApplication::x11ProcessEvent (this=0xbfa58790, event=0xbfa586a0) at qapplication_x11.cpp:3447 #26 0xb6f5e2e0 in QEventLoop::processEvents (this=0x81536a8, flags=4) at qeventloop_x11.cpp:192 #27 0xb6fdb971 in QEventLoop::enterLoop (this=0x81536a8) at qeventloop.cpp:198 #28 0xb6fdb88c in QEventLoop::exec (this=0x81536a8) at qeventloop.cpp:145 #29 0xb6fc3c51 in QApplication::exec (this=0xbfa58790) at qapplication.cpp:2758 #30 0x0804fdfe in main (argc=138912480, argv=0x847a2e0) at main.cpp:42 #31 0xb6b27f21 in __libc_start_main () from /lib/libc.so.6 #32 0x0804eb81 in _start ()
Created attachment 20198 [details] backtrace of irreproducible knode crash I experienced a similar crash when clicking on a subscribed news group. I am also unable to reproduce it. I am using Debian Etch (currently testing). $knode --version Qt: 3.3.7 KDE: 3.5.5 KNode: 0.10.4 My backtrace is attached as the file knode_crash_raju_20060405.txt
SVN commit 1117909 by otrichet: Use boost::shared_ptr instead of plain pointer to handler KNArticle that are use all over the place. Side effect: use a QList in KNArticleVector instead of a old fashion array This fix crash cause by double free and freed-pointer access: BUG: 172266 BUG: 225813 BUG: 141573 This should also fixed crash that happens while accessing article (that were certainly already freed): BUG: 134904 BUG: 216919 BUG: 230536 BUG: 132990 M +18 -23 articlewidget.cpp M +10 -12 articlewidget.h M +6 -6 headerview.cpp M +9 -5 knarticle.cpp M +18 -7 knarticle.h M +43 -168 knarticlecollection.cpp M +25 -23 knarticlecollection.h M +31 -39 knarticlefactory.cpp M +9 -11 knarticlefactory.h M +8 -8 knarticlefilter.cpp M +2 -2 knarticlefilter.h M +43 -42 knarticlemanager.cpp M +8 -5 knarticlemanager.h M +10 -11 knarticlewindow.cpp M +5 -6 knarticlewindow.h M +2 -2 kncleanup.cpp M +6 -6 kncomposer.cpp M +4 -3 kncomposer.h M +12 -34 knfolder.cpp M +14 -7 knfolder.h M +12 -13 knfoldermanager.cpp M +26 -42 kngroup.cpp M +21 -10 kngroup.h M +11 -14 kngroupbrowser.cpp M +3 -9 kngroupbrowser.h M +25 -29 kngroupmanager.cpp M +6 -1 kngroupmanager.h M +6 -4 kngroupselectdialog.cpp M +19 -16 knhdrviewitem.cpp M +6 -6 knhdrviewitem.h M +3 -3 knjobdata.cpp M +11 -4 knjobdata.h M +15 -13 knmainwidget.cpp M +5 -8 knmainwidget.h M +7 -6 knmemorymanager.cpp M +7 -7 knmemorymanager.h M +8 -9 knscoring.cpp M +4 -4 knscoring.h M +3 -5 knstatusfilter.cpp M +7 -6 knstatusfilter.h M +2 -2 mailsendjob.cpp M +1 -1 mailsendjob.h M +16 -17 nntpjobs.cpp M +5 -5 nntpjobs.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1117909