Bug 324128 - Google Calendar Resource crashes when a special account is added
Summary: Google Calendar Resource crashes when a special account is added
Status: RESOLVED DUPLICATE of bug 320484
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Google Resource (show other bugs)
Version: 4.11
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-27 17:28 UTC by meyerm
Modified: 2013-10-21 14:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.58 KB, text/plain)
2013-10-19 14:01 UTC, David Murray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description meyerm 2013-08-27 17:28:16 UTC
Application: akonadi_googlecalendar_resource (4.11)
KDE Platform Version: 4.11.00
Qt Version: 4.8.5
Operating System: Linux 3.10.9-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
Since akonadi messed up my configuration (again ;-p ) after updating to 4.11, I wanted to recreate the calendar entries. Three of my four Google accounts work flawlessly, but the forth one makes the assisstant crash as soon as I return from the embedded authentication webpage.

- Unusual behavior I noticed:
No calendar is added to kontact, but in the akonadi configuration a new resources is shown with "(not configured)". When I now try to add another calendar/the calendar again, there's an unnamed entry in the account dropdown which does show the correct "subcalenders" and task lists. Adding it to kontact will show nothing new in the calendar view but the akonadi configuration shows new (not configured) resources. When I remove the account, the resources show correctly that the "Configured account does not exist".

When adding the address book of that account the application does not crash. But the new account is also added without a name and KWallet complains that there have been repeated failed attempts to gain access to a wallet and that an application may be misbehaving. The address book is not added to kontact afterwards.

- Custom settings of the application:

The crash can be reproduced every time.

-- Backtrace:
Application: Google Calendars and Tasks (not configured) of type Google Calendars and Tasks (akonadi_googlecalendar_resource), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7effccec67c0 (LWP 1147))]

Thread 4 (Thread 0x7effb02e5700 (LWP 1150)):
#0  0x00007effc7ea7fff in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007effc2ddaf1d in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007effc2ddaf59 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007effc7ea4062 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007effc910ba2d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7eff6f9d2700 (LWP 1151)):
#0  0x00007effc7ea83a8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007effc2e0ac96 in WTF::ThreadCondition::timedWait(WTF::Mutex&, double) () from /usr/lib/libQtWebKit.so.4
#2  0x00007effc2b1c95a in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007effc2e0a6b6 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0x00007effc7ea4062 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007effc910ba2d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7eff6e90e700 (LWP 1152)):
#0  0x00007effc7ea748b in __pthread_mutex_unlock_usercnt () from /usr/lib/libpthread.so.0
#1  0x00007effc5e1e151 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#2  0x00007effc5dde720 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#3  0x00007effc5ddefa3 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007effc5ddf18c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007effcc015ba6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007effcbfe7b5f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007effcbfe7e55 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x00007effcbee66ef in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0x00007effcbee8d8f in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007effc7ea4062 in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007effc910ba2d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7effccec67c0 (LWP 1147)):
[KCrash Handler]
#5  0x00007effcbffc937 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#6  0x00007effc9f8c612 in KGAPI2::AuthWidget::authenticated(QSharedPointer<KGAPI2::Account> const&) () from /usr/lib/libkgapi2.so.2
#7  0x00007effca000675 in KGAPI2::AuthWidget::Private::accountInfoReceived(KGAPI2::Job*) () from /usr/lib/libkgapi2.so.2
#8  0x00007effcbffcba8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#9  0x00007effc9f905df in KGAPI2::Job::finished(KGAPI2::Job*) () from /usr/lib/libkgapi2.so.2
#10 0x00007effcc000f5e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#11 0x00007effcb38d12c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007effcb3936f0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007effc9b2972a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#14 0x00007effcbfe8efd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007effcbfebf4f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#16 0x00007effcc0162c3 in ?? () from /usr/lib/libQtCore.so.4
#17 0x00007effc5dded96 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0x00007effc5ddf0e8 in ?? () from /usr/lib/libglib-2.0.so.0
#19 0x00007effc5ddf18c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0x00007effcc015b85 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#21 0x00007effcb42a2e6 in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007effcbfe7b5f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0x00007effcbfe7e55 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0x00007effcb82fcdc in QDialog::exec() () from /usr/lib/libQtGui.so.4
#25 0x000000000040f9b7 in _start ()

Reported using DrKonqi
Comment 1 David Murray 2013-10-19 14:01:13 UTC
Created attachment 82946 [details]
New crash information added by DrKonqi

akonadi_googlecalendar_resource (4.11) on KDE Platform 4.11.2 using Qt 4.8.4

- What I was doing when the application crashed:

As per previous report, Google calendar stopped working in KOrganizer after upgrade to 4.11 (no errors, but no entries either).  So:

  Deleted Akonadi Google Calendars and Tasks resource
  Created new, empty one
  Logged in to Google account
  Crash results

-- Backtrace (Reduced):
#6  0x00007f90045b3632 in KGAPI2::AuthWidget::authenticated(QSharedPointer<KGAPI2::Account> const&) () from /usr/lib/x86_64-linux-gnu/libkgapi2.so.2
#7  0x00007f9004627685 in KGAPI2::AuthWidget::Private::accountInfoReceived(KGAPI2::Job*) () from /usr/lib/x86_64-linux-gnu/libkgapi2.so.2
[...]
#9  0x00007f90045b75ff in KGAPI2::Job::finished(KGAPI2::Job*) () from /usr/lib/x86_64-linux-gnu/libkgapi2.so.2
#10 0x00007f90065d8dce in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f900595ddfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Comment 2 David Murray 2013-10-19 14:07:50 UTC
Appears to be repeatable.  Sometimes results in the Akonadi resource (still denoted "not configured") being populated with calendars and tasklists, but with an empty account name.  In this state, the calendars do appear in KOrganizer, but are still empty.
Comment 3 Daniel Vrátil 2013-10-21 13:54:24 UTC

*** This bug has been marked as a duplicate of bug 320484 ***
Comment 4 Daniel Vrátil 2013-10-21 14:30:48 UTC
Git commit afdab172f3f099b658d0080ad3a2608de0fd222a by Dan Vrátil.
Committed on 21/10/2013 at 14:07.
Pushed by dvratil into branch 'LibKGAPI/2.0'.

Don't leak AuthWidget::Private

M  +1    -1    common/authwidget.inc.cpp

http://commits.kde.org/akonadi-google/afdab172f3f099b658d0080ad3a2608de0fd222a