Bug 174839 - kmail crashes while deleting single selected mails
Summary: kmail crashes while deleting single selected mails
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.11.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
: 179074 180886 181817 182291 182744 185462 186598 188034 188479 190303 192756 192789 193252 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-11 07:20 UTC by Michael Seiwert
Modified: 2009-08-02 01:12 UTC (History)
20 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 Michael Seiwert 2008-11-11 07:20:03 UTC
Version:           1.10.90 (using Devel)
Compiler:          gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux)  
OS:                Linux
Installed from:    Compiled sources

kmail crashes reproducible while deleting single selected mails (for me it 
crashes after the second delete). Please see attached bt for details.
Comment 1 Michael Seiwert 2008-11-11 07:21:06 UTC
Application: KMail (kmail), signal SIGABRT
[?1034h[Thread debugging using libthread_db enabled]
[Current thread is 0 (LWP 9952)]

Thread 2 (Thread 0xb0420b90 (LWP 12509)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7d36f42 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7dc2f5a in QWaitConditionPrivate::wait (this=0x872e6b8, time=30000) at thread/qwaitcondition_unix.cpp:80
#3  0xb7dc2a73 in QWaitCondition::wait (this=0x872e618, mutex=0x872e614, time=30000) at thread/qwaitcondition_unix.cpp:154
#4  0xb7db635c in QThreadPoolThread::run (this=0x84792c0) at concurrent/qthreadpool.cpp:135
#5  0xb7dc2651 in QThreadPrivate::start (arg=0x84792c0) at thread/qthread_unix.cpp:185
#6  0xb7d33175 in start_thread () from /lib/libpthread.so.0
#7  0xb47efdce in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb3e8c6d0 (LWP 9952)):
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb474c900 in raise () from /lib/libc.so.6
#8  0xb474e238 in abort () from /lib/libc.so.6
#9  0xb7db8a1b in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbffc1af0 "ASSERT: \"mCurrentItemToRestoreAfterViewItemJobStep->isViewable()\" in file /home/mseiwert/src/svn/kde4/kdepim/kmail/messagelistview/core/model.cpp, line 3583")
    at global/qglobal.cpp:2102
#10 0xb7db8a7f in qFatal (msg=0xb7f04bb8 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2303
#11 0xb7db8ea1 in qt_assert (assertion=0xb6b07950 "mCurrentItemToRestoreAfterViewItemJobStep->isViewable()", 
    file=0xb6b06ca0 "/home/mseiwert/src/svn/kde4/kdepim/kmail/messagelistview/core/model.cpp", line=3583) at global/qglobal.cpp:1872
#12 0xb6a053b9 in KMail::MessageListView::Core::Model::viewItemJobStep () from /home/mseiwert/kde/lib/libkmailprivate.so.4
#13 0xb654c886 in KMail::MessageListView::Core::Model::qt_metacall () from /home/mseiwert/kde/lib/libkmailprivate.so.4
#14 0xb7ec60be in QMetaObject::activate (sender=0x81def80, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3028
#15 0xb7ec654b in QMetaObject::activate (sender=0x81def80, m=0xb7f5e904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#16 0xb7f03bed in QTimer::timeout (this=0x81def80) at .moc/debug-shared/moc_qtimer.cpp:126
#17 0xb7ed01fe in QTimer::timerEvent (this=0x81def80, e=0xbffc4284) at kernel/qtimer.cpp:257
#18 0xb7ec43b6 in QObject::event (this=0x81def80, e=0xbffc4284) at kernel/qobject.cpp:1120
#19 0xb72944d9 in QApplicationPrivate::notify_helper (this=0x806c510, receiver=0x81def80, e=0xbffc4284) at kernel/qapplication.cpp:3803
#20 0xb72947ee in QApplication::notify (this=0xbffc45a8, receiver=0x81def80, e=0xbffc4284) at kernel/qapplication.cpp:3393
#21 0xb6f35d97 in KApplication::notify () from /home/mseiwert/kde/lib/libkdeui.so.5
#22 0xb7eb1a0f in QCoreApplication::notifyInternal (this=0xbffc45a8, receiver=0x81def80, event=0xbffc4284) at kernel/qcoreapplication.cpp:583
#23 0xb7eb5591 in QCoreApplication::sendEvent (receiver=0x81def80, event=0xbffc4284) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#24 0xb7ee29e3 in QTimerInfoList::activateTimers (this=0x806f3fc) at kernel/qeventdispatcher_unix.cpp:557
#25 0xb7ee0390 in timerSourceDispatch (source=0x806f3c8) at kernel/qeventdispatcher_glib.cpp:160
#26 0xb45b52d9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0xb45b885b in ?? () from /usr/lib/libglib-2.0.so.0
#28 0xb45b89d8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0xb7edf6c2 in QEventDispatcherGlib::processEvents (this=0x80662e8, flags={i = -1073986552}) at kernel/qeventdispatcher_glib.cpp:319
#30 0xb7339268 in QGuiEventDispatcherGlib::processEvents (this=0x80662e8, flags={i = -1073986504}) at kernel/qguieventdispatcher_glib.cpp:198
#31 0xb7eaea30 in QEventLoop::processEvents (this=0xbffc44b0, flags={i = -1073986444}) at kernel/qeventloop.cpp:143
#32 0xb7eaec6d in QEventLoop::exec (this=0xbffc44b0, flags={i = -1073986376}) at kernel/qeventloop.cpp:190
#33 0xb7eb220b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#34 0xb72941f2 in QApplication::exec () at kernel/qapplication.cpp:3331
#35 0x0804b869 in main ()
Comment 2 Jaime Torres 2008-11-11 12:22:01 UTC
Do you have preview panel enabled?
Do you delete them using the del key or the Shift+del key?
Do you move them to trash?

Do you delete them in a local folder, an imap folder or a dimap folder?

I have trunk svn r882080 (from yesterday) and I have not been able to crash kmail after deleting a lot of test messages in almost every folder.
Comment 3 Szymon Stefanek 2008-11-11 23:38:58 UTC
Almost certainly reproduced and fixed in trunk.
Comment 4 Szymon Stefanek 2008-11-12 00:16:34 UTC
Resolved with commit 882997
Comment 5 Sergio Martins 2009-01-11 23:30:36 UTC
Happened to me using KDE from branch 4.2:

#7  0xb6397355 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbf82c9ac "ASSERT: \"mCurrentItemToRestoreAfterViewItemJobStep->isViewable()\" in file /home/serj/kde/src/KDE/kdepim/kmail/messagelistview/core/model.cpp, line 3778") at global/qglobal.cpp:2108
#8  0xb639741a in qFatal (msg=0xb64def78 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2309
#9  0xb63974b5 in qt_assert (assertion=0xb1c996fc "mCurrentItemToRestoreAfterViewItemJobStep->isViewable()", 
    file=0xb1c993ec "/home/serj/kde/src/KDE/kdepim/kmail/messagelistview/core/model.cpp", line=3778) at global/qglobal.cpp:1878
