Bug 174992 - Assertion failed in transportmanager.cpp
Summary: Assertion failed in transportmanager.cpp
Status: CLOSED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 175458 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-12 23:51 UTC by Stefan Usenbinz
Modified: 2008-12-20 16:36 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Usenbinz 2008-11-12 23:51:50 UTC
Version:            (using Devel)
Compiler:          gcc-Version 4.2.4 (Ubuntu 4.2.4-1ubuntu3) 
OS:                Linux
Installed from:    Compiled sources

Compiling from trunk qt-copy revision 883348 and KDE revision 883353/883354. Starting KMail for the very first time. Going through wizard and on completion of the wizard get assertion failure in transportmanager.cpp.

Application: KMail (kmail), signal SIGABRT
0x00007f64745adb81 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 7157)]

Thread 2 (Thread 0x4248a950 (LWP 7209)):
#0  0x00007f6475cd1b99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6475f55d53 in QWaitConditionPrivate::wait (this=0xf92770, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007f6475f558b2 in QWaitCondition::wait (this=0xe58310, mutex=0xe58308, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:154
#3  0x00007f6474275923 in QHostInfoAgent::run (this=0xe582f0) at kernel/qhostinfo.cpp:241
#4  0x00007f6475f553df in QThreadPrivate::start (arg=0xe582f0) at thread/qthread_unix.cpp:185
#5  0x00007f6475ccd3f7 in start_thread () from /lib/libpthread.so.0
#6  0x00007f64745e7b3d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f64781516f0 (LWP 7157)):
[KCrash Handler]
#5  0x00007f6474542095 in raise () from /lib/libc.so.6
#6  0x00007f6474543af0 in abort () from /lib/libc.so.6
#7  0x00007f6475f4aa44 in qt_message_output (msgType=QtFatalMsg,
    buf=0x7fff8018e7f0 "ASSERT: \"!d->transports.contains( transport )\" in file /home/kde-devel/kde/src/KDE/kdepimlibs/mailtransport/transportmanager.cpp, line 165") at global/qglobal.cpp:2102
#8  0x00007f6475f4ab65 in qFatal (msg=0x7f64760996b8 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2303
#9  0x00007f6475f4afad in qt_assert (assertion=0x7f646ef3e2c0 "!d->transports.contains( transport )", file=0x7f646ef3e230 "/home/kde-devel/kde/src/KDE/kdepimlibs/mailtransport/transportmanager.cpp",
    line=165) at global/qglobal.cpp:1872
#10 0x00007f646ef2a7c2 in MailTransport::TransportManager::addTransport (this=0x6d31f0, transport=0x8ab7a0) at /home/kde-devel/kde/src/KDE/kdepimlibs/mailtransport/transportmanager.cpp:165
#11 0x00007f647585c005 in AccountWizard::transportCreated (this=0x7fff80192030) at /home/kde-devel/kde/src/KDE/kdepim/kmail/accountwizard.cpp:510
#12 0x00007f647585c41b in AccountWizard::smtpCapabilities (this=0x7fff80192030, encryptionModes=@0x7fff80190a10) at /home/kde-devel/kde/src/KDE/kdepim/kmail/accountwizard.cpp:773
#13 0x00007f6475860d1c in AccountWizard::qt_metacall (this=0x7fff80192030, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff80190ba0)
    at /home/kde-devel/kde/build/KDE/kdepim/kmail/accountwizard.moc:98
#14 0x00007f6476058d85 in QMetaObject::activate (sender=0xe12c00, from_signal_index=27, to_signal_index=27, argv=0x7fff80190ba0) at kernel/qobject.cpp:3028
#15 0x00007f64760591e9 in QMetaObject::activate (sender=0xe12c00, m=0x7f646f14b3c0, local_signal_index=0, argv=0x7fff80190ba0) at kernel/qobject.cpp:3101
#16 0x00007f646ef3419f in MailTransport::ServerTest::finished (this=0xe12c00, _t1=@0x7fff80190c70) at /home/kde-devel/kde/build/KDE/kdepimlibs/mailtransport/servertest.moc:136
#17 0x00007f646ef3583a in MailTransport::ServerTestPrivate::finalResult (this=0xe126d0) at /home/kde-devel/kde/src/KDE/kdepimlibs/mailtransport/servertest.cpp:120
#18 0x00007f646ef3586d in MailTransport::ServerTestPrivate::slotSslNotPossible (this=0xe126d0) at /home/kde-devel/kde/src/KDE/kdepimlibs/mailtransport/servertest.cpp:426
#19 0x00007f646ef36e53 in MailTransport::ServerTest::qt_metacall (this=0xe12c00, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff80190f20)
    at /home/kde-devel/kde/build/KDE/kdepimlibs/mailtransport/servertest.moc:93
