Version: (using Devel) Compiler: gcc 4.3.0 OS: Linux Installed from: Compiled sources On first run, KMail crashes after the first-time-wizard. Please find attached the backtrace and a quick patch.
Created attachment 28653 [details] the backtrace
Created attachment 28654 [details] the patch Note that this is just a quick trivial fix to shut this bug up. It needs the review of a KMail developer to determine if it's really the right thing to do!
Copy / Paste from #1 (Pasting backtraces directly in the comments helps us when we have to find the duplicate bugs) : Application: KMail (kmail), signal SIGABRT [Current thread is 0 (LWP 21221)] Thread 2 (Thread 0xb0e4db90 (LWP 22103)): #0 0xb7f20410 in __kernel_vsyscall () #1 0xb6039aa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb57339b2 in QWaitCondition::wait () from /home/gaston/prefix/lib/libQtCore.so.4 #3 0xb567498a in ?? () from /home/gaston/prefix/lib/libQtNetwork.so.4 #4 0xb5732bf0 in ?? () from /home/gaston/prefix/lib/libQtCore.so.4 #5 0xb60354fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb4c65e5e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb41da6c0 (LWP 21221)): [KCrash Handler] #6 0xb7f20410 in __kernel_vsyscall () #7 0xb4bba085 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb4bbba01 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb572b9f5 in qt_message_output () from /home/gaston/prefix/lib/libQtCore.so.4 #10 0xb572bab2 in qFatal () from /home/gaston/prefix/lib/libQtCore.so.4 #11 0xb572bb55 in qt_assert () from /home/gaston/prefix/lib/libQtCore.so.4 #12 0xb622b8be in MailTransport::TransportManager::addTransport (this=0x8142e60, transport=0x86f7030) at /home/gaston/cuisine/trunk/kdepimlibs/mailtransport/transportmanager.cpp:165 #13 0xb763833c in AccountWizard::transportCreated (this=0xbfccf184) at /home/gaston/cuisine/trunk/kdepim/kmail/accountwizard.cpp:510 #14 0xb763ac7b in AccountWizard::smtpCapabilities (this=0xbfccf184, encryptionModes= {{p = {static shared_null = {ref = {_q_value = 16482}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xbfcce4a0}, d = 0xbfcce4a0}}) at /home/gaston/cuisine/trunk/kdepim/kmail/accountwizard.cpp:773 #15 0xb763e22d in AccountWizard::qt_metacall (this=0xbfccf184, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfcce57c) at /home/gaston/cuisine/kdepim-build/kmail/accountwizard.moc:98 #16 0xb581fbea in QMetaObject::activate () from /home/gaston/prefix/lib/libQtCore.so.4 #17 0xb5820162 in QMetaObject::activate () from /home/gaston/prefix/lib/libQtCore.so.4 #18 0xb6238c43 in MailTransport::ServerTest::finished (this=0x85d5e48, _t1= {{p = {static shared_null = {ref = {_q_value = 16482}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xbfcce6b0}, d = 0xbfcce6b0}}) at /home/gaston/cuisine/kdepimlibs-build/mailtransport/servertest.moc:136 #19 0xb623b0a0 in MailTransport::ServerTestPrivate::finalResult (this=0x870f588) at /home/gaston/cuisine/trunk/kdepimlibs/mailtransport/servertest.cpp:120 #20 0xb623ee36 in MailTransport::ServerTest::qt_metacall (this=0x85d5e48, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfcce7b8) at /home/gaston/cuisine/kdepimlibs-build/mailtransport/servertest.moc:93 #21 0xb581fbea in QMetaObject::activate () from /home/gaston/prefix/lib/libQtCore.so.4 #22 0xb5820162 in QMetaObject::activate () from /home/gaston/prefix/lib/libQtCore.so.4 #23 0xb6237067 in MailTransport::Socket::failed (this=0x873b310) at /home/gaston/cuisine/kdepimlibs-build/mailtransport/socket.moc:112 #24 0xb6237096 in MailTransport::SocketPrivate::slotStateChanged (this=0x873b340, state=QAbstractSocket::UnconnectedState) at /home/gaston/cuisine/trunk/kdepimlibs/mailtransport/socket.cpp:85 #25 0xb6238a22 in MailTransport::Socket::qt_metacall (this=0x873b310, _c=QMetaObject::InvokeMetaMethod, _id=141800208, _a=0xbfcce90c) at /home/gaston/cuisine/kdepimlibs-build/mailtransport/socket.moc:86 #26 0xb581fbea in QMetaObject::activate () from /home/gaston/prefix/lib/libQtCore.so.4 #27 0xb5820162 in QMetaObject::activate () from /home/gaston/prefix/lib/libQtCore.so.4 #28 0xb5687073 in QAbstractSocket::stateChanged () from /home/gaston/prefix/lib/libQtNetwork.so.4 #29 0xb569e6ab in ?? () from /home/gaston/prefix/lib/libQtNetwork.so.4 #30 0xb56a1daf in QSslSocket::qt_metacall () from /home/gaston/prefix/lib/libQtNetwork.so.4 #31 0xb581fbea in QMetaObject::activate () from /home/gaston/prefix/lib/libQtCore.so.4 #32 0xb5820162 in QMetaObject::activate () from /home/gaston/prefix/lib/libQtCore.so.4 #33 0xb5687073 in QAbstractSocket::stateChanged () from /home/gaston/prefix/lib/libQtNetwork.so.4 #34 0xb56891e2 in ?? () from /home/gaston/prefix/lib/libQtNetwork.so.4 #35 0xb568ac70 in QAbstractSocket::qt_metacall () from /home/gaston/prefix/lib/libQtNetwork.so.4 #36 0xb56affa2 in QTcpSocket::qt_metacall () from /home/gaston/prefix/lib/libQtNetwork.so.4 #37 0xb581aabb in QMetaCallEvent::placeMetaCall () from /home/gaston/prefix/lib/libQtCore.so.4 #38 0xb581c671 in QObject::event () from /home/gaston/prefix/lib/libQtCore.so.4 #39 0xb4fd363c in QApplicationPrivate::notify_helper () from /home/gaston/prefix/lib/libQtGui.so.4 #40 0xb4fda71e in QApplication::notify () from /home/gaston/prefix/lib/libQtGui.so.4 #41 0xb7d6245d in KApplication::notify (this=0xbfcd0118, receiver=0x87b4fa8, event=0x86b3010) at /home/gaston/cuisine/trunk/kdelibs/kdeui/kernel/kapplication.cpp:307 #42 0xb580e1f1 in QCoreApplication::notifyInternal () from /home/gaston/prefix/lib/libQtCore.so.4 #43 0xb580eb43 in QCoreApplicationPrivate::sendPostedEvents () from /home/gaston/prefix/lib/libQtCore.so.4 #44 0xb580ecdd in QCoreApplication::sendPostedEvents () from /home/gaston/prefix/lib/libQtCore.so.4 #45 0xb5834d4f in ?? () from /home/gaston/prefix/lib/libQtCore.so.4 #46 0xb47e6cc6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #47 0xb47ea083 in ?? () from /usr/lib/libglib-2.0.so.0 #48 0xb47ea63e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #49 0xb58349a8 in QEventDispatcherGlib::processEvents () from /home/gaston/prefix/lib/libQtCore.so.4 #50 0xb505e2f5 in ?? () from /home/gaston/prefix/lib/libQtGui.so.4 #51 0xb580c97a in QEventLoop::processEvents () from /home/gaston/prefix/lib/libQtCore.so.4 #52 0xb580cb3a in QEventLoop::exec () from /home/gaston/prefix/lib/libQtCore.so.4 #53 0xb53ddd7f in QDialog::exec () from /home/gaston/prefix/lib/libQtGui.so.4 #54 0xb763c9a5 in AccountWizard::start (kernel=0xbfcd006c, parent=0x8142498) at /home/gaston/cuisine/trunk/kdepim/kmail/accountwizard.cpp:140 #55 0xb7236d7c in KMMainWin (this=0x8142498) at /home/gaston/cuisine/trunk/kdepim/kmail/kmmainwin.cpp:73 #56 0xb7451ae1 in KMKernel::openReader (this=0xbfcd006c, onlyCheck=false) at /home/gaston/cuisine/trunk/kdepim/kmail/kmkernel.cpp:373 #57 0xb7454a54 in KMKernel::action (this=0xbfcd006c, mailto=false, check=<value optimized out>, to=@0xbfccf508, cc=@0xbfccf504, bcc=@0xbfccf500, subj=@0xbfccf4fc, body=@0xbfccf4f8, messageFile=@0xbfccf458, attachURLs=@0xbfccf4f0, customHeaders=@0xbfccf4f4) at /home/gaston/cuisine/trunk/kdepim/kmail/kmkernel.cpp:1826 #58 0xb7455cff in KMKernel::handleCommandLine (this=0xbfcd006c, noArgsOpensReader=true) at /home/gaston/cuisine/trunk/kdepim/kmail/kmkernel.cpp:319 #59 0x0804b15d in KMailApplication::newInstance (this=0xbfcd0118) at /home/gaston/cuisine/trunk/kdepim/kmail/main.cpp:84 #60 0xb7d6c206 in KUniqueApplicationAdaptor::newInstance (this=0x80bb9b0, asn_id=@0x81c8860, args=@0x81c5150) at /home/gaston/cuisine/trunk/kdelibs/kdeui/kernel/kuniqueapplication_p.h:77 #61 0xb7d6a3be in KUniqueApplicationAdaptor::qt_metacall (this=0x80bb9b0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfccf7b8) at /home/gaston/cuisine/kdelibs-build/kdeui/kuniqueapplication_p.moc:74 #62 0xb58cb20c in ?? () from /home/gaston/prefix/lib/libQtDBus.so.4 #63 0xb58cc3a1 in ?? () from /home/gaston/prefix/lib/libQtDBus.so.4 #64 0xb58cc786 in ?? () from /home/gaston/prefix/lib/libQtDBus.so.4 #65 0xb58ccc0a in ?? () from /home/gaston/prefix/lib/libQtDBus.so.4 #66 0xb581c671 in QObject::event () from /home/gaston/prefix/lib/libQtCore.so.4 #67 0xb580db5b in QCoreApplication::event () from /home/gaston/prefix/lib/libQtCore.so.4 #68 0xb4fd54e6 in QApplication::event () from /home/gaston/prefix/lib/libQtGui.so.4 #69 0xb4fd363c in QApplicationPrivate::notify_helper () from /home/gaston/prefix/lib/libQtGui.so.4 #70 0xb4fda71e in QApplication::notify () from /home/gaston/prefix/lib/libQtGui.so.4 #71 0xb7d6245d in KApplication::notify (this=0xbfcd0118, receiver=0xbfcd0118, event=0x809e9b8) at /home/gaston/cuisine/trunk/kdelibs/kdeui/kernel/kapplication.cpp:307 #72 0xb580e1f1 in QCoreApplication::notifyInternal () from /home/gaston/prefix/lib/libQtCore.so.4 #73 0xb580eb43 in QCoreApplicationPrivate::sendPostedEvents () from /home/gaston/prefix/lib/libQtCore.so.4 #74 0xb580ecdd in QCoreApplication::sendPostedEvents () from /home/gaston/prefix/lib/libQtCore.so.4 #75 0xb5834d4f in ?? () from /home/gaston/prefix/lib/libQtCore.so.4 #76 0xb47e6cc6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #77 0xb47ea083 in ?? () from /usr/lib/libglib-2.0.so.0 #78 0xb47ea63e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #79 0xb58349a8 in QEventDispatcherGlib::processEvents () from /home/gaston/prefix/lib/libQtCore.so.4 #80 0xb505e2f5 in ?? () from /home/gaston/prefix/lib/libQtGui.so.4 #81 0xb580c97a in QEventLoop::processEvents () from /home/gaston/prefix/lib/libQtCore.so.4 #82 0xb580cb3a in QEventLoop::exec () from /home/gaston/prefix/lib/libQtCore.so.4 #83 0xb580ed9d in QCoreApplication::exec () from /home/gaston/prefix/lib/libQtCore.so.4 #84 0xb4fd34b7 in QApplication::exec () from /home/gaston/prefix/lib/libQtGui.so.4 #85 0x0804a970 in main (argc=) at /home/gaston/cuisine/trunk/kdepim/kmail/main.cpp:146
*** This bug has been marked as a duplicate of bug 174992 ***