<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>228135</bug_id>
          
          <creation_ts>2010-02-23 02:25:25 +0000</creation_ts>
          <short_desc>Kontact starts twice and crashes when the first is closed</short_desc>
          <delta_ts>2010-03-27 09:57:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kontact</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>185544</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>mjjeff</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>922806</commentid>
    <comment_count>0</comment_count>
    <who name="">mjjeff</who>
    <bug_when>2010-02-23 02:25:25 +0000</bug_when>
    <thetext>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 &quot;No&quot; closes both. Clicking &quot;Yes&quot; opens both, named &quot;Kontact&quot; and something like &quot;Kontact &lt;2&gt;&quot;, each with an icon in the tray. Closing &quot;Kontact&quot; crashes kontact and closes both windows. Closing &quot;Kontact &lt;2&gt;&quot; first did not crash them until I closed &quot;Kontact&quot; (I only did this once).

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

I&apos;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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, _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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#25 0x00007fd36631530e in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007fd366ea8522 in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#27 0x00007fd366ea88fc in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#28 0x00007fd366eac63b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#29 0x0000000000403e67 in main (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>940861</commentid>
    <comment_count>1</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2010-03-27 09:57:45 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 185544 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>