Bug 331686

Summary: crash when choosing
Product: [Applications] kmail2 Reporter: Steven Schmidt <stevenschmidt>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: montel
Priority: NOR Keywords: drkonqi
Version: 4.10.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Steven Schmidt 2014-03-02 21:18:26 UTC
Application: kmail (4.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.5
Operating System: Linux 3.11.10-100.fc18.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

-- Information about the crash:
- What I was doing when the application crashed:
choosing a message filter to edit (after selecting a from address)

The crash can be reproduced sometimes.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f828abba880 (LWP 19835))]

Thread 4 (Thread 0x7f82848fd700 (LWP 19839)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003f72ea98d5 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x3f7393dac0 <WTF::pageheap_memory>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:2571
#2  0x0000003f72ea9929 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:1767
#3  0x0000003a24407d15 in start_thread (arg=0x7f82848fd700) at pthread_create.c:308
#4  0x0000003a23cf253d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7f8243562700 (LWP 19840)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003f72bee219 in JSC::BlockAllocator::blockFreeingThreadMain (this=0x7f8284066398) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128
#2  0x0000003f72ed805e in WTF::wtfThreadEntryPoint (param=0x248be90) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196
#3  0x0000003a24407d15 in start_thread (arg=0x7f8243562700) at pthread_create.c:308
#4  0x0000003a23cf253d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7f824285f700 (LWP 19841)):
#0  0x0000003a2440e12d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003a268840df in read (__nbytes=16, __buf=0x7f824285eb10, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x22037c0) at gwakeup.c:212
#3  0x0000003a268478b4 in g_main_context_check (context=context@entry=0x7f82340009a0, max_priority=2147483647, fds=fds@entry=0x7f82340029c0, n_fds=n_fds@entry=1) at gmain.c:3129
#4  0x0000003a26847cc2 in g_main_context_iterate (context=context@entry=0x7f82340009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3287
#5  0x0000003a26847e44 in g_main_context_iteration (context=0x7f82340009a0, may_block=1) at gmain.c:3351
#6  0x00000030d03a6696 in QEventDispatcherGlib::processEvents (this=0x7f82340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#7  0x00000030d03769ff in QEventLoop::processEvents (this=this@entry=0x7f824285ed00, flags=...) at kernel/qeventloop.cpp:149
#8  0x00000030d0376c88 in QEventLoop::exec (this=0x7f824285ed00, flags=...) at kernel/qeventloop.cpp:204
#9  0x00000030d02789a0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#10 0x00000030d027b97c in QThreadPrivate::start (arg=0x2861c10) at thread/qthread_unix.cpp:338
#11 0x0000003a24407d15 in start_thread (arg=0x7f824285f700) at pthread_create.c:308
#12 0x0000003a23cf253d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f828abba880 (LWP 19835)):
[KCrash Handler]
#6  shared_ptr (this=0x7fffcc5c72a0) at /usr/include/boost/smart_ptr/shared_ptr.hpp:164
#7  MailCommon::SearchRuleWidgetLister::setRuleList (this=0x74c2bf0, aList=aList@entry=0x507bd58) at /usr/src/debug/kdepim-4.10.5/mailcommon/searchpatternedit.cpp:424
#8  0x0000003f7aaf0fa5 in MailCommon::SearchPatternEdit::setSearchPattern (this=0x74c1860, aPattern=0x507bd58) at /usr/src/debug/kdepim-4.10.5/mailcommon/searchpatternedit.cpp:621
#9  0x0000003f7aaaf3e4 in MailCommon::KMFilterDialog::slotFilterSelected (this=0x747c670, aFilter=0x507bd50) at /usr/src/debug/kdepim-4.10.5/mailcommon/filter/kmfilterdialog.cpp:708
#10 0x00000030d038d31f in QMetaObject::activate (sender=0x74a0e00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffcc5c7520) at kernel/qobject.cpp:3547
#11 0x0000003f7aaae65f in MailCommon::KMFilterListBox::filterSelected (this=this@entry=0x74a0e00, _t1=0x507bd50) at /usr/src/debug/kdepim-4.10.5/x86_64-redhat-linux-gnu/mailcommon/kmfilterdialog.moc:155
#12 0x0000003f7aaaffa0 in MailCommon::KMFilterListBox::slotSelected (this=0x74a0e00, aIdx=7) at /usr/src/debug/kdepim-4.10.5/mailcommon/filter/kmfilterdialog.cpp:1206
#13 0x00000030d038d31f in QMetaObject::activate (sender=0x74a11c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffcc5c76a0) at kernel/qobject.cpp:3547
#14 0x00000030d2136001 in QListWidget::currentRowChanged (this=this@entry=0x74a11c0, _t1=7) at .moc/release-shared/moc_qlistwidget.cpp:260
#15 0x00000030d2136111 in QListWidgetPrivate::_q_emitCurrentItemChanged (this=0x74a11f0, current=..., previous=...) at itemviews/qlistwidget.cpp:1121
#16 0x00000030d038d31f in QMetaObject::activate (sender=0x5fb1240, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffcc5c7860) at kernel/qobject.cpp:3547
#17 0x00000030d2124d4a in QItemSelectionModel::currentChanged (this=this@entry=0x5fb1240, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:172
#18 0x00000030d2124e39 in QItemSelectionModel::setCurrentIndex (this=0x5fb1240, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175
#19 0x00000030d20d682a in QAbstractItemView::mousePressEvent (this=0x74a11c0, event=<optimized out>) at itemviews/qabstractitemview.cpp:1682
#20 0x00000030d1c1a1e0 in QWidget::event (this=0x74a11c0, event=0x7fffcc5c85a0) at kernel/qwidget.cpp:8372
#21 0x00000030d1fc5516 in QFrame::event (this=0x74a11c0, e=0x7fffcc5c85a0) at widgets/qframe.cpp:557
#22 0x00000030d20d111b in QAbstractItemView::viewportEvent (this=0x74a11c0, event=0x7fffcc5c85a0) at itemviews/qabstractitemview.cpp:1644
#23 0x00000030d0377eb6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x74a16c0, event=0x7fffcc5c85a0) at kernel/qcoreapplication.cpp:1059
#24 0x00000030d1bca65c in QApplicationPrivate::notify_helper (this=0x22022c0, receiver=0x74a16c0, e=0x7fffcc5c85a0) at kernel/qapplication.cpp:4558
#25 0x00000030d1bcf36b in QApplication::notify (this=<optimized out>, receiver=0x74a16c0, e=0x7fffcc5c85a0) at kernel/qapplication.cpp:4105
#26 0x0000003f6c6455c6 in KApplication::notify (this=0x7fffcc5c9460, receiver=0x74a16c0, event=0x7fffcc5c85a0) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#27 0x00000030d0377d4e in QCoreApplication::notifyInternal (this=0x7fffcc5c9460, receiver=0x74a16c0, event=0x7fffcc5c85a0) at kernel/qcoreapplication.cpp:949
#28 0x00000030d1bcb4cb in QApplicationPrivate::sendMouseEvent (receiver=0x74a16c0, event=0x7fffcc5c85a0, alienWidget=0x74a16c0, nativeWidget=0x74a0e00, buttonDown=0x30d269f268 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#29 0x00000030d1c45d54 in QETWidget::translateMouseEvent (this=this@entry=0x74a0e00, event=event@entry=0x7fffcc5c8d10) at kernel/qapplication_x11.cpp:4538
#30 0x00000030d1c44ae1 in QApplication::x11ProcessEvent (this=0x7fffcc5c9460, event=0x7fffcc5c8d10) at kernel/qapplication_x11.cpp:3661
#31 0x00000030d1c6ac4c in x11EventSourceDispatch (s=s@entry=0x2204920, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#32 0x0000003a26847a55 in g_main_dispatch (context=0x21f5e80) at gmain.c:2715
#33 g_main_context_dispatch (context=context@entry=0x21f5e80) at gmain.c:3219
#34 0x0000003a26847d88 in g_main_context_iterate (context=context@entry=0x21f5e80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#35 0x0000003a26847e44 in g_main_context_iteration (context=0x21f5e80, may_block=1) at gmain.c:3351
#36 0x00000030d03a6676 in QEventDispatcherGlib::processEvents (this=0x21fbc10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#37 0x00000030d1c6a92e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#38 0x00000030d03769ff in QEventLoop::processEvents (this=this@entry=0x7fffcc5c90e0, flags=...) at kernel/qeventloop.cpp:149
#39 0x00000030d0376c88 in QEventLoop::exec (this=0x7fffcc5c90e0, flags=...) at kernel/qeventloop.cpp:204
#40 0x00000030d037bcb8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#41 0x0000000000402ded in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.10.5/kmail/main.cpp:146

Reported using DrKonqi
Comment 1 Laurent Montel 2014-03-13 08:17:15 UTC
REproductible ?
Comment 2 Denis Kurz 2016-09-24 18:05:30 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 kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:19:18 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.