#20 0x00007f6476058d85 in QMetaObject::activate (sender=0xd9b2b0, from_signal_index=6, to_signal_index=6, argv=0x0) at kernel/qobject.cpp:3028
#21 0x00007f64760591e9 in QMetaObject::activate (sender=0xd9b2b0, m=0x7f646f14b2e0, local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3101
#22 0x00007f646ef3332e in MailTransport::Socket::failed (this=0xd9b2b0) at /home/kde-devel/kde/build/KDE/kdepimlibs/mailtransport/socket.moc:112
#23 0x00007f646ef33351 in MailTransport::SocketPrivate::slotStateChanged (this=0xe12890, state=QAbstractSocket::UnconnectedState) at /home/kde-devel/kde/src/KDE/kdepimlibs/mailtransport/socket.cpp:85
#24 0x00007f646ef33ef1 in MailTransport::Socket::qt_metacall (this=0xd9b2b0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff80191150)
    at /home/kde-devel/kde/build/KDE/kdepimlibs/mailtransport/socket.moc:86
#25 0x00007f6476058d85 in QMetaObject::activate (sender=0xeaffd0, from_signal_index=11, to_signal_index=11, argv=0x7fff80191150) at kernel/qobject.cpp:3028
#26 0x00007f64760591e9 in QMetaObject::activate (sender=0xeaffd0, m=0x7f647450b1e0, local_signal_index=3, argv=0x7fff80191150) at kernel/qobject.cpp:3101
#27 0x00007f647428b5d8 in QAbstractSocket::stateChanged (this=0xeaffd0, _t1=QAbstractSocket::UnconnectedState) at .moc/debug-shared/moc_qabstractsocket.cpp:139
#28 0x00007f64742a0f14 in QSslSocketPrivate::_q_stateChangedSlot (this=0xeeadd0, state=QAbstractSocket::UnconnectedState) at ssl/qsslsocket.cpp:1971
#29 0x00007f64742a2ede in QSslSocket::qt_metacall (this=0xeaffd0, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fff80191330) at .moc/debug-shared/moc_qsslsocket.cpp:111
#30 0x00007f6476058d85 in QMetaObject::activate (sender=0xeea7d0, from_signal_index=11, to_signal_index=11, argv=0x7fff80191330) at kernel/qobject.cpp:3028
#31 0x00007f64760591e9 in QMetaObject::activate (sender=0xeea7d0, m=0x7f647450b1e0, local_signal_index=3, argv=0x7fff80191330) at kernel/qobject.cpp:3101
#32 0x00007f647428b5d8 in QAbstractSocket::stateChanged (this=0xeea7d0, _t1=QAbstractSocket::UnconnectedState) at .moc/debug-shared/moc_qabstractsocket.cpp:139
#33 0x00007f647428e337 in QAbstractSocketPrivate::_q_startConnecting (this=0xef8110, hostInfo=@0xf73430) at socket/qabstractsocket.cpp:736
#34 0x00007f647428f133 in QAbstractSocket::qt_metacall (this=0xeea7d0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xf890a0) at .moc/debug-shared/moc_qabstractsocket.cpp:108
#35 0x00007f64742b0eff in QTcpSocket::qt_metacall (this=0xeea7d0, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xf890a0) at .moc/debug-shared/moc#36 0x00007f6476052da1 in QMetaCallEvent::placeMetaCall (this=0xd7f490, object=0xeea7d0) at kernel/qobject.cpp:529
#37 0x00007f64760570df in QObject::event (this=0xeea7d0, e=0xd7f490) at kernel/qobject.cpp:1152
#38 0x00007f6476e1f017 in QApplicationPrivate::notify_helper (this=0x63c560, receiver=0xeea7d0, e=0xd7f490) at kernel/qapplication.cpp:3803
#39 0x00007f6476e1f326 in QApplication::notify (this=0x7fff80193c90, receiver=0xeea7d0, e=0xd7f490) at kernel/qapplication.cpp:3393
#40 0x00007f64767ee55a in KApplication::notify (this=0x7fff80193c90, receiver=0xeea7d0, event=0xd7f490) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#41 0x00007f647604427e in QCoreApplication::notifyInternal (this=0x7fff80193c90, receiver=0xeea7d0, event=0xd7f490) at kernel/qcoreapplication.cpp:583
#42 0x00007f6476e1c151 in QCoreApplication::sendEvent (receiver=0xeea7d0, event=0xd7f490) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#43 0x00007f64760447f5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x608440) at kernel/qcoreapplication.cpp:1195
#44 0x00007f64760449bc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#45 0x00007f6476ec3265 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#46 0x00007f64760731b3 in postEventSourceDispatch (s=0x63fb60) at kernel/qeventdispatcher_glib.cpp:205
#47 0x00007f6471cc1364 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#48 0x00007f6471cc4675 in ?? () from /usr/lib/libglib-2.0.so.0
#49 0x00007f6471cc4b5b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#50 0x00007f6476072500 in QEventDispatcherGlib::processEvents (this=0x633a20, flags=@0x7fff80191ea0) at kernel/qeventdispatcher_glib.cpp:319
#51 0x00007f6476ec1983 in QGuiEventDispatcherGlib::processEvents (this=0x633a20, flags=@0x7fff80191f00) at kernel/qguieventdispatcher_glib.cpp:198
#52 0x00007f64760413c4 in QEventLoop::processEvents (this=0x7fff80191fc0, flags=@0x7fff80191f80) at kernel/qeventloop.cpp:143
#53 0x00007f64760415c0 in QEventLoop::exec (this=0x7fff80191fc0, flags=@0x7fff80191ff0) at kernel/qeventloop.cpp:190
#54 0x00007f647729e8ca in QDialog::exec (this=0x7fff80192030) at dialogs/qdialog.cpp:447
#55 0x00007f647586110e in AccountWizard::start (kernel=0x7fff80193b40, parent=0x7d7540) at /home/kde-devel/kde/src/KDE/kdepim/kmail/accountwizard.cpp:140
#56 0x00007f64754a8598 in KMMainWin (this=0x7d7540) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmmainwin.cpp:73
#57 0x00007f64756b37e6 in KMKernel::openReader (this=0x7fff80193b40, onlyCheck=false) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmkernel.cpp:375
#58 0x00007f64756b5145 in KMKernel::action (this=0x7fff80193b40, mailto=false, check=false, to=@0x7fff80192720, cc=@0x7fff80192710, bcc=@0x7fff80192700, subj=@0x7fff801926f0, body=@0x7fff801926e0,
    messageFile=@0x7fff801924b0, attachURLs=@0x7fff801926c0, customHeaders=@0x7fff801926d0) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmkernel.cpp:1828
