Bug 319540 - google calendar with akonadi DAV crashes on the kde login
Summary: google calendar with akonadi DAV crashes on the kde login
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: 4.10
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 319814 319869 320143 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-08 19:32 UTC by csabi
Modified: 2013-06-16 11:14 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.82 KB, text/plain)
2013-05-12 21:02 UTC, csabi
Details
New crash information added by DrKonqi (4.48 KB, text/plain)
2013-05-20 15:51 UTC, David Talmage
Details
New crash information added by DrKonqi (3.81 KB, text/plain)
2013-05-31 10:12 UTC, Rainer Sabelka
Details
New crash information added by DrKonqi (3.75 KB, text/plain)
2013-05-31 22:44 UTC, csabi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description csabi 2013-05-08 19:32:55 UTC
Application: akonadi_davgroupware_resource (4.10)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.11-200.fc18.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

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

Just login to kde (after computer restart.

Hint: my internet is not connected yet.

The crash can be reproduced sometimes.

-- Backtrace:
Application: google naptár of type  (akonadi_davgroupware_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x0000000000442e64 in DavGroupwareResource::retrieveItem (this=0xa76110, item=...) at /usr/src/debug/kdepim-runtime-4.10.2/resources/dav/resource/davgroupwareresource.cpp:315
#7  0x00000036e7958625 in Akonadi::ResourceBasePrivate::slotPrepareItemRetrievalResult (this=0xa76470, job=<optimized out>) at /usr/src/debug/kdepimlibs-4.10.2/akonadi/resourcebase.cpp:783
#8  0x00000036e7958a5a in Akonadi::ResourceBase::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepimlibs-4.10.2/x86_64-redhat-linux-gnu/akonadi/moc_resourcebase.cpp:140
#9  0x0000003521d8ceef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#10 0x00000036e1534232 in KJob::result (this=this@entry=0xad3be0, _t1=_t1@entry=0xad3be0) at /usr/src/debug/kdelibs-4.10.2/x86_64-redhat-linux-gnu/kdecore/kjob.moc:207
#11 0x00000036e1534270 in KJob::emitResult (this=0xad3be0) at /usr/src/debug/kdelibs-4.10.2/kdecore/jobs/kjob.cpp:318
#12 0x0000003521d8c3ce in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#13 0x00000035239ca5cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#14 0x00000035239cea4a in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#15 0x00000036e2046f16 in KApplication::notify (this=0x7fff92f2f0f0, receiver=0xad3be0, event=0xadde80) at /usr/src/debug/kdelibs-4.10.2/kdeui/kernel/kapplication.cpp:311
#16 0x0000003521d77abe in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#17 0x0000003521d7b571 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#18 0x0000003521da5f73 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#19 0x0000003518047a55 in g_main_dispatch (context=0x90e570) at gmain.c:2715
#20 g_main_context_dispatch (context=context@entry=0x90e570) at gmain.c:3219
#21 0x0000003518047d88 in g_main_context_iterate (context=context@entry=0x90e570, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#22 0x0000003518047e44 in g_main_context_iteration (context=0x90e570, may_block=1) at gmain.c:3351
#23 0x0000003521da6106 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#24 0x0000003523a6a73e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#25 0x0000003521d7680f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#26 0x0000003521d76a98 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#27 0x0000003521d7b888 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#28 0x00000036e79532f3 in Akonadi::ResourceBase::init (r=0xa76110) at /usr/src/debug/kdepimlibs-4.10.2/akonadi/resourcebase.cpp:451
#29 0x000000000044c823 in Akonadi::ResourceBase::init<DavGroupwareResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/kde4/akonadi/resourcebase.h:188
#30 0x0000003515c21a05 in __libc_start_main () from /lib64/libc.so.6
#31 0x0000000000411cc1 in _start ()

Possible duplicates by query: bug 319056, bug 318176.

Reported using DrKonqi
Comment 1 Grégory Oestreicher 2013-05-08 20:15:55 UTC
This shouldn't happen with 4.10.3, could you test it?
Comment 2 csabi 2013-05-08 21:17:32 UTC
(In reply to comment #1)
> This shouldn't happen with 4.10.3, could you test it?

I will as it arrives to Fedora.

I suspect the crash comes because the internet connection is not active at the beginning. If it not fails at start, it is fine after.

(Works fine on my workplace's Ubuntu with Lan connection)
Comment 3 csabi 2013-05-12 21:02:26 UTC
Created attachment 79861 [details]
New crash information added by DrKonqi

akonadi_davgroupware_resource (4.10) on KDE Platform 4.10.2 using Qt 4.8.4

- What I was doing when the application crashed:

It is crashing also every time I start the KOrganizer.

-- Backtrace (Reduced):
#6  0x0000000000442e64 in DavGroupwareResource::retrieveItem (this=0xf3ea30, item=...) at /usr/src/debug/kdepim-runtime-4.10.2/resources/dav/resource/davgroupwareresource.cpp:315
#7  0x0000003091358625 in Akonadi::ResourceBasePrivate::slotPrepareItemRetrievalResult (this=0xf3d880, job=<optimized out>) at /usr/src/debug/kdepimlibs-4.10.2/akonadi/resourcebase.cpp:783
#8  0x0000003091358a5a in Akonadi::ResourceBase::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepimlibs-4.10.2/x86_64-redhat-linux-gnu/akonadi/moc_resourcebase.cpp:140
[...]
#10 0x0000003085134232 in KJob::result (this=this@entry=0xfbbd90, _t1=_t1@entry=0xfbbd90) at /usr/src/debug/kdelibs-4.10.2/x86_64-redhat-linux-gnu/kdecore/kjob.moc:207
#11 0x0000003085134270 in KJob::emitResult (this=0xfbbd90) at /usr/src/debug/kdelibs-4.10.2/kdecore/jobs/kjob.cpp:318
Comment 4 Grégory Oestreicher 2013-05-19 21:50:05 UTC
*** Bug 319869 has been marked as a duplicate of this bug. ***
Comment 5 Grégory Oestreicher 2013-05-19 21:50:44 UTC
*** Bug 319814 has been marked as a duplicate of this bug. ***
Comment 6 David Talmage 2013-05-20 15:51:35 UTC
Created attachment 79974 [details]
New crash information added by DrKonqi

akonadi_davgroupware_resource (4.10) on KDE Platform 4.10.2 using Qt 4.8.4

- What I was doing when the application crashed:

I started Kontact.  I typed my password so that akonadi could access my company Zimbra server.

-- Backtrace (Reduced):
#6  0x0000000000445154 in DavGroupwareResource::retrieveItem (this=0x25d3500, item=...) at ../../../../resources/dav/resource/davgroupwareresource.cpp:315
#7  0x00007fdbeadd9f45 in Akonadi::ResourceBasePrivate::slotPrepareItemRetrievalResult (this=0x25d9db0, job=<optimized out>) at ../../akonadi/resourcebase.cpp:783
#8  0x00007fdbeadda37a in Akonadi::ResourceBase::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./moc_resourcebase.cpp:141
[...]
#10 0x00007fdbeb697162 in KJob::result (this=this@entry=0x265b4a0, _t1=_t1@entry=0x265b4a0) at ./kjob.moc:208
#11 0x00007fdbeb6971a0 in KJob::emitResult (this=0x265b4a0) at ../../kdecore/jobs/kjob.cpp:318
Comment 7 csabi 2013-05-21 09:13:26 UTC
New info:

Now the google calendar is not crashing anymore, but it is not loaded on my both computers.
(fedora home and ubuntu at work).

If I delete the calandar and add it again it works for a while, but stacks in 2-3 days.

This is completely unstable :(

There was another google calendar in the akonadi, but it was just one time loading, not refreshing, so also an incomplete solution. 

This is why I moved to the DAV. But practically, it works fine only until you restart :(
Comment 8 csabi 2013-05-21 09:19:27 UTC
Would it help if I install a version from the testing repositories ?
Comment 9 Jekyll Wu 2013-05-22 20:56:32 UTC
*** Bug 320143 has been marked as a duplicate of this bug. ***
Comment 10 Rainer Sabelka 2013-05-31 10:12:53 UTC
Created attachment 80208 [details]
New crash information added by DrKonqi

akonadi_davgroupware_resource (4.10) on KDE Platform 4.10.2 "release 1" using Qt 4.8.4

- What I was doing when the application crashed:

Crash when starting Kontact, Korganizer, or Kaddressbook (The address book and calendar
are both on an owncloud 5.0.6 server)

-- Backtrace (Reduced):
#7  0x00007f6af3e444f5 in Akonadi::ResourceBasePrivate::slotPrepareItemRetrievalResult (this=0x165d2f0, job=<optimized out>) at /usr/src/debug/kdepimlibs-4.10.2/akonadi/resourcebase.cpp:783
#8  0x00007f6af3e4485a in Akonadi::ResourceBase::qt_static_metacall (_o=0x7f6af1d9f640 <main_arena>, _c=QMetaObject::ReadProperty, _id=0, _a=0x1707340) at /usr/src/debug/kdepimlibs-4.10.2/build/akonadi/moc_resourcebase.cpp:141
[...]
#10 0x00007f6af4707ea2 in KJob::result (this=this@entry=0x1702130, _t1=_t1@entry=0x1702130) at /usr/src/debug/kdelibs-4.10.2/build/kdecore/kjob.moc:208
#11 0x00007f6af4707ee0 in KJob::emitResult (this=0x1702130) at /usr/src/debug/kdelibs-4.10.2/kdecore/jobs/kjob.cpp:318
#12 0x00007f6af573e68e in QObject::event (this=0x1702130, e=<optimized out>) at kernel/qobject.cpp:1203
Comment 11 csabi 2013-05-31 22:44:43 UTC
Created attachment 80225 [details]
New crash information added by DrKonqi

akonadi_davgroupware_resource (4.10) on KDE Platform 4.10.2 using Qt 4.8.4

the crash came not long after login. Probably after a timeout.

-- Backtrace (Reduced):
#6  0x0000000000442e64 in DavGroupwareResource::retrieveItem (this=0x1b76510, item=...) at /usr/src/debug/kdepim-runtime-4.10.2/resources/dav/resource/davgroupwareresource.cpp:315
#7  0x0000003cbcb58625 in Akonadi::ResourceBasePrivate::slotPrepareItemRetrievalResult (this=0x1bce3f0, job=<optimized out>) at /usr/src/debug/kdepimlibs-4.10.2/akonadi/resourcebase.cpp:783
#8  0x0000003cbcb58a5a in Akonadi::ResourceBase::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepimlibs-4.10.2/x86_64-redhat-linux-gnu/akonadi/moc_resourcebase.cpp:140
[...]
#10 0x0000003085134232 in KJob::result (this=this@entry=0x1c0ecf0, _t1=_t1@entry=0x1c0ecf0) at /usr/src/debug/kdelibs-4.10.2/x86_64-redhat-linux-gnu/kdecore/kjob.moc:207
#11 0x0000003085134270 in KJob::emitResult (this=0x1c0ecf0) at /usr/src/debug/kdelibs-4.10.2/kdecore/jobs/kjob.cpp:318
Comment 12 Grégory Oestreicher 2013-06-01 03:47:22 UTC
This has been fixed in 4.10.3, but with 4.10.4 right at the corner you may want to wait a few days to upgrade. In fact you want to wait as there's another issue with 4.10.3 that's been fixed in 4.10.4 :)
Comment 13 Rainer Sabelka 2013-06-03 09:58:57 UTC
Verified. Upgrading to 4.10.3 indeed fixes the crash for me.
Comment 14 csabi 2013-06-16 11:14:08 UTC
Indeed, It seems to work in 10.3. based on the last few days (I'll write again if still fails)

(In reply to comment #12)
> This has been fixed in 4.10.3, but with 4.10.4 right at the corner you may
> want to wait a few days to upgrade. In fact you want to wait as there's
> another issue with 4.10.3 that's been fixed in 4.10.4 :)