<?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>239013</bug_id>
          
          <creation_ts>2010-05-27 14:47:33 +0000</creation_ts>
          <short_desc>Kmail crashes on startup</short_desc>
          <delta_ts>2010-05-28 13:56:48 +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>211885</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>ermonnezza</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>echidnaman</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>967921</commentid>
    <comment_count>0</comment_count>
    <who name="">ermonnezza</who>
    <bug_when>2010-05-27 14:47:33 +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-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I had this after a resume from hibernation, and last time I used kmail I did some searches, but I&apos;m not sure it was the first time. Did not notice anything else weird before this. KMail is set up to read a single IMAP account at startup. I logged out and in again, I even rebooted, but it keeps crashing as soon as I start it. I tried to start it from the shell and this is what I get:
$ kmail &amp;
[1] 2839
$ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kmail(2842) KMFolderMgr::removeFolderAux: Can not find parent folder for  Last Search 
kmail(2842) KMFolderImap::account: No parent folder found for &quot;CoMo&quot; 
KCrash: Application &apos;kmail&apos; crashing...
sock_file=/home/xxx/.kde/socket-yyy/kdeinit4__0
&lt;unknown program name&gt;(2839)/: 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; 


[1]+  Exit 255                kmail





The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fbac79deb5c in KMail::SearchJob::searchCompleteFolder (this=0x1351f00) at ../../kmail/searchjob.cpp:87
#6  0x00007fbac7809f38 in KMFolderImap::search (this=0x12e6c50, pattern=0x13350f0) at ../../kmail/kmfolderimap.cpp:2403
#7  0x00007fbac79476d7 in KMSearch::slotProcessNextBatch (this=0x127ab30) at ../../kmail/kmfoldersearch.cpp:272
#8  0x00007fbac7948840 in KMSearch::qt_metacall (this=0x127ab30, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0x7fff9915d2f0) at ./kmfoldersearch.moc:85
#9  0x00007fbac621fe3f in QMetaObject::activate (sender=0x12da940, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x1) at kernel/qobject.cpp:3293
#10 0x00007fbac621ca63 in QObject::event (this=0x12da940, e=0x7fff9915da40) at kernel/qobject.cpp:1212
#11 0x00007fbac66e022c in QApplicationPrivate::notify_helper (this=0xfd4300, receiver=0x12da940, e=0x7fff9915da40) at kernel/qapplication.cpp:4300
#12 0x00007fbac66e66fb in QApplication::notify (this=0x7fff9915fd10, receiver=0x12da940, e=0x7fff9915da40) at kernel/qapplication.cpp:4183
#13 0x00007fbac87e2526 in KApplication::notify (this=0x7fff9915fd10, receiver=0x12da940, event=0x7fff9915da40) at ../../kdeui/kernel/kapplication.cpp:302
#14 0x00007fbac620d06c in QCoreApplication::notifyInternal (this=0x7fff9915fd10, receiver=0x12da940, event=0x7fff9915da40) at kernel/qcoreapplication.cpp:704
#15 0x00007fbac6239d42 in QCoreApplication::sendEvent (this=0x10086a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QTimerInfoList::activateTimers (this=0x10086a0) at kernel/qeventdispatcher_unix.cpp:603
#17 0x00007fbac6236824 in timerSourceDispatch (source=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:184
#18 0x00007fbabd2758c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007fbabd279748 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007fbabd2798fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007fbac6236513 in QEventDispatcherGlib::processEvents (this=0xf5a000, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:412
#22 0x00007fbac679046e in QGuiEventDispatcherGlib::processEvents (this=0x7fff9915d040, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007fbac620b992 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=) at kernel/qeventloop.cpp:149
#24 0x00007fbac620bd6c in QEventLoop::exec (this=0x7fff9915de20, flags=) at kernel/qeventloop.cpp:201
#25 0x00007fbac8872ec6 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 0x00007fbac0a0e56d in MailTransport::TransportManager::wallet (this=0x1239a50) at ../../mailtransport/transportmanager.cpp:602
#27 0x00007fbac0a0a8cd in MailTransport::Transport::readPassword (this=0x124e4a0) at ../../mailtransport/transport.cpp:295
#28 0x00007fbac0a0ad70 in MailTransport::Transport::qt_metacall (this=0x124e4a0, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=&lt;value optimized out&gt;) at ./transport.moc:72
#29 0x00007fbac621fe3f in QMetaObject::activate (sender=0x1256850, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x1) at kernel/qobject.cpp:3293
#30 0x00007fbac622765f in QSingleShotTimer::timerEvent (this=0x1256850) at kernel/qtimer.cpp:308
#31 0x00007fbac621ca63 in QObject::event (this=0x1256850, e=0x7fff9915e9d0) at kernel/qobject.cpp:1212
#32 0x00007fbac66e022c in QApplicationPrivate::notify_helper (this=0xfd4300, receiver=0x1256850, e=0x7fff9915e9d0) at kernel/qapplication.cpp:4300
#33 0x00007fbac66e66fb in QApplication::notify (this=0x7fff9915fd10, receiver=0x1256850, e=0x7fff9915e9d0) at kernel/qapplication.cpp:4183
#34 0x00007fbac87e2526 in KApplication::notify (this=0x7fff9915fd10, receiver=0x1256850, event=0x7fff9915e9d0) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x00007fbac620d06c in QCoreApplication::notifyInternal (this=0x7fff9915fd10, receiver=0x1256850, event=0x7fff9915e9d0) at kernel/qcoreapplication.cpp:704
#36 0x00007fbac6239d42 in QCoreApplication::sendEvent (this=0x10086a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QTimerInfoList::activateTimers (this=0x10086a0) at kernel/qeventdispatcher_unix.cpp:603
#38 0x00007fbac6236824 in timerSourceDispatch (source=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:184
#39 0x00007fbabd2758c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007fbabd279748 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007fbabd2798fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007fbac6236513 in QEventDispatcherGlib::processEvents (this=0xf5a000, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007fbac679046e in QGuiEventDispatcherGlib::processEvents (this=0x7fff9915d040, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007fbac620b992 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=) at kernel/qeventloop.cpp:149
#45 0x00007fbac620bd6c in QEventLoop::exec (this=0x7fff9915edb0, flags=) at kernel/qeventloop.cpp:201
#46 0x00007fbac8872ec6 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 0x00007fbac78571f4 in KMKernel::wallet (this=0x7fff9915fba0) at ../../kmail/kmkernel.cpp:2498
#48 0x00007fbac77e1863 in KMail::NetworkAccount::readPassword (this=0x12b9c80) at ../../kmail/networkaccount.cpp:328
#49 0x00007fbac77e201e in KMail::NetworkAccount::readConfig (this=0x12b9c80, config=...) at ../../kmail/networkaccount.cpp:170
#50 0x00007fbac77f0a88 in KMail::ImapAccountBase::readConfig (this=0x7fff9915d040, config=...) at ../../kmail/imapaccountbase.cpp:207
#51 0x00007fbac77834cd in KMail::AccountManager::readConfig (this=&lt;value optimized out&gt;) at ../../kmail/accountmanager.cpp:131
#52 0x00007fbac78697a4 in KMKernel::init (this=0x7fff9915fba0) 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

This bug may be a duplicate of or related to bug 198561.

Possible duplicates by query: bug 238814, bug 238680, bug 238676, bug 238384, bug 238332.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>967926</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Thomas">echidnaman</who>
    <bug_when>2010-05-27 14:57:02 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 211885 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>969246</commentid>
    <comment_count>2</comment_count>
    <who name="">ermonnezza</who>
    <bug_when>2010-05-28 13:56:48 +0000</bug_when>
    <thetext>today it started without problems. When I tried to start Kontact, Kontact crashed, and after that also KMail kept crashing at startup. I tried to reboot and it worked again.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>