#10 0xb1bac8fd in KMail::MessageListView::Core::Model::viewItemJobStep (this=0x83704e8)
    at /home/serj/kde/src/KDE/kdepim/kmail/messagelistview/core/model.cpp:3778
#11 0xb16c37f6 in KMail::MessageListView::Core::Model::qt_metacall (this=0x83704e8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf82eba8)
    at /home/serj/kde/build/KDE/kdepim/kmail/moc_model.cpp:75
#12 0xb64a22ab in QMetaObject::activate (sender=0x83704b0, from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=<value optimized out>) at kernel/qobject.cpp:3028
#13 0xb64a2914 in QMetaObject::activate (sender=0x83704b0, m=0xb6572924, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3098
#14 0xb64de4a3 in QTimer::timeout (this=0x83704b0) at .moc/release-shared/moc_qtimer.cpp:126
#15 0xb64a953e in QTimer::timerEvent (this=0x83704b0, e=0xbf82f0b8) at kernel/qtimer.cpp:263
#16 0xb649d9ef in QObject::event (this=0x83704b0, e=0xbf82f0b8) at kernel/qobject.cpp:1117
#17 0xb5a34f7f in QApplicationPrivate::notify_helper (this=0x806e988, receiver=0x83704b0, e=0xbf82f0b8) at kernel/qapplication.cpp:3809
#18 0xb5a39a79 in QApplication::notify (this=0xbf82f334, receiver=0x83704b0, e=0xbf82f0b8) at kernel/qapplication.cpp:3399
#19 0xb6a67b40 in KApplication::notify (this=0xbf82f334, receiver=0x83704b0, event=0xbf82f0b8)
    at /home/serj/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#20 0xb648d397 in QCoreApplication::notifyInternal (this=0xbf82f334, receiver=0x83704b0, event=0xbf82f0b8) at kernel/qcoreapplication.cpp:593
