<?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>234779</bug_id>
          
          <creation_ts>2010-04-19 09:30:11 +0000</creation_ts>
          <short_desc>Kmail crashes at startup after use Search</short_desc>
          <delta_ts>2010-04-28 11:33:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kmail</product>
          <component>general</component>
          <version>1.13.2</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>234366</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="Murz">MurzNN</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>kde</cc>
          
          <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>951401</commentid>
    <comment_count>0</comment_count>
    <who name="Murz">MurzNN</who>
    <bug_when>2010-04-19 09:30:11 +0000</bug_when>
    <thetext>Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
When I starting kmail via cli, I see in output:

$kmail
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kmail(2224) KMFolderMgr::removeFolderAux: Can not find parent folder for  Last Search 
kmail(2224) KMFolderImap::account: No parent folder found for &quot;myaccount2&quot; 
&lt;unknown program name&gt;(2223)/: Communication problem with  &quot;kmail&quot; , it probably crashed. 
Error message was:  &quot;org.freedesktop.DBus.Error.NoReply&quot; : &quot; &quot;Message did not receive a reply (timeout by message bus)&quot; &quot; 

KCrash: Application &apos;kmail&apos; crashing...

It repeates every time.

The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f2b16093b5c in KMail::SearchJob::searchCompleteFolder (this=0xec7b20) at ../../kmail/searchjob.cpp:87
#6  0x00007f2b15ebef38 in KMFolderImap::search (this=0xe38910, pattern=0xc6a510) at ../../kmail/kmfolderimap.cpp:2403
#7  0x00007f2b15ffc6d7 in KMSearch::slotProcessNextBatch (this=0xeb84b0) at ../../kmail/kmfoldersearch.cpp:272
#8  0x00007f2b15ffd840 in KMSearch::qt_metacall (this=0xeb84b0, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0x7fff9cfde9f0) at ./kmfoldersearch.moc:85
#9  0x00007f2b148d4e3f in QMetaObject::activate (sender=0xeab1f0, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x1) at kernel/qobject.cpp:3293
#10 0x00007f2b148d1a63 in QObject::event (this=0xeab1f0, e=0x7fff9cfdf140) at kernel/qobject.cpp:1212
#11 0x00007f2b14d9522c in QApplicationPrivate::notify_helper (this=0xadb420, receiver=0xeab1f0, e=0x7fff9cfdf140) at kernel/qapplication.cpp:4300
#12 0x00007f2b14d9b6fb in QApplication::notify (this=0x7fff9cfe1410, receiver=0xeab1f0, e=0x7fff9cfdf140) at kernel/qapplication.cpp:4183
#13 0x00007f2b16e97526 in KApplication::notify (this=0x7fff9cfe1410, receiver=0xeab1f0, event=0x7fff9cfdf140) at ../../kdeui/kernel/kapplication.cpp:302
#14 0x00007f2b148c206c in QCoreApplication::notifyInternal (this=0x7fff9cfe1410, receiver=0xeab1f0, event=0x7fff9cfdf140) at kernel/qcoreapplication.cpp:704
#15 0x00007f2b148eed42 in QCoreApplication::sendEvent (this=0xa1ae70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QTimerInfoList::activateTimers (this=0xa1ae70) at kernel/qeventdispatcher_unix.cpp:603
#17 0x00007f2b148eb824 in timerSourceDispatch (source=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:184
#18 0x00007f2b0b92b8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007f2b0b92f748 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007f2b0b92f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007f2b148eb513 in QEventDispatcherGlib::processEvents (this=0x9d8000, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:412
#22 0x00007f2b14e4546e in QGuiEventDispatcherGlib::processEvents (this=0x7fff9cfde740, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007f2b148c0992 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=) at kernel/qeventloop.cpp:149
#24 0x00007f2b148c0d6c in QEventLoop::exec (this=0x7fff9cfdf520, flags=) at kernel/qeventloop.cpp:201
#25 0x00007f2b16f27ec6 in KWallet::Wallet::openWallet (name=&lt;value optimized out&gt;, w=&lt;value optimized out&gt;, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:260
#26 0x00007f2b0f0c356d in MailTransport::TransportManager::wallet (this=0xa79b30) at ../../mailtransport/transportmanager.cpp:602
#27 0x00007f2b0f0bf8cd in MailTransport::Transport::readPassword (this=0xa98a70) at ../../mailtransport/transport.cpp:295
#28 0x00007f2b0f0bfd70 in MailTransport::Transport::qt_metacall (this=0xa98a70, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=&lt;value optimized out&gt;) at ./transport.moc:72
#29 0x00007f2b148d4e3f in QMetaObject::activate (sender=0xa94a00, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x1) at kernel/qobject.cpp:3293
#30 0x00007f2b148dc65f in QSingleShotTimer::timerEvent (this=0xa94a00) at kernel/qtimer.cpp:308
#31 0x00007f2b148d1a63 in QObject::event (this=0xa94a00, e=0x7fff9cfe00d0) at kernel/qobject.cpp:1212
#32 0x00007f2b14d9522c in QApplicationPrivate::notify_helper (this=0xadb420, receiver=0xa94a00, e=0x7fff9cfe00d0) at kernel/qapplication.cpp:4300
#33 0x00007f2b14d9b6fb in QApplication::notify (this=0x7fff9cfe1410, receiver=0xa94a00, e=0x7fff9cfe00d0) at kernel/qapplication.cpp:4183
#34 0x00007f2b16e97526 in KApplication::notify (this=0x7fff9cfe1410, receiver=0xa94a00, event=0x7fff9cfe00d0) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x00007f2b148c206c in QCoreApplication::notifyInternal (this=0x7fff9cfe1410, receiver=0xa94a00, event=0x7fff9cfe00d0) at kernel/qcoreapplication.cpp:704
#36 0x00007f2b148eed42 in QCoreApplication::sendEvent (this=0xa1ae70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QTimerInfoList::activateTimers (this=0xa1ae70) at kernel/qeventdispatcher_unix.cpp:603
#38 0x00007f2b148eb824 in timerSourceDispatch (source=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:184
#39 0x00007f2b0b92b8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007f2b0b92f748 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007f2b0b92f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007f2b148eb513 in QEventDispatcherGlib::processEvents (this=0x9d8000, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007f2b14e4546e in QGuiEventDispatcherGlib::processEvents (this=0x7fff9cfde740, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f2b148c0992 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=) at kernel/qeventloop.cpp:149
#45 0x00007f2b148c0d6c in QEventLoop::exec (this=0x7fff9cfe04b0, flags=) at kernel/qeventloop.cpp:201
#46 0x00007f2b16f27ec6 in KWallet::Wallet::openWallet (name=&lt;value optimized out&gt;, w=&lt;value optimized out&gt;, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:260
#47 0x00007f2b15f0c1f4 in KMKernel::wallet (this=0x7fff9cfe12a0) at ../../kmail/kmkernel.cpp:2498
#48 0x00007f2b15e96863 in KMail::NetworkAccount::readPassword (this=0xec6690) at ../../kmail/networkaccount.cpp:328
#49 0x00007f2b15e9701e in KMail::NetworkAccount::readConfig (this=0xec6690, config=...) at ../../kmail/networkaccount.cpp:170
#50 0x00007f2b15ea5a88 in KMail::ImapAccountBase::readConfig (this=0x7fff9cfde740, config=...) at ../../kmail/imapaccountbase.cpp:207
#51 0x00007f2b15e384cd in KMail::AccountManager::readConfig (this=&lt;value optimized out&gt;) at ../../kmail/accountmanager.cpp:131
#52 0x00007f2b15f1e7a4 in KMKernel::init (this=0x7fff9cfe12a0) at ../../kmail/kmkernel.cpp:1542
#53 0x0000000000403421 in main (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at ../../kmail/main.cpp:131

Possible duplicates by query: bug 234540, bug 234367, bug 234366, bug 233715, bug 233579.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>951402</commentid>
    <comment_count>1</comment_count>
    <who name="Murz">MurzNN</who>
    <bug_when>2010-04-19 09:37:05 +0000</bug_when>
    <thetext>I have solve this crash for me by manually deleting file &apos;~/.kde/share/apps/kmail/search/Last search&apos;. 
If I put this file back, the crash goes back.
Content of file (private data are replaced by XXX:

[Search Folder]
Base=.958616589.directory/INBOX
Recursive=true
contentsA=andrey@XXX.ru\n \n
fieldA=From
funcA=contains
name=&lt;unknown&gt;
operator=and
rules=1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>954434</commentid>
    <comment_count>2</comment_count>
    <who name="Nicolas L.">kde</who>
    <bug_when>2010-04-28 11:33:54 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 234366 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>