<?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>327274</bug_id>
          
          <creation_ts>2013-11-07 13:04:58 +0000</creation_ts>
          <short_desc>Crash after restart of kmail after lock on reading new email from imap.</short_desc>
          <delta_ts>2013-11-07 14:15:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmail2</product>
          <component>general</component>
          <version>4.10.5</version>
          <rep_platform>Mageia RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>315568</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="trzeci">pawel.susicki</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>1409636</commentid>
    <comment_count>0</comment_count>
    <who name="trzeci">pawel.susicki</who>
    <bug_when>2013-11-07 13:04:58 +0000</bug_when>
    <thetext>Application: kmail (4.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.5
Operating System: Linux 3.8.13.4-server-1.mga3 x86_64
Distribution: &quot;Mageia 3&quot;

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

Exit from locked kmail.
Kmail locked on reading new email from imap.
Restarted kmail.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f223ea9e780 (LWP 19547))]

Thread 4 (Thread 0x7f2218eff700 (LWP 19563)):
#0  0x00007f2239e135c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f222f540f75 in ?? () from /lib64/libQtWebKit.so.4
#2  0x00007f222f540fc9 in ?? () from /lib64/libQtWebKit.so.4
#3  0x00007f2239e0fd18 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f223be0f7cd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f21d7947700 (LWP 19567)):
#0  0x00007f2239e135c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f222f283719 in ?? () from /lib64/libQtWebKit.so.4
#2  0x00007f222f56f49e in ?? () from /lib64/libQtWebKit.so.4
#3  0x00007f2239e0fd18 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f223be0f7cd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f21d6a4f700 (LWP 19579)):
#0  0x00007f2239e12a9f in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f223417ca01 in g_mutex_unlock () from /lib64/libglib-2.0.so.0
#2  0x00007f223413f999 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#3  0x00007f223413fac4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f223c79e9c6 in QEventDispatcherGlib::processEvents (this=0x7f21c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007f223c76f15f in QEventLoop::processEvents (this=this@entry=0x7f21d6a4ee00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f223c76f3e8 in QEventLoop::exec (this=0x7f21d6a4ee00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f223c670660 in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:536
#8  0x00007f223c67363c in QThreadPrivate::start (arg=0x177afe0) at thread/qthread_unix.cpp:338
#9  0x00007f2239e0fd18 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f223be0f7cd in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f223ea9e780 (LWP 19547)):
[KCrash Handler]
#6  KStatusNotifierItem::setStatus (this=0x1a45550, status=KStatusNotifierItem::Active) at /usr/src/debug/kdelibs-4.10.5/kdeui/notifications/kstatusnotifieritem.cpp:160
#7  0x00007f223d858f7d in KMail::KMSystemTray::setMode(int) () from /lib64/libkmailprivate.so.4
#8  0x00007f223d866c96 in KMKernel::toggleSystemTray() () from /lib64/libkmailprivate.so.4
#9  0x00007f223d8b89e7 in KMMainWidget::readConfig() () from /lib64/libkmailprivate.so.4
#10 0x00007f223d8b8ef0 in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, KSharedPtr&lt;KSharedConfig&gt;) () from /lib64/libkmailprivate.so.4
#11 0x00007f223d819b8b in KMMainWin::KMMainWin(QWidget*) () from /lib64/libkmailprivate.so.4
#12 0x00007f223d869aa7 in KMKernel::openReader(bool) () from /lib64/libkmailprivate.so.4
#13 0x00007f223d869ca0 in KMKernel::action(bool, bool, QString const&amp;, QString const&amp;, QString const&amp;, QString const&amp;, QString const&amp;, KUrl const&amp;, KUrl::List const&amp;, QStringList const&amp;) () from /lib64/libkmailprivate.so.4
#14 0x00007f223d86a5f5 in KMKernel::handleCommandLine(bool) () from /lib64/libkmailprivate.so.4
#15 0x0000000000403287 in KMailApplication::newInstance() ()
#16 0x00007f223e4e9a72 in KUniqueApplicationAdaptor::newInstance (this=0x12b3c40, asn_id=..., args=...) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kuniqueapplication.cpp:442
#17 0x00007f223e4e9af4 in qt_static_metacall (_a=0x7fff0d0a1980, _id=&lt;optimized out&gt;, _o=&lt;optimized out&gt;, _c=&lt;optimized out&gt;) at /usr/src/debug/kdelibs-4.10.5/build/kdeui/kuniqueapplication_p.moc:57
#18 KUniqueApplicationAdaptor::qt_static_metacall (_o=&lt;optimized out&gt;, _c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _a=0x7fff0d0a1980) at /usr/src/debug/kdelibs-4.10.5/build/kdeui/kuniqueapplication_p.moc:51
#19 0x00007f223e4e9c2b in KUniqueApplicationAdaptor::qt_metacall (this=0x12b3c40, _c=QMetaObject::InvokeMetaMethod, _id=&lt;optimized out&gt;, _a=0x7fff0d0a1980) at /usr/src/debug/kdelibs-4.10.5/build/kdeui/kuniqueapplication_p.moc:101
#20 0x00007f223a04aed3 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x10fb4e0, object=object@entry=0x12b3c40, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#21 0x00007f223a04bfd5 in QDBusConnectionPrivate::activateCall (this=this@entry=0x10fb4e0, object=0x12b3c40, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:863
#22 0x00007f223a04c946 in QDBusConnectionPrivate::activateObject (this=0x10fb4e0, node=..., msg=..., pathStartPos=&lt;optimized out&gt;) at qdbusintegrator.cpp:1427
#23 0x00007f223a04ca3b in QDBusActivateObjectEvent::placeMetaCall (this=0x1c9f1a0) at qdbusintegrator.cpp:1541
#24 0x00007f223c784dae in QObject::event (this=0x7fff0d0a2930, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1194
#25 0x00007f223cc9b4c4 in QApplication::event (this=0x7fff0d0a2930, e=0x1c9f1a0) at kernel/qapplication.cpp:2544
#26 0x00007f223cc993bc in QApplicationPrivate::notify_helper (this=this@entry=0x1121c00, receiver=receiver@entry=0x7fff0d0a2930, e=e@entry=0x1c9f1a0) at kernel/qapplication.cpp:4562
#27 0x00007f223cc9d83a in QApplication::notify (this=0x7fff0d0a2930, receiver=0x7fff0d0a2930, e=0x1c9f1a0) at kernel/qapplication.cpp:4423
#28 0x00007f223e4e37a6 in KApplication::notify (this=0x7fff0d0a2930, receiver=0x7fff0d0a2930, event=0x1c9f1a0) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#29 0x00007f223c7704ae in QCoreApplication::notifyInternal (this=0x7fff0d0a2930, receiver=receiver@entry=0x7fff0d0a2930, event=event@entry=0x1c9f1a0) at kernel/qcoreapplication.cpp:949
#30 0x00007f223c773f61 in sendEvent (event=0x1c9f1a0, receiver=0x7fff0d0a2930) at kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x10ad1f0) at kernel/qcoreapplication.cpp:1573
#32 0x00007f223c79e813 in sendPostedEvents () at kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x122c640) at kernel/qeventdispatcher_glib.cpp:280
#34 0x00007f223413f6d5 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#35 0x00007f223413fa08 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#36 0x00007f223413fac4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#37 0x00007f223c79e9a6 in QEventDispatcherGlib::processEvents (this=0x10aead0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#38 0x00007f223cd3952e in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f223c76f15f in QEventLoop::processEvents (this=this@entry=0x7fff0d0a25b0, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f223c76f3e8 in QEventLoop::exec (this=0x7fff0d0a25b0, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f223c774278 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#42 0x0000000000402c63 in main ()

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

Possible duplicates by query: bug 324053, bug 323572, bug 323277, bug 323135, bug 318172.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409656</commentid>
    <comment_count>1</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2013-11-07 14:15:52 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>