Bug 277368 - akonadi_googlecontacts_resource crashs on startup
Summary: akonadi_googlecontacts_resource crashs on startup
Status: RESOLVED NOT A BUG
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: GoogleData Resource (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Adenilson Cavalcanti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-08 14:52 UTC by Torbjörn K.
Modified: 2011-07-11 09:13 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.45 KB, text/plain)
2011-07-09 15:56 UTC, Torbjörn K.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torbjörn K. 2011-07-08 14:52:35 UTC
Application: akonadi_googlecontacts_resource (0.1)
KDE Platform Version: 4.6.90 (4.7 RC1) "release 2"
Qt Version: 4.7.3
Operating System: Linux 2.6.37.6-0.5-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

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

Compiled current master (akonadi_google_resource) from git and logged in again.

I've got five calendars (same google account) and one contacts resource (same google account) configured with a previous (self-compiled) version.

-- Backtrace:
Application: Akonadi Resource (akonadi_googlecontacts_resource), signal: Aborted
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x00007ff1c71ecab5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007ff1c71edfb6 in abort () at abort.c:92
#8  0x00007ff1cd087924 in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2282
#9  0x00007ff1cd087aed in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7ff1cd1d9b78 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7fff4c7c6b70) at global/qglobal.cpp:2328
#10 0x00007ff1cd087c85 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2511
#11 0x00007ff1cd087cae in qt_assert_x (where=0x185c <Address 0x185c out of bounds>, what=0x6 <Address 0x6 out of bounds>, file=0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>, line=-841754784) at global/qglobal.cpp:2035
#12 0x00007ff1cd87899b in Akonadi::ResourceBasePrivate::createItemSyncInstanceIfMissing (this=0x7a6720) at /kde/kdesrc/git/kde/kdepimlibs/akonadi/resourcebase.cpp:150
#13 0x00007ff1cd875f09 in Akonadi::ResourceBase::itemsRetrievedIncremental (this=<value optimized out>, changedItems=..., removedItems=...) at /kde/kdesrc/git/kde/kdepimlibs/akonadi/resourcebase.cpp:876
#14 0x00000000004164e4 in ContactsResource::photoJobFinished (this=0x7a8c00, job=<value optimized out>) at /kde/kdesrc/git/playground/pim/akonadi-google/contacts/contactsresource.cpp:307
#15 0x000000000040a348 in ContactsResource::qt_metacall (this=0x7a8c00, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff4c7c6f40) at /kde/kdebuild/kde/playground-pim/akonadi-google/contacts/moc_contactsresource.cpp:121
#16 0x00007ff1cd18ea5f in QMetaObject::activate (sender=0xb3dc90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff4c7c6f40) at kernel/qobject.cpp:3278
#17 0x00007ff1cc0491df in KJob::finished (this=<value optimized out>, _t1=0xb3dc90) at /usr/src/debug/kdelibs-4.6.90/build/kdecore/kjob.moc:173
#18 0x00007ff1cc0493b5 in KJob::emitResult (this=0xb3dc90) at /usr/src/debug/kdelibs-4.6.90/kdecore/jobs/kjob.cpp:310
#19 0x000000000041dcd7 in PhotoJob::photoRetrieved (this=0xb3dc90, reply=0xb45e20) at /kde/kdesrc/git/playground/pim/akonadi-google/contacts/photojob.cpp:58
#20 0x0000000000409f90 in PhotoJob::qt_metacall (this=0xb3dc90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4c7c70d0) at /kde/kdebuild/kde/playground-pim/akonadi-google/contacts/moc_photojob.cpp:72
#21 0x00007ff1cd18ea5f in QMetaObject::activate (sender=0xb45610, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff4c7c70d0) at kernel/qobject.cpp:3278
#22 0x00007ff1cc8add42 in QNetworkAccessManager::finished (this=<value optimized out>, _t1=0xb45e20) at .moc/release-shared/moc_qnetworkaccessmanager.cpp:163
#23 0x00007ff1cc8aeb0e in QNetworkAccessManagerPrivate::_q_replyFinished (this=0xb45630) at access/qnetworkaccessmanager.cpp:1081
#24 0x00007ff1cc8aedba in QNetworkAccessManager::qt_metacall (this=0xb45610, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff4c7c7200) at .moc/release-shared/moc_qnetworkaccessmanager.cpp:107
#25 0x00007ff1cd18ea5f in QMetaObject::activate (sender=0xb45e20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#26 0x00007ff1cc8ce46b in QNetworkReplyImplPrivate::finished (this=0xb45f70) at access/qnetworkreplyimpl.cpp:680
#27 0x00007ff1cc8ba9ee in QNetworkAccessHttpBackend::replyFinished (this=0xb46380) at access/qnetworkaccesshttpbackend.cpp:763
#28 0x00007ff1cc8cc77d in QNetworkReplyImplPrivate::handleNotifications (this=0xb45f70) at access/qnetworkreplyimpl.cpp:390
#29 0x00007ff1cc8cc7c1 in QNetworkReplyImpl::event (this=<value optimized out>, e=<value optimized out>) at access/qnetworkreplyimpl.cpp:890
#30 0x00007ff1c80c1144 in QApplicationPrivate::notify_helper (this=0x6580c0, receiver=0xb45e20, e=0x1220df0) at kernel/qapplication.cpp:4462
#31 0x00007ff1c80c96fa in QApplication::notify (this=<value optimized out>, receiver=0xb45e20, e=0x1220df0) at kernel/qapplication.cpp:4341
#32 0x00007ff1c8dd3656 in KApplication::notify (this=0x7fff4c7c7cd0, receiver=0xb45e20, event=0x1220df0) at /usr/src/debug/kdelibs-4.6.90/kdeui/kernel/kapplication.cpp:311
#33 0x00007ff1cd17a47c in QCoreApplication::notifyInternal (this=0x7fff4c7c7cd0, receiver=0xb45e20, event=0x1220df0) at kernel/qcoreapplication.cpp:731
#34 0x00007ff1cd17dc75 in sendEvent (receiver=0x0, event_type=0, data=0x63ad60) at kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x63ad60) at kernel/qcoreapplication.cpp:1372
#36 0x00007ff1cd1a5093 in sendPostedEvents (s=0x65cd70) at kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=0x65cd70) at kernel/qeventdispatcher_glib.cpp:277
#38 0x00007ff1c5f9ebd3 in g_main_dispatch (context=0x65cc80) at gmain.c:2440
#39 g_main_context_dispatch (context=0x65cc80) at gmain.c:3013
#40 0x00007ff1c5f9f3b0 in g_main_context_iterate (context=0x65cc80, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
#41 0x00007ff1c5f9f650 in g_main_context_iteration (context=0x65cc80, may_block=1) at gmain.c:3154
#42 0x00007ff1cd1a522f in QEventDispatcherGlib::processEvents (this=0x63a960, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#43 0x00007ff1c8166bae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007ff1cd1798d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007ff1cd179ae5 in QEventLoop::exec (this=0x7fff4c7c7c30, flags=...) at kernel/qeventloop.cpp:201
#46 0x00007ff1cd17df2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#47 0x00007ff1cd8735fe in Akonadi::ResourceBase::init (r=0x7a8c00) at /kde/kdesrc/git/kde/kdepimlibs/akonadi/resourcebase.cpp:392
#48 0x000000000041a5c8 in Akonadi::ResourceBase::init<ContactsResource> (argc=<value optimized out>, argv=<value optimized out>) at /usr/include/KDE/Akonadi/../../akonadi/resourcebase.h:188
#49 0x00007ff1c71d8bfd in __libc_start_main (main=0x417210 <main(int, char**)>, argc=3, ubp_av=0x7fff4c7c7df8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff4c7c7de8) at libc-start.c:226
#50 0x0000000000409b99 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Torbjörn K. 2011-07-09 15:56:36 UTC
Created attachment 61724 [details]
New crash information added by DrKonqi

