Summary: | Akonadie crash on startup | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Wolfram <privat> |
Component: | DAV Resource | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | b_stader, greg, privat |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Do not retrieve items if no configured URL was found
New crash information added by DrKonqi |
Description
Wolfram
2011-01-22 11:58:59 UTC
Could you please repost the "What I was doing" section again in english? in English: webdav-connected to egroupware 1.8. Sync of adressbook and calendar. After connecting to the database of another user (adding the user to the url) Akonadi crashes with every refreshing the data. I think the url is not correct.But there is a crash instead of a 'Warning' ore a message. Hi, Which version of KDE PIM are you using? This bug reminds me of another I have addressed some time ago and that should be in the latest beta. Just to be sure, as I wasn't able to reproduce, are you using https://yourserver/groupdav.php/ for you and https://yourserver/groupdav.php/otheruser/ for the other user? Cheers, Grégory Oh, and I forgot to ask: are you using GroupDav, CalDav or CardDav? Cheers, Grégory I'm using last beta. Connected groupdav with: http://server/egrouwpware/groupdav.php/otheruser/ (crashes) http://server/egrouwpware/groupdav.php/ (working with adressbook) Le dimanche 23 janvier 2011 19:06:15, Wolfram a écrit :
>
> I'm using last beta. Connected groupdav with:
>
> http://server/egrouwpware/groupdav.php/otheruser/ (crashes)
> http://server/egrouwpware/groupdav.php/ (working with adressbook)
That's exactly what I did, and I'm still unable to make it crash.
Can you post the content of the file
~/.kde4/share/config/akonadi_davgroupware_resource_Xrc after redacting the
username and server hostname (where X is the number of the resource)?
Cheers,
Grégory
Here the content of the file: [General] displayName=eGroupware remoteUrls=xxx|GroupDav|http://xx.dyndns.ws/egroupware/groupdav.php/,xxx|GroupDav|http://xx.dyndns.ws/egroupware/groupdav.php/xxx/ Hi,
> Here the content of the file:
Thanks. So it's not the bug I thought…
Can you try the attached patch and tell if things are better? The resource may
crash, but with another backtrace as this patch address only one point where a
problem may occur and will have to be extended somewhat.
Cheers,
Grégory
Created attachment 56403 [details]
Do not retrieve items if no configured URL was found
Created attachment 56580 [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
using groupdav with egroupware 1.6. Get error when trying to connect.
-- Backtrace (Reduced):
#6 0x000000000041c559 in DavItemsListJob::start (this=0x2009e40) at ../../../../resources/dav/common/davitemslistjob.cpp:38
#7 0x000000000042de85 in DavGroupwareResource::retrieveItems (this=0x1f7ce10, collection=...) at ../../../../resources/dav/resource/davgroupwareresource.cpp:191
#8 0x00007fc7ef8096b5 in Akonadi::ResourceBasePrivate::slotSynchronizeCollection (this=<value optimized out>, col=<value optimized out>) at ../../akonadi/resourcebase.cpp:572
#9 0x00007fc7ef80bd25 in Akonadi::ResourceBase::qt_metacall (this=0x1f7ce10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff09fcce50) at ./moc_resourcebase.cpp:142
#10 0x00000000004339d5 in DavGroupwareResource::qt_metacall (this=0x0, _c=167562704, _id=0, _a=0x201d3f0) at ./davgroupwareresource.moc:103
Hi, The both of you are using Ubuntu 10.10, so I guess I'll have to test with this distro as I'm still unable to reproduce this bug. To speed things up a bit can you tell me from which repo you installed KDE and the Dav resource? Cheers, Grégory Hi, Can you try the fix in this bug report : https://bugs.kde.org/show_bug.cgi?id=265096 and tell me if that works? Cheers, Grégory Hi, Can you look into akonadiconsole how many collections were discovered by the resource? There should be three per URL (Calendar, Address Book and Infolog) when using GroupDav. For an unknow reason (and I haven't been able to reproduce this issue) there is a collection that is requested by Akonadi and for which the resource has no configuration, or at least can't find it… Cheers, Grégory Hi Greg, I also had this problem, but weeks ago. Under the current installation (4.6.40.git; opensuse repo) I didn't see this problem. Sorry Wolf Git commit 365ccae0496cd4c77f4eee9533c8b7ffa2d3460a by Gregory Oestreicher. Committed on 21/02/2011 at 00:09. Pushed by goestreicher into branch 'master'. Save the mappings discovered between collections URLs and configured URLs. Prevents a crash when retrieveCollections() is not called immediately. The resource must be deleted and re-created if no full sync is successfull BUG: 263956 M +5 -0 resources/dav/resource/davgroupwareresource.cpp M +1 -0 resources/dav/resource/davgroupwareresource.h M +4 -0 resources/dav/resource/davgroupwareresource.kcfg M +16 -0 resources/dav/resource/settings.cpp http://commits.kde.org/kdepim-runtime/365ccae0496cd4c77f4eee9533c8b7ffa2d3460a |