<?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>315113</bug_id>
          
          <creation_ts>2013-02-14 06:56:43 +0000</creation_ts>
          <short_desc>Kontact crashed after activating via shortcut</short_desc>
          <delta_ts>2013-03-06 21:38:14 +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>4.10</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>309981</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 name="Lukáš Karas">lukas.karas</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>1341588</commentid>
    <comment_count>0</comment_count>
    <who name="Lukáš Karas">lukas.karas</who>
    <bug_when>2013-02-14 06:56:43 +0000</bug_when>
    <thetext>Application: kontact (4.10)
KDE Platform Version: 4.10.00
Qt Version: 4.8.3
Operating System: Linux 3.8.0-rc7 x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:

Kontact was opened already, but hidden in plasma tray bar. When I want activate it via global shortcut (&quot;email&quot; key on keyboard) it crashed. It happen sometimes, but not every time. It occurs sometimes when I want activate minimized Kontact window same way.

Kontact (4.10) is installed from Kubuntu bacports ppa.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f686f6927c0 (LWP 7459))]

Thread 3 (Thread 0x7f68531e2700 (LWP 7497)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f686bf13b2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f686bf13c39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f686704be9a in start_thread (arg=0x7f68531e2700) at pthread_create.c:308
#4  0x00007f686cc3ecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f68528c9700 (LWP 7498)):
#0  0x00007f686cc33303 in __GI___poll (fds=&lt;optimized out&gt;, nfds=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6866784d84 in g_main_context_poll (n_fds=1, fds=0x7f684c0029c0, timeout=791, context=0x7f684c0009a0, priority=&lt;optimized out&gt;) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7f684c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3285
#3  0x00007f6866784ea4 in g_main_context_iteration (context=0x7f684c0009a0, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#4  0x00007f686e05fc16 in QEventDispatcherGlib::processEvents (this=0x7f684c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f686e0302bf in QEventLoop::processEvents (this=this@entry=0x7f68528c8dc0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f686e030548 in QEventLoop::exec (this=0x7f68528c8dc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f686df31b10 in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:501
#8  0x00007f686df34aec in QThreadPrivate::start (arg=0x20d0b50) at thread/qthread_unix.cpp:338
#9  0x00007f686704be9a in start_thread (arg=0x7f68528c9700) at pthread_create.c:308
#10 0x00007f686cc3ecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f686f6927c0 (LWP 7459)):
[KCrash Handler]
#6  0x00007f686cb81425 in __GI_raise (sig=&lt;optimized out&gt;) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f686cb84b8b in __GI_abort () at abort.c:91
#8  0x00007f686df2a4c2 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x663c2f8 &quot;Fatal Error: Accessed global static &apos;KernelPrivate *sInstance()&apos; after destruction. Defined at ../../mailcommon/mailkernel.cpp:55&quot;) at global/qglobal.cpp:2290
#9  0x00007f686df2a838 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7f6809836a08 &quot;Fatal Error: Accessed global static &apos;%s *%s()&apos; after destruction. Defined at %s:%d&quot;, ap=ap@entry=0x7fff01e61ef8) at global/qglobal.cpp:2336
#10 0x00007f686df2a9c4 in qFatal (msg=&lt;optimized out&gt;) at global/qglobal.cpp:2519
#11 0x00007f68097e7c57 in operator-&gt; (this=&lt;optimized out&gt;) at ../../mailcommon/mailkernel.cpp:55
#12 MailCommon::Kernel::self () at ../../mailcommon/mailkernel.cpp:71
#13 0x00007f68097db7a9 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x26c6e00) at ../../mailcommon/foldercollection.cpp:209
#14 0x00007f68097dc27a in MailCommon::FolderCollection::~FolderCollection (this=0x26c6e00, __in_chrg=&lt;optimized out&gt;) at ../../mailcommon/foldercollection.cpp:84
#15 0x00007f68097dc2f9 in MailCommon::FolderCollection::~FolderCollection (this=0x26c6e00, __in_chrg=&lt;optimized out&gt;) at ../../mailcommon/foldercollection.cpp:86
#16 0x00007f68097da014 in deref (value=0x26c6e00, d=0x26c6a50) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:342
#17 deref (this=&lt;optimized out&gt;) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:336
#18 ~ExternalRefCount (this=&lt;optimized out&gt;, __in_chrg=&lt;optimized out&gt;) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:401
#19 ~QSharedPointer (this=&lt;optimized out&gt;, __in_chrg=&lt;optimized out&gt;) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:466
#20 QMap&lt;long long, QSharedPointer&lt;MailCommon::FolderCollection&gt; &gt;::freeData (x=0x3b0a310, this=&lt;optimized out&gt;) at /usr/include/qt4/QtCore/qmap.h:652
#21 0x00007f686cb86901 in __run_exit_handlers (status=255, listp=0x7f686cf036a8 &lt;__exit_funcs&gt;, run_list_atexit=true) at exit.c:78
#22 0x00007f686cb86985 in __GI_exit (status=&lt;optimized out&gt;) at exit.c:100
#23 0x00007f686e4bd5e2 in KCmdLineArgs::isSet (this=0x5b7a8a0, _opt=...) at ../../kdecore/kernel/kcmdlineargs.cpp:1520
#24 0x0000000000403d17 in KontactApp::newInstance (this=0x7fff01e63510) at ../../../kontact/src/main.cpp:130
#25 0x00007f686ea758e2 in KUniqueApplicationAdaptor::newInstance (this=0x203f540, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#26 0x00007f686ea75964 in qt_static_metacall (_a=0x7fff01e62750, _id=&lt;optimized out&gt;, _o=&lt;optimized out&gt;, _c=&lt;optimized out&gt;) at ./kuniqueapplication_p.moc:58
#27 KUniqueApplicationAdaptor::qt_static_metacall (_o=&lt;optimized out&gt;, _c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _a=0x7fff01e62750) at ./kuniqueapplication_p.moc:52
#28 0x00007f686ea75a9b in KUniqueApplicationAdaptor::qt_metacall (this=0x203f540, _c=QMetaObject::InvokeMetaMethod, _id=&lt;optimized out&gt;, _a=0x7fff01e62750) at ./kuniqueapplication_p.moc:102
#29 0x00007f6869d9eed3 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x1e145a0, object=object@entry=0x203f540, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:947
#30 0x00007f6869d9ffd5 in QDBusConnectionPrivate::activateCall (this=this@entry=0x1e145a0, object=0x203f540, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:857
#31 0x00007f6869da094f in QDBusConnectionPrivate::activateObject (this=0x1e145a0, node=..., msg=..., pathStartPos=&lt;optimized out&gt;) at qdbusintegrator.cpp:1423
#32 0x00007f6869da0a2b in QDBusActivateObjectEvent::placeMetaCall (this=0x95bf6d0) at qdbusintegrator.cpp:1537
#33 0x00007f686e04643e in QObject::event (this=0x7fff01e63510, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1195
#34 0x00007f686d3daf94 in QApplication::event (this=0x7fff01e63510, e=0x95bf6d0) at kernel/qapplication.cpp:2544
#35 0x00007f686d3d8e9c in QApplicationPrivate::notify_helper (this=this@entry=0x1e2f6c0, receiver=receiver@entry=0x7fff01e63510, e=e@entry=0x95bf6d0) at kernel/qapplication.cpp:4562
#36 0x00007f686d3dd30a in QApplication::notify (this=0x7fff01e63510, receiver=0x7fff01e63510, e=0x95bf6d0) at kernel/qapplication.cpp:4423
#37 0x00007f686ea6f636 in KApplication::notify (this=0x7fff01e63510, receiver=0x7fff01e63510, event=0x95bf6d0) at ../../kdeui/kernel/kapplication.cpp:311
#38 0x00007f686e03156e in QCoreApplication::notifyInternal (this=0x7fff01e63510, receiver=receiver@entry=0x7fff01e63510, event=event@entry=0x95bf6d0) at kernel/qcoreapplication.cpp:915
#39 0x00007f686e0353f1 in sendEvent (event=0x95bf6d0, receiver=0x7fff01e63510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1df26a0) at kernel/qcoreapplication.cpp:1539
#41 0x00007f686e05fa63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#42 postEventSourceDispatch (s=s@entry=0x1e30d00) at kernel/qeventdispatcher_glib.cpp:279
#43 0x00007f6866784ab5 in g_main_dispatch (context=0x1e2de00) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:2715
#44 g_main_context_dispatch (context=context@entry=0x1e2de00) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3219
#45 0x00007f6866784de8 in g_main_context_iterate (context=context@entry=0x1e2de00, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3290
#46 0x00007f6866784ea4 in g_main_context_iteration (context=0x1e2de00, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#47 0x00007f686e05fbf6 in QEventDispatcherGlib::processEvents (this=0x1df3b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#48 0x00007f686d47dc1e in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007f686e0302bf in QEventLoop::processEvents (this=this@entry=0x7fff01e63380, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007f686e030548 in QEventLoop::exec (this=0x7fff01e63380, flags=...) at kernel/qeventloop.cpp:204
#51 0x00007f686e035708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#52 0x0000000000403339 in main (argc=3, argv=0x7fff01e63658) at ../../../kontact/src/main.cpp:219

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1348454</commentid>
    <comment_count>1</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2013-03-06 21:38:14 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>