Bug 335435 - KMail System crash nach Eingabe Empfängerzeile
Summary: KMail System crash nach Eingabe Empfängerzeile
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Indexer (show other bugs)
Version: 4.13
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-27 19:24 UTC by klaus.roehrich
Modified: 2020-08-18 09:46 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description klaus.roehrich 2014-05-27 19:24:11 UTC
Application: kmail (4.13.1)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.14.4-1-ARCH i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
Beim Versuch eine Empfängerzeile einzutippen stürzt kmail nach Eingabe des ersten Buchstabens ab, ein Kopieren der Empfängerzeile mir strg-v führt nicht zum Absturz

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Illegal instruction
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xafba09c0 (LWP 1833))]

Thread 4 (Thread 0xac756b40 (LWP 1848)):
#0  0xb777f424 in __kernel_vsyscall ()
#1  0xb571177b in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0xb5d11816 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libc.so.6
#3  0xb2fad38c in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb2fad3df in ?? () from /usr/lib/libQtWebKit.so.4
#5  0xb570d096 in start_thread () from /usr/lib/libpthread.so.0
#6  0xb5d04a3e in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0xabd9eb40 (LWP 1849)):
#0  0xb777f424 in __kernel_vsyscall ()
#1  0xb571177b in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#2  0xb5d11816 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libc.so.6
#3  0xb2fdbe73 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/libQtWebKit.so.4
#4  0xb2cc3164 in ?? () from /usr/lib/libQtWebKit.so.4
#5  0xb2fc2cc6 in ?? () from /usr/lib/libQtWebKit.so.4
#6  0xb2fdb7e9 in ?? () from /usr/lib/libQtWebKit.so.4
#7  0xb570d096 in start_thread () from /usr/lib/libpthread.so.0
#8  0xb5d04a3e in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0xaaf55b40 (LWP 1850)):
#0  0xb570f720 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
#1  0xb5d11a02 in pthread_mutex_lock () from /usr/lib/libc.so.6
#2  0xb3fa6e60 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#3  0xb3f6172d in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#4  0xb3f6204f in ?? () from /usr/lib/libglib-2.0.so.0
#5  0xb3f62298 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#6  0xb60954ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb60648a3 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb6064bc9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb5f50e2d in QThread::exec() () from /usr/lib/libQtCore.so.4
#10 0xb5f50f7b in QThread::run() () from /usr/lib/libQtCore.so.4
#11 0xb5f5375f in ?? () from /usr/lib/libQtCore.so.4
#12 0xb570d096 in start_thread () from /usr/lib/libpthread.so.0
#13 0xb5d04a3e in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0xafba09c0 (LWP 1833)):
[KCrash Handler]
#6  0xb0ee4eee in Xapian::Enquire::Internal::Internal(Xapian::Database const&, Xapian::ErrorHandler*) () from /usr/lib/libxapian.so.22
#7  0xb0ee50e7 in Xapian::Enquire::Enquire(Xapian::Database const&, Xapian::ErrorHandler*) () from /usr/lib/libxapian.so.22
#8  0xb39aa67b in Baloo::PIM::ContactCompleter::complete() () from /usr/lib/libbaloopim.so.4
#9  0xb4538e7d in KPIM::AddresseeLineEdit::Private::searchInBaloo() () from /usr/lib/libkdepim.so.4
#10 0xb45394ba in KPIM::AddresseeLineEdit::Private::startSearches() () from /usr/lib/libkdepim.so.4
#11 0xb4539540 in KPIM::AddresseeLineEdit::Private::slotCompletion() () from /usr/lib/libkdepim.so.4
#12 0xb453a6cb in ?? () from /usr/lib/libkdepim.so.4
#13 0xb607abf7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#14 0xb74d62f1 in KLineEdit::completion(QString const&) () from /usr/lib/libkdeui.so.5
#15 0xb74d637d in KLineEdit::doCompletion(QString const&) () from /usr/lib/libkdeui.so.5
#16 0xb74dafc1 in KLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib/libkdeui.so.5
#17 0xb453ad52 in KPIM::AddresseeLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib/libkdepim.so.4
#18 0xb4e7a73c in MessageComposer::ComposerLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib/libmessagecomposer.so.4
#19 0xb4e7de95 in ?? () from /usr/lib/libmessagecomposer.so.4
#20 0xb6366c12 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb677b39a in QLineEdit::event(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb74db65a in KLineEdit::event(QEvent*) () from /usr/lib/libkdeui.so.5
#23 0xb630d3d4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0xb63156ac in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0xb740cacc in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0xb6065eca in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#27 0xb630bacd in ?? () from /usr/lib/libQtGui.so.4
#28 0xb63ba0a9 in ?? () from /usr/lib/libQtGui.so.4
#29 0xb63ba498 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb6392955 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#31 0xb63bcda4 in ?? () from /usr/lib/libQtGui.so.4
#32 0xb3f61f53 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb3f621d8 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0xb3f62298 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0xb60954cf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0xb63bce5e in ?? () from /usr/lib/libQtGui.so.4
#37 0xb60648a3 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0xb6064bc9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0xb606a4de in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#40 0xb630b874 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#41 0x0804a38b in ?? ()
#42 0xb5c31e2e in __libc_start_main () from /usr/lib/libc.so.6
#43 0x0804a92c in _start ()

