Bug 250525 - Akonadi GroupDAV resource crashed at startup
Summary: Akonadi GroupDAV resource crashed at startup
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Grégory Oestreicher
URL:
Keywords:
: 272602 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-08 08:55 UTC by Elias Probst
Modified: 2011-05-06 11:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.55 KB, text/plain)
2011-02-16 20:16 UTC, Daltin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2010-09-08 08:55:56 UTC
Application: akonadi_davgroupware_resource (0.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.6.3
Operating System: Linux 2.6.35 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
Just started KDE which autostarted Akonadi. Nothing special was done at this point.

-- Backtrace:
Application: Akonadi Resource (akonadi_davgroupware_resource), signal: Segmentation fault
[KCrash Handler]
#6  0x000000000041ba1f in DavItemsListJob::start (this=0x7635a0) at /var/tmp/portage/kde-base/kdepim-runtime-4.4.93/work/kdepim-runtime-4.4.93/resources/dav/common/davitemslistjob.cpp:38
#7  0x000000000042c36e in DavGroupwareResource::retrieveItems (this=0x7b9b30, collection=...)
    at /var/tmp/portage/kde-base/kdepim-runtime-4.4.93/work/kdepim-runtime-4.4.93/resources/dav/resource/davgroupwareresource.cpp:195
#8  0x00007f36f50e857d in Akonadi::ResourceBasePrivate::slotSynchronizeCollection (this=<value optimized out>, col=<value optimized out>)
    at /var/tmp/portage/kde-base/kdepimlibs-4.5.1/work/kdepimlibs-4.5.1/akonadi/resourcebase.cpp:482
#9  0x00007f36f50eb395 in Akonadi::ResourceBase::qt_metacall (this=0x7b9b30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff39eddd70)
    at /var/tmp/portage/kde-base/kdepimlibs-4.5.1/work/kdepimlibs-4.5.1_build/akonadi/moc_resourcebase.cpp:121
#10 0x0000000000430ea5 in DavGroupwareResource::qt_metacall (this=0x0, _c=8116240, _id=8051440, _a=0x7adb90)
    at /var/tmp/portage/kde-base/kdepim-runtime-4.4.93/work/kdepim-runtime-4.4.93_build/resources/dav/resource/davgroupwareresource.moc:97
#11 0x00007f36f6977f24 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007f36f50ebf05 in Akonadi::ResourceScheduler::executeCollectionSync (this=0x0, _t1=<value optimized out>)
    at /var/tmp/portage/kde-base/kdepimlibs-4.5.1/work/kdepimlibs-4.5.1_build/akonadi/resourcescheduler_p.moc:131
#13 0x00007f36f50efc86 in Akonadi::ResourceScheduler::executeNext (this=0x7bd7d0) at /var/tmp/portage/kde-base/kdepimlibs-4.5.1/work/kdepimlibs-4.5.1/akonadi/resourcescheduler.cpp:247
#14 0x00007f36f50efdf1 in Akonadi::ResourceScheduler::qt_metacall (this=0x7bd7d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff39ede100)
    at /var/tmp/portage/kde-base/kdepimlibs-4.5.1/work/kdepimlibs-4.5.1_build/akonadi/resourcescheduler_p.moc:113
#15 0x00007f36f6977f24 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f36f697e4ed in QSingleShotTimer::timerEvent(QTimerEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007f36f697496c in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007f36f374e486 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007f36f3754f44 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007f36f44035b4 in KApplication::notify (this=0x7fff39edec40, receiver=0x7681a0, event=0x7fff39ede920)
    at /var/tmp/portage/kde-base/kdelibs-4.5.1/work/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#21 0x00007f36f6966464 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007f36f698f80e in QTimerInfoList::activateTimers() () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007f36f698c171 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007f36f265743a in g_main_dispatch (context=0x67c520) at gmain.c:1960
#25 IA__g_main_context_dispatch (context=0x67c520) at gmain.c:2513
#26 0x00007f36f265aa61 in g_main_context_iterate (context=0x67c520, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#27 0x00007f36f265ac1e in IA__g_main_context_iteration (context=0x67c520, may_block=1) at gmain.c:2654
#28 0x00007f36f698bec4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007f36f37efb96 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007f36f6965124 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007f36f696546f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007f36f6968b3e in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007f36f50e7fac in Akonadi::ResourceBase::init (r=0x7b9b30) at /var/tmp/portage/kde-base/kdepimlibs-4.5.1/work/kdepimlibs-4.5.1/akonadi/resourcebase.cpp:245
#34 0x000000000042bd79 in Akonadi::ResourceBase::init<DavGroupwareResource> (argc=<value optimized out>, argv=<value optimized out>) at /usr/include/akonadi/resourcebase.h:186
#35 main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.4.93/work/kdepim-runtime-4.4.93/resources/dav/resource/davgroupwareresource.cpp:681

Reported using DrKonqi
Comment 1 Grégory Oestreicher 2010-09-16 16:17:42 UTC
Hi Ingo,

Could you give more details about your setup ? Especially how is the resource configured, with which protocol, etc.

Cheers,
Grégory
Comment 2 Grégory Oestreicher 2010-09-16 16:25:42 UTC
(In reply to comment #1)
> Hi Ingo,

Erm, sorry Elias for the mixup… I looked at two bugs at once and managed to mess the reporters names. The question are for this bug.

Cheers,
Grégory
Comment 3 Elias Probst 2010-09-16 18:29:24 UTC
I have 1 GroupDAV resource which has just one CalDav server (https) configured.
The refresh time is set to 5 minutes.
That's basically all I have to tell about my specific configuration.
Comment 4 Grégory Oestreicher 2010-09-16 21:30:26 UTC
(In reply to comment #3)
> I have 1 GroupDAV resource which has just one CalDav server (https) configured.

Which server are you using ? Have you used the setup wizard, or have you configured / edited the calendar manually ? If so, can you tell me what you configured / changed ?

I'll try to replicate your issue. Actually I can see where the problem may be, but I've never encountered the conditions that can lead to this.

Feel free to send the informations privately if you don't want them disclosed here for confidentiality reasons.

Cheers,
Grégory
Comment 5 Elias Probst 2010-09-17 05:08:53 UTC
The server seems to be a OS X server which seems to have some builting GroupDAV functionality.
I have used the wizard, but canceled it as it doesn't provide the OS X GroupDAV server as selection.
I've added the CalDAV item manually using this URL: https://groupware01.company.com:8443/calendars/users/ep/
When clicking on 'Fetch' in the dialog, 1 list entry appears:
calendar | https://groupware01.company.com:8443/calendars/users/ep/calendar/

I've never edited the calendar or any items, just used it for viewing it.
Comment 6 Grégory Oestreicher 2010-09-17 19:52:54 UTC
Can you post the content of the file ~/.kde4/share/config/akonadi_davgroupware_resource_Xrc, where X is a digit ? Feel free to redact the URLs or user names, but try to preserve the fields please.

Cheers,
Grégory
Comment 7 Grégory Oestreicher 2010-09-18 15:17:04 UTC
Hi Elias,

Nevermind the previous question, I managed to reproduce your issue. This should be fixed now in trunk and will be included in the next KDE Pim Beta release.

Once you upgrade you will have to open the resource configuration dialog, check that you can see the calendar by using the 'Fetch' button (and eventually change the protocol), and then accept the changes.

Cheers,
Grégory
Comment 8 Elias Probst 2010-09-20 06:31:00 UTC
Thanks a lot for the fix!
Comment 9 Daltin 2011-02-16 20:16:13 UTC
Created attachment 57310 [details]
New crash information added by DrKonqi

akonadi_davgroupware_resource (0.1) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0

- What I was doing when the application crashed:
Crash during Akonadi autostart.

- Unusual behavior I noticed:
One GroupDAV resource to eGroupvare 1.8 server

- Custom settings of the application:
Configured by wizard, 3 resouces: contacts, caolendar, task.

-- Backtrace (Reduced):
#7  0x080613c3 in DavItemsListJob::start (this=0x8cd0af0) at ../../../../resources/dav/common/davitemslistjob.cpp:38
#8  0x08072df7 in DavGroupwareResource::retrieveItems (this=0x8c99718, collection=...) at ../../../../resources/dav/resource/davgroupwareresource.cpp:191
#9  0x071b545e in Akonadi::ResourceBasePrivate::slotSynchronizeCollection (this=0x8c9a278, col=...) at ../../akonadi/resourcebase.cpp:572
#10 0x071b8dca in Akonadi::ResourceBase::qt_metacall (this=0x8c99718, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbfd554b8) at ./moc_resourcebase.cpp:142
#11 0x08078b4f in DavGroupwareResource::qt_metacall (this=0x8c99718, _c=QMetaObject::InvokeMetaMethod, _id=38, _a=0xbfd554b8) at ./davgroupwareresource.moc:103
Comment 10 Grégory Oestreicher 2011-05-06 11:34:23 UTC
*** Bug 272602 has been marked as a duplicate of this bug. ***