Summary: | Calendar resource does not handle Akonadi::PayloadException | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | loic.grobol |
Component: | Google Resource | Assignee: | Daniel Vrátil <dvratil> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | inbrick, joern-schumacher, kde, kdebug, kdepim-bugs, loic.grobol, shafff, Vojtech.Zeisek |
Priority: | NOR | ||
Version: | 4.9 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdepim-runtime/a81eb36d7db664dc7615addf0cd28fb6e0cb663a | Version Fixed In: | 4.9.3 |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
loic.grobol
2012-08-22 09:44:24 UTC
Could you check your $HOME/.xsession-errors if there are any information about the crash? You can search for line similar to "KCrash: Application 'akonadi_googlecalendar_resource' crashing...", which will be followed by information about unhandled exception. It would really help me to track down what exactly happened. Here's what seem to be relevant (it was after 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/lib/kde4/libexec/drkonqi from kdeinit X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x3e00022 ProcessControl: Application '/usr/bin/akonadi_googlecalendar_resource' returned with exit code 253 (Unknown error) "/usr/bin/akonadi_googlecalendar_resource" crashed too often and will not be restarted! kontact(3116)/kdeui (KWindowInfo) KWindowInfo::state: Pass NET::WMState to KWindowInfo Also, installing debugging symbols for Akonadi would be a good idea, you apparently don't have them installed. See also http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports Created attachment 73465 [details]
New crash information added by DrKonqi
akonadi_googlecalendar_resource (4.9) on KDE Platform 4.9.00 using Qt 4.8.1
- What I was doing when the application crashed: Now with the backtrace with akonadi-dbg and kdepimlibs-dbg.
-- Backtrace (Reduced):
#6 0x00007f5836fae445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7 0x00007f5836fb1bab in __GI_abort () at abort.c:91
[...]
#12 0x00007f58396ce16c in QEventLoop::exec (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:218
#13 0x00007f58396d2f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#14 0x00007f5839e41576 in Akonadi::ResourceBase::init (r=0x1119460) at ../../akonadi/resourcebase.cpp:451
Thank you for the fast feedback. *** Bug 306218 has been marked as a duplicate of this bug. *** Confirmed by duplicates *** Bug 307378 has been marked as a duplicate of this bug. *** *** Bug 308801 has been marked as a duplicate of this bug. *** Git commit a81eb36d7db664dc7615addf0cd28fb6e0cb663a by Dan Vrátil. Committed on 22/10/2012 at 14:54. Pushed by dvratil into branch 'KDE/4.9'. Verify payload type before calling Akonadi::Item::payload() Apparently Akonadi sometimes sends us Item with an invalid or empty payload, so direct access to it throws PayloadException. The only place where we can't use hasPayload() is in itemRemoved() since removed items don't have payload. FIXED-IN: 4.9.3 M +4 -4 resources/google/calendar/calendarresource.cpp M +5 -0 resources/google/calendar/resource_tasks.cpp http://commits.kde.org/kdepim-runtime/a81eb36d7db664dc7615addf0cd28fb6e0cb663a *** Bug 308929 has been marked as a duplicate of this bug. *** *** Bug 310213 has been marked as a duplicate of this bug. *** |