[Bug 276095] New: Possible race condition

R Muench r.muench at gmx.de
Sun Jun 19 23:44:58 BST 2011


https://bugs.kde.org/show_bug.cgi?id=276095

           Summary: Possible race condition
           Product: kontact
           Version: 4.4.10
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: r.muench at gmx.de


Application: kontact (4.4.10)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I am using kdewallet for passwaord managment.
when starting kontact the first time after restart, the kdewallet opens but the
password check does not work (kontact finishes the passwort read fom kdewallet
before kdewallet is open) 
To avoid misconfiguration (deactivation of kdewallet) I 've killed kontact

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb8cf69f7a0 (LWP 2096))]

Thread 3 (Thread 0x7fb8ba2d8700 (LWP 2097)):
#0  0x00007fb8ccaf7f03 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb8c6525104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb8c65259f2 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb8baa1cc44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fb8c654c3e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb8c69f0d8c in start_thread (arg=0x7fb8ba2d8700) at
pthread_create.c:304
#6  0x00007fb8ccb0504d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb89fa4f700 (LWP 2144)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fb8cd12d79e in wait (this=<value optimized out>, mutex=0x16cc9e0,
time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x16cc9e0,
time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb8cd122218 in QThreadPoolThread::run (this=0xd83210) at
concurrent/qthreadpool.cpp:140
#4  0x00007fb8cd12d175 in QThreadPrivate::start (arg=0xd83210) at
thread/qthread_unix.cpp:320
#5  0x00007fb8c69f0d8c in start_thread (arg=0x7fb89fa4f700) at
pthread_create.c:304
#6  0x00007fb8ccb0504d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb8cf69f7a0 (LWP 2096)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007fb8a43d32cb in KMAccount::checkDone (this=0x10d1640, newmail=false,
status=KMAccount::CheckAborted) at ../../kmail/kmaccount.cpp:504
#8  0x00007fb8a450afce in KMail::PopAccount::processNewMail (this=0x10d1640,
_interactive=true) at ../../kmail/popaccount.cpp:154
#9  0x00007fb8a44509c4 in KMail::AccountManager::processNextCheck
(this=0xfc6910, _newMail=<value optimized out>) at
../../kmail/accountmanager.cpp:231
#10 0x00007fb8a445130a in KMail::AccountManager::singleCheckMail
(this=0xfc6910, account=0x10d1640, interactive=<value optimized out>) at
../../kmail/accountmanager.cpp:157
#11 0x00007fb8a44526a2 in KMail::AccountManager::checkMail (this=0xfc6910,
_interactive=true) at ../../kmail/accountmanager.cpp:353
#12 0x00007fb8a45ed1d2 in KMMainWidget::qt_metacall (this=0x10ea5a0,
_c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x119ee30) at
./kmmainwidget.moc:363
#13 0x00007fb8cd22849a in QObject::event (this=0x10ea5a0, e=<value optimized
out>) at kernel/qobject.cpp:1226
#14 0x00007fb8cdc2466d in QWidget::event (this=0x10ea5a0, event=0x122fce0) at
kernel/qwidget.cpp:8718
#15 0x00007fb8cdbd39e4 in QApplicationPrivate::notify_helper (this=0x9bb9c0,
receiver=0x10ea5a0, e=0x122fce0) at kernel/qapplication.cpp:4462
#16 0x00007fb8cdbd83aa in QApplication::notify (this=<value optimized out>,
receiver=0x10ea5a0, e=0x122fce0) at kernel/qapplication.cpp:4341
#17 0x00007fb8ce8f2866 in KApplication::notify (this=0x7fffeac9f4d0,
receiver=0x10ea5a0, event=0x122fce0) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007fb8cd21449c in QCoreApplication::notifyInternal
(this=0x7fffeac9f4d0, receiver=0x10ea5a0, event=0x122fce0) at
kernel/qcoreapplication.cpp:731
#19 0x00007fb8cd217c25 in sendEvent (receiver=0x0, event_type=0, data=0x961b90)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x961b90) at kernel/qcoreapplication.cpp:1372
#21 0x00007fb8cd23f253 in sendPostedEvents (s=0x9c1260) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#22 postEventSourceDispatch (s=0x9c1260) at
kernel/qeventdispatcher_glib.cpp:277
#23 0x00007fb8c6524bcd in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fb8c65253a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fb8c6525639 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fb8cd23f3ef in QEventDispatcherGlib::processEvents (this=0x961370,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#27 0x00007fb8cdc7adfe in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007fb8cd213882 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007fb8cd213abc in QEventLoop::exec (this=0x7fffeac9f460, flags=...) at
kernel/qeventloop.cpp:201
#30 0x00007fb8cd217ecb in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1008
#31 0x0000000000403f70 in main (argc=1, argv=<value optimized out>) at
../../../kontact/src/main.cpp:226

Possible duplicates by query: bug 253917, bug 252541.

Reported using DrKonqi

-- 
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 Kdepim-bugs mailing list