Bug 356116 - Kmail crashes when forwarding mails
Summary: Kmail crashes when forwarding mails
Status: RESOLVED DUPLICATE of bug 362817
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-11-30 14:15 UTC by Config
Modified: 2016-12-20 18:22 UTC (History)
2 users (show)

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 Config 2015-11-30 14:15:08 UTC
Application: kontact (5.0.2)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-18-generic x86_64
Distribution: Ubuntu 15.10

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

I tried to forward an email. Selected a mail, pressed "Forward" -> "Inline" and Kmail crashed. The same behaviour was encountered with other options of the "Forward". Not sure if it is relevant, but the mail was an invitation to a meeting from MS Outlook and contained attachments. Furthermore, my other folder (connected with Gmail) was syncing folders at that moment (all those times).

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 0x7f34f6497880 (LWP 17232))]

Thread 10 (Thread 0x7f34cf1c4700 (LWP 17234)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f34f278848b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f34f27884c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f34edf076aa in start_thread (arg=0x7f34cf1c4700) at pthread_create.c:333
#4  0x00007f34f367aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f348bb2a700 (LWP 17235)):
#0  0x00007f34f366f8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f34ed28a1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f34ed28a2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f34f41b029b in QEventDispatcherGlib::processEvents (this=0x7f34840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f34f415675a in QEventLoop::exec (this=this@entry=0x7f348bb29d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f34f3f743d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f34f3f792be in QThreadPrivate::start (arg=0x2421da0) at thread/qthread_unix.cpp:337
#7  0x00007f34edf076aa in start_thread (arg=0x7f348bb2a700) at pthread_create.c:333
#8  0x00007f34f367aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f348b118700 (LWP 17236)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f34f24965b4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f34f27b8341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f34edf076aa in start_thread (arg=0x7f348b118700) at pthread_create.c:333
#4  0x00007f34f367aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f348a8f8700 (LWP 17237)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f34f24975e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f34f27b8341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f34edf076aa in start_thread (arg=0x7f348a8f8700) at pthread_create.c:333
#4  0x00007f34f367aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f348a0f7700 (LWP 17238)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f34f24975e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f34f27b8341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f34edf076aa in start_thread (arg=0x7f348a0f7700) at pthread_create.c:333
#4  0x00007f34f367aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f34898f6700 (LWP 17239)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f34f24975e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f34f27b8341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f34edf076aa in start_thread (arg=0x7f34898f6700) at pthread_create.c:333
#4  0x00007f34f367aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f34890f5700 (LWP 17240)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f34f24975e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f34f27b8341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f34edf076aa in start_thread (arg=0x7f34890f5700) at pthread_create.c:333
#4  0x00007f34f367aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f34888f4700 (LWP 17241)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f34f24975e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f34f27b8341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f34edf076aa in start_thread (arg=0x7f34888f4700) at pthread_create.c:333
#4  0x00007f34f367aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f3473fff700 (LWP 17242)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f34f24975e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f34f27b8341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f34edf076aa in start_thread (arg=0x7f3473fff700) at pthread_create.c:333
#4  0x00007f34f367aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f34f6497880 (LWP 17232)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::index_to_iterator (this=0x4763a40, proxy_index=...) at itemmodels/qsortfilterproxymodel.cpp:185
#7  QSortFilterProxyModelPrivate::proxy_to_source (proxy_index=..., this=0x4763a40) at itemmodels/qsortfilterproxymodel.cpp:375
#8  QSortFilterProxyModel::mapToSource (proxyIndex=..., this=0x475ce20) at itemmodels/qsortfilterproxymodel.cpp:2716
#9  QSortFilterProxyModelPrivate::store_persistent_indexes (this=this@entry=0x4763a40) at itemmodels/qsortfilterproxymodel.cpp:1015
#10 0x00007f34f412880c in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x4763a40, source_top_left=..., source_bottom_right=...) at itemmodels/qsortfilterproxymodel.cpp:1198
#11 0x00007f34f418978a in QMetaObject::activate (sender=sender@entry=0x4762780, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc8066c470) at kernel/qobject.cpp:3717
#12 0x00007f34f4189f87 in QMetaObject::activate (sender=sender@entry=0x4762780, m=m@entry=0x7f34f438be40 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc8066c470) at kernel/qobject.cpp:3582
#13 0x00007f34f420064c in QAbstractItemModel::dataChanged (this=this@entry=0x4762780, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:393
#14 0x00007f34f4128756 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=<optimized out>, source_top_left=..., source_bottom_right=...) at itemmodels/qsortfilterproxymodel.cpp:1231
#15 0x00007f34f418978a in QMetaObject::activate (sender=sender@entry=0x47037a0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc8066c750) at kernel/qobject.cpp:3717
#16 0x00007f34f4189f87 in QMetaObject::activate (sender=sender@entry=0x47037a0, m=m@entry=0x7f34f438be40 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc8066c750) at kernel/qobject.cpp:3582
#17 0x00007f34f420064c in QAbstractItemModel::dataChanged (this=this@entry=0x47037a0, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:393
#18 0x00007f34ef48f8af in Akonadi::EntityTreeModelPrivate::dataChanged (this=this@entry=0x4703a60, top=..., bottom=...) at ../../../../akonadi/src/core/models/entitytreemodel_p.cpp:1713
#19 0x00007f34ef494aab in Akonadi::EntityTreeModelPrivate::itemFetchJobDone (this=0x4703a60, job=0x477a820) at ../../../../akonadi/src/core/models/entitytreemodel_p.cpp:1375
#20 0x00007f34f418978a in QMetaObject::activate (sender=0x477a820, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3717
#21 0x00007f34f53fe8d2 in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#22 0x00007f34f53ff45a in KJob::emitResult() () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#23 0x00007f34ef44f3b3 in Akonadi::JobPrivate::delayedEmitResult (this=<optimized out>) at ../../../../akonadi/src/core/jobs/job.cpp:153
#24 Akonadi::Job::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./moc_job.cpp:107
#25 0x00007f34f418a651 in QObject::event (this=0x477a820, e=<optimized out>) at kernel/qobject.cpp:1245
#26 0x00007f34f4a26b8c in QApplicationPrivate::notify_helper (this=this@entry=0x2250500, receiver=receiver@entry=0x477a820, e=e@entry=0x4778de0) at kernel/qapplication.cpp:3720
#27 0x00007f34f4a2c230 in QApplication::notify (this=0x7ffc8066e8c0, receiver=0x477a820, e=0x4778de0) at kernel/qapplication.cpp:3503
#28 0x00007f34f4158f1b in QCoreApplication::notifyInternal (this=0x7ffc8066e8c0, receiver=0x477a820, event=event@entry=0x4778de0) at kernel/qcoreapplication.cpp:935
#29 0x00007f34f415b057 in QCoreApplication::sendEvent (event=0x4778de0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x222edb0) at kernel/qcoreapplication.cpp:1552
#31 0x00007f34f415b588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#32 0x00007f34f41afe73 in postEventSourceDispatch (s=0x228bb80) at kernel/qeventdispatcher_glib.cpp:271
#33 0x00007f34ed289ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f34ed28a250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f34ed28a2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f34f41b027f in QEventDispatcherGlib::processEvents (this=0x2298a40, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#37 0x00007f34f415675a in QEventLoop::exec (this=this@entry=0x7ffc8066cfc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#38 0x00007f34f4c1ae6d in QDialog::exec (this=0x4705100) at dialogs/qdialog.cpp:541
#39 0x00007f3462ec5c58 in MailCommon::RedirectWidget::slotAddressSelection (this=0x47f5130) at ../../mailcommon/widgets/redirectwidget.cpp:93
#40 0x00007f3462f84c85 in MailCommon::RedirectWidget::qt_static_metacall (_o=_o@entry=0x47f5130, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=1, _a=_a@entry=0x7ffc8066d230) at moc_redirectwidget.cpp:77
#41 0x00007f34f418978a in QMetaObject::activate (sender=sender@entry=0x40a0d80, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc8066d230) at kernel/qobject.cpp:3717
#42 0x00007f34f4189f87 in QMetaObject::activate (sender=sender@entry=0x40a0d80, m=m@entry=0x7f34f4f3d620 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc8066d230) at kernel/qobject.cpp:3582
#43 0x00007f34f4db7fe2 in QAbstractButton::clicked (this=this@entry=0x40a0d80, _t1=false) at .moc/moc_qabstractbutton.cpp:298
#44 0x00007f34f4b1e914 in QAbstractButtonPrivate::emitClicked (this=0x4099860) at widgets/qabstractbutton.cpp:534
#45 0x00007f34f4b1efb1 in QAbstractButton::click (this=0x40a0d80) at widgets/qabstractbutton.cpp:992
#46 0x00007f34f4c1ac48 in QDialog::keyPressEvent (this=<optimized out>, e=<optimized out>) at dialogs/qdialog.cpp:668
#47 0x00007f34f4a694b7 in QWidget::event (this=0x46cd860, event=0x7ffc8066d820) at kernel/qwidget.cpp:8687
#48 0x00007f34f4a26b8c in QApplicationPrivate::notify_helper (this=this@entry=0x2250500, receiver=receiver@entry=0x46cd860, e=e@entry=0x7ffc8066d820) at kernel/qapplication.cpp:3720
#49 0x00007f34f4a2c7c9 in QApplication::notify (this=<optimized out>, receiver=0x46cd860, e=0x7ffc8066d820) at kernel/qapplication.cpp:3183
#50 0x00007f34f4158f1b in QCoreApplication::notifyInternal (this=0x7ffc8066e8c0, receiver=0x46d1900, event=0x7ffc8066d820) at kernel/qcoreapplication.cpp:935
#51 0x00007f34f4a82773 in QWidgetWindow::event (this=0x40c2760, event=0x7ffc8066d820) at kernel/qwidgetwindow.cpp:203
#52 0x00007f34f4a26b8c in QApplicationPrivate::notify_helper (this=this@entry=0x2250500, receiver=receiver@entry=0x40c2760, e=e@entry=0x7ffc8066d820) at kernel/qapplication.cpp:3720
#53 0x00007f34f4a2c230 in QApplication::notify (this=0x7ffc8066e8c0, receiver=0x40c2760, e=0x7ffc8066d820) at kernel/qapplication.cpp:3503
#54 0x00007f34f4158f1b in QCoreApplication::notifyInternal (this=0x7ffc8066e8c0, receiver=receiver@entry=0x40c2760, event=event@entry=0x7ffc8066d820) at kernel/qcoreapplication.cpp:935
#55 0x00007f34f4478057 in QCoreApplication::sendSpontaneousEvent (event=0x7ffc8066d820, receiver=0x40c2760) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#56 QGuiApplicationPrivate::processKeyEvent (e=0x473a010) at kernel/qguiapplication.cpp:1874
#57 0x00007f34f447cfe5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x473a010) at kernel/qguiapplication.cpp:1582
#58 0x00007f34f44625b8 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:572
#59 0x00007f34d78ce250 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#60 0x00007f34ed289ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f34ed28a250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007f34ed28a2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007f34f41b027f in QEventDispatcherGlib::processEvents (this=0x2298a40, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#64 0x00007f34f415675a in QEventLoop::exec (this=this@entry=0x7ffc8066db00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#65 0x00007f34f4c1ae6d in QDialog::exec (this=0x46cd860) at dialogs/qdialog.cpp:541
#66 0x00007f34635aa4b7 in KMRedirectCommand::execute (this=0x303bfd0) at ../../kmail/kmcommands.cpp:1032
#67 0x00007f34635a09e1 in KMCommand::slotPostTransfer (this=0x303bfd0, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:261
#68 0x00007f34f4189617 in QtPrivate::QSlotObjectBase::call (a=0x7ffc8066def0, r=0x303bfd0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#69 QMetaObject::activate (sender=sender@entry=0x303bfd0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc8066def0) at kernel/qobject.cpp:3702
#70 0x00007f34f4189f87 in QMetaObject::activate (sender=sender@entry=0x303bfd0, m=m@entry=0x7f3463979e20 <KMCommand::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc8066def0) at kernel/qobject.cpp:3582
#71 0x00007f34636bfb1e in KMCommand::messagesTransfered (this=this@entry=0x303bfd0, _t1=_t1@entry=KMCommand::OK) at moc_kmcommands.cpp:185
#72 0x00007f34635a3dc9 in KMCommand::slotJobFinished (this=0x303bfd0) at ../../kmail/kmcommands.cpp:378
#73 0x00007f34f4189617 in QtPrivate::QSlotObjectBase::call (a=0x7ffc8066e090, r=0x303bfd0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#74 QMetaObject::activate (sender=0x3038ec0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3702
#75 0x00007f34f53fe8d2 in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#76 0x00007f34f53ff45a in KJob::emitResult() () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#77 0x00007f34ef44f3b3 in Akonadi::JobPrivate::delayedEmitResult (this=<optimized out>) at ../../../../akonadi/src/core/jobs/job.cpp:153
#78 Akonadi::Job::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./moc_job.cpp:107
#79 0x00007f34f418a651 in QObject::event (this=0x3038ec0, e=<optimized out>) at kernel/qobject.cpp:1245
#80 0x00007f34f4a26b8c in QApplicationPrivate::notify_helper (this=this@entry=0x2250500, receiver=receiver@entry=0x3038ec0, e=e@entry=0x30390b0) at kernel/qapplication.cpp:3720
#81 0x00007f34f4a2c230 in QApplication::notify (this=0x7ffc8066e8c0, receiver=0x3038ec0, e=0x30390b0) at kernel/qapplication.cpp:3503
#82 0x00007f34f4158f1b in QCoreApplication::notifyInternal (this=0x7ffc8066e8c0, receiver=0x3038ec0, event=event@entry=0x30390b0) at kernel/qcoreapplication.cpp:935
#83 0x00007f34f415b057 in QCoreApplication::sendEvent (event=0x30390b0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#84 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x222edb0) at kernel/qcoreapplication.cpp:1552
#85 0x00007f34f415b588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#86 0x00007f34f41afe73 in postEventSourceDispatch (s=0x228bb80) at kernel/qeventdispatcher_glib.cpp:271
#87 0x00007f34ed289ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#88 0x00007f34ed28a250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#89 0x00007f34ed28a2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#90 0x00007f34f41b027f in QEventDispatcherGlib::processEvents (this=0x2298a40, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#91 0x00007f34f415675a in QEventLoop::exec (this=this@entry=0x7ffc8066e630, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#92 0x00007f34f415e2cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#93 0x00007f34f447300c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#94 0x00007f34f4a23025 in QApplication::exec () at kernel/qapplication.cpp:2956
#95 0x0000000000404af1 in main (argc=1, argv=0x7ffc8066ea18) at ../../../kontact/src/main.cpp:220

Reported using DrKonqi
Comment 1 Ian Gebbie 2016-01-23 06:15:58 UTC
Hi, same problem. KDE Plasma 5.4.2, Qt 5.4.2, Kernel 4.2.0-25
Comment 2 Matthias Kretz 2016-01-27 10:36:00 UTC
I just got a very similar crash backtrace on the following activity:

* new mail
* click 'Select' button on To: field
* the dialog opens and is unresponsive, waiting for the contact data to come in (this blocking UI - and the time it takes might be worth a bug report itself).
* the dialog shows the contact data for half a second
* crash

## Comment on the backtrace

The `0x0` in `#31 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0` looks suspicious.

## 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 0x7f885ef7f880 (LWP 25653))]

Thread 7 (Thread 0x7f883ce89700 (LWP 25655)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f885b26d48b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f885b26d4c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f88569ec6aa in start_thread (arg=0x7f883ce89700) at pthread_create.c:333
#4  0x00007f885c15feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f87f57d1700 (LWP 25656)):
#0  0x00007f885c15049d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8855db24e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8855d6ecd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8855d6f190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8855d6f2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f885cc9529b in QEventDispatcherGlib::processEvents (this=0x7f87f00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007f885cc3b75a in QEventLoop::exec (this=this@entry=0x7f87f57d0d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f885ca593d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#8  0x00007f885ca5e2be in QThreadPrivate::start (arg=0xb59a60) at thread/qthread_unix.cpp:337
#9  0x00007f88569ec6aa in start_thread (arg=0x7f87f57d1700) at pthread_create.c:333
#10 0x00007f885c15feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f87efcb2700 (LWP 25657)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f885af7b5b4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f885b29d341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f88569ec6aa in start_thread (arg=0x7f87efcb2700) at pthread_create.c:333
#4  0x00007f885c15feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f87ef4b1700 (LWP 25658)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f885af7c5e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f885b29d341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f88569ec6aa in start_thread (arg=0x7f87ef4b1700) at pthread_create.c:333
#4  0x00007f885c15feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f87eecb0700 (LWP 25659)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f885af7c5e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f885b29d341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f88569ec6aa in start_thread (arg=0x7f87eecb0700) at pthread_create.c:333
#4  0x00007f885c15feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f87ee4af700 (LWP 25660)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f885af7c5e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f885b29d341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f88569ec6aa in start_thread (arg=0x7f87ee4af700) at pthread_create.c:333
#4  0x00007f885c15feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f885ef7f880 (LWP 25653)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::index_to_iterator (this=0x3609120, proxy_index=...) at itemmodels/qsortfilterproxymodel.cpp:185
#7  QSortFilterProxyModelPrivate::proxy_to_source (proxy_index=..., this=0x3609120) at itemmodels/qsortfilterproxymodel.cpp:375
#8  QSortFilterProxyModel::mapToSource (proxyIndex=..., this=0x70737c0) at itemmodels/qsortfilterproxymodel.cpp:2716
#9  QSortFilterProxyModelPrivate::store_persistent_indexes (this=this@entry=0x3609120) at itemmodels/qsortfilterproxymodel.cpp:1015
#10 0x00007f885cc0d80c in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x3609120, source_top_left=..., source_bottom_right=...) at itemmodels/qsortfilterproxymodel.cpp:1198
#11 0x00007f885cc6e78a in QMetaObject::activate (sender=sender@entry=0x7092c10, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffce1174a00) at kernel/qobject.cpp:3717
#12 0x00007f885cc6ef87 in QMetaObject::activate (sender=sender@entry=0x7092c10, m=m@entry=0x7f885ce70e40 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffce1174a00) at kernel/qobject.cpp:3582
#13 0x00007f885cce564c in QAbstractItemModel::dataChanged (this=this@entry=0x7092c10, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:393
#14 0x00007f885cc0d756 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=<optimized out>, source_top_left=..., source_bottom_right=...) at itemmodels/qsortfilterproxymodel.cpp:1231
#15 0x00007f885cc6e78a in QMetaObject::activate (sender=sender@entry=0x2b06f90, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffce1174ce0) at kernel/qobject.cpp:3717
#16 0x00007f885cc6ef87 in QMetaObject::activate (sender=sender@entry=0x2b06f90, m=m@entry=0x7f885ce70e40 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffce1174ce0) at kernel/qobject.cpp:3582
#17 0x00007f885cce564c in QAbstractItemModel::dataChanged (this=this@entry=0x2b06f90, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:393
#18 0x00007f8857f748af in Akonadi::EntityTreeModelPrivate::dataChanged (this=this@entry=0x35e7e70, top=..., bottom=...) at ../../../../akonadi/src/core/models/entitytreemodel_p.cpp:1713
#19 0x00007f8857f79aab in Akonadi::EntityTreeModelPrivate::itemFetchJobDone (this=0x35e7e70, job=0x3647990) at ../../../../akonadi/src/core/models/entitytreemodel_p.cpp:1375
#20 0x00007f885cc6e78a in QMetaObject::activate (sender=sender@entry=0x3647990, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffce1174fa0) at kernel/qobject.cpp:3717
#21 0x00007f885cc6ef87 in QMetaObject::activate (sender=sender@entry=0x3647990, m=m@entry=0x7f885e12d5c0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffce1174fa0) at kernel/qobject.cpp:3582
#22 0x00007f885dee38d2 in KJob::result (this=this@entry=0x3647990, _t1=_t1@entry=0x3647990) at ./moc_kjob.cpp:552
#23 0x00007f885dee445a in KJob::emitResult (this=this@entry=0x3647990) at ../../../src/lib/jobs/kjob.cpp:294
#24 0x00007f8857f343b3 in Akonadi::JobPrivate::delayedEmitResult (this=<optimized out>) at ../../../../akonadi/src/core/jobs/job.cpp:153
#25 Akonadi::Job::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./moc_job.cpp:107
#26 0x00007f885cc6f651 in QObject::event (this=0x3647990, e=<optimized out>) at kernel/qobject.cpp:1245
#27 0x00007f885d50bb8c in QApplicationPrivate::notify_helper (this=this@entry=0xa195f0, receiver=receiver@entry=0x3647990, e=e@entry=0x189b26c0) at kernel/qapplication.cpp:3720
#28 0x00007f885d511230 in QApplication::notify (this=0x7ffce11757d0, receiver=0x3647990, e=0x189b26c0) at kernel/qapplication.cpp:3503
#29 0x00007f885cc3df1b in QCoreApplication::notifyInternal (this=0x7ffce11757d0, receiver=0x3647990, event=event@entry=0x189b26c0) at kernel/qcoreapplication.cpp:935
#30 0x00007f885cc40057 in QCoreApplication::sendEvent (event=0x189b26c0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9f7fd0) at kernel/qcoreapplication.cpp:1552
#32 0x00007f885cc40588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#33 0x00007f885cc94e73 in postEventSourceDispatch (s=0xa49170) at kernel/qeventdispatcher_glib.cpp:271
#34 0x00007f8855d6eff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f8855d6f250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f8855d6f2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f885cc9527f in QEventDispatcherGlib::processEvents (this=0xa51160, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#38 0x00007f885cc3b75a in QEventLoop::exec (this=this@entry=0x7ffce1175540, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#39 0x00007f885cc432cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#40 0x00007f885cf5800c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#41 0x00007f885d508025 in QApplication::exec () at kernel/qapplication.cpp:2956
#42 0x0000000000404af1 in main (argc=1, argv=0x7ffce1175928) at ../../../kontact/src/main.cpp:220
Comment 3 Christoph Feck 2016-12-20 18:22:19 UTC

*** This bug has been marked as a duplicate of bug 362817 ***