Many times, Akonadi crash with this error in terminal : " ASSERT failure in QueryBuilder::buildWhereCondition(): "No values given for IN condition.", file ../../server/src/storage/querybuilder.cpp, line 354" I don't know what I can add for this bug. Reproducible: Sometimes Steps to Reproduce: Sorry, I don't know where this error appear ... This error appear when I browse folder in kmail (last time) but appear sometime (Akonadi is launched again after bug)
Could you also provide the full backtrace of the crash ?
This bug is totaly random. I must try send a log at the next bug (if I can take a "backtrace" at the good time)
Well, I only can get this on akonadiserver process : (gdb) run Starting program: /usr/bin/akonadiserver warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still in use, all queries will cease to work. QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still in use, all queries will cease to work. [New Thread 0x7ffff1e5b700 (LWP 10899)] [New Thread 0x7ffff165a700 (LWP 10900)] [New Thread 0x7ffff0e59700 (LWP 10901)] [New Thread 0x7fffe3fff700 (LWP 10902)] Nepomuk Query Server not available Unable to connect to dbus service: "" Program received signal SIGABRT, Aborted. 0x00007ffff5eb3037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type. (gdb) bt #0 0x00007ffff5eb3037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007ffff5eb6698 in __GI_abort () at abort.c:90 #2 0x00007ffff79745c2 in qt_message_output(QtMsgType, char const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x000000000041a9db in ?? () #4 0x00007ffff7a0e9f4 in QIODevice::write(char const*, long long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007ffff7a1962f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007ffff7a21bcb in QTextStream::~QTextStream() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #7 0x00000000004134bf in _start () (gdb)
Thank you for your report. This issue has already been fixed in stable branch and the fix will be available in next stable release. commit d76aeb18fbc346e89481ce9b3157b4518e8485f7 Author: Volker Krause <vkrause@kde.org> Date: Wed Jul 31 17:14:10 2013 +0200 Don't crash the server if all items already have the desired flags. This case subsequently hits an assert in the query builder for an empty IN condition. http://commits.kde.org/akonadi/d76aeb18fbc346e89481ce9b3157b4518e8485f7
So, I forget to add, I use KDE 4.11.1, but this version is not in list