Bug 316465

Summary: CalDAV resource crashes after resuming computer from suspend
Product: [Frameworks and Libraries] Akonadi Reporter: Daniel Vrátil <dvratil>
Component: DAV ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: greg
Priority: NOR    
Version: 4.10   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.2
Sentry Crash Report:

Description Daniel Vrátil 2013-03-10 11:54:59 UTC
Application: akonadi_davgroupware_resource (4.10)
KDE Platform Version: 4.10.00 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.7.7-201.fc18.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

-- Information about the crash:
- What I was doing when the application crashed:
I resumed laptop from suspend to RAM, DrKonqi appeared immediatelly.

-- Backtrace:
Application: Zimbra of type DAV groupware resource (akonadi_davgroupware_resource), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x0000003dfb435ba5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:63
#7  0x0000003dfb437358 in __GI_abort () at abort.c:90
#8  0x0000003e6f671564 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=<optimized out>) at global/qglobal.cpp:2323
#9  0x0000003e6f671718 in qt_message(enum QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x3e6f7da418 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=ap@entry=0x7fff86b56e58) at global/qglobal.cpp:2369
#10 0x0000003e6f6718a4 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2552
#11 0x00007f4bc2900a3f in Akonadi::ResourceBasePrivate::createItemSyncInstanceIfMissing (this=this@entry=0x13209d0) at /home/progdan/projects/kde/kdepimlibs/akonadi/resourcebase.cpp:166
#12 0x00007f4bc28fd535 in Akonadi::ResourceBase::itemsRetrieved (this=<optimized out>, items=...) at /home/progdan/projects/kde/kdepimlibs/akonadi/resourcebase.cpp:980
#13 0x0000000000437fd2 in DavGroupwareResource::onRetrieveAkonadiItemsFinished (this=0x131d790, job=0x20fe420) at /home/progdan/projects/kde/kdepim-runtime/resources/dav/resource/davgroupwareresource.cpp:649
#14 0x0000003e6f78ceef in QMetaObject::activate (sender=0x20fe420, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff86b57150) at kernel/qobject.cpp:3539
#15 0x00000033bef33f32 in KJob::result (this=this@entry=0x20fe420, _t1=_t1@entry=0x20fe420) at /usr/src/debug/kdelibs-4.10.0/x86_64-redhat-linux-gnu/kdecore/kjob.moc:207
#16 0x00000033bef33f70 in KJob::emitResult (this=0x20fe420) at /usr/src/debug/kdelibs-4.10.0/kdecore/jobs/kjob.cpp:318
#17 0x0000003e6f78c3ce in QObject::event (this=0x20fe420, e=<optimized out>) at kernel/qobject.cpp:1194
#18 0x00000033bd1ca5cc in QApplicationPrivate::notify_helper (this=this@entry=0x10f43e0, receiver=receiver@entry=0x20fe420, e=e@entry=0x1540560) at kernel/qapplication.cpp:4562
#19 0x00000033bd1cea4a in QApplication::notify (this=0x7fff86b57ae0, receiver=0x20fe420, e=0x1540560) at kernel/qapplication.cpp:4423
#20 0x00000033bf646f26 in KApplication::notify (this=0x7fff86b57ae0, receiver=0x20fe420, event=0x1540560) at /usr/src/debug/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311
#21 0x0000003e6f777abe in QCoreApplication::notifyInternal (this=0x7fff86b57ae0, receiver=receiver@entry=0x20fe420, event=event@entry=0x1540560) at kernel/qcoreapplication.cpp:946
#22 0x0000003e6f77b571 in sendEvent (event=0x1540560, receiver=0x20fe420) at kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x10bd4d0) at kernel/qcoreapplication.cpp:1570
#24 0x0000003e6f7a5f73 in sendPostedEvents () at kernel/qcoreapplication.h:236
#25 postEventSourceDispatch (s=s@entry=0x10eeff0) at kernel/qeventdispatcher_glib.cpp:279
#26 0x00000038ffa47a55 in g_main_dispatch (context=0x10f5900) at gmain.c:2715
#27 g_main_context_dispatch (context=context@entry=0x10f5900) at gmain.c:3219
#28 0x00000038ffa47d88 in g_main_context_iterate (context=context@entry=0x10f5900, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#29 0x00000038ffa47e44 in g_main_context_iteration (context=0x10f5900, may_block=1) at gmain.c:3351
#30 0x0000003e6f7a6106 in QEventDispatcherGlib::processEvents (this=0x10bedb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0x00000033bd26a73e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#32 0x0000003e6f77680f in QEventLoop::processEvents (this=this@entry=0x7fff86b57a60, flags=...) at kernel/qeventloop.cpp:149
#33 0x0000003e6f776a98 in QEventLoop::exec (this=0x7fff86b57a60, flags=...) at kernel/qeventloop.cpp:204
#34 0x0000003e6f77b888 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#35 0x00007f4bc28faf85 in Akonadi::ResourceBase::init (r=0x131d790) at /home/progdan/projects/kde/kdepimlibs/akonadi/resourcebase.cpp:452
#36 0x00000000004419a8 in Akonadi::ResourceBase::init<DavGroupwareResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/kde4/akonadi/resourcebase.h:188
#37 0x0000003dfb421a05 in __libc_start_main (main=0x4126b0 <main(int, char**)>, argc=3, ubp_av=0x7fff86b57bf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff86b57be8) at libc-start.c:225
#38 0x0000000000412701 in _start ()

Possible duplicates by query: bug 311441, bug 307621.

Reported using DrKonqi
Comment 1 Grégory Oestreicher 2013-03-16 17:48:20 UTC
Hi,

I've reworked a bit the internals of the resource for 4.10.2. If it's possible could you give it a test before the official release and see if this crash still occurs?

Cheers,
Grégory
Comment 2 Daniel Vrátil 2013-03-19 15:50:25 UTC
Haven't seen any crash so far. Thanks!