#21 0xb64b931e in QTimerInfoList::activateTimers (this=0x806f4dc) at kernel/qcoreapplication.h:215
#22 0xb64b93b9 in QEventDispatcherUNIX::activateTimers (this=0x805a1d8) at kernel/qeventdispatcher_unix.cpp:837
#23 0xb64b9f22 in QEventDispatcherUNIX::processEvents (this=0x805a1d8, flags=@0xbf82f218) at kernel/qeventdispatcher_unix.cpp:899
#24 0xb5ac46d6 in QEventDispatcherX11::processEvents (this=0x805a1d8, flags=@0xbf82f248) at kernel/qeventdispatcher_x11.cpp:154
#25 0xb648c56d in QEventLoop::processEvents (this=0xbf82f2c0, flags=@0xbf82f288) at kernel/qeventloop.cpp:149
#26 0xb648c70d in QEventLoop::exec (this=0xbf82f2c0, flags=@0xbf82f2c8) at kernel/qeventloop.cpp:200
#27 0xb648e886 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851
#28 0xb5a347a7 in QApplication::exec () at kernel/qapplication.cpp:3337
#29 0x0804bce7 in main (argc=1, argv=0xbf82f534) at /home/serj/kde/src/KDE/kdepim/kontact/src/main.cpp:218

I selected 5+ messages, pressed the delete key and it hit that assert.

Reopening.
Comment 6 Thomas McGuire 2009-01-11 23:44:14 UTC
*** Bug 179074 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-01-25 23:50:06 UTC
*** Bug 181817 has been marked as a duplicate of this bug. ***
Comment 8 Christophe Marin 2009-02-01 16:55:52 UTC
*** Bug 182744 has been marked as a duplicate of this bug. ***
Comment 9 Armin Berres 2009-02-07 12:54:45 UTC
Also reported in Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514107
Comment 10 Jaime Torres 2009-02-11 17:22:18 UTC
*** Bug 182291 has been marked as a duplicate of this bug. ***
Comment 11 Heinz-Dietrich Saupe 2009-02-11 21:39:39 UTC
Anwendung: Kontact (kontact), Signal SIGABRT
[Current thread is 1 (Thread 0xb4a10920 (LWP 9585))]

