Bug 328222 - Kmail crashes when clicking on email in the email list
Summary: Kmail crashes when clicking on email in the email list
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.11.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
: 307896 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-29 17:32 UTC by Giovanni Beltrame
Modified: 2018-02-01 09:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.73 KB, text/plain)
2016-04-05 12:06 UTC, Laurent RINEAU
Details
New crash information added by DrKonqi (7.95 KB, text/plain)
2016-04-18 10:28 UTC, Laurent RINEAU
Details
New crash information added by DrKonqi (6.56 KB, text/plain)
2016-08-03 09:13 UTC, Laurent RINEAU
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giovanni Beltrame 2013-11-29 17:32:54 UTC
Application: kontact (4.11.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-13-generic x86_64
Distribution: Ubuntu 13.10

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

After noticing a message in an IMAP account becoming strangely unread without my intervention, KMail crashed as soon as I clicked on said message.

-- 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 0x7f1a0568f7c0 (LWP 4112))]

Thread 7 (Thread 0x7f19e6f90700 (LWP 4113)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1a004671cd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f1a00467209 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f19fcb91f6e in start_thread (arg=0x7f19e6f90700) at pthread_create.c:311
#4  0x00007f1a02bf59cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f19a678d700 (LWP 4114)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1a001a7bbd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f1a00496a76 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f19fcb91f6e in start_thread (arg=0x7f19a678d700) at pthread_create.c:311
#4  0x00007f1a02bf59cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f1997129700 (LWP 4120)):
#0  0x00007f1a02be8f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f19fc6b96a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f19fc6b97ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a0336ea76 in QEventDispatcherGlib::processEvents (this=0x7f19880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f1a033405ef in QEventLoop::processEvents (this=this@entry=0x7f1997128d70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1a033408e5 in QEventLoop::exec (this=this@entry=0x7f1997128d70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1a0323f88f in QThread::exec (this=this@entry=0x2991fb0) at thread/qthread.cpp:542
#7  0x00007f1a03321d13 in QInotifyFileSystemWatcherEngine::run (this=0x2991fb0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f1a03241f2f in QThreadPrivate::start (arg=0x2991fb0) at thread/qthread_unix.cpp:338
#9  0x00007f19fcb91f6e in start_thread (arg=0x7f1997129700) at pthread_create.c:311
#10 0x00007f1a02bf59cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f1995898700 (LWP 4122)):
#0  0x00007f1a02be76bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f19fc6f8670 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f19fc6b91cc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f19fc6b963b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f19fc6b97ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1a0336ea76 in QEventDispatcherGlib::processEvents (this=0x7f19800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f1a033405ef in QEventLoop::processEvents (this=this@entry=0x7f1995897db0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f1a033408e5 in QEventLoop::exec (this=this@entry=0x7f1995897db0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f1a0323f88f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f1a03241f2f in QThreadPrivate::start (arg=0x2509a80) at thread/qthread_unix.cpp:338
#10 0x00007f19fcb91f6e in start_thread (arg=0x7f1995898700) at pthread_create.c:311
#11 0x00007f1a02bf59cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f1996099700 (LWP 8137)):
#0  0x00007f19fc6f90f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f19fc6f9399 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f19fc6b968a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f19fc6b97ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1a0336ea76 in QEventDispatcherGlib::processEvents (this=0x7f198c032a80, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f1a033405ef in QEventLoop::processEvents (this=this@entry=0x7f1996098d70, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f1a033408e5 in QEventLoop::exec (this=this@entry=0x7f1996098d70, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f1a0323f88f in QThread::exec (this=this@entry=0x7ab4dc0) at thread/qthread.cpp:542
#8  0x00007f1a03321d13 in QInotifyFileSystemWatcherEngine::run (this=0x7ab4dc0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f1a03241f2f in QThreadPrivate::start (arg=0x7ab4dc0) at thread/qthread_unix.cpp:338
#10 0x00007f19fcb91f6e in start_thread (arg=0x7f1996099700) at pthread_create.c:311
#11 0x00007f1a02bf59cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f1987fff700 (LWP 8168)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1999ab506b in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f1999ab50a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f19fcb91f6e in start_thread (arg=0x7f1987fff700) at pthread_create.c:311
#4  0x00007f1a02bf59cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f1a0568f7c0 (LWP 4112)):
[KCrash Handler]
#6  size (this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:98
#7  count (this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:280
#8  MessageList::Core::ModelInvariantRowMapper::modelInvariantIndexToModelIndexRow (this=0x2909400, invariant=invariant@entry=0x81d7410) at ../../messagelist/core/modelinvariantrowmapper.cpp:324
#9  0x00007f199d62c5e5 in MessageList::Core::ModelInvariantIndex::currentModelIndexRow (this=this@entry=0x81d7410) at ../../messagelist/core/modelinvariantindex.cpp:50
#10 0x00007f199d668eac in MessageList::Widget::viewMessageSelected (this=0x2883d20, msg=0x81d7400) at ../../messagelist/widget.cpp:234
#11 0x00007f199d643d90 in MessageList::Core::View::slotSelectionChanged (this=0x2903d90) at ../../messagelist/core/view.cpp:1970
#12 0x00007f1a03355a58 in QMetaObject::activate (sender=sender@entry=0x2794dc0, m=m@entry=0x7f1a047f8fc0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff74796fa0) at kernel/qobject.cpp:3539
#13 0x00007f1a0427ac47 in QItemSelectionModel::selectionChanged (this=this@entry=0x2794dc0, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#14 0x00007f1a04280277 in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x2794dc0, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#15 0x00007f1a04280a83 in QItemSelectionModel::select (this=0x2794dc0, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#16 0x00007f1a0426c9ea in QTreeViewPrivate::select (this=this@entry=0x29062a0, topIndex=..., bottomIndex=..., command=...) at itemviews/qtreeview.cpp:3685
#17 0x00007f1a0426d2ec in QTreeView::setSelection (this=<optimized out>, rect=..., command=...) at itemviews/qtreeview.cpp:2295
#18 0x00007f1a0422ce6a in QAbstractItemView::mousePressEvent (this=this@entry=0x2903d90, event=event@entry=0x7fff74797e10) at itemviews/qabstractitemview.cpp:1690
#19 0x00007f1a04271925 in QTreeView::mousePressEvent (this=this@entry=0x2903d90, event=event@entry=0x7fff74797e10) at itemviews/qtreeview.cpp:1833
#20 0x00007f199d64479b in MessageList::Core::View::mousePressEvent (this=0x2903d90, e=0x7fff74797e10) at ../../messagelist/core/view.cpp:2177
#21 0x00007f1a03d82191 in QWidget::event (this=this@entry=0x2903d90, event=event@entry=0x7fff74797e10) at kernel/qwidget.cpp:8371
#22 0x00007f1a041235be in QFrame::event (this=0x2903d90, e=0x7fff74797e10) at widgets/qframe.cpp:557
#23 0x00007f1a042326b3 in QAbstractItemView::viewportEvent (this=this@entry=0x2903d90, event=event@entry=0x7fff74797e10) at itemviews/qabstractitemview.cpp:1644
#24 0x00007f1a0427150e in QTreeView::viewportEvent (this=0x2903d90, event=0x7fff74797e10) at itemviews/qtreeview.cpp:1257
#25 0x00007f1a03341a26 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x2280cd0, receiver=receiver@entry=0x2906860, event=event@entry=0x7fff74797e10) at kernel/qcoreapplication.cpp:1056
#26 0x00007f1a03d32ddc in QApplicationPrivate::notify_helper (this=this@entry=0x2280cd0, receiver=receiver@entry=0x2906860, e=e@entry=0x7fff74797e10) at kernel/qapplication.cpp:4563
#27 0x00007f1a03d395ad in QApplication::notify (this=this@entry=0x7fff74798670, receiver=receiver@entry=0x2906860, e=e@entry=0x7fff74797e10) at kernel/qapplication.cpp:4110
#28 0x00007f1a04a3ca6a in KApplication::notify (this=0x7fff74798670, receiver=0x2906860, event=0x7fff74797e10) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f1a033418bd in QCoreApplication::notifyInternal (this=0x7fff74798670, receiver=receiver@entry=0x2906860, event=event@entry=0x7fff74797e10) at kernel/qcoreapplication.cpp:946
#30 0x00007f1a03d38d63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2906860, event=event@entry=0x7fff74797e10, alienWidget=alienWidget@entry=0x2906860, nativeWidget=nativeWidget@entry=0x2ac4670, buttonDown=buttonDown@entry=0x7f1a048172f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#32 0x00007f1a03dad7db in QETWidget::translateMouseEvent (this=this@entry=0x2ac4670, event=event@entry=0x7fff74798190) at kernel/qapplication_x11.cpp:4631
#33 0x00007f1a03dad079 in QApplication::x11ProcessEvent (this=0x7fff74798670, event=event@entry=0x7fff74798190) at kernel/qapplication_x11.cpp:3624
#34 0x00007f1a03dd4922 in x11EventSourceDispatch (s=0x2281400, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f19fc6b93b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f19fc6b9708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f19fc6b97ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f1a0336ea55 in QEventDispatcherGlib::processEvents (this=0x2247690, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#39 0x00007f1a03dd49d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f1a033405ef in QEventLoop::processEvents (this=this@entry=0x7fff74798570, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f1a033408e5 in QEventLoop::exec (this=this@entry=0x7fff74798570, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007f1a03345e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#43 0x00007f1a03d3134c in QApplication::exec () at kernel/qapplication.cpp:3828
#44 0x0000000000403660 in main (argc=1, argv=0x7fff747987b8) at ../../../kontact/src/main.cpp:219

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

Possible duplicates by query: bug 309979, bug 307896.

Reported using DrKonqi
Comment 1 Laurent RINEAU 2016-04-05 12:06:39 UTC
Created attachment 98253 [details]
New crash information added by DrKonqi

kontact (4.14.10) on KDE Platform 4.14.18 using Qt 4.8.7

- What I was doing when the application crashed:

I was browsing in the list of email in a folder. Actually, that "folder" was a view corresponding to the union of four different folders.

-- Backtrace (Reduced):
#6  0x00007f7e1458b1e5 in MessageList::Core::ModelInvariantRowMapper::modelInvariantIndexToModelIndexRow(MessageList::Core::ModelInvariantIndex*) () at /lib64/libmessagelist.so.4
#7  0x00007f7e145d1adc in MessageList::Widget::viewMessageSelected(MessageList::Core::MessageItem*) () at /lib64/libmessagelist.so.4
#8  0x00007f7e145a6288 in MessageList::Core::View::slotSelectionChanged(QItemSelection const&, QItemSelection const&) () at /lib64/libmessagelist.so.4
[...]
#10 0x00007f7e8ddcf687 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /lib64/libQtGui.so.4
#11 0x00007f7e8ddd4d73 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /lib64/libQtGui.so.4
Comment 2 Laurent RINEAU 2016-04-05 12:08:57 UTC
With the last report, you can see that the bug is still there with KMail/Kontact 4.14.10.
Comment 3 Laurent RINEAU 2016-04-18 10:28:25 UTC
Created attachment 98442 [details]
New crash information added by DrKonqi

kontact (4.14.10) on KDE Platform 4.14.18 using Qt 4.8.7

- What I was doing when the application crashed:

I just clicked on a message in the list view and kontact crashed.

Note that the view was showing several different folders in the same tab.

-- Backtrace (Reduced):
#6  0x00007effe65ce1e5 in MessageList::Core::ModelInvariantRowMapper::modelInvariantIndexToModelIndexRow(MessageList::Core::ModelInvariantIndex*) () at /lib64/libmessagelist.so.4
#7  0x00007effe6614adc in MessageList::Widget::viewMessageSelected(MessageList::Core::MessageItem*) () at /lib64/libmessagelist.so.4
#8  0x00007effe65e9288 in MessageList::Core::View::slotSelectionChanged(QItemSelection const&, QItemSelection const&) () at /lib64/libmessagelist.so.4
[...]
#10 0x00007f005fde4687 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /lib64/libQtGui.so.4
#11 0x00007f005fde9d73 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /lib64/libQtGui.so.4
Comment 4 Laurent RINEAU 2016-08-03 09:13:39 UTC
Created attachment 100433 [details]
New crash information added by DrKonqi

kontact (4.14.10) on KDE Platform 4.14.20 using Qt 4.8.7

- What I was doing when the application crashed:

I was browsing my list of new mails, in a virtual folder.

-- Backtrace (Reduced):
#6  0x00007fd52e1601e5 in MessageList::Core::ModelInvariantRowMapper::modelInvariantIndexToModelIndexRow(MessageList::Core::ModelInvariantIndex*) () at /lib64/libmessagelist.so.4
#7  0x00007fd52e1a6adc in MessageList::Widget::viewMessageSelected(MessageList::Core::MessageItem*) () at /lib64/libmessagelist.so.4
#8  0x00007fd52e17b288 in MessageList::Core::View::slotSelectionChanged(QItemSelection const&, QItemSelection const&) () at /lib64/libmessagelist.so.4
[...]
#10 0x00007fd5a78aa967 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /lib64/libQtGui.so.4
#11 0x00007fd5a78b0053 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /lib64/libQtGui.so.4
Comment 5 Denis Kurz 2016-08-29 06:33:29 UTC
*** Bug 307896 has been marked as a duplicate of this bug. ***
Comment 6 Denis Kurz 2017-06-23 22:41:09 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 7 Denis Kurz 2018-02-01 09:55:54 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.