Bug 276512

Summary: kmail / kontact crash on (start) reading local mailbox
Product: [Unmaintained] kmail Reporter: Thomas Drillich <th>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Drillich 2011-06-26 10:50:57 UTC
Application: kmail (1.13.7)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-1.00-gb x86_64
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
- What I was doing when the application crashed:
just started the application, kmail crashes while reading
local mailbox.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Bus error
[KCrash Handler]
#6  size (this=0x6e2a40, msg=0x149f790, index=172, newIndex=171) at /usr/include/qt4/QtCore/qvector.h:124
#7  get (this=0x6e2a40, msg=0x149f790, index=172, newIndex=171) at ../../kmail/kmmsgdict.cpp:108
#8  KMMsgDict::update (this=0x6e2a40, msg=0x149f790, index=172, newIndex=171) at ../../kmail/kmmsgdict.cpp:318
#9  0x00007ffff6a5ea13 in KMMsgList::remove (this=0xb3b808, idx=<value optimized out>) at ../../kmail/kmmsglist.cpp:151
#10 0x00007ffff6a5eab1 in KMMsgList::take (this=<value optimized out>, idx=<value optimized out>) at ../../kmail/kmmsglist.cpp:165
#11 0x00007ffff69fd2fa in FolderStorage::removeMsg (this=0xb3b790, idx=48) at ../../kmail/folderstorage.cpp:400
#12 0x00007ffff6ac03c5 in KMFolderMaildir::removeMsg (this=0xb3b790, idx=48) at ../../kmail/kmfoldermaildir.cpp:908
#13 0x00007ffff6b769d0 in KMMoveCommand::execute (this=0x291b1e0) at ../../kmail/kmcommands.cpp:2253
#14 0x00007ffff6b6e98a in KMCommand::slotPostTransfer (this=0x291b1e0, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:295
#15 0x00007ffff6b79bd3 in KMCommand::qt_metacall (this=0x291b1e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffc660) at ./kmcommands.moc:93
#16 0x00007ffff6b7a2b0 in KMMoveCommand::qt_metacall (this=0x291b1e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffc660) at ./kmcommands.moc:1971
#17 0x00007ffff582c5ea in QMetaObject::activate (sender=0x291b1e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffffffc660) at kernel/qobject.cpp:3278
#18 0x00007ffff6b68fbe in KMCommand::messagesTransfered (this=<value optimized out>, _t1=KMCommand::OK) at ./kmcommands.moc:108
#19 0x00007ffff6b6f6dc in KMCommand::transferSelectedMsgs (this=0x291b1e0) at ../../kmail/kmcommands.cpp:393
#20 0x00007ffff6b723c0 in KMCommand::slotStart (this=0x291b1e0) at ../../kmail/kmcommands.cpp:287
#21 0x00007ffff6b79bb6 in KMCommand::qt_metacall (this=0x291b1e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x149e740) at ./kmcommands.moc:92
#22 0x00007ffff6b7a2b0 in KMMoveCommand::qt_metacall (this=0x291b1e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x149e740) at ./kmcommands.moc:1971
#23 0x00007ffff583019a in QObject::event (this=0x291b1e0, e=<value optimized out>) at kernel/qobject.cpp:1217
#24 0x00007ffff5d536d4 in notify_helper (this=0x679f10, receiver=0x291b1e0, e=0x28eb040) at kernel/qapplication.cpp:4467
#25 QApplicationPrivate::notify_helper (this=0x679f10, receiver=0x291b1e0, e=0x28eb040) at kernel/qapplication.cpp:4439
#26 0x00007ffff5d58561 in QApplication::notify (this=0x7fffffffe1a0, receiver=0x291b1e0, e=0x28eb040) at kernel/qapplication.cpp:4346
#27 0x00007ffff79bafb6 in KApplication::notify (this=0x7fffffffe1a0, receiver=0x291b1e0, event=0x28eb040) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007ffff581997c in QCoreApplication::notifyInternal (this=0x7fffffffe1a0, receiver=0x291b1e0, event=0x28eb040) at kernel/qcoreapplication.cpp:731
#29 0x00007ffff581ccc4 in sendEvent (receiver=0x0, event_type=0, data=0x605410) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x605410) at kernel/qcoreapplication.cpp:1372
#31 0x00007ffff5844173 in sendPostedEvents (s=0x67c5c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#32 postEventSourceDispatch (s=0x67c5c0) at kernel/qeventdispatcher_glib.cpp:277
#33 0x00007fffecb804a3 in g_main_dispatch (context=0x67c4e0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#34 g_main_context_dispatch (context=0x67c4e0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#35 0x00007fffecb80c80 in g_main_context_iterate (context=0x67c4e0, block=0, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#36 0x00007fffecb80f1d in g_main_context_iteration (context=0x67c4e0, may_block=0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#37 0x00007ffff58445cf in QEventDispatcherGlib::processEvents (this=0x606f20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007ffff5df770e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007ffff581d0ff in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:923
#40 0x00007ffff6a1b07c in processNewMail (this=0xc16cb0) at ../../kmail/kmacctlocal.cpp:79
#41 KMAcctLocal::processNewMail (this=0xc16cb0) at ../../kmail/kmacctlocal.cpp:62
#42 0x00007ffff6a126a6 in KMail::AccountManager::processNextCheck (this=0x71bdb0, _newMail=<value optimized out>) at ../../kmail/accountmanager.cpp:231
#43 0x00007ffff6a12fda in KMail::AccountManager::singleCheckMail (this=0x71bdb0, account=0xc16cb0, interactive=<value optimized out>) at ../../kmail/accountmanager.cpp:157
#44 0x00007ffff6a132c2 in KMail::AccountManager::checkMail (this=0x71bdb0, _interactive=true) at ../../kmail/accountmanager.cpp:353
#45 0x00007ffff6ba8a12 in KMMainWidget::qt_metacall (this=0xc3f8d0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xe0a5b0) at ./kmmainwidget.moc:363
#46 0x00007ffff583019a in QObject::event (this=0xc3f8d0, e=<value optimized out>) at kernel/qobject.cpp:1217
#47 0x00007ffff5da377b in QWidget::event (this=0xc3f8d0, event=0x863ba0) at kernel/qwidget.cpp:8718
#48 0x00007ffff5d536d4 in notify_helper (this=0x679f10, receiver=0xc3f8d0, e=0x863ba0) at kernel/qapplication.cpp:4467
#49 QApplicationPrivate::notify_helper (this=0x679f10, receiver=0xc3f8d0, e=0x863ba0) at kernel/qapplication.cpp:4439
#50 0x00007ffff5d58561 in QApplication::notify (this=0x7fffffffe1a0, receiver=0xc3f8d0, e=0x863ba0) at kernel/qapplication.cpp:4346
#51 0x00007ffff79bafb6 in KApplication::notify (this=0x7fffffffe1a0, receiver=0xc3f8d0, event=0x863ba0) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x00007ffff581997c in QCoreApplication::notifyInternal (this=0x7fffffffe1a0, receiver=0xc3f8d0, event=0x863ba0) at kernel/qcoreapplication.cpp:731
#53 0x00007ffff581ccc4 in sendEvent (receiver=0x0, event_type=0, data=0x605410) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x605410) at kernel/qcoreapplication.cpp:1372
#55 0x00007ffff5844173 in sendPostedEvents (s=0x67c5c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#56 postEventSourceDispatch (s=0x67c5c0) at kernel/qeventdispatcher_glib.cpp:277
#57 0x00007fffecb804a3 in g_main_dispatch (context=0x67c4e0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#58 g_main_context_dispatch (context=0x67c4e0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#59 0x00007fffecb80c80 in g_main_context_iterate (context=0x67c4e0, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#60 0x00007fffecb80f1d in g_main_context_iteration (context=0x67c4e0, may_block=1) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#61 0x00007ffff58445cf in QEventDispatcherGlib::processEvents (this=0x606f20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#62 0x00007ffff5df770e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x00007ffff5818b82 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#64 0x00007ffff5818d7f in QEventLoop::exec (this=0x7fffffffdfe0, flags=...) at kernel/qeventloop.cpp:201
#65 0x00007ffff581cf57 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#66 0x0000000000402f80 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:158

Reported using DrKonqi
Comment 1 Christophe Marin 2011-07-08 09:02:02 UTC

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