Bug 280649

Summary: Kontact crash when closing [sendQueued, KMMainWidget::slotSendQueued,KMMainWidget::slotEndCheckMail]
Product: [Applications] kmail2 Reporter: mms
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, bernard.nysten, colin.thomson, datweety, fjs123, ian, ingo, kai, martin.ruessler, mms, pazderak, roger.luedecke, teo78, Uriel.home, winter, woskimi
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.4
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description mms 2011-08-23 16:22:58 UTC
Application: kontact (4.7.0 )
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
Just closed kontact and it crashed. All syncing was done before I closed it.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f346b6fb7a0 (LWP 12150))]

Thread 3 (Thread 0x7f34532ae700 (LWP 12151)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f346815b832 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f34637ead8c in start_thread (arg=0x7f34532ae700) at pthread_create.c:304
#3  0x00007f3468cdd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3447216700 (LWP 12230)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f3447215ac0 in ?? ()
#2  0x00007fff349ff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f346b6fb7a0 (LWP 12150)):
[KCrash Handler]
#6  sendQueued (this=<value optimized out>) at ../../messagecomposer/messagesender.h:80
#7  KMMainWidget::slotSendQueued (this=<value optimized out>) at ../../kmail/kmmainwidget.cpp:2434
#8  0x00007f344ec58058 in KMMainWidget::slotEndCheckMail (this=0x22f5a40) at ../../kmail/kmmainwidget.cpp:372
#9  0x00007f344ec58bcd in KMMainWidget::qt_metacall (this=0x22f5a40, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff348e6110) at ./kmmainwidget.moc:373
#10 0x00007f346a0a25f8 in QMetaObject::activate (sender=0x204ed90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#11 0x00007f344ec0616c in KMKernel::slotProgressItemCompletedOrCanceled (this=0x204ed90, item=<value optimized out>) at ../../kmail/kmkernel.cpp:1689
#12 0x00007f344ec11d6c in KMKernel::qt_metacall (this=0x204ed90, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0x7fff348e6350) at ./kmkernel.moc:205
#13 0x00007f346a0a25f8 in QMetaObject::activate (sender=0x1d0d690, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff348e6350) at kernel/qobject.cpp:3287
#14 0x00007f3466999a42 in KPIM::ProgressManager::progressItemCompleted (this=<value optimized out>, _t1=0x3eccbd0) at ./progressmanager.moc:272
#15 0x00007f346699a533 in KPIM::ProgressManager::qt_metacall (this=0x1d0d690, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff348e6460) at ./progressmanager.moc:246
#16 0x00007f346a0a25f8 in QMetaObject::activate (sender=0x3eccbd0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff348e6460) at kernel/qobject.cpp:3287
#17 0x00007f3466999612 in KPIM::ProgressItem::progressItemCompleted (this=<value optimized out>, _t1=0x3eccbd0) at ./progressmanager.moc:121
#18 0x00007f3466999d10 in KPIM::ProgressItem::setComplete (this=0x3eccbd0) at ../../libkdepim/progressmanager.cpp:55
#19 0x00007f346699b589 in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0x22cd460, instance=...) at ../../libkdepim/agentprogressmonitor.cpp:87
#20 0x00007f346699b6fa in KPIM::AgentProgressMonitor::qt_metacall (this=0x3d0a9b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff348e65a0) at ./agentprogressmonitor.moc:78
#21 0x00007f346a0a25f8 in QMetaObject::activate (sender=0x21467c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff348e65a0) at kernel/qobject.cpp:3287
#22 0x00007f3465e66ba5 in Akonadi::AgentManager::instanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>) at ./agentmanager.moc:177
#23 0x00007f3465e6b2ff in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0x2146290, identifier=<value optimized out>, status=0, msg=...) at ../../akonadi/agentmanager.cpp:129
#24 0x00007f3465e6d7de in Akonadi::AgentManager::qt_metacall (this=0x21467c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff348e6710) at ./agentmanager.moc:131
#25 0x00007f346a0a25f8 in QMetaObject::activate (sender=0x2146760, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff348e6710) at kernel/qobject.cpp:3287
#26 0x00007f3465f8870b in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=0, _t3=<value optimized out>) at agentmanagerinterface.moc:285
#27 0x00007f3465f88ba1 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x2146760, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff348e6fe0) at agentmanagerinterface.moc:167
#28 0x00007f34662309fa in QDBusConnectionPrivate::deliverCall (this=0x1a7d890, object=0x2146760, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:942
#29 0x00007f346623ae4f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#30 0x00007f346a0a149a in QObject::event (this=0x2146760, e=<value optimized out>) at kernel/qobject.cpp:1226
#31 0x00007f346944a9f4 in QApplicationPrivate::notify_helper (this=0x1a9fac0, receiver=0x2146760, e=0x5ebfd50) at kernel/qapplication.cpp:4462
#32 0x00007f346944f3ba in QApplication::notify (this=<value optimized out>, receiver=0x2146760, e=0x5ebfd50) at kernel/qapplication.cpp:4341
#33 0x00007f346aab6796 in KApplication::notify (this=0x7fff348e9490, receiver=0x2146760, event=0x5ebfd50) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007f346a08d49c in QCoreApplication::notifyInternal (this=0x7fff348e9490, receiver=0x2146760, event=0x5ebfd50) at kernel/qcoreapplication.cpp:731
#35 0x00007f346a090c25 in sendEvent (receiver=0x0, event_type=0, data=0x1a35b90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1a35b90) at kernel/qcoreapplication.cpp:1372
#37 0x00007f346a0b8253 in sendPostedEvents (s=0x1a8cdc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=0x1a8cdc0) at kernel/qeventdispatcher_glib.cpp:277
#39 0x00007f3462d22bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f3462d233a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f3462d23639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f346a0b83ef in QEventDispatcherGlib::processEvents (this=0x1a35370, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#43 0x00007f34694f44de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f346a08c882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007f346a08cabc in QEventLoop::exec (this=0x7fff348e79c0, flags=...) at kernel/qeventloop.cpp:201
#46 0x00007f346a4f0bd6 in KJob::exec (this=0x20d40b0) at ../../kdecore/jobs/kjob.cpp:204
#47 0x00007f344e894bb4 in MailCommon::FolderCollectionMonitor::slotExpungeJobSync (this=0x2146a20, job=<value optimized out>) at ../../mailcommon/foldercollectionmonitor.cpp:139
#48 0x00007f344e8607dc in MailCommon::FolderCollectionMonitor::qt_metacall (this=0x2146a20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff348e7b20) at moc_foldercollectionmonitor.cpp:78
#49 0x00007f346a0a25f8 in QMetaObject::activate (sender=0x2323660, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff348e7b20) at kernel/qobject.cpp:3287
#50 0x00007f346a4f0db2 in KJob::result (this=<value optimized out>, _t1=0x2323660) at ./kjob.moc:194
#51 0x00007f346a4f0df0 in KJob::emitResult (this=0x2323660) at ../../kdecore/jobs/kjob.cpp:312
#52 0x00007f3465f0aacd in Akonadi::Job::qt_metacall (this=0x2323660, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x4dd1560) at ./job.moc:91
#53 0x00007f3465ef96f5 in Akonadi::ItemFetchJob::qt_metacall (this=0x2323660, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x4dd1560) at ./itemfetchjob.moc:73
#54 0x00007f346a0a149a in QObject::event (this=0x2323660, e=<value optimized out>) at kernel/qobject.cpp:1226
#55 0x00007f346944a9f4 in QApplicationPrivate::notify_helper (this=0x1a9fac0, receiver=0x2323660, e=0x429b110) at kernel/qapplication.cpp:4462
#56 0x00007f346944f3ba in QApplication::notify (this=<value optimized out>, receiver=0x2323660, e=0x429b110) at kernel/qapplication.cpp:4341
#57 0x00007f346aab6796 in KApplication::notify (this=0x7fff348e9490, receiver=0x2323660, event=0x429b110) at ../../kdeui/kernel/kapplication.cpp:311
#58 0x00007f346a08d49c in QCoreApplication::notifyInternal (this=0x7fff348e9490, receiver=0x2323660, event=0x429b110) at kernel/qcoreapplication.cpp:731
#59 0x00007f346a090c25 in sendEvent (receiver=0x0, event_type=0, data=0x1a35b90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1a35b90) at kernel/qcoreapplication.cpp:1372
#61 0x00007f346a0b8253 in sendPostedEvents (s=0x1a8cdc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#62 postEventSourceDispatch (s=0x1a8cdc0) at kernel/qeventdispatcher_glib.cpp:277
#63 0x00007f3462d22bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007f3462d233a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007f3462d23639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007f346a0b83ef in QEventDispatcherGlib::processEvents (this=0x1a35370, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#67 0x00007f34694f44de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#68 0x00007f346a08c882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#69 0x00007f346a08cabc in QEventLoop::exec (this=0x7fff348e84e0, flags=...) at kernel/qeventloop.cpp:201
#70 0x00007f346a4f0bd6 in KJob::exec (this=0x2323660) at ../../kdecore/jobs/kjob.cpp:204
#71 0x00007f344e8949d4 in MailCommon::FolderCollectionMonitor::expunge (this=0x2146a20, col=..., sync=true) at ../../mailcommon/foldercollectionmonitor.cpp:99
#72 0x00007f344ec0d8ed in KMKernel::cleanup (this=0x204ed90) at ../../kmail/kmkernel.cpp:1242
#73 0x00007f344ef945a5 in KMailPart::~KMailPart (this=0x1dd61a0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmail_part.cpp:138
#74 0x00007f344ef946a9 in KMailPart::~KMailPart (this=0x1dd61a0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmail_part.cpp:141
#75 0x00007f346aef312e in KontactInterface::Plugin::~Plugin (this=0x1eb2860, __vtt_parm=<value optimized out>, __in_chrg=<value optimized out>) at ../../kontactinterface/plugin.cpp:90
#76 0x00007f344f810b9f in KMailPlugin::~KMailPlugin (this=0x1eb2860, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#77 0x00007f344f810bd9 in KMailPlugin::~KMailPlugin (this=0x1eb2860, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#78 0x00007f346b3285d7 in Kontact::MainWindow::~MainWindow (this=0x1aa4310, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:287
#79 0x00007f346b328739 in Kontact::MainWindow::~MainWindow (this=0x1aa4310, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:289
#80 0x00007f346a0a14c8 in QObject::event (this=0x1aa4310, e=<value optimized out>) at kernel/qobject.cpp:1209
#81 0x00007f346949b67d in QWidget::event (this=0x1aa4310, event=0x6582ad0) at kernel/qwidget.cpp:8718
#82 0x00007f3469867c0b in QMainWindow::event (this=0x1aa4310, event=0x6582ad0) at widgets/qmainwindow.cpp:1480
#83 0x00007f346abaf2a8 in KXmlGuiWindow::event (this=0x1aa4310, ev=0x6582ad0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#84 0x00007f346944a9f4 in QApplicationPrivate::notify_helper (this=0x1a9fac0, receiver=0x1aa4310, e=0x6582ad0) at kernel/qapplication.cpp:4462
#85 0x00007f346944f3ba in QApplication::notify (this=<value optimized out>, receiver=0x1aa4310, e=0x6582ad0) at kernel/qapplication.cpp:4341
#86 0x00007f346aab6796 in KApplication::notify (this=0x7fff348e9490, receiver=0x1aa4310, event=0x6582ad0) at ../../kdeui/kernel/kapplication.cpp:311
#87 0x00007f346a08d49c in QCoreApplication::notifyInternal (this=0x7fff348e9490, receiver=0x1aa4310, event=0x6582ad0) at kernel/qcoreapplication.cpp:731
#88 0x00007f346a090c25 in sendEvent (receiver=0x0, event_type=0, data=0x1a35b90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#89 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1a35b90) at kernel/qcoreapplication.cpp:1372
#90 0x00007f346a0b8253 in sendPostedEvents (s=0x1a8cdc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#91 postEventSourceDispatch (s=0x1a8cdc0) at kernel/qeventdispatcher_glib.cpp:277
#92 0x00007f3462d22bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#93 0x00007f3462d233a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#94 0x00007f3462d23639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#95 0x00007f346a0b83ef in QEventDispatcherGlib::processEvents (this=0x1a35370, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#96 0x00007f34694f44de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#97 0x00007f346a08c882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#98 0x00007f346a08cabc in QEventLoop::exec (this=0x7fff348e9420, flags=...) at kernel/qeventloop.cpp:201
#99 0x00007f346a090ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#100 0x0000000000403ff8 in main (argc=1, argv=<value optimized out>) at ../../../kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 280562.

Possible duplicates by query: bug 280562.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-08-28 22:41:49 UTC
*** Bug 280562 has been marked as a duplicate of this bug. ***
Comment 2 Christophe Marin 2011-09-01 09:29:34 UTC
*** Bug 281153 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2011-09-04 19:42:27 UTC
*** Bug 281328 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2011-09-05 22:55:28 UTC
*** Bug 281418 has been marked as a duplicate of this bug. ***
Comment 5 Martin 2011-09-17 08:16:57 UTC
Created attachment 63716 [details]
New crash information added by DrKonqi

kontact (4.7.0 ) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.2

- What I was doing when the application crashed:

Mail Window was active. Crash after closing.

-- Backtrace (Reduced):
#6  sendQueued (this=<value optimized out>) at ../../messagecomposer/messagesender.h:80
#7  KMMainWidget::slotSendQueued (this=<value optimized out>) at ../../kmail/kmmainwidget.cpp:2434
#8  0x00007ffe7ee13058 in KMMainWidget::slotEndCheckMail (this=0x1b47820) at ../../kmail/kmmainwidget.cpp:372
#9  0x00007ffe7ee13bcd in KMMainWidget::qt_metacall (this=0x1b47820, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff778cf080) at ./kmmainwidget.moc:373
[...]
#11 0x00007ffe7edc116c in KMKernel::slotProgressItemCompletedOrCanceled (this=0x1934e00, item=<value optimized out>) at ../../kmail/kmkernel.cpp:1689
Comment 6 mms 2011-10-05 20:25:09 UTC
Created attachment 64257 [details]
New crash information added by DrKonqi

kontact (4.7.1) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.2

Simply close Kontact. All syncing of mails and news was done before that.

-- Backtrace (Reduced):
#6  sendQueued (this=<value optimized out>) at ../../messagecomposer/messagesender.h:80
#7  KMMainWidget::slotSendQueued (this=<value optimized out>) at ../../kmail/kmmainwidget.cpp:2438
#8  0x00007fb30c05a8b8 in KMMainWidget::slotEndCheckMail (this=0x268b820) at ../../kmail/kmmainwidget.cpp:378
#9  0x00007fb30c05b42d in KMMainWidget::qt_metacall (this=0x268b820, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff5538fad0) at ./kmmainwidget.moc:373
[...]
#11 0x00007fb30c0089ec in KMKernel::slotProgressItemCompletedOrCanceled (this=0x23e7070, item=<value optimized out>) at ../../kmail/kmkernel.cpp:1693
Comment 7 Dario Andres 2011-10-09 22:16:37 UTC
[Comment from a bug triager]
From bug 283664 (KDE SC 4.7.2):
[KCrash Handler]
#7  sendQueued (this=0x846f4d8) at
/usr/src/debug/kdepim-4.7.2/messagecomposer/messagesender.h:80
#8  KMMainWidget::slotSendQueued (this=0x846f4d8) at
/usr/src/debug/kdepim-4.7.2/kmail/kmmainwidget.cpp:2471
#9  0xaf5697e5 in KMMainWidget::slotEndCheckMail (this=0x846f4d8) at
/usr/src/debug/kdepim-4.7.2/kmail/kmmainwidget.cpp:381
#10 0xaf56bf9d in KMMainWidget::qt_metacall (this=0x846f4d8,
_c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfcf542c) at
/usr/src/debug/kdepim-4.7.2/build/kmail/kmmainwidget.moc:373
#11 0xb6e0f26d in QMetaObject::metacall(QObject*, QMetaObject::Call, int,
void**) () from /usr/lib/libQtCore.so.4
#12 0xb6e1e79c in QMetaObject::activate(QObject*, QMetaObject const*, int,
void**) () from /usr/lib/libQtCore.so.4
#13 0xaf50d5b5 in KMKernel::endCheckMail (this=0x835b7d8) at
/usr/src/debug/kdepim-4.7.2/build/kmail/kmkernel.moc:246
#14 0xaf510e38 in KMKernel::slotProgressItemCompletedOrCanceled
(this=0x835b7d8, item=0x0) at
/usr/src/debug/kdepim-4.7.2/kmail/kmkernel.cpp:1697
Comment 8 Dario Andres 2011-10-09 22:16:41 UTC
*** Bug 283664 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2011-10-17 10:05:25 UTC
*** Bug 284218 has been marked as a duplicate of this bug. ***
Comment 10 mms 2011-10-22 10:03:04 UTC
Created attachment 64783 [details]
New crash information added by DrKonqi

