Bug 309021

Summary: Kontact crash in qt_message_output
Product: [Applications] kalarm Reporter: Thomas Tanghus <thomas>
Component: generalAssignee: David Jarvie <djarvie>
Status: CLOSED DUPLICATE    
Severity: crash CC: montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Tanghus 2012-10-26 01:17:29 UTC
Application: kontact (4.9.2)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-18-generic x86_64
Distribution: Ubuntu 12.10

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

The app was just open - I guess it was either synchronizing with my ownCloud instance or fetching mail.
The BT looked suspeciously much like the suggested duplicate which is marked as fixed in 4.8.(4?)

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

Thread 7 (Thread 0x7ff50e707700 (LWP 7379)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff527856b2d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7ff528217280 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2499
#2  0x00007ff527856c39 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1622
#3  0x00007ff522da5e9a in start_thread (arg=0x7ff50e707700) at pthread_create.c:308
#4  0x00007ff528581cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff50de06700 (LWP 7380)):
#0  0x00007ff522913c59 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff5228d660b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff5228d6cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff5228d6ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff528cf6c16 in QEventDispatcherGlib::processEvents (this=0x7ff5080008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007ff528cc72bf in QEventLoop::processEvents (this=this@entry=0x7ff50de05dc0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff528cc7548 in QEventLoop::exec (this=0x7ff50de05dc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ff528bc8b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007ff528bcbaec in QThreadPrivate::start (arg=0x21bf530) at thread/qthread_unix.cpp:338
#9  0x00007ff522da5e9a in start_thread (arg=0x7ff50de06700) at pthread_create.c:308
#10 0x00007ff528581cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff4bfec8700 (LWP 7464)):
#0  0x00007ff522da905d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7ff4b8000a60) at pthread_mutex_unlock.c:290
#2  0x00007ff522913c61 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff5228d6884 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff5228d6d22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff5228d6ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ff528cf6c16 in QEventDispatcherGlib::processEvents (this=0x7ff4b80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007ff528cc72bf in QEventLoop::processEvents (this=this@entry=0x7ff4bfec7d90, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007ff528cc7548 in QEventLoop::exec (this=0x7ff4bfec7d90, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007ff528bc8b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007ff528ca79af in QInotifyFileSystemWatcherEngine::run (this=0x2a634a0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007ff528bcbaec in QThreadPrivate::start (arg=0x2a634a0) at thread/qthread_unix.cpp:338
#12 0x00007ff522da5e9a in start_thread (arg=0x7ff4bfec8700) at pthread_create.c:308
#13 0x00007ff528581cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff4bdb9f700 (LWP 9977)):
#0  __pthread_mutex_lock (mutex=0x7ff4b40095d0) at pthread_mutex_lock.c:92
#1  0x00007ff522913c31 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff5228d6623 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff5228d6cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff5228d6ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff528cf6c16 in QEventDispatcherGlib::processEvents (this=0x7ff4b4008de0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007ff528cc72bf in QEventLoop::processEvents (this=this@entry=0x7ff4bdb9edc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ff528cc7548 in QEventLoop::exec (this=0x7ff4bdb9edc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ff528bc8b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007ff528bcbaec in QThreadPrivate::start (arg=0x81510a0) at thread/qthread_unix.cpp:338
#10 0x00007ff522da5e9a in start_thread (arg=0x7ff4bdb9f700) at pthread_create.c:308
#11 0x00007ff528581cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff49f31f700 (LWP 10086)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff4a7ae166f in ?? () from /usr/lib/libvlccore.so.5
#2  0x00007ff522da5e9a in start_thread (arg=0x7ff49f31f700) at pthread_create.c:308
#3  0x00007ff528581cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff49ddce700 (LWP 15931)):
#0  0x00007ff522913c59 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff5228d6884 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff5228d6d22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff5228d6ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff528cf6c16 in QEventDispatcherGlib::processEvents (this=0x7ff488003120, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007ff528cc72bf in QEventLoop::processEvents (this=this@entry=0x7ff49ddcdd90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff528cc7548 in QEventLoop::exec (this=0x7ff49ddcdd90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ff528bc8b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007ff528ca79af in QInotifyFileSystemWatcherEngine::run (this=0x16209b40) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007ff528bcbaec in QThreadPrivate::start (arg=0x16209b40) at thread/qthread_unix.cpp:338
#10 0x00007ff522da5e9a in start_thread (arg=0x7ff49ddce700) at pthread_create.c:308
#11 0x00007ff528581cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff5162e47c0 (LWP 7362)):
[KCrash Handler]
#6  0x00007ff5284c4425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007ff5284c7b8b in __GI_abort () at abort.c:91
#8  0x00007ff528bc14c2 in qt_message_output (msgType=<optimized out>, buf=0x20591db8 "kontact(7362)/akonadiserializer (kalarm): deserialize(): Event with uid \"KAlarm-407659552.196\" contains unknown type EventAttribute ") at global/qglobal.cpp:2290
#9  0x00007ff495fcb1e1 in ~QDebug (this=0x7fff59d15650, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qdebug.h:85
#10 SerializerPluginKAlarm::deserialize (this=<optimized out>, item=..., label=..., data=..., version=<optimized out>) at ../../plugins/akonadi_serializer_kalarm.cpp:89
#11 0x00007ff52539eed3 in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=version@entry=0) at ../../akonadi/itemserializer.cpp:102
#12 0x00007ff52539f4dc in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=0, external=<optimized out>) at ../../akonadi/itemserializer.cpp:94
#13 0x00007ff5253be741 in Akonadi::ProtocolHelper::parseItemFetchResult (lineTokens=..., item=..., valuePool=0x0) at ../../akonadi/protocolhelper.cpp:396
#14 0x00007ff525398a38 in Akonadi::ItemFetchJob::doHandleResponse (this=<optimized out>, tag=..., data=...) at ../../akonadi/itemfetchjob.cpp:192
#15 0x00007ff5253a954b in Akonadi::JobPrivate::handleResponse (this=<optimized out>, tag=..., data=...) at ../../akonadi/job.cpp:80
#16 0x00007ff5253e044b in Akonadi::SessionPrivate::dataReceived (this=0x51294b0) at ../../akonadi/session.cpp:218
#17 0x00007ff528cddf5f in QMetaObject::activate (sender=0x1aeda5e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#18 0x00007ff528cddf5f in QMetaObject::activate (sender=0xe689318, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#19 0x00007ff523e4c5ec in QAbstractSocketPrivate::canReadNotification (this=0x1d0b8510) at socket/qabstractsocket.cpp:654
#20 0x00007ff523e54d6d in event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#21 QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1148
#22 0x00007ff5296a9e9c in QApplicationPrivate::notify_helper (this=this@entry=0x21c1820, receiver=receiver@entry=0x1aa01d80, e=e@entry=0x7fff59d16400) at kernel/qapplication.cpp:4562
#23 0x00007ff5296ae30a in QApplication::notify (this=0x7fff59d167d0, receiver=0x1aa01d80, e=0x7fff59d16400) at kernel/qapplication.cpp:4423
#24 0x00007ff52a3b21d6 in KApplication::notify (this=0x7fff59d167d0, receiver=0x1aa01d80, event=0x7fff59d16400) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007ff528cc856e in QCoreApplication::notifyInternal (this=0x7fff59d167d0, receiver=0x1aa01d80, event=0x7fff59d16400) at kernel/qcoreapplication.cpp:915
#26 0x00007ff528cf63f8 in sendEvent (event=0x7fff59d16400, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#27 socketNotifierSourceDispatch (source=0x21be190) at kernel/qeventdispatcher_glib.cpp:110
#28 0x00007ff5228d6ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ff5228d6de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ff5228d6ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ff528cf6c16 in QEventDispatcherGlib::processEvents (this=0x2185c10, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#32 0x00007ff52974ec1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007ff528cc72bf in QEventLoop::processEvents (this=this@entry=0x7fff59d16640, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007ff528cc7548 in QEventLoop::exec (this=0x7fff59d16640, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007ff528ccc708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#36 0x0000000000403339 in main (argc=1, argv=0x7fff59d16918) at ../../../kontact/src/main.cpp:219

This bug may be a duplicate of or related to bug 301152.

Possible duplicates by query: bug 306037, bug 301152.

Reported using DrKonqi
Comment 1 Thomas Tanghus 2012-10-26 01:21:23 UTC
But then again it could be fixed in Qt by now.
Comment 2 David Jarvie 2013-05-29 21:52:20 UTC

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