Bug 228135 - Kontact starts twice and crashes when the first is closed
Summary: Kontact starts twice and crashes when the first is closed
Status: RESOLVED DUPLICATE of bug 185544
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-23 02:25 UTC by mjjeff
Modified: 2010-03-27 09:57 UTC (History)
0 users

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 mjjeff 2010-02-23 02:25:25 UTC
Application: kontact (4.4)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
During login, kontact is started twice and a dialog is presented saying that Kontact is already running and running a second instance could be dangerous. Clicking "No" closes both. Clicking "Yes" opens both, named "Kontact" and something like "Kontact <2>", each with an icon in the tray. Closing "Kontact" crashes kontact and closes both windows. Closing "Kontact <2>" first did not crash them until I closed "Kontact" (I only did this once).

According to pstree, all kontact instances are children of a single parent kontact process.

I'm using Arch Linux with kdemod.

This does not happen on my other accounts on this machine or on my machine at work also running up-to-date arch linux with kdemod.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7fd348bfb710 (LWP 2434)):
#0  0x00007fd3617f53e9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd366db64e2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fd366dab9b9 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fd366db55b5 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd3617f081a in start_thread () from /lib/libpthread.so.0
#5  0x00007fd365b10c7d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd343fff710 (LWP 2435)):
#0  0x00007fd3617f53e9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd366db64e2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fd366dab9b9 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fd366db55b5 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd3617f081a in start_thread () from /lib/libpthread.so.0
#5  0x00007fd365b10c7d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd3689fe760 (LWP 2283)):
[KCrash Handler]
#5  0x00007fd34fb30ab3 in KMFolder::noContent (this=<value optimized out>) at /home/phil/kdemod/testing/kdepim/src/kdepim-4.4.0/kmail/kmfolder.cpp:359
#6  0x00007fd34fae9f67 in KMail::FolderViewItem::updateCounts (this=0x2124710) at /home/phil/kdemod/testing/kdepim/src/kdepim-4.4.0/kmail/folderview.cpp:2848
#7  0x00007fd34faea3ee in KMail::FolderView::updateCountsForChildren (this=0x25f4ed0, it=0x3234020, tStart=...) at /home/phil/kdemod/testing/kdepim/src/kdepim-4.4.0/kmail/folderview.cpp:871
#8  0x00007fd34faea3ac in KMail::FolderView::updateCountsForChildren (this=0x25f4ed0, it=0x212e0a0, tStart=...) at /home/phil/kdemod/testing/kdepim/src/kdepim-4.4.0/kmail/folderview.cpp:843
#9  0x00007fd34faea3ac in KMail::FolderView::updateCountsForChildren (this=0x25f4ed0, it=0x25fc3a0, tStart=...) at /home/phil/kdemod/testing/kdepim/src/kdepim-4.4.0/kmail/folderview.cpp:843
#10 0x00007fd34faea48f in KMail::FolderView::slotUpdateCounts (this=0x25f4ed0) at /home/phil/kdemod/testing/kdepim/src/kdepim-4.4.0/kmail/folderview.cpp:904
#11 0x00007fd34faead14 in KMail::FolderView::qt_metacall (this=0x25f4ed0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff23f2b400)
    at /home/phil/kdemod/testing/kdepim/src/kdepim-4.4.0/kmail/folderview.moc:223
#12 0x00007fd34faef090 in KMail::MainFolderView::qt_metacall (this=0x2978350, _c=QMetaObject::QueryPropertyStored, _id=52755200, _a=0x6)
    at /home/phil/kdemod/testing/kdepim/src/kdepim-4.4.0/kmail/mainfolderview.moc:70
#13 0x00007fd366ebc95f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#14 0x00007fd366eb95b3 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007fd36626695c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007fd36626cf4b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007fd367891d36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#18 0x00007fd366ea9bfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x00007fd366ed68a2 in ?? () from /usr/lib/libQtCore.so.4
#20 0x00007fd366ed33a4 in ?? () from /usr/lib/libQtCore.so.4
#21 0x00007fd35e67526e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x00007fd35e678c28 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#23 0x00007fd35e678d50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0x00007fd366ed3093 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0x00007fd36631530e in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007fd366ea8522 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007fd366ea88fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007fd366eac63b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#29 0x0000000000403e67 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/phil/kdemod/testing/kdepim/src/kdepim-4.4.0/kontact/src/main.cpp:221

This bug may be a duplicate of or related to bug 185544.

Possible duplicates by query: bug 211338, bug 203646, bug 198791.

Reported using DrKonqi
Comment 1 Christophe Marin 2010-03-27 09:57:45 UTC

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