Thread 1 (Thread 0xb4a10920 (LWP 9585)):
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb5a16990 in raise () from /lib/libc.so.6
#8  0xb5a182c8 in abort () from /lib/libc.so.6
#9  0xb5a58683 in ?? () from /lib/libc.so.6
#10 0xb5a59edb in free () from /lib/libc.so.6
#11 0xb7cf41ec in ?? () from /usr/lib/libkhtml.so.5
#12 0xb7cdd4a4 in ?? () from /usr/lib/libkhtml.so.5
#13 0xb7c15597 in ?? () from /usr/lib/libkhtml.so.5
#14 0xb7bc1367 in ?? () from /usr/lib/libkhtml.so.5
#15 0xb7bffc77 in ?? () from /usr/lib/libkhtml.so.5
#16 0xb7c028a9 in ?? () from /usr/lib/libkhtml.so.5
#17 0xb7c02fac in ?? () from /usr/lib/libkhtml.so.5
#18 0xb7c09fce in ?? () from /usr/lib/libkhtml.so.5
#19 0xb7c0bfd1 in ?? () from /usr/lib/libkhtml.so.5
#20 0xb7c0d68e in ?? () from /usr/lib/libkhtml.so.5
#21 0xb7b47fec in KHTMLPart::write(QString const&) () from /usr/lib/libkhtml.so.5
#22 0xb11b05b0 in ?? () from /usr/lib/libkmailprivate.so.4
#23 0xb11b068d in ?? () from /usr/lib/libkmailprivate.so.4
#24 0xb6810580 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#25 0xb6811302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#26 0xb684b7f7 in QTimer::timeout() () from /usr/lib/libQtCore.so.4
#27 0xb6816f9e in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQtCore.so.4
#28 0xb680b04f in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#29 0xb5d908fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#30 0xb5d9875e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#31 0xb6d9b93d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#32 0xb67fb961 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#33 0xb6829b86 in ?? () from /usr/lib/libQtCore.so.4
#34 0xb6826060 in ?? () from /usr/lib/libQtCore.so.4
#35 0xb51a39a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0xb51a7063 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0xb51a7221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0xb6825fb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0xb5e29785 in ?? () from /usr/lib/libQtGui.so.4
#40 0xb67fa01a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#41 0xb67fa1da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#42 0xb67fc895 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#43 0xb5d90777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#44 0x0804bf8f in _start ()

Comment 12 Allen Winter 2009-02-22 14:53:06 UTC
SVN commit 929978 by winterz:

Use a conditional instead of an assert on non-viewable, dying messages.
seems like a safe thing to do since similar is done a little lower in the code.
Syzmon, please review.
CCMAIL: pragma@kvirc.net
BUG: 174839


 M  +33 -33    model.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=929978
Comment 13 Jaime Torres 2009-02-24 21:39:30 UTC
*** Bug 185462 has been marked as a duplicate of this bug. ***
Comment 14 Szymon Stefanek 2009-03-03 02:09:11 UTC
SVN commit 934415 by stefanek:

Possibly really fix the message deletion Q_ASSERT() bug.                    
Theory says that the assert shouldn't be possible and I                     
really want to enforce this (since if I don't, I'll start                   
loosing control over what happens).                                         

It turns out that deleting at least three levels
of messages at once *could* lead to the assert to be
triggered when the deletes happened in a particular order.
Now it shouldn't be possible anymore.                     

BUG: 174839



 M  +15 -6     model.cpp  
 M  +5 -1      themedelegate.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=934415
Comment 15 Thomas McGuire 2009-03-04 15:23:13 UTC
SVN commit 935089 by tmcguire:

Backport r934415 by stefanek from trunk to the 4.2 branch:

Possibly really fix the message deletion Q_ASSERT() bug.                    
Theory says that the assert shouldn't be possible and I                     
really want to enforce this (since if I don't, I'll start                   
loosing control over what happens).                                         

It turns out that deleting at least three levels
of messages at once *could* lead to the assert to be
triggered when the deletes happened in a particular order.
Now it shouldn't be possible anymore.                     

CCBUG: 174839




 M  +15 -6     model.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=935089
Comment 16 Christophe Marin 2009-03-09 08:38:37 UTC
*** Bug 186598 has been marked as a duplicate of this bug. ***
Comment 17 FernandoMiguel 2009-03-09 17:07:41 UTC
I'm asking for this bug to be reopened.
I have the latest package on Jaunty and this still happens.

$ apt-cache policy kmail
kmail:  Installed: 4:4.2.1-0ubuntu1

$ apt-cache policy kdepim
kdepim:
  Installed: (none)
  Candidate: 4:4.2.1-0ubuntu1

$ kmail --version
Qt: 4.5.0
KDE: 4.2.1 (KDE 4.2.1)
KMail: 1.11.1