kontact (4.7.2) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

Simply closing kontact always gives a crash

-- Backtrace (Reduced):
#6  sendQueued (transport=..., this=0x0) at ../../messagecomposer/messagesender.h:80
#7  KMMainWidget::slotSendQueued (this=<optimized out>) at ../../kmail/kmmainwidget.cpp:2471
#8  0x00007ff4caa53d49 in KMMainWidget::slotEndCheckMail (this=0xf85a40) at ../../kmail/kmmainwidget.cpp:381
#9  0x00007ff4caa573b1 in KMMainWidget::qt_metacall (this=0xf85a40, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff84300930) at ./kmmainwidget.moc:373
[...]
#11 0x00007ff4caa054dc in KMKernel::slotProgressItemCompletedOrCanceled (this=0xce4850, item=<optimized out>) at ../../kmail/kmkernel.cpp:1697
Comment 11 Martin 2011-11-08 11:40:21 UTC
Created attachment 65381 [details]
New crash information added by DrKonqi

kontact (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

Still valid on KDE 4.7.3. Closing Kontact with mail part open leads to crash.

-- Backtrace (Reduced):
#6  sendQueued (transport=..., this=0x0) at ../../messagecomposer/messagesender.h:80
#7  KMMainWidget::slotSendQueued (this=<optimized out>) at ../../kmail/kmmainwidget.cpp:2477
#8  0x00007f5234bfd9a9 in KMMainWidget::slotEndCheckMail (this=0x255e820) at ../../kmail/kmmainwidget.cpp:381
#9  0x00007f5234c01011 in KMMainWidget::qt_metacall (this=0x255e820, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff44708290) at ./kmmainwidget.moc:373
[...]
#11 0x00007f5234baf14c in KMKernel::slotProgressItemCompletedOrCanceled (this=0x2419400, item=<optimized out>) at ../../kmail/kmkernel.cpp:1696
Comment 12 Allen Winter 2011-11-09 21:30:15 UTC
probably fixed with commit ee3602b1a8c42c44a5fcece16ccc5694a49c10e8

still need to backport to 4.7
Comment 13 Allen Winter 2011-11-12 14:44:56 UTC
backport c0659da0186a637ba62ff0449e0d0f77d84b4170
Comment 14 Christophe Marin 2011-11-17 15:02:29 UTC
*** Bug 286551 has been marked as a duplicate of this bug. ***
Comment 15 Christophe Marin 2011-11-27 09:54:16 UTC
*** Bug 287667 has been marked as a duplicate of this bug. ***
Comment 16 Christophe Marin 2011-12-06 10:02:28 UTC
*** Bug 288242 has been marked as a duplicate of this bug. ***
Comment 17 Christophe Marin 2012-01-02 17:09:57 UTC
*** Bug 290208 has been marked as a duplicate of this bug. ***
Comment 18 Christophe Marin 2012-01-02 17:10:06 UTC
*** Bug 289848 has been marked as a duplicate of this bug. ***
Comment 19 Sebastián Ramírez 2012-01-18 01:44:03 UTC
Created attachment 67957 [details]
New crash information added by DrKonqi

kontact (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

Kontact falla siempre al cerrar la aplicación.

-- Backtrace (Reduced):
#7  0x016d39f4 in operator QItemSelectionModel* (this=) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:78
#8  QAbstractItemView::selectionModel (this=0x1) at itemviews/qabstractitemview.cpp:760
#9  0x04ffb956 in MailCommon::FolderTreeWidget::selectedCollections (this=0x1) at ../../mailcommon/foldertreewidget.cpp:237
#10 0x05682d4f in KMMainWidget::updateFolderMenu (this=0x9a0b678) at ../../kmail/kmmainwidget.cpp:3862
#11 0x05691cb9 in KMMainWidget::slotEndCheckFetchCollectionsDone (this=0x9a0b678, job=0x0) at ../../kmail/kmmainwidget.cpp:436