[Bug 250828] New: Double started Kontact crashes

Krisztian Mark Szentes mark at szentes.org
Fri Sep 10 21:38:48 BST 2010


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

           Summary: Double started Kontact crashes
           Product: kontact
           Version: 4.4.2
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: mark at szentes.org


Application: kontact (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
When Plasma-desktop crashes and restarts the KOrganizer widget which in turn,
starts a new instance of Kontact before the first instance fully started up,
Kontact crashes. It is seemingly a rare race conditions.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0xb1b9ab70 (LWP 1987)):
#0  0x00881f5b in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x01b4eba6 in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6
#2  0x02855b03 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x02855ee9 in ?? () from /lib/libglib-2.0.so.0
#4  0x028564b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0072d60f in QEventDispatcherGlib::processEvents (this=0xa336fd0,
flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00700059 in QEventLoop::processEvents (this=0xb1b9a270, flags=) at
kernel/qeventloop.cpp:149
#7  0x007004aa in QEventLoop::exec (this=0xb1b9a270, flags=...) at
kernel/qeventloop.cpp:201
#8  0x005fc5a8 in QThread::exec (this=0xaa0a7f8) at thread/qthread.cpp:487
#9  0x006dfc1b in QInotifyFileSystemWatcherEngine::run (this=0xaa0a7f8) at
io/qfilesystemwatcher_inotify.cpp:248
#10 0x005ff32e in QThreadPrivate::start (arg=0xaa0a7f8) at
thread/qthread_unix.cpp:248
#11 0x0087f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x01b41a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7704730 (LWP 1932)):
[KCrash Handler]
#6  0xb441d7a3 in KSharedPtr<KSharedConfig>::operator bool () at
/usr/include/ksharedptr.h:106
#7  KMKernel::config () at ../../kmail/kmkernel.cpp:2321
#8  0xb441ded2 in KMKernel::slotRunBackgroundTasks (this=0x9ee30e0) at
../../kmail/kmkernel.cpp:2380
#9  0xb4431173 in KMKernel::qt_metacall (this=0x9ee30e0,
_c=QMetaObject::InvokeMetaMethod, _id=44, _a=0xbfda6a9c) at ./kmkernel.moc:242
#10 0x00706c9a in QMetaObject::metacall (object=0x9ee30e0, cl=3218762396,
idx=48, argv=0xbfda6a9c) at kernel/qmetaobject.cpp:237
#11 0x007153d5 in QMetaObject::activate (sender=0xa28f938, m=0x8155a4,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#12 0x00766aa7 in QTimer::timeout (this=0xa28f938) at
.moc/release-shared/moc_qtimer.cpp:134
#13 0x0071d60e in QTimer::timerEvent (this=0xa28f938, e=0xbfda6fd0) at
kernel/qtimer.cpp:271
#14 0x00712254 in QObject::event (this=0xa28f938, e=0x9ee30e0) at
kernel/qobject.cpp:1212
#15 0x0112d4dc in QApplicationPrivate::notify_helper (this=0x9aa3960,
receiver=0xa28f938, e=0xbfda6fd0) at kernel/qapplication.cpp:4300
#16 0x0113405e in QApplication::notify (this=0xbfda7334, receiver=0xa28f938,
e=0xbfda6fd0) at kernel/qapplication.cpp:3704
#17 0x00e20f2a in KApplication::notify (this=0xbfda7334, receiver=0xa28f938,
event=0xbfda6fd0) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x00701a3b in QCoreApplication::notifyInternal (this=0xbfda7334,
receiver=0xa28f938, event=0xbfda6fd0) at kernel/qcoreapplication.cpp:704
#19 0x00730d66 in QCoreApplication::sendEvent (this=0x9ab443c) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QTimerInfoList::activateTimers (this=0x9ab443c) at
kernel/qeventdispatcher_unix.cpp:603
#21 0x0072d917 in timerSourceDispatch (source=0x9ab4470) at
kernel/qeventdispatcher_glib.cpp:184
#22 idleTimerSourceDispatch (source=0x9ab4470) at
kernel/qeventdispatcher_glib.cpp:231
#23 0x028525e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0x028562d8 in ?? () from /lib/libglib-2.0.so.0
#25 0x028564b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0x0072d5d5 in QEventDispatcherGlib::processEvents (this=0x9a7b070,
flags=...) at kernel/qeventdispatcher_glib.cpp:412
#27 0x011ed135 in QGuiEventDispatcherGlib::processEvents (this=0x9a7b070,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00700059 in QEventLoop::processEvents (this=0xbfda7294, flags=) at
kernel/qeventloop.cpp:149
#29 0x007004aa in QEventLoop::exec (this=0xbfda7294, flags=...) at
kernel/qeventloop.cpp:201
#30 0x0070469f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#31 0x0112d577 in QApplication::exec () at kernel/qapplication.cpp:3579
#32 0x0804b472 in main (argc=1, argv=0xbfda7554) at
../../../kontact/src/main.cpp:224

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