$ apt-cache policy kdelibs5
kdelibs5:  Installed: 4:4.2.1a-0ubuntu2

Object::disconnect: Unexpected null parameter
Object::disconnect: Unexpected null parameter
kioexec(20619) KIOExec::slotRunApp: about to delete  "/tmp/kde-bugabundo/ale094VLF_172680004.jpg_[P24064].jpg"
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::setPen: Painter not active
QPainter::worldTransform: Painter not active
[New Thread 0x7f3b79ffb950 (LWP 23087)]
QGpgMEProgressTokenMapper::map( "-&49" 63 ) 
QGpgMEProgressTokenMapper::map( "-&49" 63 ) 
QGpgMEProgressTokenMapper::map( "-&52" 63 ) 
QGpgMEProgressTokenMapper::map( "-&52" 63 ) 
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::doEmitResult:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished: end
QGpgMEProgressTokenMapper::map( "-&49" 63 ) 
QGpgMEProgressTokenMapper::map( "-&49" 63 ) 
QGpgMEProgressTokenMapper::map( "-&52" 63 ) 
QGpgMEProgressTokenMapper::map( "-&52" 63 ) 
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::doEmitResult:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished: end
[Thread 0x7f3b79ffb950 (LWP 23087) exited]
[New Thread 0x7f3b79ffb950 (LWP 23877)]
QGpgMEProgressTokenMapper::map( "-&49" 63 ) 
QGpgMEProgressTokenMapper::map( "-&49" 63 ) 
QGpgMEProgressTokenMapper::map( "-&52" 63 ) 
QGpgMEProgressTokenMapper::map( "-&52" 63 ) 
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::doEmitResult:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished: end
[Thread 0x7f3b79ffb950 (LWP 23877) exited]
[New Thread 0x7f3b79ffb950 (LWP 24121)]
QGpgMEProgressTokenMapper::map( "-&49" 63 ) 
QGpgMEProgressTokenMapper::map( "-&49" 63 ) 
QGpgMEProgressTokenMapper::map( "-&52" 63 ) 
QGpgMEProgressTokenMapper::map( "-&52" 63 ) 
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::doEmitResult:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished: end
QGpgMEProgressTokenMapper::map( "-&49" 63 ) 
QGpgMEProgressTokenMapper::map( "-&49" 63 ) 
QGpgMEProgressTokenMapper::map( "-&52" 63 ) 
QGpgMEProgressTokenMapper::map( "-&52" 63 ) 
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::doEmitResult:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished: end
QGpgMEProgressTokenMapper::map( "-&37" 63 ) 
QGpgMEProgressTokenMapper::map( "-&37" 63 ) 
QGpgMEProgressTokenMapper::map( "-&40" 63 ) 
QGpgMEProgressTokenMapper::map( "-&40" 63 ) 
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::doEmitResult:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished: end
QGpgMEProgressTokenMapper::map( "-&37" 63 ) 
QGpgMEProgressTokenMapper::map( "-&37" 63 ) 
QGpgMEProgressTokenMapper::map( "-&40" 63 ) 
QGpgMEProgressTokenMapper::map( "-&40" 63 ) 
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::doEmitResult:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished: end
QGpgMEProgressTokenMapper::map( "-&37" 63 ) 
QGpgMEProgressTokenMapper::map( "-&37" 63 ) 
QGpgMEProgressTokenMapper::map( "-&40" 63 ) 
QGpgMEProgressTokenMapper::map( "-&40" 63 ) 
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::doEmitResult:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished: end
QGpgMEProgressTokenMapper::map( "-&37" 63 ) 
QGpgMEProgressTokenMapper::map( "-&37" 63 ) 
QGpgMEProgressTokenMapper::map( "-&40" 63 ) 
QGpgMEProgressTokenMapper::map( "-&40" 63 ) 
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::doEmitResult:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished: end
[Thread 0x7f3b79ffb950 (LWP 24121) exited]
[New Thread 0x7f3b79ffb950 (LWP 25246)]
QGpgMEProgressTokenMapper::map( "-&38" 63 ) 
QGpgMEProgressTokenMapper::map( "-&38" 63 ) 
QGpgMEProgressTokenMapper::map( "-&40" 63 ) 
QGpgMEProgressTokenMapper::map( "-&40" 63 ) 
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::doEmitResult:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished: end
QGpgMEProgressTokenMapper::map( "-&38" 63 ) 
QGpgMEProgressTokenMapper::map( "-&38" 63 ) 
QGpgMEProgressTokenMapper::map( "-&40" 63 ) 
QGpgMEProgressTokenMapper::map( "-&40" 63 ) 
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::doEmitResult:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished: end
QGpgMEProgressTokenMapper::map( "-&38" 63 ) 
QGpgMEProgressTokenMapper::map( "-&38" 63 ) 
QGpgMEProgressTokenMapper::map( "-&40" 63 ) 
QGpgMEProgressTokenMapper::map( "-&40" 63 ) 
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::doEmitResult:
kmail(24064) Kleo::_detail::ThreadedJobMixin<T_base, T_result>::slotFinished: end
[Thread 0x7f3b79ffb950 (LWP 25246) exited]
ASSERT: "mCurrentItemToRestoreAfterViewItemJobStep->isViewable()" in file /build/buildd/kdepim-4.2.1/kmail/messagelistview/core/model.cpp, line 3788

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f3b9e8b5750 (LWP 24064)]
0x00007f3b991edfb5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/raise.c
Current language:  auto; currently c
(gdb) bt full
#0  0x00007f3b991edfb5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        pid = <value optimized out>
        selftid = <value optimized out>
