Bug 325024 - Akonadi crash for unknown raison (file ../../server/src/storage/querybuilder.cpp, line 354")
Summary: Akonadi crash for unknown raison (file ../../server/src/storage/querybuilder....
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: 4.11
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-17 23:40 UTC by Aristide
Modified: 2013-09-18 10:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.10.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aristide 2013-09-17 23:40:42 UTC
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)
Comment 1 Jekyll Wu 2013-09-18 00:42:11 UTC
Could you also provide the full backtrace of the crash ?
Comment 2 Aristide 2013-09-18 01:17:03 UTC
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)
Comment 3 Aristide 2013-09-18 01:45:45 UTC
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)
Comment 4 Daniel Vrátil 2013-09-18 07:51:24 UTC
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
Comment 5 Aristide 2013-09-18 10:21:44 UTC
So, I forget to add, I use KDE 4.11.1, but this version is not in list