Bug 182744

Summary: KMail crashed when deleting messages a asking to see the messages he was retrieving
Product: [Unmaintained] kmail Reporter: Nicolas L. <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: christophe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nicolas L. 2009-02-01 16:50:41 UTC
Version:            (using KDE 4.1.96)
Installed from:    Mandriva RPMs

I had about 1500 mails on a folder, i asked to move them all on the trash, at the same moment kmail was retrieving mails so i clicked on the button on the right bottom ( to see how many mails he waas retrieving ) and kmail crashed.

kmail(24779) KMail::PopAccount::slotGetNextMsg: "Length of message about to get 4590"
kio_pop3(24841) POP3Protocol::get: Finishing up
kmail(24779) KMail::MessageListView::Core::Model::viewItemJobStepInternal: FILLED THE VIEW AT  44.4064  MSG/SEC
ASSERT: "mCurrentItemToRestoreAfterViewItemJobStep->isViewable()" in file /home/mandrake/rpm/BUILD/kdepim-4.1.96/kmail/messagelistview/core/model.cpp, line 3778
*** KMail got signal 6 (Crashing)


Application : KMail (kmail), signal SIGABRT
[?1034h[Thread debugging using libthread_db enabled]
0x00007f3e17223771 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f3e1a0d8700 (LWP 24779))]

Thread 2 (Thread 0x4103a950 (LWP 24782)):
#0  0x00007f3e17258872 in select () from /lib64/libc.so.6
#1  0x00007f3e1866fad6 in QProcessManager::run (this=0x81cf10) at io/qprocess_unix.cpp:301
#2  0x00007f3e185a6c62 in QThreadPrivate::start (arg=0x81cf10) at thread/qthread_unix.cpp:185
#3  0x00007f3e16d1d2a3 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3e1726003d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3e1a0d8700 (LWP 24779)):
[KCrash Handler]
#5  0x00007f3e171b4975 in raise () from /lib64/libc.so.6
#6  0x00007f3e171b61a3 in abort () from /lib64/libc.so.6
#7  0x00007f3e1859efb5 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2102
#8  0x00007f3e1859f0fd in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2303
#9  0x00007f3e190edb99 in KMail::MessageListView::Core::Model::viewItemJobStep (this=0x1178690) at /usr/src/debug/kdepim-4.1.96/kmail/messagelistview/core/model.cpp:3778
#10 0x00007f3e18dce638 in KMail::MessageListView::Core::Model::qt_metacall (this=0x1178690, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2212c510)
    at /usr/src/debug/kdepim-4.1.96/build/kmail/moc_model.cpp:75
#11 0x00007f3e186a3c54 in QMetaObject::activate (sender=0x1179090, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffffffffffff) at kernel/qobject.cpp:3031
#12 0x00007f3e1869e563 in QObject::event (this=0x1179090, e=0x60cb) at kernel/qobject.cpp:1120
#13 0x00007f3e17bb8a2d in QApplicationPrivate::notify_helper (this=0x815bc0, receiver=0x1179090, e=0x7fff2212cbd0) at kernel/qapplication.cpp:3803
#14 0x00007f3e17bc078a in QApplication::notify (this=0x7fff2212d020, receiver=0x1179090, e=0x7fff2212cbd0) at kernel/qapplication.cpp:3768
#15 0x00007f3e19b26a1e in KApplication::notify (this=0x7fff2212d020, receiver=0x1179090, event=0x7fff2212cbd0) at /usr/src/debug/kdelibs-4.1.96/kdeui/kernel/kapplication.cpp:307
#16 0x00007f3e1868f87f in QCoreApplication::notifyInternal (this=0x7fff2212d020, receiver=0x1179090, event=0x7fff2212cbd0) at kernel/qcoreapplication.cpp:587
#17 0x00007f3e186bb576 in QTimerInfoList::activateTimers (this=0x8199a0) at kernel/qcoreapplication.h:209
#18 0x00007f3e186b7cbd in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:160
#19 0x00007f3e0f745d82 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f3e0f7494fd in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f3e0f7496bb in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f3e186b7c1f in QEventDispatcherGlib::processEvents (this=0x819d30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#23 0x00007f3e17c4972f in QGuiEventDispatcherGlib::processEvents (this=0x60cb, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#24 0x00007f3e1868e1a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 571657792}) at kernel/qeventloop.cpp:143
#25 0x00007f3e1868e32d in QEventLoop::exec (this=0x7fff2212ce80, flags={i = 571657872}) at kernel/qeventloop.cpp:194
#26 0x00007f3e186907dd in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#27 0x0000000000402dd5 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.1.96/kmail/main.cpp:146
Comment 1 Christophe Marin 2009-02-01 16:55:52 UTC

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