#59 0x00007f64756b6181 in KMKernel::handleCommandLine (this=0x7fff80193b40, noArgsOpensReader=true) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmkernel.cpp:321
#60 0x00000000004026af in KMailApplication::newInstance (this=0x7fff80193c90) at /home/kde-devel/kde/src/KDE/kdepim/kmail/main.cpp:84
#61 0x00007f64767f566d in KUniqueApplicationAdaptor::newInstance (this=0x6fe970, asn_id=@0x796a90, args=@0x761310) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kuniqueapplication_p.h:77
#62 0x00007f64767f3a13 in KUniqueApplicationAdaptor::qt_metacall (this=0x6fe970, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff80192b90)
    at /home/kde-devel/kde/build/KDE/kdelibs/kdeui/kuniqueapplication_p.moc:74
#63 0x00007f647637e30b in QDBusConnectionPrivate::deliverCall (this=0x639e70, object=0x6fe970, msg=@0x6b8500, metaTypes=@0x7fff80192c68, slotIdx=4) at qdbusintegrator.cpp:849
#64 0x00007f647637ee31 in QDBusConnectionPrivate::activateCall (this=0x639e70, object=0x6fe970, flags=337, msg=@0x6b8500) at qdbusintegrator.cpp:754
#65 0x00007f647637f9fa in QDBusConnectionPrivate::activateObject (this=0x639e70, node=@0x6b84d8, msg=@0x6b8500, pathStartPos=16) at qdbusintegrator.cpp:1283
#66 0x00007f647637fc76 in QDBusActivateObjectEvent::placeMetaCall (this=0x6b8490) at qdbusintegrator.cpp:1400
#67 0x00007f64760570df in QObject::event (this=0x7fff80193c90, e=0x6b8490) at kernel/qobject.cpp:1152
#68 0x00007f6476043930 in QCoreApplication::event (this=0x7fff80193c90, e=0x6b8490) at kernel/qcoreapplication.cpp:1385
#69 0x00007f6476e22d6e in QApplication::event (this=0x7fff80193c90, e=0x6b8490) at kernel/qapplication.cpp:2187
#70 0x00007f6476e1f017 in QApplicationPrivate::notify_helper (this=0x63c560, receiver=0x7fff80193c90, e=0x6b8490) at kernel/qapplication.cpp:3803
#71 0x00007f6476e1f326 in QApplication::notify (this=0x7fff80193c90, receiver=0x7fff80193c90, e=0x6b8490) at kernel/qapplication.cpp:3393
#72 0x00007f64767ee55a in KApplication::notify (this=0x7fff80193c90, receiver=0x7fff80193c90, event=0x6b8490) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#73 0x00007f647604427e in QCoreApplication::notifyInternal (this=0x7fff80193c90, receiver=0x7fff80193c90, event=0x6b8490) at kernel/qcoreapplication.cpp:583
#74 0x00007f6476e1c151 in QCoreApplication::sendEvent (receiver=0x7fff80193c90, event=0x6b8490) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#75 0x00007f64760447f5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x608440) at kernel/qcoreapplication.cpp:1195
#76 0x00007f64760449bc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#77 0x00007f6476ec3265 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#78 0x00007f64760731b3 in postEventSourceDispatch (s=0x63fb60) at kernel/qeventdispatcher_glib.cpp:205
#79 0x00007f6471cc1364 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#80 0x00007f6471cc4675 in ?? () from /usr/lib/libglib-2.0.so.0
#81 0x00007f6471cc4b5b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#82 0x00007f6476072500 in QEventDispatcherGlib::processEvents (this=0x633a20, flags=@0x7fff801939b0) at kernel/qeventdispatcher_glib.cpp:319
#83 0x00007f6476ec1983 in QGuiEventDispatcherGlib::processEvents (this=0x633a20, flags=@0x7fff80193a10) at kernel/qguieventdispatcher_glib.cpp:198
#84 0x00007f64760413c4 in QEventLoop::processEvents (this=0x7fff80193ad0, flags=@0x7fff80193a90) at kernel/qeventloop.cpp:143
#85 0x00007f64760415c0 in QEventLoop::exec (this=0x7fff80193ad0, flags=@0x7fff80193af0) at kernel/qeventloop.cpp:190
#86 0x00007f6476044ac8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
_qtcpsocket.cpp:57
#87 0x00007f6476e1ed78 in QApplication::exec () at kernel/qapplication.cpp:3331
#88 0x000000000040367c in main (argc=3, argv=0x7fff80193e28) at /home/kde-devel/kde/src/KDE/kdepim/kmail/main.cpp:146