#1  0x00007f3b991efbc3 in *__GI_abort () at abort.c:88
        act = {__sigaction_handler = {sa_handler = 0x7fffa6901aa0, sa_sigaction = 0x7fffa6901aa0}, sa_mask = {__val = {
      139893952116832, 139894039730000, 34143984, 19, 0, 1, 139893949561554, 139893948553608, 139894039878016, 
      140735987849584, 4294967295, 496, 4490440, 589925696, 34143984, 19}}, sa_flags = 0, sa_restorer = 0x7f3b99cd7000}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007f3b99d3b885 in qt_message_output () from /usr/lib/libQtCore.so.4
No symbol table info available.
#3  0x00007f3b99d3b9cb in qFatal () from /usr/lib/libQtCore.so.4
No symbol table info available.
#4  0x00007f3b9d79de24 in KMail::MessageListView::Core::Model::viewItemJobStep (this=0x208fef0)
    at /build/buildd/kdepim-4.2.1/kmail/messagelistview/core/model.cpp:3788
        stillIgnoringCurrentChanges = <value optimized out>
        currentIndexAfterStep = {r = 40, c = 0, p = 0x2984e6f0, m = 0x2049b30}
        currentAfterStep = <value optimized out>
        rectAfterViewItemJobStep = {x1 = 153, y1 = 0, x2 = -1725738378, y2 = 32571}
        currentIndexBeforeStep = {r = 0, c = 0, p = 0x23298d40, m = 0x208fef0}
        currentItemBeforeStep = (class KMail::MessageListView::Core::Item *) 0x23298d40
        rectBeforeViewItemJobStep = {x1 = 100, y1 = 19, x2 = 490, y2 = 37}
        __PRETTY_FUNCTION__ = "void KMail::MessageListView::Core::Model::viewItemJobStep()"
#5  0x00007f3b9d33c778 in KMail::MessageListView::Core::Model::qt_metacall (this=0x208fef0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa6901de0)
    at /build/buildd/kdepim-4.2.1/obj-x86_64-linux-gnu/kmail/moc_model.cpp:76