akonadi_googlecontacts_resource (0.1) on KDE Platform 4.6.90 (4.7 RC1) "release 2" using Qt 4.7.3

- What I was doing when the application crashed:

I did some more checks and now I'm pretty sure, how it can be reproduced.

1. Open the Akonadi Configuration window with all the Akonadi resources.
2. select an akonadi_googlecalendar_resource_
3. open the edit dialog
4. close the edit dialog by clicking "ok" without having changed anything
-> crash

-- Backtrace (Reduced):
#11 0x00007fe9acea6cae in qt_assert_x (where=0xa95 <Address 0xa95 out of bounds>, what=0x6 <Address 0x6 out of bounds>, file=0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>, line=-1380595872) at global/qglobal.cpp:2035
#12 0x00007fe9ad69799b in Akonadi::ResourceBasePrivate::createItemSyncInstanceIfMissing (this=0x8189b0) at /kde/kdesrc/git/kde/kdepimlibs/akonadi/resourcebase.cpp:150
#13 0x00007fe9ad694f09 in Akonadi::ResourceBase::itemsRetrievedIncremental (this=<value optimized out>, changedItems=..., removedItems=...) at /kde/kdesrc/git/kde/kdepimlibs/akonadi/resourcebase.cpp:876
#14 0x00000000004164e4 in ContactsResource::photoJobFinished (this=0x77d640, job=<value optimized out>) at /kde/kdesrc/git/playground/pim/akonadi-google/contacts/contactsresource.cpp:307
#15 0x000000000040a348 in ContactsResource::qt_metacall (this=0x77d640, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff5838a2c0) at /kde/kdebuild/kde/playground-pim/akonadi-google/contacts/moc_contactsresource.cpp:121
Comment 2 Torbjörn K. 2011-07-09 16:02:30 UTC
Additional information: Once it crashed, it keeps crashing. Even a complete reboot does not stop it from crashing.
Comment 3 Daniel Vrátil 2011-07-10 20:34:06 UTC
Hi,

this bug is not related to the Akonadi GoogleData resource but to Akonadi Google Contacts Resource developed by me (see http://progdan.cz/category/akonadi-google/).

Please close the bug as invalid. I will of course resolve this issue in the project.
Comment 4 Torbjörn K. 2011-07-10 20:36:41 UTC
Sorry for that and the follow up. Additional information: the crashes only occur, if a contact resource is existent.
Comment 5 Christophe Marin 2011-07-11 09:13:02 UTC
Dan, if you need a bugzilla component for your Google resource, please join #kontact, we can help you :-)