Bug 274760 - akonadi crashes when its stopped and when akonadi is running the logout of kde takes ~5-10 seconds longer then without a running akonadi
Summary: akonadi crashes when its stopped and when akonadi is running the logout of kd...
Status: RESOLVED DUPLICATE of bug 261788
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-02 15:58 UTC by Jim Jones
Modified: 2012-05-30 12:19 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Jones 2011-06-02 15:58:49 UTC
Version:           unspecified (using Devel) 
OS:                Linux

when akonadi is running the logout of kde takes ~5-10 seconds longer then without a running akonadi, i also added a "akonadictl stop" line to the logout script but this doesnt decrease the logout time

but ending kde with 
akonadictl stop
qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout 0 0 0

stopps kde instantly . also doing a "akonadictl stop" in konsole window and then doing a normal logout, works like a charm.

there maybe akonadi should be stopped by deafault befor other kde processes go down ...

Reproducible: Always
Comment 1 Jim Jones 2011-06-02 19:04:25 UTC
dmesg has lines like this when akonadictl stop is called

akonadi_agent_l[2342]: segfault at 7f6d791bcdd0 ip 00007f6d847f8a08 sp 00007fffa6cda3c8 error 4 in libQtGui.so.4.7.3[7f6d843f9000+a65000]
Comment 2 Jim Jones 2011-06-02 20:39:24 UTC
here is the backtrace

Program received signal SIGSEGV, Segmentation fault.
0x00007f141b5cea08 in QThreadStorage<QFontCache*>::deleteData (x=0xd2b850)
    at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:133
133     ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h: No such file or directory.
        in ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h
(gdb) backtrace
#0  0x00007f141b5cea08 in QThreadStorage<QFontCache*>::deleteData (x=0xd2b850)
    at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:133
#1  0x00007f141adadb0c in QThreadStorageData::set (this=<value optimized out>, p=0x0)
    at thread/qthreadstorage.cpp:165
#2  0x00007f141b413a05 in qt_cleanup () at kernel/qapplication_x11.cpp:2647
#3  0x00007f141b39c452 in QApplication::~QApplication (this=0x7fff82dbb270, 
    __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1172
#4  0x000000000040df1f in main (argc=3, argv=<value optimized out>)
    at /tmp/tmerge/portage/app-office/akonadi-server-1.5.80/work/akonadi-1.5.80/agentserver/agentlauncher.cpp:59
Comment 3 Antonis K 2011-06-20 12:49:38 UTC
This is a duplicate of https://bugs.kde.org/show_bug.cgi?id=261788
Comment 4 Jekyll Wu 2012-05-30 12:19:42 UTC

*** This bug has been marked as a duplicate of bug 261788 ***