Bug 359587 - akonadi server hangs and needs continual rebooting, email address autosuggest not working, using the "TO" column to select causes akonadi resource to crash
Summary: akonadi server hangs and needs continual rebooting, email address autosuggest...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: contact completion (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-02-19 22:40 UTC by Ken Freeland
Modified: 2018-10-28 03:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-18094-0.html (2.12 KB, text/html)
2017-05-19 21:04 UTC, Ken Freeland
Details
attachment-18346-0.html (2.97 KB, text/html)
2017-05-19 21:10 UTC, Ken Freeland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Freeland 2016-02-19 22:40:24 UTC
For some months I have noticed that akonadi server freezes and has to be restarted.  More recently I notice that autosuggest email addresses is not working for the vast majority of the email addresses in my address books.  Now the solution I have used in the past, selecting from the "TO" column, causes akonadi resource to crash.

Reproducible: Always

Steps to Reproduce:
1.start Personal Information Manager (kmail)
2.open "new message" blank 
3.attempt to type in start of email address (no response from autosuggest)
4. Click on "TO" which brings up my address books.

Actual Results:  
At this point, sometimes even before I can enter anything into the search bar, I get the dismal error report "Akonadi resource has crashed"

Expected Results:  
should be able to choose an email address by searching

Application: kontact (5.0.2)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-27-generic i686
Distribution: Ubuntu 15.10

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xad93d7c0 (LWP 6333))]

Thread 7 (Thread 0xac12fb40 (LWP 6335)):
#0  0xb77cabe8 in __kernel_vsyscall ()
#1  0xb2a4425c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb6098d46 in __pthread_cond_wait (cond=0xb5e2ed34, mutex=0xb5e2ed1c) at forward.c:149
#3  0xb519211a in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#4  0xb519216c in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#5  0xb2a3f1aa in start_thread (arg=0xac12fb40) at pthread_create.c:333
#6  0xb608c02e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 6 (Thread 0xab19ab40 (LWP 6336)):
#0  0xb77cabe8 in __kernel_vsyscall ()
#1  0xb608142b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb278e980 in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb277ff1c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2780054 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb65ab7e4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#6  0xb654e2b3 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#7  0xb654e702 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#8  0xb637723d in QThread::exec() () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#9  0xb6377318 in QThread::run() () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#10 0xb637c65b in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#11 0xb2a3f1aa in start_thread (arg=0xab19ab40) at pthread_create.c:333
#12 0xb608c02e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 5 (Thread 0xa9fd2b40 (LWP 6337)):
#0  0xb77cabe8 in __kernel_vsyscall ()
#1  0xb2a4425c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb6098d46 in __pthread_cond_wait (cond=0xab872138, mutex=0xab872120) at forward.c:149
#3  0xb51c0cec in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#4  0xb4e7f4c6 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#5  0xb51a92e2 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#6  0xb51c06f1 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#7  0xb2a3f1aa in start_thread (arg=0xa9fd2b40) at pthread_create.c:333
#8  0xb608c02e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 4 (Thread 0xa95e0b40 (LWP 6338)):
#0  0xb77cabe8 in __kernel_vsyscall ()
#1  0xb2a4425c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb6098d46 in __pthread_cond_wait (cond=0xab876734, mutex=0xab87671c) at forward.c:149
#3  0xb51c0cec in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#4  0xb4e805f5 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#5  0xb51a92e2 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#6  0xb51c06f1 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#7  0xb2a3f1aa in start_thread (arg=0xa95e0b40) at pthread_create.c:333
#8  0xb608c02e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 3 (Thread 0xa8ddfb40 (LWP 6339)):
#0  0xb77cabe8 in __kernel_vsyscall ()
#1  0xb2a4425c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb6098d46 in __pthread_cond_wait (cond=0xab876734, mutex=0xab87671c) at forward.c:149
#3  0xb51c0cec in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#4  0xb4e805f5 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#5  0xb51a92e2 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#6  0xb51c06f1 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#7  0xb2a3f1aa in start_thread (arg=0xa8ddfb40) at pthread_create.c:333
#8  0xb608c02e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 2 (Thread 0xa81ffb40 (LWP 6340)):
#0  0xb77cabe8 in __kernel_vsyscall ()
#1  0xb2a4425c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb6098d46 in __pthread_cond_wait (cond=0xab876734, mutex=0xab87671c) at forward.c:149
#3  0xb51c0cec in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#4  0xb4e805f5 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#5  0xb51a92e2 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#6  0xb51c06f1 in ?? () from /usr/lib/i386-linux-gnu/libQt5WebKit.so.5
#7  0xb2a3f1aa in start_thread (arg=0xa81ffb40) at pthread_create.c:333
#8  0xb608c02e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 1 (Thread 0xad93d7c0 (LWP 6333)):
[KCrash Handler]
#7  0xb65197e0 in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#8  0xb651fe81 in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#9  0xb6521691 in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#10 0xb65840e1 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#11 0xb65845dd in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#12 0xb65fe0a1 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#13 0xb651fdb0 in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#14 0xb6521691 in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#15 0xb65840e1 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#16 0xb65845dd in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#17 0xb65fe0a1 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#18 0xb2fce1ff in Akonadi::EntityTreeModelPrivate::dataChanged (this=0xc02d5d0, top=..., bottom=...) at ../../../../akonadi/src/core/models/entitytreemodel_p.cpp:1713
#19 0xb2fd34eb in Akonadi::EntityTreeModelPrivate::itemFetchJobDone (this=0xc02d5d0, job=0xdff6cb8) at ../../../../akonadi/src/core/models/entitytreemodel_p.cpp:1375
#20 0xb2fc5ba4 in Akonadi::EntityTreeModel::qt_static_metacall (_o=0xaebc6d8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfbaf554) at ./moc_entitytreemodel.cpp:211
#21 0xb65840e1 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#22 0xb65845dd in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#23 0xb750df19 in KJob::result (this=0xdff6cb8, _t1=0xdff6cb8) at ./moc_kjob.cpp:552
#24 0xb750eba6 in KJob::emitResult (this=0xdff6cb8) at ../../../src/lib/jobs/kjob.cpp:294
#25 0xb2f8b92e in Akonadi::JobPrivate::delayedEmitResult (this=<optimized out>) at ../../../../akonadi/src/core/jobs/job.cpp:153
#26 Akonadi::Job::qt_static_metacall (_o=0xdff6cb8, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xe025c98) at ./moc_job.cpp:107
#27 0xb6580f50 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#28 0xb6584d13 in QObject::event(QEvent*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#29 0xb6e0bdaa in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5
#30 0xb6e1167f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5
#31 0xb65510ff in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#32 0xb655351d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#33 0xb6553a57 in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#34 0xb65ab3d3 in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#35 0xb277fce9 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0xb277ff89 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0xb2780054 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0xb65ab7c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#39 0xad6bcbc1 in ?? () from /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqxcb.so
#40 0xb654e2b3 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#41 0xb654e702 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#42 0xb65567e5 in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5
#43 0xb685ccf1 in QGuiApplication::exec() () from /usr/lib/i386-linux-gnu/sse2/libQt5Gui.so.5
#44 0xb6e07cb4 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5
#45 0x0804bd22 in main (argc=1, argv=0xbfbafd34) at ../../../kontact/src/main.cpp:220

