Bug 210597

Summary: Crash during search in all folders
Product: [Applications] kontact Reporter: Frédéric COIFFIER <frederic.coiffier>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Frédéric COIFFIER 2009-10-14 22:09:58 UTC
Application that crashed: kontact
Version of the application: 4.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31-gentoo-r1 i686

What I was doing when the application crashed:
I don't know if the problem can be reproduced :
1. Make a search in all folders
2. Wait for some seconds

 -- Backtrace:
Application: Kontact (kontact), signal: Aborted
[KCrash Handler]
#6  0xb8030424 in __kernel_vsyscall ()
#7  0x4f3ed980 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x4f3ef1c8 in *__GI_abort () at abort.c:88
#9  0x4110be0f in __gnu_cxx::__verbose_terminate_handler () at /var/tmp/portage/sys-devel/gcc-4.4.1/work/gcc-4.4.1/libstdc++-v3/libsupc++/vterminate.cc:93
#10 0x41109c96 in __cxxabiv1::__terminate (handler=<value optimized out>) at /var/tmp/portage/sys-devel/gcc-4.4.1/work/gcc-4.4.1/libstdc++-v3/libsupc++/eh_terminate.cc:38
#11 0x41109cd3 in std::terminate () at /var/tmp/portage/sys-devel/gcc-4.4.1/work/gcc-4.4.1/libstdc++-v3/libsupc++/eh_terminate.cc:48
#12 0x41109e12 in __cxa_throw (obj=) at /var/tmp/portage/sys-devel/gcc-4.4.1/work/gcc-4.4.1/libstdc++-v3/libsupc++/eh_throw.cc:83
#13 0x4110a49b in operator new (sz=<value optimized out>) at /var/tmp/portage/sys-devel/gcc-4.4.1/work/gcc-4.4.1/libstdc++-v3/libsupc++/new_op.cc:58
#14 0x4110a57e in operator new[] (sz=<value optimized out>) at /var/tmp/portage/sys-devel/gcc-4.4.1/work/gcc-4.4.1/libstdc++-v3/libsupc++/new_opv.cc:32
#15 0xb304cb5a in KMFolderMbox::getDwString (this=0x9ec27d8, idx=121) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmfoldermbox.cpp:980
#16 0xb304c9c6 in KMFolderMbox::readMsg (this=0x9ec27d8, idx=121) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmfoldermbox.cpp:891
#17 0xb2fa76cf in FolderStorage::getMsg (this=0x9ec27d8, idx=121) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/folderstorage.cpp:495
#18 0xb2f7033a in KMFolder::getMsg (this=0x9ec23c0, idx=121) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmfolder.cpp:368
#19 0xb2ff4b06 in KMSearchPattern::matches (this=0x9c4fe68, serNum=6, ignoreBody=false) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmsearchpattern.cpp:791
#20 0xb2fa47ea in FolderStorage::slotProcessNextSearchBatch (this=0x9ec27d8) at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/folderstorage.cpp:1180
#21 0xb2fa49f3 in FolderStorage::qt_metacall (this=0x9ec27d8, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfed6f1c)
    at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/folderstorage.moc:148
#22 0xb31acda3 in KMFolderIndex::qt_metacall (this=0x9ec27d8, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfed6f1c)
    at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmfolderindex.moc:63
#23 0xb304ada4 in KMFolderMbox::qt_metacall (this=0x9ec27d8, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfed6f1c)
    at /var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmfoldermbox.moc:58
#24 0x4a4f2f3b in QMetaObject::activate (sender=) at kernel/qobject.cpp:3101
#25 0x4a4f33c6 in QMetaObject::activate (sender=<value optimized out>, m=) at kernel/qobject.cpp:3178
#26 0x4a4ff577 in QSingleShotTimer::timeout (this=0xbdd2f40) at .moc/release-shared/qtimer.moc:76
#27 QSingleShotTimer::timerEvent (this=0xbdd2f40) at kernel/qtimer.cpp:298
#28 0x4a4f43f4 in QObject::event (this=<value optimized out>, e=<value optimized out>) at kernel/qobject.cpp:1066
#29 0x4bda290c in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4065
#30 0x4bda423d in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:3961
#31 0xb6e3c582 in KApplication::notify (this=0xbfed76f4, receiver=0xbdd2f40, event=0xbfed73a8) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r2/work/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#32 0x4a4ded2d in QCoreApplication::notifyInternal (this=) at kernel/qcoreapplication.cpp:606
#33 0x4a511450 in QCoreApplication::sendEvent (this=<value optimized out>) at kernel/qcoreapplication.h:213
#34 QTimerInfoList::activateTimers (this=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:580
#35 0x4a50e53f in timerSourceDispatch (source=) at kernel/qeventdispatcher_glib.cpp:165
#36 0x4649b1cf in g_main_dispatch (context=0x993c290) at gmain.c:1824
#37 IA__g_main_context_dispatch (context=0x993c290) at gmain.c:2377
#38 0x4649e998 in g_main_context_iterate (context=0x993c290, block=<value optimized out>, dispatch=1, self=0x9923358) at gmain.c:2455
#39 0x4649eabf in IA__g_main_context_iteration (context=0x993c290, may_block=1) at gmain.c:2518
#40 0x4a50e489 in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:328
#41 0x4be518fb in QGuiEventDispatcherGlib::processEvents (this=) at kernel/qguieventdispatcher_glib.cpp:202
#42 0x4a4dd61e in QEventLoop::processEvents (this=) at kernel/qeventloop.cpp:149
#43 0x4a4ddb42 in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:197
#44 0x4a4e2506 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#45 0x4bda27c5 in QApplication::exec () at kernel/qapplication.cpp:3525
#46 0x0804bd61 in main (argc=3, argv=0xbfed78f4) at /var/tmp/portage/kde-base/kontact-4.3.2/work/kontact-4.3.2/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2009-10-14 22:13:45 UTC

*** This bug has been marked as a duplicate of bug 137527 ***
Comment 2 Frédéric COIFFIER 2009-10-14 22:49:09 UTC
It's not the same bug : the other bug is about KMail in KDE 3.5 and the backtrace is completely different.
Comment 3 Christophe Marin 2009-10-16 23:27:53 UTC
(In reply to comment #2)
> It's not the same bug : the other bug is about KMail in KDE 3.5

Well, yes, and ? 

Why do you think we keep some KDE bugs opened while this version is unmaintained ? 

The backtrace is obviously not the same since the code slightly changed since KDE3.

Now, let's look at your backtrace :

#15 0xb304cb5a in KMFolderMbox::getDwString (this=0x9ec27d8, idx=121) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmfoldermbox.cpp:980

and now let's look at this code in your kmail version: http://websvn.kde.org/tags/KDE/4.3.2/kdepim/kmail/kmfoldermbox.cpp?view=annotate&sortby=date

Now, compare the function starting at line 972 with bug 137527 and you will understand why this is a duplicate bug.

*** This bug has been marked as a duplicate of bug 137527 ***