Bug 134904 - Expiring groups causes crash
Summary: Expiring groups causes crash
Status: RESOLVED FIXED
Alias: None
Product: knode
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-30 16:37 UTC by tilleyrw
Modified: 2010-04-23 14:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tilleyrw 2006-09-30 16:37:28 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Ubuntu Packages

Choosing "Expire Group" from the KNode->Groups menu causes a crash with the following backtrace.

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1242281760 (LWP 31202)]
[New Thread -1296594000 (LWP 2635)]
[New Thread -1282573392 (LWP 31206)]
[New Thread -1274180688 (LWP 31205)]
[New Thread -1265787984 (LWP 31204)]
[New Thread -1257395280 (LWP 31203)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb2c5f370 in KNArticleManager::createCompleteThread ()
   from /usr/lib/libknodecommon.so
#7  0xb2c9fdb9 in KNArticleManager::showHdrs ()
   from /usr/lib/libknodecommon.so
#8  0xb2cac261 in KNGroupManager::expireGroupNow ()
   from /usr/lib/libknodecommon.so
#9  0xb2cac2a6 in KNMainWidget::slotGrpExpire ()
   from /usr/lib/libknodecommon.so
#10 0xb2cac87e in KNMainWidget::qt_invoke () from /usr/lib/libknodecommon.so
#11 0xb6ff4eb9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0xb6ff5954 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#13 0xb67d53e7 in KAction::activated () from /usr/lib/libkdeui.so.4
#14 0xb68084d2 in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#15 0xb68b7184 in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4
#16 0xb68b7695 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#17 0xb6ff4eb9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#18 0xb738829a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#19 0xb7012630 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#20 0xb7119fb1 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#21 0xb67e0add in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#22 0xb702f68d in QWidget::event () from /usr/lib/libqt-mt.so.3
#23 0xb6f8ae56 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#24 0xb6f8b3e0 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#25 0xb769a7ab in KApplication::notify () from /usr/lib/libkdecore.so.4
#26 0xb6f1c1c5 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#27 0xb6f175c0 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#28 0xb6f15d59 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#29 0xb6f2f4db in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#30 0xb6fa3947 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#31 0xb6fa386a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#32 0xb6f89965 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#33 0x0805a841 in ?? ()
#34 0xbfe6aee0 in ?? ()
#35 0x00000001 in ?? ()
#36 0x00000001 in ?? ()
#37 0x00000000 in ?? ()

Hope this helps, Bob
Comment 1 Dario Andres 2009-10-02 03:36:50 UTC
- Is this still happening on KDE4 ? Thanks
Comment 2 Olivier Trichet 2010-04-23 14:28:08 UTC
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