Bug 216886

Summary: KMail crashes while loading message from GMail's All Mail folder
Product: [Unmaintained] kmail Reporter: Kyle <kyleisme>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kyle 2009-12-01 02:38:13 UTC
Application that crashed: kmail
Version of the application: 1.12.3
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.5-127.fc12.x86_64 x86_64

What I was doing when the application crashed:
I was trying to load a message from my GMail account's All Mail folder via IMAP. I had previously selected a message in the same thread to view in the preview pane, and that never loaded, then I set KMail to show the preview pane next to the message list, then tried to select the message after which KMail segfaulted.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f1a670e7840 (LWP 19479))]

Thread 4 (Thread 0x7f1a5775e710 (LWP 19492)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000397bc5addb in wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x000000397d281af4 in QHostInfoAgent::run (this=0x1bac640) at kernel/qhostinfo.cpp:260
#4  0x000000397bc59d25 in QThreadPrivate::start (arg=0x1bac640) at thread/qthread_unix.cpp:188
#5  0x00000032a9206a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00000032a8addf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1a56906710 (LWP 19528)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00000037870134b1 in ?? () from /usr/lib64/libxine.so.1
#2  0x00000032a9206a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00000032a8addf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1a4d228710 (LWP 19529)):
#0  0x00000032a8ad4aa3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000032a9e3c9fc in g_main_context_poll (n_fds=<value optimized out>, fds=<value optimized out>, priority=<value optimized out>, timeout=<value optimized out>, context=<value optimized out>)
    at gmain.c:2904
#2  g_main_context_iterate (n_fds=<value optimized out>, fds=<value optimized out>, priority=<value optimized out>, timeout=<value optimized out>, context=<value optimized out>) at gmain.c:2586
#3  0x00000032a9e3cd3a in IA__g_main_context_iteration (context=0x7f1a480008e0, may_block=1) at gmain.c:2654
#4  0x000000397bd6723e in QEventDispatcherGlib::processEvents (this=0x7f1a480008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#5  0x000000397bd3d772 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000397bd3db44 in QEventLoop::exec (this=0x7f1a4d227d00, flags=...) at kernel/qeventloop.cpp:201
#7  0x000000397bc56f2b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f1a55366b3e in Phonon::Xine::XineThread::run (this=0x201cfe0) at /usr/src/debug/phonon-4.3.1/xine/xinethread.cpp:143
#9  0x000000397bc59d25 in QThreadPrivate::start (arg=0x201cfe0) at thread/qthread_unix.cpp:188
#10 0x00000032a9206a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#11 0x00000032a8addf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1a670e7840 (LWP 19479)):
[KCrash Handler]
#5  0x0000000000000001 in ?? ()
#6  0x00007f1a68dde3f9 in KMail::ISubject::notify (this=0x1e312c0) at /usr/src/debug/kdepim-4.3.3/kmail/isubject.cpp:33
#7  0x00007f1a68acf9bc in KMMessage::updateBodyPart (this=0x1e311f0, partSpecifier=..., data=<value optimized out>) at /usr/src/debug/kdepim-4.3.3/kmail/kmmessage.cpp:3237
#8  0x00007f1a68db296a in KMail::ImapJob::slotGetMessageResult (this=0x2c80470, job=<value optimized out>) at /usr/src/debug/kdepim-4.3.3/kmail/imapjob.cpp:435
#9  0x00007f1a68db6d8b in KMail::ImapJob::qt_metacall (this=0x2c80470, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff366debd0)
    at /usr/src/debug/kdepim-4.3.3/x86_64-redhat-linux-gnu/kmail/imapjob.moc:82
#10 0x000000397bd5408c in QMetaObject::activate (sender=0x1cbd9d0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7fff366debd0) at kernel/qobject.cpp:3112
#11 0x0000003783cee8b2 in KJob::result (this=<value optimized out>, _t1=0x1cbd9d0) at /usr/src/debug/kdelibs-4.3.3/x86_64-redhat-linux-gnu/kdecore/kjob.moc:188
#12 0x0000003783ceec4f in KJob::emitResult (this=0x1cbd9d0) at /usr/src/debug/kdelibs-4.3.3/kdecore/jobs/kjob.cpp:304
#13 0x00000037866ee0d3 in KIO::SimpleJob::slotFinished (this=0x1cbd9d0) at /usr/src/debug/kdelibs-4.3.3/kio/kio/job.cpp:477
#14 0x00000037866ee593 in KIO::TransferJob::slotFinished (this=0x1cbd9d0) at /usr/src/debug/kdelibs-4.3.3/kio/kio/job.cpp:948
#15 0x00000037866eceb1 in KIO::TransferJob::qt_metacall (this=0x1cbd9d0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff366deff0)
    at /usr/src/debug/kdelibs-4.3.3/x86_64-redhat-linux-gnu/kio/jobclasses.moc:343
#16 0x000000397bd5408c in QMetaObject::activate (sender=0x1449ae0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3112
#17 0x00000037867b05e1 in KIO::SlaveInterface::dispatch (this=0x1449ae0, _cmd=104, rawdata=...) at /usr/src/debug/kdelibs-4.3.3/kio/kio/slaveinterface.cpp:175
#18 0x00000037867acec3 in KIO::SlaveInterface::dispatch (this=0x1449ae0) at /usr/src/debug/kdelibs-4.3.3/kio/kio/slaveinterface.cpp:91
#19 0x000000378679fd1d in KIO::Slave::gotInput (this=0x1449ae0) at /usr/src/debug/kdelibs-4.3.3/kio/kio/slave.cpp:322
#20 0x00000037867a1e2c in KIO::Slave::qt_metacall (this=0x1449ae0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff366df3b0)
    at /usr/src/debug/kdelibs-4.3.3/x86_64-redhat-linux-gnu/kio/slave.moc:76
#21 0x000000397bd5408c in QMetaObject::activate (sender=0x125d250, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3112
#22 0x00000037866bb2a7 in KIO::ConnectionPrivate::dequeue (this=0x1801b30) at /usr/src/debug/kdelibs-4.3.3/kio/kio/connection.cpp:82
#23 0x00000037866bb3bd in KIO::Connection::qt_metacall (this=0x125d250, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x2f6c450)
    at /usr/src/debug/kdelibs-4.3.3/x86_64-redhat-linux-gnu/kio/connection.moc:73
#24 0x000000397bd4e401 in QObject::event (this=0x125d250, e=0x2fbdcf0) at kernel/qobject.cpp:1110
#25 0x000000397c78f65c in QApplicationPrivate::notify_helper (this=0x125afd0, receiver=0x125d250, e=0x2fbdcf0) at kernel/qapplication.cpp:4065
#26 0x000000397c7968ce in QApplication::notify (this=<value optimized out>, receiver=0x125d250, e=0x2fbdcf0) at kernel/qapplication.cpp:4030
#27 0x0000003785011a76 in KApplication::notify (this=0x7fff366dfe60, receiver=0x125d250, event=0x2fbdcf0) at /usr/src/debug/kdelibs-4.3.3/kdeui/kernel/kapplication.cpp:302
#28 0x000000397bd3ee6c in QCoreApplication::notifyInternal (this=0x7fff366dfe60, receiver=0x125d250, event=0x2fbdcf0) at kernel/qcoreapplication.cpp:610
#29 0x000000397bd3fa42 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#30 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#31 0x000000397bd67573 in sendPostedEvents () at kernel/qcoreapplication.h:218
#32 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:210
#33 0x00000032a9e3922e in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#34 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#35 0x00000032a9e3cc18 in g_main_context_iterate (context=0x1256d20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#36 0x00000032a9e3cd3a in IA__g_main_context_iteration (context=0x1256d20, may_block=1) at gmain.c:2654
#37 0x000000397bd671e6 in QEventDispatcherGlib::processEvents (this=0x1222190, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#38 0x000000397c821ffe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#39 0x000000397bd3d772 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x000000397bd3db44 in QEventLoop::exec (this=0x7fff366dfcb0, flags=...) at kernel/qeventloop.cpp:201
#41 0x000000397bd3fcd9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#42 0x0000000000402e69 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.3.3/kmail/main.cpp:146
The current source language is "auto; currently c".
The current source language is "auto; currently asm".

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-06 20:19:37 UTC
Merging with bug 153411. Thanks

*** This bug has been marked as a duplicate of bug 153411 ***