[kopete-bugs] [Bug 277301] New: Kopete freezes when it is started at same time as KMail
Frédéric COIFFIER
frederic.coiffier at free.fr
Thu Jul 7 16:05:04 CEST 2011
https://bugs.kde.org/show_bug.cgi?id=277301
Summary: Kopete freezes when it is started at same time as
KMail
Product: kopete
Version: SVN
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kopete-bugs at kde.org
ReportedBy: frederic.coiffier at free.fr
Version: SVN
OS: Linux
It seems there is a race condition when Kopete and KMail (or maybe
akonadiserver) are started at the same moment. It occurs when the KDE session
is restored after login.
In this case, Kopete icons in systray doesn't appear : only the process appears
in ps. At the same times, KMail is unable to refresh some folders.
Reproducible: Sometimes
Steps to Reproduce:
1. Configure KDE to restore last session with KMail and Kopete
2. Logout/login
3. When Kopete and KMail are launched, sometimes Kopete freezes
It occurs one out of 5-10 times.
If kopete process is killed, KMail is able to refresh its folders.
Actual Results:
The Kopete process remains blocked with this backtrace :
Thread 3 (Thread 0x7f2cd9b00700 (LWP 12457)):
#0 0x00007f2ce962ce83 in select () at ../sysdeps/unix/syscall-template.S:82
#1 0x00007f2ceac6d2bc in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2 0x00007f2ceab9f4b5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3 0x00007f2ce90dcc1a in start_thread (arg=<value optimized out>) at
pthread_create.c:301
#4 0x00007f2ce963367d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 2 (Thread 0x7f2cd038c700 (LWP 12565)):
#0 0x00007f2ce962a9b3 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007f2ce4469f89 in g_main_context_poll (context=0x18bf830, block=<value
optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at
gmain.c:3405
#2 g_main_context_iterate (context=0x18bf830, block=<value optimized out>,
dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:3087
#3 0x00007f2ce446a3dc in g_main_context_iteration (context=0x18bf830,
may_block=1) at gmain.c:3155
#4 0x00007f2ceacbcd73 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/qt4/libQtCore.so.4
#5 0x00007f2ceac8f9e2 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#6 0x00007f2ceac8fdc4 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#7 0x00007f2ceb1075a6 in KJob::exec (this=0x1a0ceb0) at
/var/tmp/portage/kde-base/kdelibs-4.7.49.9999/work/kdelibs-4.7.49.9999/kdecore/jobs/kjob.cpp:204
#8 0x00007f2cda1a1e7d in ConcurrentJobBase::JobRunner::run (this=0x1901d50) at
/var/tmp/portage/kde-base/kdepim-runtime-4.7.49.9999/work/kdepim-runtime-4.7.49.9999/kresources/shared/concurrentjobs.cpp:47
#9 0x00007f2ceab9f4b5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f2ce90dcc1a in start_thread (arg=<value optimized out>) at
pthread_create.c:301
#11 0x00007f2ce963367d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Thread 1 (Thread 0x7f2ced333760 (LWP 12277)):
#0 pthread_cond_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007f2ceaba007b in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/qt4/libQtCore.so.4
#2 0x00007f2cda1acaed in exec (this=0xfc1670) at
/var/tmp/portage/kde-base/kdepim-runtime-4.7.49.9999/work/kdepim-runtime-4.7.49.9999/kresources/shared/concurrentjobs.h:95
#3 ResourcePrivateBase::doSave (this=0xfc1670) at
/var/tmp/portage/kde-base/kdepim-runtime-4.7.49.9999/work/kdepim-runtime-4.7.49.9999/kresources/shared/resourceprivatebase.cpp:168
#4 0x00007f2cda18e4c1 in KABC::ResourceAkonadi::save (this=0xf83120,
ticket=<value optimized out>) at
/var/tmp/portage/kde-base/kdepim-runtime-4.7.49.9999/work/kdepim-runtime-4.7.49.9999/kresources/kabc/resourceakonadi.cpp:108
#5 0x00007f2ce82e6ac6 in KABC::AddressBook::save (this=<value optimized out>,
ticket=0x18d2780) at
/var/tmp/portage/kde-base/kdepimlibs-4.7.49.9999/work/kdepimlibs-4.7.49.9999/kabc/addressbook.cpp:390
#6 0x00007f2cec9a5b77 in Kopete::KABCPersistence::slotWriteAddressBook
(this=0x7f2cecc5bd50) at
/var/tmp/portage/kde-base/kopete-4.7.49.9999/work/kopete-4.7.49.9999/kopete/libkopete/kabcpersistence.cpp:201
---Type <return> to continue, or q <return> to quit---
#7 0x00007f2cec9a5f60 in Kopete::KABCPersistence::qt_metacall
(this=0x7f2cecc5bd50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized
out>, _a=<value optimized out>)
at
/var/tmp/portage/kde-base/kopete-4.7.49.9999/work/kopete-4.7.49.9999_build/kopete/libkopete/kabcpersistence.moc:73
#8 0x00007f2ceaca896f in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#9 0x00007f2ceacadb3f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f2ceaca2739 in QObject::event(QEvent*) () from
/usr/lib64/qt4/libQtCore.so.4
#11 0x00007f2ce9dbc8cc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/qt4/libQtGui.so.4
#12 0x00007f2ce9dc1d6d in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/qt4/libQtGui.so.4
#13 0x00007f2ceb73f896 in KApplication::notify (this=0x7fff073808f0,
receiver=0x13d4cc0, event=0x7fff07380590) at
/var/tmp/portage/kde-base/kdelibs-4.7.49.9999/work/kdelibs-4.7.49.9999/kdeui/kernel/kapplication.cpp:311
#14 0x00007f2ceac90c8b in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f2ceacc01aa in ?? () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f2ceacbd084 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007f2ce4465b91 in g_main_dispatch (context=0xe47ce0) at gmain.c:2441
#18 g_main_context_dispatch (context=0xe47ce0) at gmain.c:3014
#19 0x00007f2ce446a228 in g_main_context_iterate (context=0xe47ce0,
block=<value optimized out>, dispatch=<value optimized out>, self=<value
optimized out>) at gmain.c:3092
#20 0x00007f2ce446a3dc in g_main_context_iteration (context=0xe47ce0,
may_block=1) at gmain.c:3155
#21 0x00007f2ceacbcd73 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007f2ce9e6ecbe in ?? () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007f2ceac8f9e2 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#24 0x00007f2ceac8fdc4 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#25 0x00007f2ceac93e3b in QCoreApplication::exec() () from
/usr/lib64/qt4/libQtCore.so.4
#26 0x00000000004162a2 in main (argc=<value optimized out>, argv=<value
optimized out>) at
/var/tmp/portage/kde-base/kopete-4.7.49.9999/work/kopete-4.7.49.9999/kopete/kopete/main.cpp:105
Expected Results:
Kopete should start normally at the same time as KMail.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the kopete-bugs
mailing list