No locals.
#6  0x00007f3b99e42212 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
No symbol table info available.
#7  0x00007f3b99e3c4f3 in QObject::event () from /usr/lib/libQtCore.so.4
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#8  0x00007f3b9a57183d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
No symbol table info available.
#9  0x00007f3b9a579a3a in QApplication::notify () from /usr/lib/libQtGui.so.4
No symbol table info available.
#10 0x00007f3b9e2f8e7b in KApplication::notify () from /usr/lib/libkdeui.so.5
No symbol table info available.
#11 0x00007f3b99e2c77c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
No symbol table info available.
#12 0x00007f3b99e59816 in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#13 0x00007f3b99e55f2d in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#14 0x00007f3b90f2a19a in IA__g_main_context_dispatch (context=0xa91520) at /build/buildd/glib2.0-2.19.10/glib/gmain.c:1814
No locals.
#15 0x00007f3b90f2d870 in g_main_context_iterate (context=0xa91520, block=1, dispatch=1, self=<value optimized out>)
    at /build/buildd/glib2.0-2.19.10/glib/gmain.c:2448
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = 12
        allocated_nfds = <value optimized out>
        fds = (GPollFD *) 0x1a935520
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#16 0x00007f3b90f2da0c in IA__g_main_context_iteration (context=0xa91520, may_block=1)
    at /build/buildd/glib2.0-2.19.10/glib/gmain.c:2511
        retval = <value optimized out>
