Bug 326548 - kmail hanging on a imap account
Summary: kmail hanging on a imap account
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: mail (show other bugs)
Version: 4.11.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-10-24 07:38 UTC by Erasmo Caponio
Modified: 2015-01-08 17:18 UTC (History)
1 user (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 Erasmo Caponio 2013-10-24 07:38:35 UTC
Application: kontact (4.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
I was trying to read email messages in a imap account
kde 4.11.2 on Kubuntu 13.10

The crash can be reproduced sometimes.

-- 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 0x7fb7e9dad7c0 (LWP 10017))]

Thread 6 (Thread 0x7fb7cb2b7700 (LWP 10018)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb7e4b381cd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fb7e4b38209 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fb7e123ff6e in start_thread (arg=0x7fb7cb2b7700) at pthread_create.c:311
#4  0x00007fb7e72f29cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7fb78a9b4700 (LWP 10019)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb7e4878bbd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fb7e4b67a76 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fb7e123ff6e in start_thread (arg=0x7fb78a9b4700) at pthread_create.c:311
#4  0x00007fb7e72f29cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fb776b07700 (LWP 10041)):
#0  0x00007fb7e799777a in qt_gettime () at tools/qelapsedtimer_unix.cpp:146
#1  0x00007fb7e7a70fe5 in updateCurrentTime (this=0x7fb770002660) at kernel/qeventdispatcher_unix.cpp:354
#2  QTimerInfoList::timerWait (this=0x7fb770002660, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#3  0x00007fb7e7a6f82c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fb776b06bb4) at kernel/qeventdispatcher_glib.cpp:136
#4  0x00007fb7e7a6f8d5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#5  0x00007fb7e0d5fd4d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fb7e0d605c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fb7e0d607ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fb7e7a6fa76 in QEventDispatcherGlib::processEvents (this=0x7fb7700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#9  0x00007fb7e7a415ef in QEventLoop::processEvents (this=this@entry=0x7fb776b06d70, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007fb7e7a418e5 in QEventLoop::exec (this=this@entry=0x7fb776b06d70, flags=...) at kernel/qeventloop.cpp:204
#11 0x00007fb7e794088f in QThread::exec (this=this@entry=0xe62550) at thread/qthread.cpp:542
#12 0x00007fb7e7a22d13 in QInotifyFileSystemWatcherEngine::run (this=0xe62550) at io/qfilesystemwatcher_inotify.cpp:265
#13 0x00007fb7e7942f2f in QThreadPrivate::start (arg=0xe62550) at thread/qthread_unix.cpp:338
#14 0x00007fb7e123ff6e in start_thread (arg=0x7fb776b07700) at pthread_create.c:311
#15 0x00007fb7e72f29cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fb775266700 (LWP 10050)):
#0  0x00007fb7e72e46bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb7e0d9f670 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb7e0d601cc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb7e0d6063b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb7e0d607ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb7e7a6fa76 in QEventDispatcherGlib::processEvents (this=0x7fb76c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fb7e7a415ef in QEventLoop::processEvents (this=this@entry=0x7fb775265db0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fb7e7a418e5 in QEventLoop::exec (this=this@entry=0x7fb775265db0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fb7e794088f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007fb7e7942f2f in QThreadPrivate::start (arg=0x96fee0) at thread/qthread_unix.cpp:338
#10 0x00007fb7e123ff6e in start_thread (arg=0x7fb775266700) at pthread_create.c:311
#11 0x00007fb7e72f29cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fb775a67700 (LWP 10607)):
#0  0x00007fb7e0da00ed in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb7e0da03c9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb7e0d607b6 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb7e7a6fa76 in QEventDispatcherGlib::processEvents (this=0x7fb768021b00, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fb7e7a415ef in QEventLoop::processEvents (this=this@entry=0x7fb775a66d70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb7e7a418e5 in QEventLoop::exec (this=this@entry=0x7fb775a66d70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fb7e794088f in QThread::exec (this=this@entry=0x487aa40) at thread/qthread.cpp:542
#7  0x00007fb7e7a22d13 in QInotifyFileSystemWatcherEngine::run (this=0x487aa40) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fb7e7942f2f in QThreadPrivate::start (arg=0x487aa40) at thread/qthread_unix.cpp:338
#9  0x00007fb7e123ff6e in start_thread (arg=0x7fb775a67700) at pthread_create.c:311
#10 0x00007fb7e72f29cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fb7e9dad7c0 (LWP 10017)):
[KCrash Handler]
#6  operator QAbstractItemModel* (this=<error reading variable: Cannot access memory at address 0x8d48fffff7e2e8f7>) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:78
#7  QItemSelectionModel::model (this=0x8d48fffff7e2e8ef) at itemviews/qitemselectionmodel.cpp:1527
#8  0x00007fb781e23823 in KMKernel::treeviewModelSelection (this=<optimized out>) at ../../kmail/kmkernel.cpp:1972
#9  0x00007fb781e1da84 in KMail::KMSystemTray::slotContextMenuAboutToShow (this=0xd67560) at ../../kmail/kmsystemtray.cpp:281
#10 0x00007fb7e7a56a58 in QMetaObject::activate (sender=0xfc23e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#11 0x00007fb7e7a4abf8 in QMetaMethod::invoke (this=this@entry=0x7fff3ff4c960, object=object@entry=0xfc23e0, connectionType=Qt::DirectConnection, connectionType@entry=Qt::AutoConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#12 0x00007fb7e7a4d0b8 in QMetaObject::invokeMethod (obj=0xfc23e0, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#13 0x00007fb7e1dcb87d in ?? () from /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2
#14 0x00007fb7e1dcd37e in ?? () from /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2
#15 0x00007fb7e1dcd68f in ?? () from /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2
#16 0x00007fb7e664be36 in QDBusConnectionPrivate::deliverCall (this=this@entry=0xfb9ec0, object=object@entry=0x73d1a0, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:951
#17 0x00007fb7e664cf8b in QDBusConnectionPrivate::activateCall (this=this@entry=0xfb9ec0, object=0x73d1a0, flags=4080, msg=...) at qdbusintegrator.cpp:863
#18 0x00007fb7e664d671 in QDBusConnectionPrivate::activateObject (this=0xfb9ec0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1447
#19 0x00007fb7e664da6b in QDBusActivateObjectEvent::placeMetaCall (this=0x1cdcbe0) at qdbusintegrator.cpp:1541
#20 0x00007fb7e7a5adce in QObject::event (this=0x73d1a0, e=<optimized out>) at kernel/qobject.cpp:1194
#21 0x00007fb7e8441dfc in QApplicationPrivate::notify_helper (this=this@entry=0x6e33a0, receiver=receiver@entry=0x73d1a0, e=e@entry=0x1cdcbe0) at kernel/qapplication.cpp:4567
#22 0x00007fb7e8448470 in QApplication::notify (this=this@entry=0x7fff3ff4da50, receiver=receiver@entry=0x73d1a0, e=e@entry=0x1cdcbe0) at kernel/qapplication.cpp:4353
#23 0x00007fb7e9151a6a in KApplication::notify (this=0x7fff3ff4da50, receiver=0x73d1a0, event=0x1cdcbe0) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007fb7e7a428bd in QCoreApplication::notifyInternal (this=0x7fff3ff4da50, receiver=receiver@entry=0x73d1a0, event=event@entry=0x1cdcbe0) at kernel/qcoreapplication.cpp:946
#25 0x00007fb7e7a45e1f in sendEvent (event=0x1cdcbe0, receiver=0x73d1a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x6a51d0) at kernel/qcoreapplication.cpp:1570
#27 0x00007fb7e7a462c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#28 0x00007fb7e7a70073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#29 postEventSourceDispatch (s=0x6e1bc0) at kernel/qeventdispatcher_glib.cpp:279
#30 0x00007fb7e0d603b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fb7e0d60708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fb7e0d607ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fb7e7a6fa55 in QEventDispatcherGlib::processEvents (this=0x6a6690, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x00007fb7e84e39d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007fb7e7a415ef in QEventLoop::processEvents (this=this@entry=0x7fff3ff4d7d0, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007fb7e7a418e5 in QEventLoop::exec (this=0x7fff3ff4d7d0, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007fb7e7ed32a3 in KJob::exec (this=this@entry=0xd1e240) at ../../kdecore/jobs/kjob.cpp:210
#38 0x00007fb781e28306 in KMKernel::cleanup (this=0xc524d0) at ../../kmail/kmkernel.cpp:1349
#39 0x00007fb78217fd35 in KMailPart::~KMailPart (this=this@entry=0xae23d0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:119
#40 0x00007fb78217fe09 in KMailPart::~KMailPart (this=0xae23d0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:121
#41 0x00007fb7e99d82fe in KontactInterface::Plugin::~Plugin (this=0x992c90, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:92
#42 0x00007fb783129b5f in KMailPlugin::~KMailPlugin (this=0x992c90, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#43 0x00007fb783129b89 in KMailPlugin::~KMailPlugin (this=0x992c90, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#44 0x00007fb7e9594fee in Kontact::MainWindow::~MainWindow (this=this@entry=0x8a2e40, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:296
#45 0x00007fb7e9595149 in Kontact::MainWindow::~MainWindow (this=0x8a2e40, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:298
#46 0x00000000004036a6 in qDeleteAll<QList<KMainWindow*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#47 qDeleteAll<QList<KMainWindow*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#48 main (argc=1, argv=0x7fff3ff4db98) at ../../../kontact/src/main.cpp:220

Reported using DrKonqi
Comment 1 Erasmo Caponio 2013-10-24 09:14:10 UTC
It seems that the problem happens every time I resume my system from suspend having Kontact been left running