Bug 330850 - Kontact crashes when updating Kolab contacts
Summary: Kontact crashes when updating Kolab contacts
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.11.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-02-06 12:08 UTC by Thiago Moreira
Modified: 2018-02-01 09:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.25 KB, text/plain)
2015-01-21 20:19 UTC, Raúl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Moreira 2014-02-06 12:08:07 UTC
Application: kontact (4.11.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic i686
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
Kontact was updating IMAP with a list of contacts I imported locally to the address book. 

- Custom settings of the application:
Kolab extension installed

The crash does not seem to be reproducible.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb166c740 (LWP 23039))]

Thread 7 (Thread 0xaef24b40 (LWP 23040)):
#0  0xb76e7424 in __kernel_vsyscall ()
#1  0xb31a984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb606e9bc in __pthread_cond_wait (cond=0xb57fbd90, mutex=0xb57fbd78) at forward.c:149
#3  0xb4f81a7c in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb4f81acf in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb31a5d78 in start_thread (arg=0xaef24b40) at pthread_create.c:311
#6  0xb606101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 6 (Thread 0xae5fbb40 (LWP 23041)):
#0  0xb76e7424 in __kernel_vsyscall ()
#1  0xb31a984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb606e9bc in __pthread_cond_wait (cond=0xae6697dc, mutex=0xae6697c4) at forward.c:149
#3  0xb4fb0ae3 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb4c8c744 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb4f97866 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#6  0xb4fb0459 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#7  0xb31a5d78 in start_thread (arg=0xae5fbb40) at pthread_create.c:311
#8  0xb606101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 5 (Thread 0xaba48b40 (LWP 23045)):
#0  0xb76e7424 in __kernel_vsyscall ()
#1  0xb6051a0b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb30d6a4b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb30c7b68 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb30c7ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb63b28df in QEventDispatcherGlib::processEvents (this=0xab100468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb63819f3 in QEventLoop::processEvents (this=this@entry=0xaba48228, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6381d19 in QEventLoop::exec (this=this@entry=0xaba48228, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6270e3d in QThread::exec (this=this@entry=0x965e460) at thread/qthread.cpp:542
#9  0xb6361e14 in QInotifyFileSystemWatcherEngine::run (this=0x965e460) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb627372f in QThreadPrivate::start (arg=0x965e460) at thread/qthread_unix.cpp:338
#11 0xb31a5d78 in start_thread (arg=0xaba48b40) at pthread_create.c:311
#12 0xb606101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 4 (Thread 0xab05cb40 (LWP 23047)):
#0  0xb76e7424 in __kernel_vsyscall ()
#1  0xb6051a0b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb30d6a4b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb30c7b68 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb30c7ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb63b28df in QEventDispatcherGlib::processEvents (this=0xaa700468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb63819f3 in QEventLoop::processEvents (this=this@entry=0xab05c258, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6381d19 in QEventLoop::exec (this=this@entry=0xab05c258, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6270e3d in QThread::exec (this=this@entry=0x94f0338) at thread/qthread.cpp:542
#9  0xb6270f8b in QThread::run (this=0x94f0338) at thread/qthread.cpp:609
#10 0xb627372f in QThreadPrivate::start (arg=0x94f0338) at thread/qthread_unix.cpp:338
#11 0xb31a5d78 in start_thread (arg=0xab05cb40) at pthread_create.c:311
#12 0xb606101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 3 (Thread 0xa86b2b40 (LWP 23064)):
#0  0xb76e7424 in __kernel_vsyscall ()
#1  0xb31a984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb606e9bc in __pthread_cond_wait (cond=0xac0778d0, mutex=0xac0778b8) at forward.c:149
#3  0xabf74ef2 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xabf74f3f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb31a5d78 in start_thread (arg=0xa86b2b40) at pthread_create.c:311
#6  0xb606101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0x9993ab40 (LWP 19192)):
#0  0xb3095770 in pthread_mutex_unlock@plt () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb310abf0 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb30c7a4f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb30c7ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb63b28df in QEventDispatcherGlib::processEvents (this=0x11d958b0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb63819f3 in QEventLoop::processEvents (this=this@entry=0x9993a228, flags=...) at kernel/qeventloop.cpp:149
#6  0xb6381d19 in QEventLoop::exec (this=this@entry=0x9993a228, flags=...) at kernel/qeventloop.cpp:204
#7  0xb6270e3d in QThread::exec (this=this@entry=0xcba0808) at thread/qthread.cpp:542
#8  0xb6361e14 in QInotifyFileSystemWatcherEngine::run (this=0xcba0808) at io/qfilesystemwatcher_inotify.cpp:265
#9  0xb627372f in QThreadPrivate::start (arg=0xcba0808) at thread/qthread_unix.cpp:338
#10 0xb31a5d78 in start_thread (arg=0x9993ab40) at pthread_create.c:311
#11 0xb606101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb166c740 (LWP 23039)):
[KCrash Handler]
#7  0xb76e7424 in __kernel_vsyscall ()
#8  0xb5f9daff in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#9  0xb5fa1083 in __GI_abort () at abort.c:90
#10 0xb6268993 in qt_message_output (msgType=QtFatalMsg, buf=0x10319240 "Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after destruction. Defined at ../../mailcommon/kernel/mailkernel.cpp:57") at global/qglobal.cpp:2347
#11 0xb6268d47 in qt_message (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0xacb7ec48 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0xbfcb4014 "\021\354\267\254\a\354\267\254 \354\267\254\071") at global/qglobal.cpp:2393
#12 0xb6269278 in qFatal (msg=msg@entry=0xacb7ec48 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2576
#13 0xacb2a8d4 in operator-> (this=<optimized out>) at ../../mailcommon/kernel/mailkernel.cpp:57
#14 MailCommon::Kernel::self () at ../../mailcommon/kernel/mailkernel.cpp:73
#15 0xacb19074 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x9808548) at ../../mailcommon/folder/foldercollection.cpp:218
#16 0xacb19aae in MailCommon::FolderCollection::~FolderCollection (this=0x9808548, __in_chrg=<optimized out>) at ../../mailcommon/folder/foldercollection.cpp:84
#17 0xacb19b4c in MailCommon::FolderCollection::~FolderCollection (this=0x9808548, __in_chrg=<optimized out>) at ../../mailcommon/folder/foldercollection.cpp:86
#18 0xacb17ea1 in deref (value=0x9808548, d=0x9cb1a68) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:342
#19 deref (this=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:336
#20 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:401
#21 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:466
#22 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0x983c2f0, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:652
#23 0xb5fa2791 in __run_exit_handlers (status=status@entry=255, listp=0xb611f3e4 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77
#24 0xb5fa281d in __GI_exit (status=255) at exit.c:99
#25 0xb6608e28 in KCmdLineArgs::isSet (this=this@entry=0xe52f398, _opt=...) at ../../kdecore/kernel/kcmdlineargs.cpp:1520
#26 0x0804b3b3 in KontactApp::newInstance (this=0xbfcb4c88) at ../../../kontact/src/main.cpp:130
#27 0xb7433e7f in KUniqueApplicationAdaptor::newInstance (this=this@entry=0x9457ae8, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#28 0xb7433f06 in KUniqueApplicationAdaptor::qt_static_metacall (_o=_o@entry=0x9457ae8, _id=_id@entry=0, _a=_a@entry=0xbfcb448c, _c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:58
#29 0xb7434193 in qt_static_metacall (_a=0xbfcb448c, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x9457ae8) at ./kuniqueapplication_p.moc:101
#30 KUniqueApplicationAdaptor::qt_metacall (this=0x9457ae8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfcb448c) at ./kuniqueapplication_p.moc:102
#31 0xb5befebe in QDBusConnectionPrivate::deliverCall (this=this@entry=0x9317350, object=object@entry=0x9457ae8, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#32 0xb5bf1207 in QDBusConnectionPrivate::activateCall (this=0x9317350, object=0x9457ae8, flags=337, msg=...) at qdbusintegrator.cpp:863
#33 0xb5bf1847 in QDBusConnectionPrivate::activateObject (this=0x9317350, node=..., msg=..., pathStartPos=16) at qdbusintegrator.cpp:1427
#34 0xb5bf1c28 in QDBusActivateObjectEvent::placeMetaCall (this=0x12025120) at qdbusintegrator.cpp:1541
#35 0xb639c58b in QObject::event (this=this@entry=0xbfcb4c88, e=e@entry=0x12025120) at kernel/qobject.cpp:1194
#36 0xb6387a3a in QCoreApplication::event (this=0xbfcb4c88, e=0x12025120) at kernel/qcoreapplication.cpp:1758
#37 0xb68e3c5f in QApplication::event (this=0xbfcb4c88, e=0x12025120) at kernel/qapplication.cpp:2549
#38 0xb68de744 in QApplicationPrivate::notify_helper (this=0x932ad10, receiver=0xbfcb4c88, e=0x12025120) at kernel/qapplication.cpp:4567
#39 0xb68e5223 in QApplication::notify (this=0xbfcb4c88, receiver=receiver@entry=0xbfcb4c88, e=e@entry=0x12025120) at kernel/qapplication.cpp:4353
#40 0xb742bff4 in KApplication::notify (this=0xbfcb4c88, receiver=0xbfcb4c88, event=0x12025120) at ../../kdeui/kernel/kapplication.cpp:311
#41 0xb6382eda in QCoreApplication::notifyInternal (this=0xbfcb4c88, receiver=receiver@entry=0xbfcb4c88, event=event@entry=0x12025120) at kernel/qcoreapplication.cpp:946
#42 0xb63866ad in sendEvent (event=0x12025120, receiver=0xbfcb4c88) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x92fcfa0) at kernel/qcoreapplication.cpp:1570
#44 0xb6386bbc in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#45 0xb63b2f6e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#46 postEventSourceDispatch (s=0x931f7a8) at kernel/qeventdispatcher_glib.cpp:279
#47 0xb30c783e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0xb30c7be8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0xb30c7ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0xb63b28bf in QEventDispatcherGlib::processEvents (this=this@entry=0x92fdb10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#51 0xb699332e in QGuiEventDispatcherGlib::processEvents (this=0x92fdb10, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0xb63819f3 in QEventLoop::processEvents (this=this@entry=0xbfcb4bd8, flags=...) at kernel/qeventloop.cpp:149
#53 0xb6381d19 in QEventLoop::exec (this=this@entry=0xbfcb4bd8, flags=...) at kernel/qeventloop.cpp:204
#54 0xb638789e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#55 0xb68dc974 in QApplication::exec () at kernel/qapplication.cpp:3828
#56 0x0804ab4c in main (argc=1, argv=0xbfcb4d64) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 328224, bug 326104, bug 324949, bug 322594, bug 321981.

Reported using DrKonqi
Comment 1 Raúl 2015-01-21 20:19:04 UTC
Created attachment 90569 [details]
New crash information added by DrKonqi

kontact (4.14.2) on KDE Platform 4.14.2 using Qt 4.8.6

- What I was doing when the application crashed:

I opened kontact, went to kmail component.

I moved a big imported mail folder to another mail folder created by me. This was a lengthy operation and as it run, I opened a mail in a file using kmail --view <filename>

-- Backtrace (Reduced):
#6  0x00007f1216c66107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f1216c674e8 in __GI_abort () at abort.c:89
[...]
#11 0x00007f11ae9661ef in operator-> (this=<optimized out>) at ../../mailcommon/kernel/mailkernel.cpp:57
#12 MailCommon::Kernel::self () at ../../mailcommon/kernel/mailkernel.cpp:73
#13 0x00007f11ae9b0043 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x29dd7e0) at ../../mailcommon/folder/foldercollection.cpp:218
Comment 2 Denis Kurz 2017-06-23 19:36:37 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks (5.x). Those 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 oportunity 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 3 Denis Kurz 2018-02-01 09:50:20 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.