Bug 361904 - Kmail viewing pane gets hung on loading
Summary: Kmail viewing pane gets hung on loading
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-04-17 18:27 UTC by noucamp13
Modified: 2018-02-01 09:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description noucamp13 2016-04-17 18:27:01 UTC
Application: kontact (4.14.2)
KDE Platform Version: 4.14.2 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Linux 3.19.0-32-generic x86_64
Distribution: Linux Mint 17.3 Rosa

-- Information about the crash:
- What I was doing when the application crashed:
I had just restarted the computer, opened Kmail and was looking for an email when the viewing pane got hung on loading, followed by the crash.

- Unusual behavior I noticed:
On the previous session I noticed an email had disappeared from one of my inboxes, and another inbox was not loading new mails. I restarted the computer, and started again as noted above.

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 0x7f4868e2c800 (LWP 3156))]

Thread 5 (Thread 0x7f4849267700 (LWP 3157)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4863bce81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f4863bce859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f48602ef182 in start_thread (arg=0x7f4849267700) at pthread_create.c:312
#4  0x00007f48663a347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f4808964700 (LWP 3158)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f486390f20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f4863bfdfd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f48602ef182 in start_thread (arg=0x7f4808964700) at pthread_create.c:312
#4  0x00007f48663a347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f47f92f0700 (LWP 3165)):
#0  0x00007f48602f15c0 in __GI___pthread_mutex_lock (mutex=0x7f47f4000a60) at ../nptl/pthread_mutex_lock.c:146
#1  0x00007f485fe51981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f485fe0f87b in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f485fe0ff52 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f485fe100ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4866b1c7be in QEventDispatcherGlib::processEvents (this=0x7f47f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f4866aee0af in QEventLoop::processEvents (this=this@entry=0x7f47f92efda0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4866aee3a5 in QEventLoop::exec (this=this@entry=0x7f47f92efda0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f48669eac5f in QThread::exec (this=this@entry=0x252b0a0) at thread/qthread.cpp:537
#9  0x00007f4866acf823 in QInotifyFileSystemWatcherEngine::run (this=0x252b0a0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f48669ed32f in QThreadPrivate::start (arg=0x252b0a0) at thread/qthread_unix.cpp:349
#11 0x00007f48602ef182 in start_thread (arg=0x7f47f92f0700) at pthread_create.c:312
#12 0x00007f48663a347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f47f335d700 (LWP 3180)):
#0  0x00007f486639612d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f485fe0ffe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f485fe100ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4866b1c7be in QEventDispatcherGlib::processEvents (this=0x7f47ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f4866aee0af in QEventLoop::processEvents (this=this@entry=0x7f47f335cde0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4866aee3a5 in QEventLoop::exec (this=this@entry=0x7f47f335cde0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f48669eac5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#7  0x00007f48669ed32f in QThreadPrivate::start (arg=0x1feee80) at thread/qthread_unix.cpp:349
#8  0x00007f48602ef182 in start_thread (arg=0x7f47f335d700) at pthread_create.c:312
#9  0x00007f48663a347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f4868e2c800 (LWP 3156)):
[KCrash Handler]
#6  operator QItemSelectionModel* (this=<error reading variable: Cannot access memory at address 0xa0000000a>) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:78
#7  QAbstractItemView::selectionModel (this=0xa00000002) at itemviews/qabstractitemview.cpp:766
#8  0x00007f47fe6c65be in MailCommon::FolderTreeWidget::selectedCollections (this=<optimized out>) at ../../mailcommon/folder/foldertreewidget.cpp:243
#9  0x00007f47fea619db in KMMainWidget::updateFolderMenu (this=0x2b4eb00) at ../../kmail/kmmainwidget.cpp:4105
#10 0x00007f47fea626dc in KMMainWidget::slotUpdateActionsAfterMailChecking (this=<optimized out>) at ../../kmail/kmmainwidget.cpp:441
#11 0x00007f47feb3c33a in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_kmmainwidget.cpp:526
#12 0x00007f4866b0387a in QMetaObject::activate (sender=0x2b4ed50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#13 0x00007f4866b07a31 in QObject::event (this=0x2b4ed50, e=<optimized out>) at kernel/qobject.cpp:1156
#14 0x00007f48674e1e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1d8a860, receiver=receiver@entry=0x2b4ed50, e=e@entry=0x7ffd3ac94d40) at kernel/qapplication.cpp:4567
#15 0x00007f48674e84a0 in QApplication::notify (this=this@entry=0x7ffd3ac959f0, receiver=receiver@entry=0x2b4ed50, e=e@entry=0x7ffd3ac94d40) at kernel/qapplication.cpp:4353
#16 0x00007f48681eccca in KApplication::notify (this=0x7ffd3ac959f0, receiver=0x2b4ed50, event=0x7ffd3ac94d40) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007f4866aef4dd in QCoreApplication::notifyInternal (this=0x7ffd3ac959f0, receiver=0x2b4ed50, event=0x7ffd3ac94d40) at kernel/qcoreapplication.cpp:953
#18 0x00007f4866b1f323 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QTimerInfoList::activateTimers (this=0x1d83860) at kernel/qeventdispatcher_unix.cpp:621
#20 0x00007f4866b1c629 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#21 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:240
#22 0x00007f485fe0fe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f485fe10048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f485fe100ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f4866b1c7a1 in QEventDispatcherGlib::processEvents (this=0x1d49bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#26 0x00007f4867583be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007f4866aee0af in QEventLoop::processEvents (this=this@entry=0x7ffd3ac94fb0, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007f4866aee3a5 in QEventLoop::exec (this=0x7ffd3ac94fb0, flags=...) at kernel/qeventloop.cpp:204
#29 0x00007f4866f7aaf3 in KJob::exec (this=this@entry=0x2437f70) at ../../kdecore/jobs/kjob.cpp:210
#30 0x00007f47fea2eb56 in KMKernel::cleanup (this=0x23dae70) at ../../kmail/kmkernel.cpp:1311
#31 0x00007f47fede9e48 in KMailPart::~KMailPart (this=this@entry=0x21f8e20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:119
#32 0x00007f47fede9f29 in KMailPart::~KMailPart (this=0x21f8e20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:121
#33 0x00007f4868a67d2e in KontactInterface::Plugin::~Plugin (this=0x2203720, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:92
#34 0x00007f4801655d26 in KMailPlugin::~KMailPlugin (this=0x2203720, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:173
#35 0x00007f4801655d49 in KMailPlugin::~KMailPlugin (this=0x2203720, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:177
#36 0x00007f486862ef8e in Kontact::MainWindow::~MainWindow (this=this@entry=0x1f14ac0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:296
#37 0x00007f486862f0e9 in Kontact::MainWindow::~MainWindow (this=0x1f14ac0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:298
#38 0x00007f4866b07c58 in QObject::event (this=this@entry=0x1f14ac0, e=e@entry=0x5eef660) at kernel/qobject.cpp:1175
#39 0x00007f486753156b in QWidget::event (this=this@entry=0x1f14ac0, event=event@entry=0x5eef660) at kernel/qwidget.cpp:8846
#40 0x00007f48678eba33 in QMainWindow::event (this=this@entry=0x1f14ac0, event=event@entry=0x5eef660) at widgets/qmainwindow.cpp:1478
#41 0x00007f48682a1441 in KMainWindow::event (this=this@entry=0x1f14ac0, ev=ev@entry=0x5eef660) at ../../kdeui/widgets/kmainwindow.cpp:1084
#42 0x00007f48682d8ed9 in KXmlGuiWindow::event (this=0x1f14ac0, ev=0x5eef660) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#43 0x00007f48674e1e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1d8a860, receiver=receiver@entry=0x1f14ac0, e=e@entry=0x5eef660) at kernel/qapplication.cpp:4567
#44 0x00007f48674e84a0 in QApplication::notify (this=this@entry=0x7ffd3ac959f0, receiver=receiver@entry=0x1f14ac0, e=e@entry=0x5eef660) at kernel/qapplication.cpp:4353
#45 0x00007f48681eccca in KApplication::notify (this=0x7ffd3ac959f0, receiver=0x1f14ac0, event=0x5eef660) at ../../kdeui/kernel/kapplication.cpp:311
#46 0x00007f4866aef4dd in QCoreApplication::notifyInternal (this=0x7ffd3ac959f0, receiver=receiver@entry=0x1f14ac0, event=event@entry=0x5eef660) at kernel/qcoreapplication.cpp:953
#47 0x00007f4866af2b3d in sendEvent (event=0x5eef660, receiver=0x1f14ac0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#48 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1d482b0) at kernel/qcoreapplication.cpp:1577
#49 0x00007f4866af2fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#50 0x00007f4866b1cf83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#51 postEventSourceDispatch (s=0x1d85060) at kernel/qeventdispatcher_glib.cpp:287
#52 0x00007f485fe0fe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f485fe10048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f485fe100ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f4866b1c7a1 in QEventDispatcherGlib::processEvents (this=0x1d49bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#56 0x00007f4867583be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007f4866aee0af in QEventLoop::processEvents (this=this@entry=0x7ffd3ac958f0, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007f4866aee3a5 in QEventLoop::exec (this=this@entry=0x7ffd3ac958f0, flags=...) at kernel/qeventloop.cpp:204
#59 0x00007f4866af3b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#60 0x00007f48674e037c in QApplication::exec () at kernel/qapplication.cpp:3828
#61 0x0000000000403660 in main (argc=1, argv=0x7ffd3ac95b38) at ../../../kontact/src/main.cpp:219

The reporter indicates this bug may be a duplicate of or related to bug 360227.

Possible duplicates by query: bug 360227, bug 357243.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 22:10:01 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those Framework-based versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 2 Denis Kurz 2018-02-01 09:46:41 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.