Bug 339368

Summary: Kmail crash
Product: [Applications] kontact Reporter: gido
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description gido 2014-09-24 21:02:47 UTC
Application: kontact (4.13.3)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-36-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Clicking on "Settings" > "configure filters.."

I removed Kmail with "purge" and reinstalled it. 
The error happens also when I remove all email accounts.

The crash can be reproduced every time.

-- 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 0x7fc5c35b6800 (LWP 13595))]

Thread 6 (Thread 0x7fc5a2be3700 (LWP 13596)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc5be35b81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fc5be35b859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fc5baa7d182 in start_thread (arg=0x7fc5a2be3700) at pthread_create.c:312
#4  0x00007fc5c0b2efbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fc5622e0700 (LWP 13597)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc5be09c20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fc5be38afd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fc5baa7d182 in start_thread (arg=0x7fc5622e0700) at pthread_create.c:312
#4  0x00007fc5c0b2efbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fc552967700 (LWP 13603)):
#0  0x00007fffa94b38bd in ?? ()
#1  0x00007fc552966b70 in ?? ()
#2  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc54bfff700 (LWP 13612)):
#0  pthread_mutex_lock (mutex=0x7fc544000a60) at forward.c:192
#1  0x00007fc5ba5df991 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc5ba59d699 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc5ba59df03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc5ba59e0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc5c12a87be in QEventDispatcherGlib::processEvents (this=0x7fc5440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fc5c127a0af in QEventLoop::processEvents (this=this@entry=0x7fc54bffeda0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fc5c127a3a5 in QEventLoop::exec (this=this@entry=0x7fc54bffeda0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fc5c1176c5f in QThread::exec (this=this@entry=0x39b7f30) at thread/qthread.cpp:537
#9  0x00007fc5c125b823 in QInotifyFileSystemWatcherEngine::run (this=0x39b7f30) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fc5c117932f in QThreadPrivate::start (arg=0x39b7f30) at thread/qthread_unix.cpp:349
#11 0x00007fc5baa7d182 in start_thread (arg=0x7fc54bfff700) at pthread_create.c:312
#12 0x00007fc5c0b2efbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fc542c99700 (LWP 14136)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc559019ffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fc55901a039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fc5baa7d182 in start_thread (arg=0x7fc542c99700) at pthread_create.c:312
#4  0x00007fc5c0b2efbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fc5c35b6800 (LWP 13595)):
[KCrash Handler]
#6  shared_ptr (this=0x7fffa942ac00) at /usr/include/boost/smart_ptr/shared_ptr.hpp:328
#7  MailCommon::SearchRuleWidgetLister::setRuleList (this=0x5458d60, aList=aList@entry=0x5750228) at ../../mailcommon/search/searchpatternedit.cpp:482
#8  0x00007fc557d16765 in MailCommon::SearchPatternEdit::setSearchPattern (this=0x4fa1430, aPattern=0x5750228) at ../../mailcommon/search/searchpatternedit.cpp:684
#9  0x00007fc557d7b394 in MailCommon::KMFilterDialog::slotFilterSelected (this=0x5d48dd0, aFilter=0x5750220) at ../../mailcommon/filter/kmfilterdialog.cpp:736
#10 0x00007fc5c128f87a in QMetaObject::activate (sender=sender@entry=0x541b770, m=m@entry=0x7fc557fead00 <MailCommon::KMFilterListBox::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffa942ae00) at kernel/qobject.cpp:3539
#11 0x00007fc557d9175f in MailCommon::KMFilterListBox::filterSelected (this=this@entry=0x541b770, _t1=0x5750220) at moc_kmfilterdialog.cpp:155
#12 0x00007fc557d762f8 in MailCommon::KMFilterListBox::slotSelected (this=0x541b770, aIdx=0) at ../../mailcommon/filter/kmfilterdialog.cpp:1234
#13 0x00007fc5c128f87a in QMetaObject::activate (sender=sender@entry=0x543f790, m=m@entry=0x7fc5c2735780 <QListWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x7fffa942af50) at kernel/qobject.cpp:3539
#14 0x00007fc5c21c7c31 in QListWidget::currentRowChanged (this=this@entry=0x543f790, _t1=0) at .moc/release-shared/moc_qlistwidget.cpp:260
#15 0x00007fc5c21c7d2f in QListWidgetPrivate::_q_emitCurrentItemChanged (this=<optimized out>, current=..., previous=...) at itemviews/qlistwidget.cpp:1121
#16 0x00007fc5c128f87a in QMetaObject::activate (sender=sender@entry=0x5911930, m=m@entry=0x7fc5c2734fc0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffa942b0e0) at kernel/qobject.cpp:3539
#17 0x00007fc5c21b688a in QItemSelectionModel::currentChanged (this=this@entry=0x5911930, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:172
#18 0x00007fc5c21b696d in QItemSelectionModel::setCurrentIndex (this=0x5911930, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175
#19 0x00007fc5c21c7178 in QListWidget::setCurrentRow (this=0x543f790, row=row@entry=0) at itemviews/qlistwidget.cpp:1488
#20 0x00007fc557d76564 in MailCommon::KMFilterListBox::loadFilterList (this=0x541b770, createDummyFilter=createDummyFilter@entry=true) at ../../mailcommon/filter/kmfilterdialog.cpp:1611
#21 0x00007fc557d7a401 in MailCommon::KMFilterDialog::KMFilterDialog (this=0x5d48dd0, actionCollection=..., parent=<optimized out>, createDummyFilter=<optimized out>) at ../../mailcommon/filter/kmfilterdialog.cpp:616
#22 0x00007fc558096c26 in KMKernel::openFilterDialog (this=0x18c7940, createDummyFilter=<optimized out>) at ../../kmail/kmkernel.cpp:1880
#23 0x00007fc5581a553a in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_kmmainwidget.cpp:416
#24 0x00007fc5c128f87a in QMetaObject::activate (sender=sender@entry=0x1bff400, m=m@entry=0x7fc5c2717de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffa942bac0) at kernel/qobject.cpp:3539
#25 0x00007fc5c1c67a62 in QAction::triggered (this=this@entry=0x1bff400, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#26 0x00007fc5c1c69433 in QAction::activate (this=this@entry=0x1bff400, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#27 0x00007fc5c2097489 in QMenuPrivate::activateCausedStack (this=this@entry=0x14a5570, causedStack=..., action=action@entry=0x1bff400, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#28 0x00007fc5c209b9b9 in QMenuPrivate::activateAction (this=0x14a5570, action=0x1bff400, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#29 0x00007fc5c209f385 in QMenu::mouseReleaseEvent (this=this@entry=0x149fc70, e=e@entry=0x7fffa942c1f0) at widgets/qmenu.cpp:2372
#30 0x00007fc5c2a2f665 in KMenu::mouseReleaseEvent (this=0x149fc70, e=0x7fffa942c1f0) at ../../kdeui/widgets/kmenu.cpp:464
#31 0x00007fc5c1cbd50a in QWidget::event (this=this@entry=0x149fc70, event=event@entry=0x7fffa942c1f0) at kernel/qwidget.cpp:8376
#32 0x00007fc5c209f7bb in QMenu::event (this=0x149fc70, e=0x7fffa942c1f0) at widgets/qmenu.cpp:2481
#33 0x00007fc5c1c6de2c in QApplicationPrivate::notify_helper (this=this@entry=0x11e2cd0, receiver=receiver@entry=0x149fc70, e=e@entry=0x7fffa942c1f0) at kernel/qapplication.cpp:4567
#34 0x00007fc5c1c745dd in QApplication::notify (this=this@entry=0x7fffa942ca10, receiver=receiver@entry=0x149fc70, e=e@entry=0x7fffa942c1f0) at kernel/qapplication.cpp:4110
#35 0x00007fc5c2978d1a in KApplication::notify (this=0x7fffa942ca10, receiver=0x149fc70, event=0x7fffa942c1f0) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x00007fc5c127b4dd in QCoreApplication::notifyInternal (this=0x7fffa942ca10, receiver=receiver@entry=0x149fc70, event=event@entry=0x7fffa942c1f0) at kernel/qcoreapplication.cpp:953
#37 0x00007fc5c1c73d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#38 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x149fc70, event=event@entry=0x7fffa942c1f0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x149fc70, buttonDown=buttonDown@entry=0x7fc5c2753318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#39 0x00007fc5c1ce8cfc in QETWidget::translateMouseEvent (this=this@entry=0x149fc70, event=event@entry=0x7fffa942c540) at kernel/qapplication_x11.cpp:4568
#40 0x00007fc5c1ce8269 in QApplication::x11ProcessEvent (this=0x7fffa942ca10, event=event@entry=0x7fffa942c540) at kernel/qapplication_x11.cpp:3627
#41 0x00007fc5c1d0fb02 in x11EventSourceDispatch (s=0x11e34d0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0x00007fc5ba59de04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fc5ba59e048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fc5ba59e0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fc5c12a87a1 in QEventDispatcherGlib::processEvents (this=0x11d95e0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#46 0x00007fc5c1d0fbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007fc5c127a0af in QEventLoop::processEvents (this=this@entry=0x7fffa942c910, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007fc5c127a3a5 in QEventLoop::exec (this=this@entry=0x7fffa942c910, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007fc5c127fb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#50 0x00007fc5c1c6c37c in QApplication::exec () at kernel/qapplication.cpp:3828
#51 0x0000000000403660 in main (argc=1, argv=0x7fffa942cb58) at ../../../kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:30:21 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 22:23:30 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.