And since I saw bug 158054 when checking for dupes the contents of .kde4/share/config/mailtransports (user xxed out):

[$Version]
update_info=mailtransports.upd:initial-kmail-migration,mailtransports.upd:initial-knode-migration

[General]
default-transport=931483885

[Transport 931483885]
auth=true
id=931483885
name=Web.de
storepass=true
user=xxxx
Comment 1 FiNeX 2008-11-13 00:29:44 UTC
Cannot reproduce using 883447. I've configured an IMAP account.
Comment 2 Stefan Usenbinz 2008-11-13 20:40:30 UTC
Can not reproduce at 883827 either. Assuming root cause has indeed been fixed in the meantime for now.
Comment 3 Christophe Marin 2008-11-18 10:11:45 UTC
*** Bug 175458 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2008-11-18 10:17:16 UTC
Reopen.

Patch submitted in bug 175458 :


Index: mailtransport/transportmanager.cpp
===================================================================
--- mailtransport/transportmanager.cpp	(revision 885797)
+++ mailtransport/transportmanager.cpp	(working copy)
@@ -162,7 +162,9 @@
 
 void TransportManager::addTransport( Transport *transport )
 {
-  Q_ASSERT( !d->transports.contains( transport ) );
+  if( d->transports.contains( transport ) ) {
+    return;
+  }
   d->transports.append( transport );
   validateDefault();
   emitChangesCommitted();
Comment 5 Thomas McGuire 2008-11-18 18:40:32 UTC
SVN commit 886171 by tmcguire:

Fix possible crash.
I couldn't reproduce triggering this crash, but apparently it can happen in KMail.

Benoît, can you reproduce this and if yes, how?

BUG: 174992


 M  +3 -1      transportmanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=886171
Comment 6 Benoît Jacob 2008-11-18 23:08:22 UTC
Here is how this crash happened to me:
with a completely new $KDEHOME, I ran KMail (svn checkout from yesterday), saw the first-time wizard, I configured my identity (real name + email address) and an IMAP account (with a server name for receiving and another SMTP name for sending mail). Then I clicked Finish, the wizard closed, and then the crash occured.

I tried to reproduce it but failed. I removed share/apps/kmail* and share/config/kmail* in my KDEHOME, I got the first-time wizard again, filled the same information, no crash. So I don't know what in KDEHOME must be erased in order to reproduce the crash.

As for the fix, I can confirm that I've been running it for a day without a crash; on the other hand I am having a problem where KMail doesn't actually manage to fetch any mail from my IMAP account and instead gets stuck forever trying to do it; I don't know if that can be related (I don't want to have made you introduce another bug in KMail !!)
Comment 7 Benoît Jacob 2008-11-19 13:30:18 UTC
One more comment as to the "root cause" of this bug:

In Configure KMail -> Accounts -> Sending, I can see *two* SMTP accounts created, but I only created one with the wizard. So we have at least a bug here, where the wizard creates the (same?) SMTP account twice. Now maybe this sounds familiar...? this bug here was caused by addTransport being called twice with the same transport, so if I understand correctly what a transport is, it's the same.

Hoping this helps you by showing that the problem lies probably in the SMTP account creation part of the wizard...
Comment 8 Stefan Usenbinz 2008-11-23 16:31:39 UTC
Just tried this again with qt-copy 884963 and KDE 887926 after throwing away the complete .kde4 directory. The casual user probably wouldn't note any difference since the crash still happens after the wizard completed, but the crash details are in fact completely different.
Btw. refering to the last comments: I only specified an IMAP server in the wizard dialog this time and NO STMP server which may or may not make any difference.

Thread 1 (Thread 0x7ff2f4d546f0 (LWP 3875)):
[KCrash Handler]
#5  0x00007ff2ec55e1c7 in QMetaObject::activate (sender=0xee4fb0, m=0x7ff2ec3e31e0, local_signal_index=4, argv=0x7ffffcd96600) at kernel/qobject.cpp:3097
#6  0x00007ff2ec163596 in QAbstractSocket::error (this=0xee4fb0, _t1=QAbstractSocket::HostNotFoundError) at .moc/debug-shared/moc_qabstractsocket.cpp:146
#7  0x00007ff2ec166345 in QAbstractSocketPrivate::_q_startConnecting (this=0xef26f0, hostInfo=@0xe15ef0) at socket/qabstractsocket.cpp:737
#8  0x00007ff2ec167133 in QAbstractSocket::qt_metacall (this=0xee4fb0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xfa8220) at .moc/debug-shared/moc_qabstractsocket.cpp:108
#9  0x00007ff2ec188eff in QTcpSocket::qt_metacall (this=0xee4fb0, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xfa8220) at .moc/debug-shared/moc_qtcpsocket.cpp:57
#10 0x00007ff2ec557da1 in QMetaCallEvent::placeMetaCall (this=0xee4980, object=0xee4fb0) at kernel/qobject.cpp:529
#11 0x00007ff2ec55c0df in QObject::event (this=0xee4fb0, e=0xee4980) at kernel/qobject.cpp:1152
#12 0x00007ff2eb67e017 in QApplicationPrivate::notify_helper (this=0x63c8e0, receiver=0xee4fb0, e=0xee4980) at kernel/qapplication.cpp:3803
#13 0x00007ff2eb67e326 in QApplication::notify (this=0x7ffffcd98f60, receiver=0xee4fb0, e=0xee4980) at kernel/qapplication.cpp:3393
#14 0x00007ff2f472b906 in KApplication::notify (this=0x7ffffcd98f60, receiver=0xee4fb0, event=0xee4980) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#15 0x00007ff2ec54927e in QCoreApplication::notifyInternal (this=0x7ffffcd98f60, receiver=0xee4fb0, event=0xee4980) at kernel/qcoreapplication.cpp:583
#16 0x00007ff2f2f3e469 in QCoreApplication::sendEvent (receiver=0xee4fb0, event=0xee4980) at ../../../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#17 0x00007ff2ec5497f5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x608400) at kernel/qcoreapplication.cpp:1195
#18 0x00007ff2ec5499bc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#19 0x00007ff2ed3c1555 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#20 0x00007ff2ec5781b3 in postEventSourceDispatch (s=0x63ff00) at kernel/qeventdispatcher_glib.cpp:205
#21 0x00007ff2e708f604 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x00007ff2e7092915 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00007ff2e7092dfb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0x00007ff2ec577500 in QEventDispatcherGlib::processEvents (this=0x637cb0, flags=@0x7ffffcd97170) at kernel/qeventdispatcher_glib.cpp:319
#25 0x00007ff2eb720983 in QGuiEventDispatcherGlib::processEvents (this=0x637cb0, flags=@0x7ffffcd971d0) at kernel/qguieventdispatcher_glib.cpp:198
#26 0x00007ff2ec5463c4 in QEventLoop::processEvents (this=0x7ffffcd97290, flags=@0x7ffffcd97250) at kernel/qeventloop.cpp:143
#27 0x00007ff2ec5465c0 in QEventLoop::exec (this=0x7ffffcd97290, flags=@0x7ffffcd972c0) at kernel/qeventloop.cpp:190
#28 0x00007ff2ebafd8ca in QDialog::exec (this=0x7ffffcd97300) at dialogs/qdialog.cpp:447
#29 0x00007ff2f3b799ea in AccountWizard::start (kernel=0x7ffffcd98e10, parent=0x7b9030) at /home/kde-devel/kde/src/KDE/kdepim/kmail/accountwizard.cpp:140
#30 0x00007ff2f37eb7f4 in KMMainWin (this=0x7b9030) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmmainwin.cpp:73
#31 0x00007ff2f39d1b58 in KMKernel::openReader (this=0x7ffffcd98e10, onlyCheck=false) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmkernel.cpp:373
#32 0x00007ff2f39d3491 in KMKernel::action (this=0x7ffffcd98e10, mailto=false, check=false, to=@0x7ffffcd979f0, cc=@0x7ffffcd979e0, bcc=@0x7ffffcd979d0, subj=@0x7ffffcd979c0, body=@0x7ffffcd979b0,
    messageFile=@0x7ffffcd97780, attachURLs=@0x7ffffcd97990, customHeaders=@0x7ffffcd979a0) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmkernel.cpp:1826
