Bug 308929

Summary: Akonadi Google Calendar Resource crashes at startup
Product: [Frameworks and Libraries] Akonadi Reporter: Matt Whitlock <kde>
Component: Google ResourceAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED DUPLICATE    
Severity: critical CC: kdepim-bugs
Priority: NOR    
Version: 4.9   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matt Whitlock 2012-10-24 13:20:54 UTC
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'Akonadi::PayloadException'
  what():  Akonadi::PayloadException: No payload set
KCrash: Application 'akonadi_googlecalendar_resource' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/mattw/.kde4/socket-Crushinator/kdeinit4__0
ProcessControl: Application '/usr/bin/akonadi_googlecalendar_resource' returned with exit code 253 (Unknown error)


Application: Google Calendars and Tasks (akonadi_googlecalendar_resource), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f9cabe49c15 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f9cabe4b08b in __GI_abort () at abort.c:91
#8  0x00007f9cac43590d in __gnu_cxx::__verbose_terminate_handler () at /var/tmp/portage/sys-devel/gcc-4.7.2/work/gcc-4.7.2/libstdc++-v3/libsupc++/vterminate.cc:95
#9  0x00007f9cac433a06 in __cxxabiv1::__terminate (handler=<optimized out>) at /var/tmp/portage/sys-devel/gcc-4.7.2/work/gcc-4.7.2/libstdc++-v3/libsupc++/eh_terminate.cc:40
#10 0x00007f9cac433a33 in std::terminate () at /var/tmp/portage/sys-devel/gcc-4.7.2/work/gcc-4.7.2/libstdc++-v3/libsupc++/eh_terminate.cc:50
#11 0x00007f9cac433ca6 in __cxxabiv1::__cxa_rethrow () at /var/tmp/portage/sys-devel/gcc-4.7.2/work/gcc-4.7.2/libstdc++-v3/libsupc++/eh_throw.cc:116
#12 0x00007f9cae93e038 in QEventLoop::exec (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:218
#13 0x00007f9cae943495 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#14 0x00007f9caf0ff726 in Akonadi::ResourceBase::init (r=0x8d05e0) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/resourcebase.cpp:451
#15 0x0000000000418bc1 in Akonadi::ResourceBase::init<CalendarResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KDE/Akonadi/../../akonadi/resourcebase.h:188
#16 0x00007f9cabe3660d in __libc_start_main (main=0x40f2d0 <main(int, char**)>, argc=3, ubp_av=0x7fffb0f28bb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb0f28ba8) at libc-start.c:226
#17 0x000000000040f301 in _start ()


Reproducible: Always

Steps to Reproduce:
1. akonadictl restart
Actual Results:  
Crash. The resource crashes several more times before Akonadi gives up on starting it.

Expected Results:  
Akonadi starts and syncs Google calendar.

The Browser in the Akonadi Console shows that I have ten events in my Google calendar, eight of which have Remote Ids, and two of which do not. All of them, when clicked on, show vCalendar content in both the Payload pane and the Raw Payload pane.
Comment 1 Daniel Vrátil 2012-10-24 14:12:06 UTC

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