Bug 358510 - Akonadi Resource davgroupware crash
Summary: Akonadi Resource davgroupware crash
Status: RESOLVED DUPLICATE of bug 354994
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-01-25 00:02 UTC by David Yentzen
Modified: 2016-02-07 14:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Yentzen 2016-01-25 00:02:34 UTC
Application: akonadi_davgroupware_resource (4.89.0)

Qt Version: 5.5.1
Operating System: Linux 4.2.0-25-generic x86_64
Distribution: Netrunner 17

-- Information about the crash:
- What I was doing when the application crashed:
The only application that was in active use was an internet browser.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Akonadi Resource (akonadi_davgroupware_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0d81e71840 (LWP 2643))]

Thread 3 (Thread 0x7f0d7fda0700 (LWP 2704)):
#0  0x00007f0d9215a8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0d8ce31bd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f0d8ce3374f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f0d81ac67e9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f0d92a67a6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f0d8d0506aa in start_thread (arg=0x7f0d7fda0700) at pthread_create.c:333
#6  0x00007f0d92165eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f0d7d524700 (LWP 3310)):
#0  0x00007f0d8c751884 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0d8c70c770 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0d8c70d11b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0d8c70d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0d92c9f50b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f0d92c4650a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f0d92a62ac4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f0d92a67a6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f0d8d0506aa in start_thread (arg=0x7f0d7d524700) at pthread_create.c:333
#9  0x00007f0d92165eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f0d81e71840 (LWP 2643)):
[KCrash Handler]
#6  QString::QString (other=..., this=this@entry=0x7ffcb4e81f60) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:811
#7  Akonadi::Entity::remoteId (this=this@entry=0x7f0d92d1c3d8 <QArrayData::shared_null+24>) at ../../../../akonadi/src/core/entity.cpp:82
#8  0x0000000000468b7e in DavGroupwareResource::retrieveItems (this=this@entry=0x18ec230, collection=...) at ../../../../resources/dav/resource/davgroupwareresource.cpp:257
#9  0x00007f0d963f132d in Akonadi::ResourceBasePrivate::slotItemRetrievalCollectionFetchDone (this=<optimized out>, job=0x1885760) at ../../../../akonadi/src/agentbase/resourcebase.cpp:954
#10 0x00007f0d963f3200 in Akonadi::ResourceBase::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./moc_resourcebase.cpp:294
#11 0x00007f0d92c778ea in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f0d941a0752 in KJob::result (this=this@entry=0x1885760, _t1=_t1@entry=0x1885760) at ./moc_kjob.cpp:555
#13 0x00007f0d941a1311 in KJob::finishJob (this=0x1885760, emitResult=<optimized out>) at ../../../src/lib/jobs/kjob.cpp:109
#14 0x00007f0d941a132a in KJob::emitResult (this=<optimized out>) at ../../../src/lib/jobs/kjob.cpp:295
#15 0x00007f0d9596e3b3 in Akonadi::JobPrivate::delayedEmitResult (this=<optimized out>) at ../../../../akonadi/src/core/jobs/job.cpp:153
#16 Akonadi::Job::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./moc_job.cpp:107
#17 0x00007f0d92c787b1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f0d9353d9dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f0d93542ea6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f0d92c48d7b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f0d92c4b176 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f0d92c9f0e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f0d8c70cff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f0d8c70d250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f0d8c70d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f0d92c9f4ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f0d92c4650a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f0d92c4e5ec in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f0d963ed21a in Akonadi::ResourceBase::init (r=r@entry=0x18ec230) at ../../../../akonadi/src/agentbase/resourcebase.cpp:602
#30 0x00000000004706c8 in Akonadi::ResourceBase::init<DavGroupwareResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:193
#31 0x00007f0d9207fa40 in __libc_start_main (main=0x42d2a0 <main(int, char**)>, argc=3, argv=0x7ffcb4e82958, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcb4e82948) at libc-start.c:289
#32 0x000000000042d2d9 in _start ()

Possible duplicates by query: bug 354994.

Reported using DrKonqi
Comment 1 Grégory Oestreicher 2016-02-06 23:37:26 UTC
Is this still happening with the latest release? I see that, according to the number (4.89.0), it must be a beta.
Comment 2 David Yentzen 2016-02-07 02:35:55 UTC
Yes, I am still experiencing this crash. Sometimes more often than others but usually about once an hour.
Comment 3 Grégory Oestreicher 2016-02-07 13:22:24 UTC
OK, do you have the KDE Applications version you're using? Something like 15.08 or 15.12.
Comment 4 David Yentzen 2016-02-07 13:31:06 UTC
KDE Applications version 15.08.2 with Plasma 5.5.3 - Netrunner 17 is the distro.
Comment 5 Grégory Oestreicher 2016-02-07 13:38:33 UTC
Looks like a dup of #354994, merging both.

So it's crashing on a debug statement but I doubt that it's relevant. It would crash some lines after as the same function is called.

In akonadiconsole can you check that all collections in the resource have a remote identifier? From the "Browser" tab, right click on the collection (including the resource), select "Properties" and the remote identifier is in the last tab ("Internals").

*** This bug has been marked as a duplicate of bug 354994 ***
Comment 6 David Yentzen 2016-02-07 13:52:01 UTC
Ok. The next time it crashes I'll check. Now that it's merged, do I need to do anything( changed status)? [new to bug reporting]
Comment 7 Grégory Oestreicher 2016-02-07 14:27:25 UTC
No need for you to do anything about the status. Now if you want to add information though could you use the bug this one was merged with? It's https://bugs.kde.org/show_bug.cgi?id=354994 and you've been added automatically to the list of recipients.

Also to get the remote identifier you don't need to wait for the crash, you can check any time you want in akonadiconsole.