#33 0x00007ff2f39d44cd in KMKernel::handleCommandLine (this=0x7ffffcd98e10, noArgsOpensReader=true) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmkernel.cpp:319
#34 0x000000000040291f in KMailApplication::newInstance (this=0x7ffffcd98f60) at /home/kde-devel/kde/src/KDE/kdepim/kmail/main.cpp:84
#35 0x00007ff2f4732a19 in KUniqueApplicationAdaptor::newInstance (this=0x6fdc80, asn_id=@0x793d80, args=@0x7b3b90) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kuniqueapplication_p.h:77
#36 0x00007ff2f4730dbf in KUniqueApplicationAdaptor::qt_metacall (this=0x6fdc80, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffffcd97e60)
    at /home/kde-devel/kde/build/KDE/kdelibs/kdeui/kuniqueapplication_p.moc:74
#37 0x00007ff2ec88330b in QDBusConnectionPrivate::deliverCall (this=0x63a580, object=0x6fdc80, msg=@0x691fb0, metaTypes=@0x7ffffcd97f38, slotIdx=4) at qdbusintegrator.cpp:849
#38 0x00007ff2ec883e31 in QDBusConnectionPrivate::activateCall (this=0x63a580, object=0x6fdc80, flags=337, msg=@0x691fb0) at qdbusintegrator.cpp:754
#39 0x00007ff2ec8849fa in QDBusConnectionPrivate::activateObject (this=0x63a580, node=@0x691f88, msg=@0x691fb0, pathStartPos=16) at qdbusintegrator.cpp:1283
#40 0x00007ff2ec884c76 in QDBusActivateObjectEvent::placeMetaCall (this=0x691f40) at qdbusintegrator.cpp:1400
#41 0x00007ff2ec55c0df in QObject::event (this=0x7ffffcd98f60, e=0x691f40) at kernel/qobject.cpp:1152
#42 0x00007ff2ec548930 in QCoreApplication::event (this=0x7ffffcd98f60, e=0x691f40) at kernel/qcoreapplication.cpp:1385
#43 0x00007ff2eb681d6e in QApplication::event (this=0x7ffffcd98f60, e=0x691f40) at kernel/qapplication.cpp:2187
#44 0x00007ff2eb67e017 in QApplicationPrivate::notify_helper (this=0x63c8e0, receiver=0x7ffffcd98f60, e=0x691f40) at kernel/qapplication.cpp:3803
#45 0x00007ff2eb67e326 in QApplication::notify (this=0x7ffffcd98f60, receiver=0x7ffffcd98f60, e=0x691f40) at kernel/qapplication.cpp:3393
#46 0x00007ff2f472b906 in KApplication::notify (this=0x7ffffcd98f60, receiver=0x7ffffcd98f60, event=0x691f40) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#47 0x00007ff2ec54927e in QCoreApplication::notifyInternal (this=0x7ffffcd98f60, receiver=0x7ffffcd98f60, event=0x691f40) at kernel/qcoreapplication.cpp:583
#48 0x00007ff2f2f3e469 in QCoreApplication::sendEvent (receiver=0x7ffffcd98f60, event=0x691f40) at ../../../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#49 0x00007ff2ec5497f5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x608400) at kernel/qcoreapplication.cpp:1195
#50 0x00007ff2ec5499bc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#51 0x00007ff2ed3c1555 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#52 0x00007ff2ec5781b3 in postEventSourceDispatch (s=0x63ff00) at kernel/qeventdispatcher_glib.cpp:205
#53 0x00007ff2e708f604 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#54 0x00007ff2e7092915 in ?? () from /usr/lib/libglib-2.0.so.0
#55 0x00007ff2e7092dfb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#56 0x00007ff2ec577500 in QEventDispatcherGlib::processEvents (this=0x637cb0, flags=@0x7ffffcd98c80) at kernel/qeventdispatcher_glib.cpp:319
#57 0x00007ff2eb720983 in QGuiEventDispatcherGlib::processEvents (this=0x637cb0, flags=@0x7ffffcd98ce0) at kernel/qguieventdispatcher_glib.cpp:198
#58 0x00007ff2ec5463c4 in QEventLoop::processEvents (this=0x7ffffcd98da0, flags=@0x7ffffcd98d60) at kernel/qeventloop.cpp:143
#59 0x00007ff2ec5465c0 in QEventLoop::exec (this=0x7ffffcd98da0, flags=@0x7ffffcd98dc0) at kernel/qeventloop.cpp:190
#60 0x00007ff2ec549ac8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#61 0x00007ff2eb67dd78 in QApplication::exec () at kernel/qapplication.cpp:3331
#62 0x00000000004038ec in main (argc=3, argv=0x7ffffcd990f8) at /home/kde-devel/kde/src/KDE/kdepim/kmail/main.cpp:146
Comment 9 Stefan Usenbinz 2008-12-20 16:36:44 UTC
Do not see any crashes anymore for this scenario with rev 899204. Closing.