<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>210597</bug_id>
          
          <creation_ts>2009-10-14 22:09:58 +0000</creation_ts>
          <short_desc>Crash during search in all folders</short_desc>
          <delta_ts>2009-10-16 23:27:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kontact</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Unlisted Binaries</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>137527</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Frédéric COIFFIER">frederic.coiffier</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>845116</commentid>
    <comment_count>0</comment_count>
    <who name="Frédéric COIFFIER">frederic.coiffier</who>
    <bug_when>2009-10-14 22:09:58 +0000</bug_when>
    <thetext>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&apos;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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;, e=&lt;value optimized out&gt;) at kernel/qobject.cpp:1066
#29 0x4bda290c in QApplicationPrivate::notify_helper (this=&lt;value optimized out&gt;, receiver=&lt;value optimized out&gt;, e=&lt;value optimized out&gt;) at kernel/qapplication.cpp:4065
#30 0x4bda423d in QApplication::notify (this=&lt;value optimized out&gt;, receiver=&lt;value optimized out&gt;, e=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) at kernel/qcoreapplication.h:213
#34 QTimerInfoList::activateTimers (this=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>845118</commentid>
    <comment_count>1</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2009-10-14 22:13:45 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 137527 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>845132</commentid>
    <comment_count>2</comment_count>
    <who name="Frédéric COIFFIER">frederic.coiffier</who>
    <bug_when>2009-10-14 22:49:09 +0000</bug_when>
    <thetext>It&apos;s not the same bug : the other bug is about KMail in KDE 3.5 and the backtrace is completely different.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>846059</commentid>
    <comment_count>3</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2009-10-16 23:27:53 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; It&apos;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&apos;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&apos;s look at this code in your kmail version: http://websvn.kde.org/tags/KDE/4.3.2/kdepim/kmail/kmfoldermbox.cpp?view=annotate&amp;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 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>