Bug 330080 - akonadi google calendar crashes after logging into google account
Summary: akonadi google calendar crashes after logging into google account
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Google Resource (show other bugs)
Version: 4.11
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-01-17 15:06 UTC by Tilman Keskinöz
Modified: 2017-01-07 22:21 UTC (History)
1 user (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 Tilman Keskinöz 2014-01-17 15:06:11 UTC
Application: akonadi_googlecontacts_resource (4.11)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic x86_64
Distribution: Ubuntu 13.10

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

Trying to add a Akonadi Google Calendar Resource. After logging into Google, it asks me if i give akonadi access to the Contacts, Calendars etc., then it segfaults

The crash can be reproduced every time.

-- Backtrace:
Application: Google Contacts (not configured) of type Google Contacts (akonadi_googlecontacts_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7834aa37c0 (LWP 6413))]

Thread 5 (Thread 0x7f781a927700 (LWP 6415)):
#0  0x00007f783038505f in __pthread_mutex_unlock_usercnt (mutex=0x7f7814000a90, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  0x00007f782fce43d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f782fca455d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f782fca47ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7833ea7a76 in QEventDispatcherGlib::processEvents (this=0x7f78140008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f7833e795ef in QEventLoop::processEvents (this=this@entry=0x7f781a926cb0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f7833e798e5 in QEventLoop::exec (this=this@entry=0x7f781a926cb0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f7833d7888f in QThread::exec (this=this@entry=0xfc1920) at thread/qthread.cpp:542
#8  0x00007f7833e5ad13 in QInotifyFileSystemWatcherEngine::run (this=0xfc1920) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f7833d7af2f in QThreadPrivate::start (arg=0xfc1920) at thread/qthread_unix.cpp:338
#10 0x00007f7826b6a764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#11 0x00007f7830381f6e in start_thread (arg=0x7f781a927700) at pthread_create.c:311
#12 0x00007f783180e9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f781a126700 (LWP 6416)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f782da991cd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f782da99209 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f7826b6a764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#4  0x00007f7830381f6e in start_thread (arg=0x7f781a126700) at pthread_create.c:311
#5  0x00007f783180e9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f7819825700 (LWP 6417)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f782d7d9bbd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f782dac8a76 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f7826b6a764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#4  0x00007f7830381f6e in start_thread (arg=0x7f7819825700) at pthread_create.c:311
#5  0x00007f783180e9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f77d3ffd700 (LWP 6418)):
#0  0x00007f782fce43e8 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f782fca3d40 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f782fca45c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f782fca47ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7833ea7a76 in QEventDispatcherGlib::processEvents (this=0x7f77c40008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f7833e795ef in QEventLoop::processEvents (this=this@entry=0x7f77d3ffccf0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f7833e798e5 in QEventLoop::exec (this=this@entry=0x7f77d3ffccf0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f7833d7888f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007f7833d7af2f in QThreadPrivate::start (arg=0x1167b90) at thread/qthread_unix.cpp:338
#9  0x00007f7826b6a764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#10 0x00007f7830381f6e in start_thread (arg=0x7f77d3ffd700) at pthread_create.c:311
#11 0x00007f783180e9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f7834aa37c0 (LWP 6413)):
[KCrash Handler]
#5  0x00007f7833e8e7e7 in isSignalConnected (signal_index=3, this=0x3ff0000000000000) at kernel/qobject_p.h:237
#6  QMetaObject::activate (sender=0x1185b30, m=m@entry=0x7f78335bf540 <KGAPI2::AuthWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffa5167050) at kernel/qobject.cpp:3448
#7  0x00007f7833322632 in KGAPI2::AuthWidget::authenticated (this=<optimized out>, _t1=...) at /build/buildd/libkgapi-2.0.1/obj-x86_64-linux-gnu/libkgapi2/moc_authwidget.cpp:136
#8  0x00007f7833396685 in KGAPI2::AuthWidget::Private::accountInfoReceived (this=0x117fdf0, job=0xe6f5e0) at /build/buildd/libkgapi-2.0.1/common/authwidget_p.inc.cpp:183
#9  0x00007f7833e8ea58 in QMetaObject::activate (sender=0xe6f5e0, m=m@entry=0x7f78335bfb40 <KGAPI2::Job::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffa51671e0) at kernel/qobject.cpp:3539
#10 0x00007f78333265ff in KGAPI2::Job::finished (this=<optimized out>, _t1=0xe6f5e0) at /build/buildd/libkgapi-2.0.1/obj-x86_64-linux-gnu/libkgapi2/job.moc:151
#11 0x00007f7833e92dce in QObject::event (this=0xe6f5e0, e=<optimized out>) at kernel/qobject.cpp:1194
#12 0x00007f78321bfdfc in QApplicationPrivate::notify_helper (this=this@entry=0xd3c5d0, receiver=receiver@entry=0xe6f5e0, e=e@entry=0x119b130) at kernel/qapplication.cpp:4567
#13 0x00007f78321c6470 in QApplication::notify (this=0x7fffa51682d0, receiver=0xe6f5e0, e=0x119b130) at kernel/qapplication.cpp:4353
#14 0x00007f7832ec9a6a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#15 0x00007f7833e7a8bd in QCoreApplication::notifyInternal (this=0x7fffa51682d0, receiver=receiver@entry=0xe6f5e0, event=event@entry=0x119b130) at kernel/qcoreapplication.cpp:946
#16 0x00007f7833e7de1f in sendEvent (event=0x119b130, receiver=0xe6f5e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xcc31f0) at kernel/qcoreapplication.cpp:1570
#18 0x00007f7833e7e2c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#19 0x00007f7833ea8073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#20 postEventSourceDispatch (s=0xd37dd0) at kernel/qeventdispatcher_glib.cpp:279
#21 0x00007f782fca43b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f782fca4708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f782fca47ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f7833ea7a55 in QEventDispatcherGlib::processEvents (this=0xcc4ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#25 0x00007f78322619d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f7833e795ef in QEventLoop::processEvents (this=this@entry=0x7fffa5167820, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f7833e798e5 in QEventLoop::exec (this=this@entry=0x7fffa5167820, flags=...) at kernel/qeventloop.cpp:204
#28 0x00007f783266638c in QDialog::exec (this=this@entry=0xf40650) at dialogs/qdialog.cpp:554
#29 0x000000000040bc17 in ContactsResource::runConfigurationDialog (this=0xf23cb0, windowId=0) at ../../../../resources/google/contacts/contactsresource.cpp:84
#30 0x0000000000418b8b in GoogleResource::configure (this=0xf23cb0, windowId=0) at ../../../../resources/google/common/googleresource.cpp:103
#31 0x0000000000419502 in GoogleResource::slotAccountManagerReady (this=0xf23cb0, ready=<optimized out>) at ../../../../resources/google/common/googleresource.cpp:154
#32 0x00007f7833e8ea58 in QMetaObject::activate (sender=sender@entry=0xefa5d0, m=m@entry=0x424d80 <GoogleAccountManager::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffa5167b00) at kernel/qobject.cpp:3539
#33 0x000000000041e78f in managerReady (_t1=true, this=0xefa5d0) at ./googleaccountmanager.moc:125
#34 GoogleAccountManager::slotWalletOpened (this=this@entry=0xefa5d0, success=<optimized out>) at ../../../../resources/google/common/googleaccountmanager.cpp:100
#35 0x000000000041ecb7 in GoogleAccountManager::initManager (this=0xefa5d0) at ../../../../resources/google/common/googleaccountmanager.cpp:60
#36 0x000000000041eed5 in GoogleAccountManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./googleaccountmanager.moc:71
#37 0x00007f7833e92dce in QObject::event (this=0xefa5d0, e=<optimized out>) at kernel/qobject.cpp:1194
#38 0x00007f78321bfdfc in QApplicationPrivate::notify_helper (this=this@entry=0xd3c5d0, receiver=receiver@entry=0xefa5d0, e=e@entry=0xef4d60) at kernel/qapplication.cpp:4567
#39 0x00007f78321c6470 in QApplication::notify (this=0x7fffa51682d0, receiver=0xefa5d0, e=0xef4d60) at kernel/qapplication.cpp:4353
#40 0x00007f7832ec9a6a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#41 0x00007f7833e7a8bd in QCoreApplication::notifyInternal (this=0x7fffa51682d0, receiver=receiver@entry=0xefa5d0, event=event@entry=0xef4d60) at kernel/qcoreapplication.cpp:946
#42 0x00007f7833e7de1f in sendEvent (event=0xef4d60, receiver=0xefa5d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xcc31f0) at kernel/qcoreapplication.cpp:1570
#44 0x00007f7833e7e2c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#45 0x00007f7833ea8073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#46 postEventSourceDispatch (s=0xd37dd0) at kernel/qeventdispatcher_glib.cpp:279
#47 0x00007f782fca43b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f782fca4708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f782fca47ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f7833ea7a55 in QEventDispatcherGlib::processEvents (this=0xcc4ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#51 0x00007f78322619d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007f7833e795ef in QEventLoop::processEvents (this=this@entry=0x7fffa5168240, flags=...) at kernel/qeventloop.cpp:149
#53 0x00007f7833e798e5 in QEventLoop::exec (this=this@entry=0x7fffa5168240, flags=...) at kernel/qeventloop.cpp:204
#54 0x00007f7833e7ee5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#55 0x00007f78345cae03 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#56 0x0000000000417c13 in Akonadi::ResourceBase::init<ContactsResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KDE/Akonadi/../../akonadi/resourcebase.h:192
#57 0x00007f7831735de5 in __libc_start_main (main=0x40ada0 <main(int, char**)>, argc=3, ubp_av=0x7fffa51683e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa51683d8) at libc-start.c:260
#58 0x000000000040adce in _start ()

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 20:37:48 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:21:03 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.