Report to https://bugs.kde.org/
Comment 1 Denis Kurz 2017-05-19 11:19:44 UTC
Ken, version 5.0 of Kontact was a "Technology Preview". Does this still happen to you? If so, which version do you use? Some other email address autocompletion issues have been resolved in the past year, so yours might be fixed as well.
Comment 2 Ken Freeland 2017-05-19 21:04:37 UTC
Created attachment 105645 [details]
attachment-18094-0.html

Denis,
the bug continues...now on different machines;  desktop kubuntu 16.04
kontact 5.2.3
laptop kubuntu 17.04 kontact 5.1.3
no prediction despite configuring for google address book search in both
(correctly configured in both, and even unchecking "use recent email
addresses).  The laptop will predict from recent addresses if i check the
box, but neither will predict from my google contacts address book.
Thanks for asking.  This is really frustrating...makes using Kontact a
royal pain.
ken

On Fri, May 19, 2017 at 6:19 AM, Denis Kurz <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=359587
>
> Denis Kurz <kdenis@posteo.de> changed:
>
>            What    |Removed                     |Added
> ------------------------------------------------------------
> ----------------
>              Status|UNCONFIRMED                 |NEEDSINFO
>                  CC|                            |kdenis@posteo.de
>          Resolution|---                         |WAITINGFORINFO
>
> --- Comment #1 from Denis Kurz <kdenis@posteo.de> ---
> Ken, version 5.0 of Kontact was a "Technology Preview". Does this still
> happen
> to you? If so, which version do you use? Some other email address
> autocompletion issues have been resolved in the past year, so yours might
> be
> fixed as well.
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 3 Ken Freeland 2017-05-19 21:09:58 UTC
Created attachment 105646 [details]
attachment-18346-0.html

BTW, I should add that even though the address book shows my groups for
emailing from google, Kontact has never been able to use them...you click
on them and they do not show the addresses included...it's a worthless
feature for me

On Fri, May 19, 2017 at 4:04 PM, Ken Freeland <diogenesquest@gmail.com>
wrote:

> Denis,
> the bug continues...now on different machines;  desktop kubuntu 16.04
> kontact 5.2.3
> laptop kubuntu 17.04 kontact 5.1.3
> no prediction despite configuring for google address book search in both
> (correctly configured in both, and even unchecking "use recent email
> addresses).  The laptop will predict from recent addresses if i check the
> box, but neither will predict from my google contacts address book.
> Thanks for asking.  This is really frustrating...makes using Kontact a
> royal pain.
> ken
>
> On Fri, May 19, 2017 at 6:19 AM, Denis Kurz <bugzilla_noreply@kde.org>
> wrote:
>
>> https://bugs.kde.org/show_bug.cgi?id=359587
>>
>> Denis Kurz <kdenis@posteo.de> changed:
>>
>>            What    |Removed                     |Added
>> ------------------------------------------------------------
>> ----------------
>>              Status|UNCONFIRMED                 |NEEDSINFO
>>                  CC|                            |kdenis@posteo.de
>>          Resolution|---                         |WAITINGFORINFO
>>
>> --- Comment #1 from Denis Kurz <kdenis@posteo.de> ---
>> Ken, version 5.0 of Kontact was a "Technology Preview". Does this still
>> happen
>> to you? If so, which version do you use? Some other email address
>> autocompletion issues have been resolved in the past year, so yours might
>> be
>> fixed as well.
>>
>> --
>> You are receiving this mail because:
>> You reported the bug.
>>
>
>
Comment 4 Christoph Feck 2017-06-06 23:15:21 UTC
Please test the KDEPIM version available from the backport PPAs; see http://kubuntu.org/news/kde-pim-update-now-available-for-zesty-zapus-17-04/
Comment 5 Andrew Crouthamel 2018-09-28 02:25:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-10-28 03:22:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!