Bug 317816 - Kmail crash when deleting emails in IMAP folder
Summary: Kmail crash when deleting emails in IMAP folder
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.10.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-04 09:58 UTC by Nathan Wolf
Modified: 2017-01-07 21:45 UTC (History)
0 users

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 Nathan Wolf 2013-04-04 09:58:44 UTC
Application: kontact (4.10.1)
KDE Platform Version: 4.10.1 "release 545"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.1-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
I selected and deleted an email from an IMAP folder.  The program hung for a moment, and crashed.  It doesn't happen every time but does happen periodically.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7e86887780 (LWP 9624))]

Thread 4 (Thread 0x7f7e6dc09700 (LWP 9625)):
#0  0x00007f7e7e677964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7e830657c7 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f7e830657f9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f7e7e673e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7e83dcb7dd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f7e6d308700 (LWP 9626)):
#0  0x00007f7e83dbe97d in read () from /lib64/libc.so.6
#1  0x00007f7e7d6a3e0f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7e7d667634 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7e7d667a42 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f7e7d667bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f7e851fa1f6 in QEventDispatcherGlib::processEvents (this=0x7f7e680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f7e851ca9ef in QEventLoop::processEvents (this=this@entry=0x7f7e6d307e00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f7e851cac78 in QEventLoop::exec (this=0x7f7e6d307e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f7e850cd0f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f7e850d00cc in QThreadPrivate::start (arg=0x18f9160) at thread/qthread_unix.cpp:338
#10 0x00007f7e7e673e0f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f7e83dcb7dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f7e1c1cc700 (LWP 9712)):
#0  0x00007f7e7e675e7a in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f7e7d6a4a71 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7e7d6674ba in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7e7d667a42 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f7e7d667bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f7e851fa1f6 in QEventDispatcherGlib::processEvents (this=0x7f7e140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f7e851ca9ef in QEventLoop::processEvents (this=this@entry=0x7f7e1c1cbdd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f7e851cac78 in QEventLoop::exec (this=0x7f7e1c1cbdd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f7e850cd0f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f7e851ab1af in QInotifyFileSystemWatcherEngine::run (this=0x271d060) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f7e850d00cc in QThreadPrivate::start (arg=0x271d060) at thread/qthread_unix.cpp:338
#11 0x00007f7e7e673e0f in start_thread () from /lib64/libpthread.so.0
#12 0x00007f7e83dcb7dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f7e86887780 (LWP 9624)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fff7600be40) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x23c9820, child=...) at itemviews/qsortfilterproxymodel.cpp:1676
#8  0x00007f7e851c2630 in parent (this=<optimized out>) at kernel/qabstractitemmodel.h:393
#9  QAbstractItemModelPrivate::rowsAboutToBeRemoved (this=this@entry=0x23cae10, parent=..., first=first@entry=0, last=last@entry=0) at kernel/qabstractitemmodel.cpp:726
#10 0x00007f7e851c3536 in QAbstractItemModel::beginRemoveRows (this=0x23c9820, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2471
#11 0x00007f7e84afd0f5 in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0x23cae10, source_to_proxy=..., proxy_to_source=..., proxy_start=0, proxy_end=<optimized out>, proxy_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:557
#12 0x00007f7e84b0188a in QSortFilterProxyModelPrivate::remove_source_items (this=this@entry=0x23cae10, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=emit_signal@entry=true) at itemviews/qsortfilterproxymodel.cpp:539
#13 0x00007f7e84b0304d in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0x23cae10, source_parent=..., start=1, end=1, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:840
#14 0x00007f7e851e11af in QMetaObject::activate (sender=0x1f85630, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7600c260) at kernel/qobject.cpp:3548
#15 0x00007f7e8522b8d4 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=1, _t3=1) at .moc/release-shared/moc_qabstractitemmodel.cpp:204
#16 0x00007f7e851c3526 in QAbstractItemModel::beginRemoveRows (this=0x1f85630, parent=..., first=1, last=1) at kernel/qabstractitemmodel.cpp:2470
#17 0x00007f7e84afd0f5 in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0x23c29d0, source_to_proxy=..., proxy_to_source=..., proxy_start=1, proxy_end=<optimized out>, proxy_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:557
#18 0x00007f7e84b0188a in QSortFilterProxyModelPrivate::remove_source_items (this=this@entry=0x23c29d0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=emit_signal@entry=true) at itemviews/qsortfilterproxymodel.cpp:539
#19 0x00007f7e84b0266f in QSortFilterProxyModelPrivate::handle_filter_changed (this=this@entry=0x23c29d0, source_to_proxy=..., proxy_to_source=..., source_parent=..., orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:1105
#20 0x00007f7e84b02906 in QSortFilterProxyModelPrivate::filter_changed (this=this@entry=0x23c29d0, source_parent=...) at itemviews/qsortfilterproxymodel.cpp:1037
#21 0x00007f7e84b02d75 in QSortFilterProxyModel::setFilterWildcard (this=<optimized out>, pattern=...) at itemviews/qsortfilterproxymodel.cpp:2230
#22 0x00007f7e24934759 in MailCommon::FolderTreeWidget::slotFilterFixedString (this=0x1f84860, text=...) at /usr/src/debug/kdepim-4.10.1/mailcommon/foldertreewidget.cpp:189
#23 0x00007f7e851e11af in QMetaObject::activate (sender=0x23c0440, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7600c730) at kernel/qobject.cpp:3548
#24 0x00007f7e8497f732 in QLineEdit::textChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qlineedit.cpp:264
#25 0x00007f7e8497f9b9 in QLineEdit::qt_static_metacall (_o=0x7fff7600be60, _c=37525536, _id=338, _a=0x23cae10) at .moc/release-shared/moc_qlineedit.cpp:140
#26 0x00007f7e851e11af in QMetaObject::activate (sender=0x23c0ae0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7600c890) at kernel/qobject.cpp:3548
#27 0x00007f7e84bdd5d5 in QLineControl::textChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qlinecontrol_p.cpp:148
#28 0x00007f7e84984960 in QLineControl::finishChange (this=this@entry=0x23c0ae0, validateFromState=<optimized out>, update=update@entry=false, edited=edited@entry=true) at widgets/qlinecontrol.cpp:660
#29 0x00007f7e84986152 in QLineControl::insert (this=this@entry=0x23c0ae0, newText=...) at widgets/qlinecontrol.cpp:248
#30 0x00007f7e84986858 in QLineControl::processKeyEvent (this=0x23c0ae0, event=0x7fff7600d330) at widgets/qlinecontrol.cpp:1886
#31 0x00007f7e8497b809 in QLineEdit::keyPressEvent (this=0x23c0440, event=0x7fff7600d330) at widgets/qlineedit.cpp:1712
#32 0x00007f7e85ce3274 in KLineEdit::keyPressEvent (this=0x23c0440, e=0x7fff7600d330) at /usr/src/debug/kdelibs-4.10.1/kdeui/widgets/klineedit.cpp:964
#33 0x00007f7e845c4cf4 in QWidget::event (this=0x23c0440, event=0x7fff7600d330) at kernel/qwidget.cpp:8421
#34 0x00007f7e8497dd67 in QLineEdit::event (this=0x23c0440, e=0x7fff7600d330) at widgets/qlineedit.cpp:1529
#35 0x00007f7e85ce0e18 in KLineEdit::event (this=0x23c0440, ev=0x7fff7600d330) at /usr/src/debug/kdelibs-4.10.1/kdeui/widgets/klineedit.cpp:1397
#36 0x00007f7e8457586c in QApplicationPrivate::notify_helper (this=this@entry=0x18f3950, receiver=receiver@entry=0x23c0440, e=e@entry=0x7fff7600d330) at kernel/qapplication.cpp:4562
#37 0x00007f7e8457a864 in QApplication::notify (this=<optimized out>, receiver=0x23c0440, e=0x7fff7600d330) at kernel/qapplication.cpp:4003
#38 0x00007f7e85c31146 in KApplication::notify (this=0x7fff7600e2b0, receiver=0x23c0440, event=0x7fff7600d330) at /usr/src/debug/kdelibs-4.10.1/kdeui/kernel/kapplication.cpp:311
#39 0x00007f7e851cbc9e in QCoreApplication::notifyInternal (this=0x7fff7600e2b0, receiver=0x23c0440, event=0x7fff7600d330) at kernel/qcoreapplication.cpp:946
#40 0x00007f7e84611e8a in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x23c0440, grab=grab@entry=false, type=QEvent::KeyPress, code=69, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=26, nativeVirtualKey=101, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866
#41 0x00007f7e846122c1 in QKeyMapperPrivate::translateKeyEvent (this=0x1947820, keyWidget=0x23c0440, event=0x7fff7600dd50, grab=false) at kernel/qkeymapper_x11.cpp:1836
#42 0x00007f7e845ef9f8 in QApplication::x11ProcessEvent (this=0x7fff7600e2b0, event=0x7fff7600dd50) at kernel/qapplication_x11.cpp:3543
#43 0x00007f7e84615fa2 in x11EventSourceDispatch (s=0x18e9520, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#44 0x00007f7e7d6677d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f7e7d667b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f7e7d667bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f7e851fa1d6 in QEventDispatcherGlib::processEvents (this=0x18b7ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#48 0x00007f7e84615c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007f7e851ca9ef in QEventLoop::processEvents (this=this@entry=0x7fff7600e120, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007f7e851cac78 in QEventLoop::exec (this=0x7fff7600e120, flags=...) at kernel/qeventloop.cpp:204
#51 0x00007f7e851cf918 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#52 0x0000000000403679 in main (argc=1, argv=0x7fff7600e3f8) at /usr/src/debug/kdepim-4.10.1/kontact/src/main.cpp:219

Possible duplicates by query: bug 314502, bug 314420, bug 313591, bug 310409, bug 310179.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:20:16 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:45:26 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.