Bug 318064 - crash after dav server got unreachable
Summary: crash after dav server got unreachable
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: 4.10
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-08 21:12 UTC by Marc Schiffbauer
Modified: 2013-04-11 14:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schiffbauer 2013-04-08 21:12:44 UTC
Application: akonadi_davgroupware_resource (4.10)
KDE Platform Version: 4.10.2 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.8.3-gentoo-r1 x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
the dav ressource tends to crash very often on connection errors. This time the server was shut down, then the resource crashed

-- Backtrace:
Application: sys4 vom Typ DAV-Groupware-Ressource (akonadi_davgroupware_resource), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fc6f5244545 in raise () from /lib64/libc.so.6
#7  0x00007fc6f52459c8 in abort () from /lib64/libc.so.6
#8  0x00007fc6f8fe66c4 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=<optimized out>) at global/qglobal.cpp:2323
#9  0x00007fc6f8fe6838 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7fc6f914d948 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff4aebac88) at global/qglobal.cpp:2369
#10 0x00007fc6f8fe69cc in qFatal (msg=<optimized out>) at global/qglobal.cpp:2552
#11 0x00007fc6f7715257 in Akonadi::ItemCreateJob::ItemCreateJob (this=0x1e1f9b0, item=..., collection=..., parent=0x1e08c90) at /var/tmp/portage/kde-base/kdepimlibs-4.10.49.9999/work/kdepimlibs-4.10.49.9999/akonadi/itemcreatejob.cpp:57
#12 0x00007fc6f772a1c6 in Akonadi::ItemSync::Private::createLocalItem (this=0x3257b30, item=...) at /var/tmp/portage/kde-base/kdepimlibs-4.10.49.9999/work/kdepimlibs-4.10.49.9999/akonadi/itemsync.cpp:114
#13 0x00007fc6f772b6c3 in Akonadi::ItemSync::Private::processItems (this=this@entry=0x3257b30) at /var/tmp/portage/kde-base/kdepimlibs-4.10.49.9999/work/kdepimlibs-4.10.49.9999/akonadi/itemsync.cpp:335
#14 0x00007fc6f772be00 in Akonadi::ItemSync::Private::execute (this=this@entry=0x3257b30) at /var/tmp/portage/kde-base/kdepimlibs-4.10.49.9999/work/kdepimlibs-4.10.49.9999/akonadi/itemsync.cpp:291
#15 0x00007fc6f772c5d5 in Akonadi::ItemSync::Private::slotLocalListDone (this=0x3257b30, job=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.10.49.9999/work/kdepimlibs-4.10.49.9999/akonadi/itemsync.cpp:271
#16 0x00007fc6f9100854 in QMetaObject::activate (sender=0x1ae1450, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff4aebb180) at kernel/qobject.cpp:3539
#17 0x00007fc6f80ab9a2 in KJob::result (this=this@entry=0x1ae1450, _t1=_t1@entry=0x1ae1450) at /var/tmp/portage/kde-base/kdelibs-4.10.49.9999/work/kdelibs-4.10.49.9999_build/kdecore/kjob.moc:208
#18 0x00007fc6f80ab9e0 in KJob::emitResult (this=0x1ae1450) at /var/tmp/portage/kde-base/kdelibs-4.10.49.9999/work/kdelibs-4.10.49.9999/kdecore/jobs/kjob.cpp:318
#19 0x00007fc6f90ffd4e in QObject::event (this=0x1ae1450, e=<optimized out>) at kernel/qobject.cpp:1194
#20 0x00007fc6f5cae964 in notify_helper (e=0x1d17080, receiver=0x1ae1450, this=0x1687200) at kernel/qapplication.cpp:4562
#21 QApplicationPrivate::notify_helper (this=0x1687200, receiver=0x1ae1450, e=0x1d17080) at kernel/qapplication.cpp:4534
#22 0x00007fc6f5cb3681 in QApplication::notify (this=0x7fff4aebbba0, receiver=0x1ae1450, e=0x1d17080) at kernel/qapplication.cpp:3944
#23 0x00007fc6f69f00d6 in KApplication::notify (this=0x7fff4aebbba0, receiver=0x1ae1450, event=0x1d17080) at /var/tmp/portage/kde-base/kdelibs-4.10.49.9999/work/kdelibs-4.10.49.9999/kdeui/kernel/kapplication.cpp:311
#24 0x00007fc6f90eb58e in QCoreApplication::notifyInternal (this=0x7fff4aebbba0, receiver=receiver@entry=0x1ae1450, event=event@entry=0x1d17080) at kernel/qcoreapplication.cpp:946
#25 0x00007fc6f90eeea9 in sendEvent (event=0x1d17080, receiver=0x1ae1450) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x165e7c0) at kernel/qcoreapplication.cpp:1570
#27 0x00007fc6f9119683 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=0x1687d50) at kernel/qeventdispatcher_glib.cpp:279
#29 0x00007fc6f4d2b3c3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fc6f4d2b710 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007fc6f4d2b7d4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007fc6f9119816 in QEventDispatcherGlib::processEvents (this=0x165fc80, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007fc6f5d51c3e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fc6f90ea2df in QEventLoop::processEvents (this=this@entry=0x7fff4aebbb20, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007fc6f90ea568 in QEventLoop::exec (this=0x7fff4aebbb20, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007fc6f90ef1a6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#37 0x00007fc6f774ada3 in Akonadi::ResourceBase::init (r=0x1823b00) at /var/tmp/portage/kde-base/kdepimlibs-4.10.49.9999/work/kdepimlibs-4.10.49.9999/akonadi/resourcebase.cpp:451
#38 0x0000000000452253 in Akonadi::ResourceBase::init<DavGroupwareResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#39 0x00007fc6f5230bf5 in __libc_start_main () from /lib64/libc.so.6
#40 0x0000000000413bc1 in _start ()

This bug may be a duplicate of or related to bug 310077.

Possible duplicates by query: bug 310077.

Reported using DrKonqi
Comment 1 Grégory Oestreicher 2013-04-10 21:58:13 UTC
Hi,

If you're able to recompile the resource from the Git repo, could you give a shot to the branch KDE/4.10. I've commited some fixes and I think that this should be addressed.

Thanks,
Grégory
Comment 2 Marc Schiffbauer 2013-04-11 14:30:55 UTC
Wow ;-)

Many thanks Grégory! This fix seems to be a big leap forward...

* The crashes *seem* to have gone (I will repopen if not)
* No more Error-Message-Window flooding on connection problems

-Marc