Version: 4.1.96 (using KDE 4.1.96) Compiler: gcc 4.3 OS: Linux Installed from: SuSE RPMs For some unknown reason, KMail asked me today for a POP3 password of one of the two POP accounts I use. I entered a bad one by mistake, probably. Now KMail does not start through at all, but crashes shortly after a messagebox "Could not connect to host - unknown error" occurs. Backtrace (it tells me that the backtrace is incomplete, but I don't know what else debuginfo to install additionally): --- [?1034h[Thread debugging using libthread_db enabled] 0xb5d3354c in nanosleep () from /lib/libc.so.6 [Current thread is 1 (Thread 0xb3cea700 (LWP 19342))] Thread 1 (Thread 0xb3cea700 (LWP 19342)): #0 0xb5d3354c in nanosleep () from /lib/libc.so.6 #1 0xb5d3334f in sleep () from /lib/libc.so.6 #2 0xb7ddbaba in KCrash::startDrKonqi (argv=0xbf990a34, argc=17) at /usr/src/debug/kdelibs-4.1.96/kdeui/util/kcrash.cpp:412 #3 0xb7ddc4ec in KCrash::defaultCrashHandler (sig=6) at /usr/src/debug/kdelibs-4.1.96/kdeui/util/kcrash.cpp:337 #4 <signal handler called> #5 0xb5cc39d6 in raise () from /lib/libc.so.6 #6 0xb5cc52d8 in abort () from /lib/libc.so.6 #7 0xb5d05a03 in ?? () from /lib/libc.so.6 #8 0xb5d0728b in free () from /lib/libc.so.6 #9 0xb5ee6ec1 in operator delete(void*) () from /usr/lib/libstdc++.so.6 #10 0xb6aa5395 in ~QEventLoop (this=0xbf992740) at kernel/qeventloop.cpp:120 #11 0xb6ab4c1f in QObjectPrivate::deleteChildren (this=0x892c6d0) at kernel/qobject.cpp:1884 #12 0xb6abd763 in ~QObject (this=0x8974fc8) at kernel/qobject.cpp:884 #13 0xb7a413c1 in ~KJob (this=0x8974fc8) at /usr/src/debug/kdelibs-4.1.96/kdecore/jobs/kjob.cpp:72 #14 0xb7a401f8 in ~KCompositeJob (this=0x8974fc8) at /usr/src/debug/kdelibs-4.1.96/kdecore/jobs/kcompositejob.cpp:44 #15 0xb4cc8bdc in Akonadi::Job::~Job() () from /usr/lib/libakonadi-kde.so.4 #16 0xb4c99d3d in Akonadi::CollectionFetchJob::~CollectionFetchJob() () from /usr/lib/libakonadi-kde.so.4 #17 0xb6ab490c in qDeleteInEventHandler (o=0x6) at kernel/qobject.cpp:3659 #18 0xb6ab62b3 in QObject::event (this=0x8974fc8, e=0x88a1310) at kernel/qobject.cpp:1139 #19 0xb603c8fc in QApplicationPrivate::notify_helper (this=0x806d4b0, receiver=0x8974fc8, e=0x88a1310) at kernel/qapplication.cpp:3803 #20 0xb604475e in QApplication::notify (this=0xbf998e78, receiver=0x8974fc8, e=0x88a1310) at kernel/qapplication.cpp:3393 #21 0xb7d6f8fd in KApplication::notify (this=0xbf998e78, receiver=0x8974fc8, event=0x88a1310) at /usr/src/debug/kdelibs-4.1.96/kdeui/kernel/kapplication.cpp:307 #22 0xb6aa6961 in QCoreApplication::notifyInternal (this=0xbf998e78, receiver=0x8974fc8, event=0x88a1310) at kernel/qcoreapplication.cpp:587 #23 0xb6aa75d5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804f628) at kernel/qcoreapplication.h:209 #24 0xb6aa77cd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091 #25 0xb6ad136f in postEventSourceDispatch (s=0x806fb20) at kernel/qcoreapplication.h:214 #26 0xb44889a8 in IA__g_main_context_dispatch (context=0x806fa98) at gmain.c:2144 #27 0xb448c063 in g_main_context_iterate (context=0x806fa98, block=1, dispatch=1, self=0x8074a88) at gmain.c:2778 #28 0xb448c221 in IA__g_main_context_iteration (context=0x806fa98, may_block=1) at gmain.c:2841 #29 0xb6ad0fb8 in QEventDispatcherGlib::processEvents (this=0x806b580, flags={i = -1080486104}) at kernel/qeventdispatcher_glib.cpp:319 #30 0xb60d57b5 in QGuiEventDispatcherGlib::processEvents (this=0x806b580, flags={i = -1080486056}) at kernel/qguieventdispatcher_glib.cpp:198 #31 0xb6aa501a in QEventLoop::processEvents (this=0xbf9917cc, flags={i = -1080485992}) at kernel/qeventloop.cpp:143 #32 0xb6aa51da in QEventLoop::exec (this=0xbf9917cc, flags={i = -1080485932}) at kernel/qeventloop.cpp:194 #33 0xb64a8317 in QDialog::exec (this=0x8936fd0) at dialogs/qdialog.cpp:447 #34 0xb7cf1d34 in KMessageBox::createKMessageBox (dialog=0x8936fd0, icon=@0xbf991a78, text=@0xbf991b78, strlist=@0xbf991b3c, ask=@0xbf991adc, checkboxReturn=0x0, options={i = -1080485260}, details=@0xbf991ad4, notifyType=QMessageBox::Critical) at /usr/src/debug/kdelibs-4.1.96/kdeui/dialogs/kmessagebox.cpp:330 #35 0xb7cf30b1 in KMessageBox::createKMessageBox (dialog=0x8936fd0, icon=QMessageBox::Critical, text=@0xbf991b78, strlist=@0xbf991b3c, ask=@0xbf991adc, checkboxReturn=0x0, options={i = -1080485160}, details=@0xbf991ad4) at /usr/src/debug/kdelibs-4.1.96/kdeui/dialogs/kmessagebox.cpp:151 #36 0xb7cf3ea3 in KMessageBox::errorListWId (parent_id=0, text=@0xbf991b78, strlist=@0xbf991b3c, caption=@0xbf991b74, options={i = -1080485064}) at /usr/src/debug/kdelibs-4.1.96/kdeui/dialogs/kmessagebox.cpp:848 #37 0xb7cf40c1 in KMessageBox::error (parent=0x0, text=@0xbf991b78, caption=@0xbf991b74, options={i = -1080485008}) at /usr/src/debug/kdelibs-4.1.96/kdeui/dialogs/kmessagebox.cpp:812 #38 0xb74c6794 in KMail::PopAccount::slotSlaveError (this=0x83c99d0, aSlave=0x8695a58, error=123, errorMsg=@0xbf991ec0) at /usr/src/debug/kdepim-4.1.96/kmail/popaccount.cpp:1104 #39 0xb74d35d4 in KMail::PopAccount::qt_metacall (this=0x83c99d0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf991c74) at /usr/src/debug/kdepim-4.1.96/build/kmail/popaccount.moc:89 #40 0xb6abb580 in QMetaObject::activate (sender=0x8129220, from_signal_index=5, to_signal_index=5, argv=0xbf991c74) at kernel/qobject.cpp:3031 #41 0xb6abc302 in QMetaObject::activate (sender=0x8129220, m=0xb6ebaaf0, local_signal_index=1, argv=0xbf991c74) at kernel/qobject.cpp:3101 #42 0xb6d985ff in KIO::Scheduler::slaveError (this=0x8129220, _t1=0x8695a58, _t2=123, _t3=@0xbf991ec0) at /usr/src/debug/kdelibs-4.1.96/build/kio/scheduler.moc:124 #43 0xb6d98851 in KIO::SchedulerPrivate::slotSlaveError (this=0x82b2a28, errorNr=123, errorMsg=@0xbf991ec0) at /usr/src/debug/kdelibs-4.1.96/kio/kio/scheduler.cpp:928 #44 0xb6d9e526 in KIO::Scheduler::qt_metacall (this=0x8129220, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf991da8) at /usr/src/debug/kdelibs-4.1.96/build/kio/scheduler.moc:104 #45 0xb6abb580 in QMetaObject::activate (sender=0x8695a58, from_signal_index=6, to_signal_index=6, argv=0xbf991da8) at kernel/qobject.cpp:3031 #46 0xb6abc302 in QMetaObject::activate (sender=0x8695a58, m=0xb6ebae64, local_signal_index=2, argv=0xbf991da8) at kernel/qobject.cpp:3101 #47 0xb6db0049 in KIO::SlaveInterface::error (this=0x8695a58, _t1=123, _t2=@0xbf991ec0) at /usr/src/debug/kdelibs-4.1.96/build/kio/slaveinterface.moc:151 #48 0xb6db2c6f in KIO::SlaveInterface::dispatch (this=0x8695a58, _cmd=102, rawdata=@0xbf991f04) at /usr/src/debug/kdelibs-4.1.96/kio/kio/slaveinterface.cpp:208 #49 0xb6db05c7 in KIO::SlaveInterface::dispatch (this=0x8695a58) at /usr/src/debug/kdelibs-4.1.96/kio/kio/slaveinterface.cpp:91 #50 0xb6da2ee0 in KIO::Slave::gotInput (this=0x8695a58) at /usr/src/debug/kdelibs-4.1.96/kio/kio/slave.cpp:322 #51 0xb6da3253 in KIO::Slave::qt_metacall (this=0x8695a58, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf991ff8) at /usr/src/debug/kdelibs-4.1.96/build/kio/slave.moc:75 #52 0xb6abb580 in QMetaObject::activate (sender=0x8696818, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3031 #53 0xb6abc302 in QMetaObject::activate (sender=0x8696818, m=0xb6eb7940, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101 #54 0xb6ccc0a7 in KIO::Connection::readyRead (this=0x8696818) at /usr/src/debug/kdelibs-4.1.96/build/kio/connection.moc:84 #55 0xb6ccdad3 in KIO::ConnectionPrivate::dequeue (this=0x8696148) at /usr/src/debug/kdelibs-4.1.96/kio/kio/connection.cpp:82 #56 0xb6cce126 in KIO::Connection::qt_metacall (this=0x8696818, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x892c408) at /usr/src/debug/kdelibs-4.1.96/build/kio/connection.moc:72 #57 0xb6ab471b in QMetaCallEvent::placeMetaCall (this=0x8937540, object=0x8696818) at kernel/qobject.cpp:529 #58 0xb6ab6281 in QObject::event (this=0x8696818, e=0x8937540) at kernel/qobject.cpp:1155 #59 0xb603c8fc in QApplicationPrivate::notify_helper (this=0x806d4b0, receiver=0x8696818, e=0x8937540) at kernel/qapplication.cpp:3803 #60 0xb604475e in QApplication::notify (this=0xbf998e78, receiver=0x8696818, e=0x8937540) at kernel/qapplication.cpp:3393 #61 0xb7d6f8fd in KApplication::notify (this=0xbf998e78, receiver=0x8696818, event=0x8937540) at /usr/src/debug/kdelibs-4.1.96/kdeui/kernel/kapplication.cpp:307 #62 0xb6aa6961 in QCoreApplication::notifyInternal (this=0xbf998e78, receiver=0x8696818, event=0x8937540) at kernel/qcoreapplication.cpp:587 #63 0xb6aa75d5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804f628) at kernel/qcoreapplication.h:209 #64 0xb6aa77cd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091 #65 0xb6ad136f in postEventSourceDispatch (s=0x806fb20) at kernel/qcoreapplication.h:214 #66 0xb44889a8 in IA__g_main_context_dispatch (context=0x806fa98) at gmain.c:2144 #67 0xb448c063 in g_main_context_iterate (context=0x806fa98, block=1, dispatch=1, self=0x8074a88) at gmain.c:2778 #68 0xb448c221 in IA__g_main_context_iteration (context=0x806fa98, may_block=1) at gmain.c:2841 #69 0xb6ad0fb8 in QEventDispatcherGlib::processEvents (this=0x806b580, flags={i = -1080482152}) at kernel/qeventdispatcher_glib.cpp:319 #70 0xb60d57b5 in QGuiEventDispatcherGlib::processEvents (this=0x806b580, flags={i = -1080482104}) at kernel/qguieventdispatcher_glib.cpp:198 #71 0xb6aa501a in QEventLoop::processEvents (this=0xbf992740, flags={i = -1080482040}) at kernel/qeventloop.cpp:143 #72 0xb6aa51da in QEventLoop::exec (this=0xbf992740, flags={i = -1080481976}) at kernel/qeventloop.cpp:194 #73 0xb7a41251 in KJob::exec (this=0x8974fc8) at /usr/src/debug/kdelibs-4.1.96/kdecore/jobs/kjob.cpp:195 #74 0xb098ace0 in KABC::ResourceAkonadi::asyncLoad (this=0x80bc4a8) at /usr/src/debug/kdepim-4.1.96/kresources/akonadi/kabc/resourceakonadi.cpp:409 #75 0xb6f9497e in KABC::AddressBook::asyncLoad() () from /usr/lib/libkabc.so.4 #76 0xb6fbf1fa in KABC::StdAddressBook::Private::init(bool) () from /usr/lib/libkabc.so.4 #77 0xb6fbf7ad in KABC::StdAddressBook::self(bool) () from /usr/lib/libkabc.so.4 #78 0xb753c07f in KMail::FancyHeaderStyle::format (this=0x8251a30, message=0x88a5780, strategy=0x82165b8, vCardName=@0xbf998350, printing=false, topLevel=true) at /usr/src/debug/kdepim-4.1.96/kmail/headerstyle.cpp:455 #79 0xb73db693 in KMReaderWin::writeMsgHeader (this=0x83f4368, aMsg=0x88a5780, hasVCard=false, topLevel=<value optimized out>) at /usr/src/debug/kdepim-4.1.96/kmail/kmreaderwin.cpp:1733 #80 0xb73e68aa in KMReaderWin::parseMsg (this=0x83f4368, aMsg=0x88a5780) at /usr/src/debug/kdepim-4.1.96/kmail/kmreaderwin.cpp:1618 #81 0xb73d7b18 in KMReaderWin::displayMessage (this=0x83f4368) at /usr/src/debug/kdepim-4.1.96/kmail/kmreaderwin.cpp:1555 #82 0xb73d7d30 in KMReaderWin::updateReaderWin (this=0x83f4368) at /usr/src/debug/kdepim-4.1.96/kmail/kmreaderwin.cpp:1495 #83 0xb73e61a0 in KMReaderWin::qt_metacall (this=0x83f4368, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf998678) at /usr/src/debug/kdepim-4.1.96/build/kmail/kmreaderwin.moc:164 #84 0xb6abb580 in QMetaObject::activate (sender=0x83f43b8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3031 #85 0xb6abc302 in QMetaObject::activate (sender=0x83f43b8, m=0xb6b8e904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101 #86 0xb6af67f7 in QTimer::timeout (this=0x83f43b8) at .moc/release-shared/moc_qtimer.cpp:126 #87 0xb6ac1f9e in QTimer::timerEvent (this=0x83f43b8, e=0xbf998b30) at kernel/qtimer.cpp:257 #88 0xb6ab604f in QObject::event (this=0x83f43b8, e=0xbf998b30) at kernel/qobject.cpp:1120 #89 0xb603c8fc in QApplicationPrivate::notify_helper (this=0x806d4b0, receiver=0x83f43b8, e=0xbf998b30) at kernel/qapplication.cpp:3803 #90 0xb604475e in QApplication::notify (this=0xbf998e78, receiver=0x83f43b8, e=0xbf998b30) at kernel/qapplication.cpp:3393 #91 0xb7d6f8fd in KApplication::notify (this=0xbf998e78, receiver=0x83f43b8, event=0xbf998b30) at /usr/src/debug/kdelibs-4.1.96/kdeui/kernel/kapplication.cpp:307 #92 0xb6aa6961 in QCoreApplication::notifyInternal (this=0xbf998e78, receiver=0x83f43b8, event=0xbf998b30) at kernel/qcoreapplication.cpp:587 #93 0xb6ad4b86 in QTimerInfoList::activateTimers (this=0x80706d4) at kernel/qcoreapplication.h:209 #94 0xb6ad1060 in timerSourceDispatch (source=0x80706a0) at kernel/qeventdispatcher_glib.cpp:160 #95 0xb44889a8 in IA__g_main_context_dispatch (context=0x806fa98) at gmain.c:2144 #96 0xb448c063 in g_main_context_iterate (context=0x806fa98, block=1, dispatch=1, self=0x8074a88) at gmain.c:2778 #97 0xb448c221 in IA__g_main_context_iteration (context=0x806fa98, may_block=1) at gmain.c:2841 #98 0xb6ad0fb8 in QEventDispatcherGlib::processEvents (this=0x806b580, flags={i = -1080455976}) at kernel/qeventdispatcher_glib.cpp:319 #99 0xb60d57b5 in QGuiEventDispatcherGlib::processEvents (this=0x806b580, flags={i = -1080455928}) at kernel/qguieventdispatcher_glib.cpp:198 #100 0xb6aa501a in QEventLoop::processEvents (this=0xbf998d80, flags={i = -1080455864}) at kernel/qeventloop.cpp:143 #101 0xb6aa51da in QEventLoop::exec (this=0xbf998d80, flags={i = -1080455800}) at kernel/qeventloop.cpp:194 #102 0xb6aa7895 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845 #103 0xb603c777 in QApplication::exec () at kernel/qapplication.cpp:3331 #104 0x0804a5e0 in main (argc=) at /usr/src/debug/kdepim-4.1.96/kmail/main.cpp:146
Some additional note: For getting KMail working again, I deleted in KWalletManager all kmail->Passwords->account-*, there were 4 passwords saved instead of the 2 expected, maybe from some earlier import of KDE3 kwallet contents. Starting Kmail after that I was requested to enter the password, again. I entered one, but the connection still fails with: "Could not connect to host: Unknown error" (maybe some problem in our intranet). The important difference here is, that KMail does no longer crash like mentioned above. Maybe you'll find it out now. Thanks
Seems like Akonadi event-loops thing. Reassigning
Also may be related to bug 177294
SVN commit 923208 by krake: Using nested event loops to achieve synchronous call behavior while doing Akonadi jobs has created way to many issues due to unexpected re-entrancy. This is basically backport of a series of changes in trunk which replace this form of blocking with real blocking of the caller and delegating the Akonadi job execution to a worker thread. This should fix all the bugs this is sent to. If they remain with 4.2.1 once it is released, please re-open. Darío, in case I missed some of the eventloop related bugs, please feel free to close them as well. BUG: 177294 BUG: 158129 BUG: 182475 BUG: 178869 BUG: 179577 BUG: 179838 BUG: 180384 BUG: 181153 BUG: 181966 BUG: 182833 BUG: 182956 BUG: 183187 M +210 -55 kabc/resourceakonadi.cpp M +202 -54 kcal/resourceakonadi.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=923208