Bug 340808

Summary: Akondi crashing when using Kontakt
Product: [Frameworks and Libraries] Akonadi Reporter: Brylie Christopher Oxley <brylie>
Component: akonadiconsoleAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Brylie Christopher Oxley 2014-11-10 07:58:53 UTC
Application: akonadi_baloo_indexer (4.14)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-24-generic i686
Distribution: Ubuntu 14.10

-- Information about the crash:
- What I was doing when the application crashed:
I had just checked my email in Kontakt. Opening the first message caused the akondi agent to crash, and it continues to crash throughout the day afterwords.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Baloo Indexing Agent (akonadi_baloo_indexer), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#7  0xb77b0c7c in __kernel_vsyscall ()
#8  0xb58e5577 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#9  0xb58e6cf3 in __GI_abort () at abort.c:89
#10 0xb5924953 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0xb5a1c79c "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#11 0xb592aa7a in malloc_printerr (action=<optimized out>, str=0xb5a1828d "free(): invalid pointer", ptr=0x91b2018) at malloc.c:4996
#12 0xb592b6d5 in _int_free (av=0xb5a61420 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:3840
#13 0xb5acbff8 in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#14 0xb5acc038 in operator delete[](void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#15 0xb6c725a9 in ChertTable_base::read (this=0x9189780, name="/home/brylie/.local/share/baloo/email//postlist.", ch=66 'B', read_bitmap=true, err_msg="") at ../backends/chert/chert_btreebase.cc:232
#16 0xb6ca4fbc in ChertTable::cancel (this=0x9189750) at ../backends/chert/chert_table.cc:1981
#17 0xb6c84e5e in ChertDatabase::cancel (this=0x9189728) at ../backends/chert/chert_database.cc:749
#18 0xb6c858ba in ChertWritableDatabase::cancel (this=0x9189728) at ../backends/chert/chert_database.cc:1614
#19 0xb6c88a4f in ChertWritableDatabase::replace_document (this=0x9189728, did=48681, document=...) at ../backends/chert/chert_database.cc:1464
#20 0xb6bff152 in Xapian::WritableDatabase::replace_document (this=0x915f680, did=48681, document=...) at ../api/omdatabase.cc:844
#21 0x0805b4e9 in EmailIndexer::index (this=0x9186648, item=...) at ../../../../src/pim/agent/emailindexer.cpp:115
#22 0x08053796 in BalooIndexingAgent::slotItemsReceived (this=0x9150938, items=...) at ../../../../src/pim/agent/agent.cpp:453
#23 0x0805008c in BalooIndexingAgent::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at moc_agent.cpp:64
#24 0xb760e1e8 in QMetaObject::activate (sender=0x926c2b8, m=0xb71c5a04 <Akonadi::ItemFetchJob::staticMetaObject>, local_signal_index=0, argv=0xbfa239f8) at kernel/qobject.cpp:3567
#25 0xb7046015 in Akonadi::ItemFetchJob::itemsReceived(QList<Akonadi::Item> const&) () from /usr/lib/libakonadi-kde.so.4
#26 0xb70472d5 in Akonadi::ItemFetchJob::doHandleResponse(QByteArray const&, QByteArray const&) () from /usr/lib/libakonadi-kde.so.4
#27 0xb705b0a8 in ?? () from /usr/lib/libakonadi-kde.so.4
#28 0xb70b24ed in ?? () from /usr/lib/libakonadi-kde.so.4
#29 0xb760e1e8 in QMetaObject::activate (sender=0x9156f28, m=0xb77779b8 <QIODevice::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3567
#30 0xb765ba42 in QIODevice::readyRead (this=0x9156f28) at .moc/release-shared/moc_qiodevice.cpp:104
#31 0xb765bb90 in QIODevice::qt_static_metacall (_o=0x9156f28, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfa23c28) at .moc/release-shared/moc_qiodevice.cpp:53
#32 0xb760e1e8 in QMetaObject::activate (sender=0x916c9ec, m=0xb77779b8 <QIODevice::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3567
#33 0xb765ba42 in QIODevice::readyRead (this=0x916c9ec) at .moc/release-shared/moc_qiodevice.cpp:104
#34 0xb5670544 in QAbstractSocketPrivate::canReadNotification (this=0x9162248) at socket/qabstractsocket.cpp:654
#35 0xb565e45a in QAbstractSocketEngine::readNotification (this=0x9150e00) at socket/qabstractsocketengine.cpp:168
#36 0xb567bb0f in QReadNotifier::event (this=0x9164990, e=0xbfa23f04) at socket/qnativesocketengine.cpp:1151
#37 0xb5d30c2a in QApplicationPrivate::notify_helper (this=0x908b718, receiver=0x9164990, e=0xbfa23f04) at kernel/qapplication.cpp:4570
#38 0xb5d37673 in QApplication::notify (this=0xbfa241c0, receiver=receiver@entry=0x9164990, e=e@entry=0xbfa23f04) at kernel/qapplication.cpp:4356
#39 0xb68a41b4 in KApplication::notify (this=0xbfa241c0, receiver=0x9164990, event=0xbfa23f04) at ../../kdeui/kernel/kapplication.cpp:311
#40 0xb75f8c2c in QCoreApplication::notifyInternal (this=0xbfa241c0, receiver=0x9164990, event=0xbfa23f04) at kernel/qcoreapplication.cpp:953
#41 0xb76295ec in sendEvent (event=0xbfa23f04, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#42 socketNotifierSourceDispatch (source=0x9097e28) at kernel/qeventdispatcher_glib.cpp:117
#43 0xb5799c04 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0xb5799f29 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0xb5799ff6 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0xb7628f3b in QEventDispatcherGlib::processEvents (this=0x906ac80, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#47 0xb5de2019 in QGuiEventDispatcherGlib::processEvents (this=0x906ac80, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0xb75f76c3 in QEventLoop::processEvents (this=0xbfa24128, flags=...) at kernel/qeventloop.cpp:149
#49 0xb75f79fe in QEventLoop::exec (this=0xbfa24128, flags=...) at kernel/qeventloop.cpp:204
#50 0xb75fd89b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#51 0xb5d2ec04 in QApplication::exec () at kernel/qapplication.cpp:3828
#52 0xb6f87cf8 in Akonadi::AgentBase::init(Akonadi::AgentBase*) () from /usr/lib/libakonadi-kde.so.4
#53 0x0805687e in Akonadi::AgentBase::init<BalooIndexingAgent> (argc=3, argv=0xbfa242b4) at /usr/include/akonadi/agentbase.h:455
#54 0x0804fe6b in main (argc=3, argv=0xbfa242b4) at ../../../../src/pim/agent/agent.cpp:517

Possible duplicates by query: bug 335225, bug 335224, bug 333332, bug 333327, bug 333253.


Reproducible: Always

Steps to Reproduce:
1. Open Kontakt
2. Read a message


Actual Results:  
An error message occurs stating that Akondi Baloo agent has stopped, while I am still able to read my email.

Expected Results:  
The program will behave normally, without any crash reports.
Comment 1 Denis Kurz 2017-06-23 20:01:16 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks (5.x). Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the oportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 2 Denis Kurz 2018-02-01 09:55:33 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.