#17 0x00007f3b99e55e8f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
No symbol table info available.
#18 0x00007f3b9a609cef in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#19 0x00007f3b99e2b022 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
No symbol table info available.
#20 0x00007f3b99e2b3ed in QEventLoop::exec () from /usr/lib/libQtCore.so.4
No symbol table info available.
#21 0x00007f3b99e2d6b4 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
No symbol table info available.
#22 0x000000000040309b in main (argc=<value optimized out>, argv=<value optimized out>)
    at /build/buildd/kdepim-4.2.1/kmail/main.cpp:146
        about = {<KAboutData> = {d = 0xa6a020}, <No data fields>}
        app = {<KPIM::PimApplication> = {<> = {<No data fields>}, <No data fields>}, mDelayedInstanceCreation = false, 
  mEventLoopReached = true}
        kmailKernel = {<> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7f3b9a117020, 
      stringdata = 0x7f3b9d916d00 "KMKernel", data = 0x7f3b9d917c60, extradata = 0x0}}, the_inboxFolder = 0x1811300, 
  the_outboxFolder = 0x1815f80, the_sentFolder = 0xafcc40, the_trashFolder = 0x1827a30, the_draftsFolder = 0xae6750, 
  the_templatesFolder = 0x182dea0, the_folderMgr = 0xaa49c0, the_imapFolderMgr = 0x18f1740, the_dimapFolderMgr = 0x18e5ce0, 
  the_searchFolderMgr = 0x1e11ab0, the_undoStack = 0xae1e10, the_acctMgr = 0xaa4b70, the_filterMgr = 0x1de6250, 
  the_popFilterMgr = 0x1ee3890, the_filterActionDict = 0x18cf970, mIdentityManager = 0xaa67f0, the_msgSender = 0x1f88380, 
  the_msgTagMgr = 0xaa46e0, mPutJobs = {{d = 0x7f3b9a122380, e = 0x7f3b9a122380}}, the_previousVersion = {
    static null = {<No data fields>}, static shared_null = {ref = {_q_value = 37352}, alloc = 0, size = 0, 
      data = 0x7f3b9a12241a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, 
      array = {0}}, static shared_empty = {ref = {_q_value = 1145}, alloc = 0, size = 0, data = 0x7f3b9a12243a, clean = 0, 
      simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xae2370, 
    static codecForCStrings = 0x0}, the_firstStart = false, the_startingUp = false, the_shuttingDown = false, 
  the_server_is_ready = true, closed_by_user = true, the_firstInstance = false, mMailCheckAborted = false, mConfig = {
    d = 0xa8a6f0}, netCodec = 0xa74440, mXmlGuiInstance = <incomplete type>, mConfigureDialog = 0x0, 
  mBackgroundTasksTimer = 0xae2140, mICalIface = 0x1749920, mJobScheduler = 0x174d760, mWin = 0x1fcd470, 
  mMailService = 0x1df07e0, mTimeOfLastMessageCountChange = 1236469576, mContextMenuShown = false, systemTrayApplets = {{
      p = {static shared_null = {ref = {_q_value = 37693}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
        d = 0x2df14f0}, d = 0x2df14f0}}, the_weaver = 0x1f89360, mWallet = 0x0, mAddMessageMsgIds = {<QList<QString>> = {{
        p = {static shared_null = {ref = {_q_value = 37693}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
---Type <return> to continue, or q <return> to quit---
          d = 0x7f3b9a122360}, d = 0x7f3b9a122360}}, <No data fields>}, mAddMessageLastFolder = {
    static null = {<No data fields>}, static shared_null = {ref = {_q_value = 37352}, alloc = 0, size = 0, 
      data = 0x7f3b9a12241a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, 
      array = {0}}, static shared_empty = {ref = {_q_value = 1145}, alloc = 0, size = 0, data = 0x7f3b9a12243a, clean = 0, 
      simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f3b9a122400, 
    static codecForCStrings = 0x0}, mAddMsgCurrentFolder = 0x7fffa6902b00, folderAdaptor = 0x0}
        ret = <value optimized out>
(gdb)
Comment 18 Jaime Torres 2009-03-09 17:24:56 UTC
Just to be sure (Comment #17):

$ apt-cache policy kdepim
kdepim:
  Installed: (none)
  Candidate: 4:4.2.1-0ubuntu1

Installed: (none) ???? Is this right?
Comment 19 FernandoMiguel 2009-03-09 17:28:58 UTC
@Jaime I dont have the entire suite, just kmail
Comment 20 Szymon Stefanek 2009-03-09 17:30:13 UTC
Is this the latest KDE svn trunk ?

If it is then the bug should be reopened.
If it isn't then the bug should stay closed :)

The "Installed: (none)" thing looks like an apt related problem.
You should ask on an ubuntu-specific forum.
Comment 21 FernandoMiguel 2009-03-09 17:37:25 UTC
@Szymin its the latest available on ubuntu jaunty and the one that marked this bug as fixed https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/311521

And that is not an APT bug... i just dont have kdepim installed... only kmail.
i'm using gnome
Comment 22 Szymon Stefanek 2009-03-09 18:42:08 UTC
I guess there has been some confusion on the fix of this bug.

The (real) fix has been committed to trunk on 3.3.2009 (rev 934415). It has been backported to the 4.2 branch on 4.3.2009 (rev 935089).

The line nubmers reported in the backtrace don't seem to belong to current trunk (for instance, line 3788 does NOT contain a call to qFatal()).

Specifically your line numbers seem to relate to revision 934328 which is before 934415.
Comment 23 FernandoMiguel 2009-03-10 17:22:03 UTC
can some one let Riddel know about that?
Comment 24 Dario Andres 2009-03-25 14:17:36 UTC
*** Bug 188034 has been marked as a duplicate of this bug. ***
Comment 25 Dario Andres 2009-04-01 19:18:34 UTC
*** Bug 188479 has been marked as a duplicate of this bug. ***
Comment 26 Dario Andres 2009-04-22 15:48:45 UTC
Could bug 190303 (KDE4.2.2) be related to this? Thanks
Comment 27 Dario Andres 2009-05-15 14:01:48 UTC
*** Bug 192756 has been marked as a duplicate of this bug. ***
Comment 28 Dario Andres 2009-05-15 17:27:32 UTC
*** Bug 192789 has been marked as a duplicate of this bug. ***
Comment 29 Dario Andres 2009-05-15 17:29:01 UTC
*** Bug 190303 has been marked as a duplicate of this bug. ***
Comment 30 Dario Andres 2009-05-20 17:03:56 UTC
*** Bug 193252 has been marked as a duplicate of this bug. ***
Comment 31 Dario Andres 2009-08-02 01:12:53 UTC
*** Bug 180886 has been marked as a duplicate of this bug. ***