Bug 328677

Summary: KMail crashed after restart
Product: [Applications] kontact Reporter: Kvaks <vaksdal>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.11.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kvaks 2013-12-11 18:54:23 UTC
Application: kontact (4.11.2)
KDE Platform Version: 4.11.2
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:

I had just restarted the application (timeline: Noticing inbox wasn't updating, restarting Akonadi server, then restarting (closing/launching) Kontact, then Kontact crashed seconds after having relaunched and reappeared)

System: Kubuntu 13.10

-- 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 0x7ffe897c1800 (LWP 3766))]

Thread 7 (Thread 0x7ffe69bf5700 (LWP 3769)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffe845ae1cd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007ffe845ae209 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007ffe80cd8f6e in start_thread (arg=0x7ffe69bf5700) at pthread_create.c:311
#4  0x00007ffe86d3b9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7ffe292f2700 (LWP 3771)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffe842eebbd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007ffe845dda76 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007ffe80cd8f6e in start_thread (arg=0x7ffe292f2700) at pthread_create.c:311
#4  0x00007ffe86d3b9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7ffe19e5a700 (LWP 4090)):
#0  0x00007ffe808402cd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffe80840749 in g_private_get () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffe80825590 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffe8080079d in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffe874b4a76 in QEventDispatcherGlib::processEvents (this=0x7ffe0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007ffe874865ef in QEventLoop::processEvents (this=this@entry=0x7ffe19e59d30, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ffe874868e5 in QEventLoop::exec (this=this@entry=0x7ffe19e59d30, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ffe8738588f in QThread::exec (this=this@entry=0x1c9ab50) at thread/qthread.cpp:542
#8  0x00007ffe87467d13 in QInotifyFileSystemWatcherEngine::run (this=0x1c9ab50) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007ffe87387f2f in QThreadPrivate::start (arg=0x1c9ab50) at thread/qthread_unix.cpp:338
#10 0x00007ffe80cd8f6e in start_thread (arg=0x7ffe19e5a700) at pthread_create.c:311
#11 0x00007ffe86d3b9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7ffe0bfff700 (LWP 4093)):
#0  0x00007ffe86d2ef7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffe808006a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffe808007ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffe874b4a76 in QEventDispatcherGlib::processEvents (this=0x7ffe040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007ffe874865ef in QEventLoop::processEvents (this=this@entry=0x7ffe0bffed70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ffe874868e5 in QEventLoop::exec (this=this@entry=0x7ffe0bffed70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ffe8738588f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007ffe87387f2f in QThreadPrivate::start (arg=0x1a9ec10) at thread/qthread_unix.cpp:338
#8  0x00007ffe80cd8f6e in start_thread (arg=0x7ffe0bfff700) at pthread_create.c:311
#9  0x00007ffe86d3b9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7ffdf62f9700 (LWP 7241)):
#0  0x00007ffe86d2ef7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffe808006a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffe808007ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffe874b4a76 in QEventDispatcherGlib::processEvents (this=0x7ffde80028c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007ffe874865ef in QEventLoop::processEvents (this=this@entry=0x7ffdf62f8d30, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ffe874868e5 in QEventLoop::exec (this=this@entry=0x7ffdf62f8d30, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ffe8738588f in QThread::exec (this=this@entry=0x6d3f910) at thread/qthread.cpp:542
#7  0x00007ffe87467d13 in QInotifyFileSystemWatcherEngine::run (this=0x6d3f910) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007ffe87387f2f in QThreadPrivate::start (arg=0x6d3f910) at thread/qthread_unix.cpp:338
#9  0x00007ffe80cd8f6e in start_thread (arg=0x7ffdf62f9700) at pthread_create.c:311
#10 0x00007ffe86d3b9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7ffe0a7b9700 (LWP 9200)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffe1c7e606b in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007ffe1c7e60a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007ffe80cd8f6e in start_thread (arg=0x7ffe0a7b9700) at pthread_create.c:311
#4  0x00007ffe86d3b9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ffe897c1800 (LWP 3766)):
[KCrash Handler]
#6  QModelIndex (other=..., this=<synthetic pointer>) at /usr/include/qt4/QtCore/qabstractitemmodel.h:65
#7  KDescendantsProxyModel::mapFromSource (this=0x8ac0a70, sourceIndex=...) at ../../kdeui/itemviews/kdescendantsproxymodel.cpp:462
#8  0x00007ffe88b48dba in KDescendantsProxyModelPrivate::sourceRowsAboutToBeInserted (this=0xa47cef0, parent=..., start=1678, end=1678) at ../../kdeui/itemviews/kdescendantsproxymodel.cpp:571
#9  0x00007ffe8749ba58 in QMetaObject::activate (sender=sender@entry=0xaac0d00, m=m@entry=0x7ffe877ea6a0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fff94a94550) at kernel/qobject.cpp:3539
#10 0x00007ffe874e5674 in QAbstractItemModel::rowsAboutToBeInserted (this=this@entry=0xaac0d00, _t1=..., _t2=_t2@entry=1678, _t3=_t3@entry=1678) at .moc/release-shared/moc_qabstractitemmodel.cpp:190
#11 0x00007ffe8747e285 in QAbstractItemModel::beginInsertRows (this=0xaac0d00, parent=..., first=1678, last=1678) at kernel/qabstractitemmodel.cpp:2416
#12 0x00007ffe85d2974f in ?? () from /usr/lib/libakonadi-kde.so.4
#13 0x00007ffe8749ba58 in QMetaObject::activate (sender=0x8a24f50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff94a947a0) at kernel/qobject.cpp:3539
#14 0x00007ffe85d60b2a in Akonadi::Monitor::itemAdded(Akonadi::Item const&, Akonadi::Collection const&) () from /usr/lib/libakonadi-kde.so.4
#15 0x00007ffe85d66f0b in ?? () from /usr/lib/libakonadi-kde.so.4
#16 0x00007ffe85d68a40 in ?? () from /usr/lib/libakonadi-kde.so.4
#17 0x00007ffe85cc9ea1 in ?? () from /usr/lib/libakonadi-kde.so.4
#18 0x00007ffe85d65c41 in ?? () from /usr/lib/libakonadi-kde.so.4
#19 0x00007ffe85d65e19 in ?? () from /usr/lib/libakonadi-kde.so.4
#20 0x00007ffe8749ba58 in QMetaObject::activate (sender=0x8a24560, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#21 0x00007ffe85cd28d4 in ?? () from /usr/lib/libakonadi-kde.so.4
#22 0x00007ffe8749ba58 in QMetaObject::activate (sender=sender@entry=0x5c91c20, m=m@entry=0x7ffe87ca0600 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff94a94ec0) at kernel/qobject.cpp:3539
#23 0x00007ffe879100c2 in KJob::result (this=this@entry=0x5c91c20, _t1=_t1@entry=0x5c91c20) at ./kjob.moc:208
#24 0x00007ffe87910100 in KJob::emitResult (this=0x5c91c20) at ../../kdecore/jobs/kjob.cpp:318
#25 0x00007ffe8749fdce in QObject::event (this=0x5c91c20, e=<optimized out>) at kernel/qobject.cpp:1194
#26 0x00007ffe87e78dfc in QApplicationPrivate::notify_helper (this=this@entry=0x17ef390, receiver=receiver@entry=0x5c91c20, e=e@entry=0x467a570) at kernel/qapplication.cpp:4567
#27 0x00007ffe87e7f470 in QApplication::notify (this=this@entry=0x7fff94a95600, receiver=receiver@entry=0x5c91c20, e=e@entry=0x467a570) at kernel/qapplication.cpp:4353
#28 0x00007ffe88b82a6a in KApplication::notify (this=0x7fff94a95600, receiver=0x5c91c20, event=0x467a570) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007ffe874878bd in QCoreApplication::notifyInternal (this=0x7fff94a95600, receiver=receiver@entry=0x5c91c20, event=event@entry=0x467a570) at kernel/qcoreapplication.cpp:946
#30 0x00007ffe8748ae1f in sendEvent (event=0x467a570, receiver=0x5c91c20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x17321d0) at kernel/qcoreapplication.cpp:1570
#32 0x00007ffe8748b2c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#33 0x00007ffe874b5073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#34 postEventSourceDispatch (s=0x17eb0f0) at kernel/qeventdispatcher_glib.cpp:279
#35 0x00007ffe808003b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffe80800708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffe808007ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffe874b4a55 in QEventDispatcherGlib::processEvents (this=0x1733690, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#39 0x00007ffe87f1a9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007ffe874865ef in QEventLoop::processEvents (this=this@entry=0x7fff94a95500, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007ffe874868e5 in QEventLoop::exec (this=this@entry=0x7fff94a95500, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007ffe8748be5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#43 0x0000000000403660 in ?? ()
#44 0x00007ffe86c62de5 in __libc_start_main (main=0x402bb0, argc=3, ubp_av=0x7fff94a95748, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff94a95738) at libc-start.c:260
#45 0x0000000000403b28 in _start ()

Possible duplicates by query: bug 323748.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:31:43 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:58:12 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.