Reported using DrKonqi
Comment 1 Laurent Montel 2014-05-28 09:09:42 UTC
In baloo it's ok for me.
Perhaps a bug in xapian
Comment 2 Laurent Montel 2014-07-09 10:20:06 UTC
Please verify with baloo-4.13.3 (will release next week)
I cautch more exception
Comment 3 Thomas Fischer 2016-02-12 13:13:09 UTC
I may have encountered the same bug. My backtrace is slightly more informative:

Thread 1 (Thread 0x7f519cca1840 (LWP 6478)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f51a20f1351 in ?? () from /usr/lib64/libxapian-1.3.so.4
#8  0x00007f51a1ffce91 in Xapian::Query::Internal::postlist_sub_or_like(Xapian::Internal::OrContext&, QueryOptimiser*, double) const () from /usr/lib64/libxapian-1.3.so.4
#9  0x00007f51a1ffe603 in ?? () from /usr/lib64/libxapian-1.3.so.4
#10 0x00007f51a1ffe603 in ?? () from /usr/lib64/libxapian-1.3.so.4
#11 0x00007f51a1ffe963 in ?? () from /usr/lib64/libxapian-1.3.so.4
#12 0x00007f51a20f0495 in ?? () from /usr/lib64/libxapian-1.3.so.4
#13 0x00007f51a20f5e3e in ?? () from /usr/lib64/libxapian-1.3.so.4
#14 0x00007f51a1fedfde in Xapian::Enquire::Internal::get_mset(unsigned int, unsigned int, unsigned int, Xapian::RSet const*, Xapian::MatchDecider const*) const () from /usr/lib64/libxapian-1.3.so.4
#15 0x00007f51a1fee38c in Xapian::Enquire::get_mset(unsigned int, unsigned int, unsigned int, Xapian::RSet const*, Xapian::MatchDecider const*) const () from /usr/lib64/libxapian-1.3.so.4
#16 0x00007f51ae26f5ee in Akonadi::Search::PIM::ContactCompleter::complete (this=this@entry=0x7ffd728dbb90) at /var/tmp/portage/kde-apps/akonadi-search-15.12.1/work/akonadi-search-15.12.1/lib/contactcompleter.cpp:71
#17 0x00007f51b5d49260 in KPIM::AddresseeLineEditPrivate::searchInBaloo (this=this@entry=0x19840b0) at /var/tmp/portage/kde-apps/libkdepim-15.12.1/work/kdepim-15.12.1/libkdepim/src/addressline/addresslineedit/addresseelineedit_p.cpp:224
#18 0x00007f51b5d494f7 in KPIM::AddresseeLineEditPrivate::slotTriggerDelayedQueries (this=0x19840b0) at /var/tmp/portage/kde-apps/libkdepim-15.12.1/work/kdepim-15.12.1/libkdepim/src/addressline/addresslineedit/addresseelineedit_p.cpp:458
#19 0x00007f51b5d4b079 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KPIM::AddresseeLineEditPrivate::*)()>::call(void (KPIM::AddresseeLineEditPrivate::*)(), KPIM::AddresseeLineEditPrivate*, void**) (arg=<optimized out>, o=<optimized out>, f=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:501
#20 QtPrivate::FunctionPointer<void (KPIM::AddresseeLineEditPrivate::*)()>::call<QtPrivate::List<>, void> (arg=<optimized out>, o=<optimized out>, f=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:520
#21 QtPrivate::QSlotObject<void (KPIM::AddresseeLineEditPrivate::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobject_impl.h:143
#22 0x00007f51badfea53 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#23 0x00007f51bae0bcb8 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib64/libQt5Core.so.5
#24 0x00007f51bae00043 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#25 0x00007f51bbb0d69c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#26 0x00007f51bbb12b10 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#27 0x00007f51badd6d8d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#28 0x00007f51bae23d6d in QTimerInfoList::activateTimers() () from /usr/lib64/libQt5Core.so.5
#29 0x00007f51bae24279 in ?? () from /usr/lib64/libQt5Core.so.5
#30 0x00007f51af7f58fd in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f51af7f5be0 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f51af7f5c8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f51bae24787 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#34 0x00007f51badd59aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#35 0x00007f51baddcd8c in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#36 0x0000000000404579 in main (argc=1, argv=0x7ffd728dc548) at /var/tmp/portage/kde-apps/kdepim-15.12.1/work/kdepim-15.12.1/kmail/main.cpp:151


I am using Gentoo Linux with Akonadi 15.12.1 (compiled with debug settings). The used version of xapian is 1.3.3 (package revision r2 in Gentoo). I'll test version 1.3.4 to see if there is a difference.
I am reopening this bug report if that is ok for you ...
Comment 4 Ahmad Samir 2020-08-18 09:46:49 UTC
This could be a duplicate of bug 401865 or not... the point is the code has probably changed too much since 2016, if you can still reproduce the issue feel free to reopen this report.