Bug 316072

Summary: Crashed on opening new mail
Product: [Applications] kontact Reporter: Nicholas L. Otley <nicholasotley>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: 4.10   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nicholas L. Otley 2013-03-03 14:29:51 UTC
Application: kontact (4.10)
KDE Platform Version: 4.10.00
Qt Version: 4.8.3
Operating System: Linux 3.5.0-26-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
I clicked on a newly delivered email subject heading in the tree view and the bottom panel stayed stuck on  "Retreiving folder contents" for a couple of minutes before finally the Kontact crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f81f9faf7c0 (LWP 7815))]

Thread 4 (Thread 0x7f81f27cd700 (LWP 7816)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f820b81cb2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f820b81cc39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f8206953e9a in start_thread (arg=0x7f81f27cd700) at pthread_create.c:308
#4  0x00007f820c547ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f81f1ecc700 (LWP 7817)):
#0  0x00007f820c53c313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f820608cd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f820608cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f820d969c46 in QEventDispatcherGlib::processEvents (this=0x7f81ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f820d93a2ef in QEventLoop::processEvents (this=this@entry=0x7f81f1ecbdc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f820d93a578 in QEventLoop::exec (this=0x7f81f1ecbdc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f820d83bb40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f820d83eb1c in QThreadPrivate::start (arg=0x12b2680) at thread/qthread_unix.cpp:338
#8  0x00007f8206953e9a in start_thread (arg=0x7f81f1ecc700) at pthread_create.c:308
#9  0x00007f820c547ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f81a3c37700 (LWP 7821)):
#0  0x00007fffeeffa827 in clock_gettime ()
#1  0x00007f820634015d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f820d8949f4 in do_gettime (frac=0x7f81a3c36ae8, sec=0x7f81a3c36ae0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f820d96a44d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f819c002660) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f820d96a793 in QTimerInfoList::timerWait (this=0x7f819c002660, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f820d9692fc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f81a3c36bd4) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f820d9693a5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f820608c618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f820608ccab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f820608cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f820d969c46 in QEventDispatcherGlib::processEvents (this=0x7f819c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f820d93a2ef in QEventLoop::processEvents (this=this@entry=0x7f81a3c36d90, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f820d93a578 in QEventLoop::exec (this=0x7f81a3c36d90, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f820d83bb40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f820d91a9df in QInotifyFileSystemWatcherEngine::run (this=0x1866930) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f820d83eb1c in QThreadPrivate::start (arg=0x1866930) at thread/qthread_unix.cpp:338
#17 0x00007f8206953e9a in start_thread (arg=0x7f81a3c37700) at pthread_create.c:308
#18 0x00007f820c547ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f81f9faf7c0 (LWP 7815)):
[KCrash Handler]
#6  Akonadi::StandardMailActionManager::action (this=0x0, type=Akonadi::StandardMailActionManager::MarkMailAsRead) at ../../../akonadi/kmime/standardmailactionmanager.cpp:853
#7  0x00007f81a900399c in KMail::MessageActions::MessageActions (this=0x39c8190, ac=0x758b350, parent=0xb82dab0) at ../../kmail/messageactions.cpp:138
#8  0x00007f81a8fbe812 in KMReaderMainWin::setupAccel (this=this@entry=0xb82dab0) at ../../kmail/kmreadermainwin.cpp:321
#9  0x00007f81a8fbf27a in KMReaderMainWin::initKMReaderMainWin (this=this@entry=0xb82dab0) at ../../kmail/kmreadermainwin.cpp:109
#10 0x00007f81a8fbfb40 in KMReaderMainWin::KMReaderMainWin (this=0xb82dab0, htmlOverride=<optimized out>, htmlLoadExtOverride=<optimized out>, name=<optimized out>, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmreadermainwin.cpp:81
#11 0x00007f81a8fc7e42 in KMMainWidget::slotItemsFetchedForActivation (this=0x175f6a0, list=...) at ../../kmail/kmmainwidget.cpp:2898
#12 0x00007f81a8fe7ea5 in KMMainWidget::qt_static_metacall (_o=0x175f6a0, _c=<optimized out>, _id=<optimized out>, _a=0x7fffeefe3750) at ./kmmainwidget.moc:363
#13 0x00007f820d950f8f in QMetaObject::activate (sender=0x2c66280, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffeefe3750) at kernel/qobject.cpp:3547
#14 0x00007f8209357502 in Akonadi::ItemFetchJob::itemsReceived (this=this@entry=0x2c66280, _t1=...) at ./moc_itemfetchjob.cpp:106
#15 0x00007f8209358553 in timeout (this=0x1d5b1b0) at ../../akonadi/itemfetchjob.cpp:71
#16 Akonadi::ItemFetchJob::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./moc_itemfetchjob.cpp:57
#17 0x00007f820d950f8f in QMetaObject::activate (sender=0x2c66280, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffeefe38c0) at kernel/qobject.cpp:3547
#18 0x00007f820ddb7f42 in KJob::result (this=this@entry=0x2c66280, _t1=_t1@entry=0x2c66280) at ./kjob.moc:208
#19 0x00007f820ddb7f80 in KJob::emitResult (this=0x2c66280) at ../../kdecore/jobs/kjob.cpp:318
#20 0x00007f820d95046e in QObject::event (this=0x2c66280, e=<optimized out>) at kernel/qobject.cpp:1195
#21 0x00007f820cce2e9c in QApplicationPrivate::notify_helper (this=this@entry=0x10e9130, receiver=receiver@entry=0x2c66280, e=e@entry=0xa15ad10) at kernel/qapplication.cpp:4562
#22 0x00007f820cce730a in QApplication::notify (this=0x7fffeefe5110, receiver=0x2c66280, e=0xa15ad10) at kernel/qapplication.cpp:4423
#23 0x00007f820e379636 in KApplication::notify (this=0x7fffeefe5110, receiver=0x2c66280, event=0xa15ad10) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f820d93b59e in QCoreApplication::notifyInternal (this=0x7fffeefe5110, receiver=receiver@entry=0x2c66280, event=event@entry=0xa15ad10) at kernel/qcoreapplication.cpp:915
#25 0x00007f820d93f421 in sendEvent (event=0xa15ad10, receiver=0x2c66280) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x10a86a0) at kernel/qcoreapplication.cpp:1539
#27 0x00007f820d969a93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=0x10e48f0) at kernel/qeventdispatcher_glib.cpp:279
#29 0x00007f820608cab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f820608cde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f820608cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f820d969c26 in QEventDispatcherGlib::processEvents (this=0x10a9b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007f820cd87c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f820d93a2ef in QEventLoop::processEvents (this=this@entry=0x7fffeefe41d0, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f820d93a578 in QEventLoop::exec (this=0x7fffeefe41d0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f820ddb7cf3 in KJob::exec (this=0x173f4b0) at ../../kdecore/jobs/kjob.cpp:210
#37 0x00007f81a8f9b768 in KMKernel::cleanup (this=0x16760d0) at ../../kmail/kmkernel.cpp:1319
#38 0x00007f81a9305253 in KMailPart::~KMailPart (this=this@entry=0x15505f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:119
#39 0x00007f81a9305339 in KMailPart::~KMailPart (this=0x15505f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:121
#40 0x00007f820e7a96fe in KontactInterface::Plugin::~Plugin (this=0x14751c0, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:91
#41 0x00007f81aa2c9c4f in KMailPlugin::~KMailPlugin (this=0x14751c0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#42 0x00007f81aa2c9c79 in KMailPlugin::~KMailPlugin (this=0x14751c0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#43 0x00007f820ebe0026 in Kontact::MainWindow::~MainWindow (this=this@entry=0x124ee50, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:294
#44 0x00007f820ebe0189 in Kontact::MainWindow::~MainWindow (this=0x124ee50, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:296
#45 0x00007f820d950498 in QObject::event (this=0x124ee50, e=<optimized out>) at kernel/qobject.cpp:1176
#46 0x00007f820cd320da in QWidget::event (this=0x124ee50, event=0x6903c40) at kernel/qwidget.cpp:8830
#47 0x00007f820d0fb1cb in QMainWindow::event (this=0x124ee50, event=0x6903c40) at widgets/qmainwindow.cpp:1478
#48 0x00007f820e46b3a8 in KXmlGuiWindow::event (this=0x124ee50, ev=0x6903c40) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#49 0x00007f820cce2e9c in QApplicationPrivate::notify_helper (this=this@entry=0x10e9130, receiver=receiver@entry=0x124ee50, e=e@entry=0x6903c40) at kernel/qapplication.cpp:4562
#50 0x00007f820cce730a in QApplication::notify (this=0x7fffeefe5110, receiver=0x124ee50, e=0x6903c40) at kernel/qapplication.cpp:4423
#51 0x00007f820e379636 in KApplication::notify (this=0x7fffeefe5110, receiver=0x124ee50, event=0x6903c40) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x00007f820d93b59e in QCoreApplication::notifyInternal (this=0x7fffeefe5110, receiver=receiver@entry=0x124ee50, event=event@entry=0x6903c40) at kernel/qcoreapplication.cpp:915
#53 0x00007f820d93f421 in sendEvent (event=0x6903c40, receiver=0x124ee50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x10a86a0) at kernel/qcoreapplication.cpp:1539
#55 0x00007f820d969a93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#56 postEventSourceDispatch (s=0x10e48f0) at kernel/qeventdispatcher_glib.cpp:279
#57 0x00007f820608cab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f820608cde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f820608cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f820d969c26 in QEventDispatcherGlib::processEvents (this=0x10a9b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#61 0x00007f820cd87c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f820d93a2ef in QEventLoop::processEvents (this=this@entry=0x7fffeefe4f80, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007f820d93a578 in QEventLoop::exec (this=0x7fffeefe4f80, flags=...) at kernel/qeventloop.cpp:204
#64 0x00007f820d93f738 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#65 0x0000000000403339 in main (argc=1, argv=0x7fffeefe5258) at ../../../kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:27:58 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:44:07 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.