<?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>285883</bug_id>
          
          <creation_ts>2011-11-06 10:54:47 +0000</creation_ts>
          <short_desc>kmail crash if quitting while receiving mails and resolving conflicts</short_desc>
          <delta_ts>2011-11-10 14:59:24 +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.7.2</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>250797</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>p92</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>1181645</commentid>
    <comment_count>0</comment_count>
    <who name="">p92</who>
    <bug_when>2011-11-06 10:54:47 +0000</bug_when>
    <thetext>Application: kontact (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
kmail was receiving lots of mails and for each one asking me for conflict resolution (another bug relating to spamassassin marking)
as I cannot stop this conflict resolution, i changed the filter rule for spam to avoid checking incoming mails
as it did not stopped all waiting conflict resolution dialog, i used file -&gt; quit to stop kmail and restart it later
after quiting there was a conflict resolution dialog still opened
when i pressed &quot;keep left version&quot;  kmail crashed

- Unusual behavior I noticed:

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

Thread 4 (Thread 0x7f5281966700 (LWP 2527)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f52977e5c2c in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f529819c220) at wtf/FastMalloc.cpp:2495
#2  0x00007f52977e5d59 in WTF::TCMalloc_PageHeap::runScavengerThread (context=&lt;optimized out&gt;) at wtf/FastMalloc.cpp:1618
#3  0x00007f5292be4efc in start_thread (arg=0x7f5281966700) at pthread_create.c:304
#4  0x00007f52984f389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f528104d700 (LWP 2530)):
#0  0x00007f5292be7034 in __pthread_mutex_lock (mutex=0x1202c98) at pthread_mutex_lock.c:61
#1  0x00007f5292115839 in g_main_context_release () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5292116f9a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5292117429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f529992ef3e in QEventDispatcherGlib::processEvents (this=0x1202370, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f5299902cf2 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5299902ef7 in QEventLoop::exec (this=0x7f528104cde0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f529981a27f in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:498
#8  0x00007f529981cd05 in QThreadPrivate::start (arg=0x1202350) at thread/qthread_unix.cpp:331
#9  0x00007f5292be4efc in start_thread (arg=0x7f528104d700) at pthread_create.c:304
#10 0x00007f52984f389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f522b0a9700 (LWP 2702)):
#0  0x00007f5292be7034 in __pthread_mutex_lock (mutex=0x144f698) at pthread_mutex_lock.c:61
#1  0x00007f5292116023 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5292116dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5292117429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f529992ef3e in QEventDispatcherGlib::processEvents (this=0x3298dc0, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f5299902cf2 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5299902ef7 in QEventLoop::exec (this=0x7f522b0a8db0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f529981a27f in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:498
#8  0x00007f52998e5cbf in QInotifyFileSystemWatcherEngine::run (this=0x19a9840) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f529981cd05 in QThreadPrivate::start (arg=0x19a9840) at thread/qthread_unix.cpp:331
#10 0x00007f5292be4efc in start_thread (arg=0x7f522b0a9700) at pthread_create.c:304
#11 0x00007f52984f389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f529af927a0 (LWP 2507)):
[KCrash Handler]
#6  ref (this=0x654e65726f6e6751) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QSharedDataPointer (o=..., this=0x7fff580b25f0) at /usr/include/qt4/QtCore/qshareddata.h:93
#8  assignEntityPrivate (one=..., other=&lt;optimized out&gt;) at ../../akonadi/entity.cpp:49
#9  0x00007f5295257934 in Akonadi::Entity::Entity (this=&lt;optimized out&gt;, other=&lt;optimized out&gt;) at ../../akonadi/entity.cpp:56
#10 0x00007f52952c0095 in Akonadi::ConflictHandler::useLocalItem (this=0xbff57f0) at ../../akonadi/conflicthandling/conflicthandler.cpp:102
#11 0x00007f52952c0248 in Akonadi::ConflictHandler::resolve (this=0xbff57f0) at ../../akonadi/conflicthandling/conflicthandler.cpp:85
#12 0x00007f52952c096c in Akonadi::ConflictHandler::qt_metacall (this=0xbff57f0, _c=QMetaObject::InvokeMetaMethod, _id=&lt;optimized out&gt;, _a=0xbb09e30) at ./conflicthandler_p.moc:91
#13 0x00007f529991aa5e in QObject::event (this=0xbff57f0, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1217
#14 0x00007f5298cb4424 in notify_helper (e=0x8f13a70, receiver=0xbff57f0, this=0x1070420) at kernel/qapplication.cpp:4486
#15 QApplicationPrivate::notify_helper (this=0x1070420, receiver=0xbff57f0, e=0x8f13a70) at kernel/qapplication.cpp:4458
#16 0x00007f5298cb9291 in QApplication::notify (this=0x7fff580b2ed0, receiver=0xbff57f0, e=0x8f13a70) at kernel/qapplication.cpp:4365
#17 0x00007f529a339126 in KApplication::notify (this=0x7fff580b2ed0, receiver=0xbff57f0, event=0x8f13a70) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007f5299903afc in QCoreApplication::notifyInternal (this=0x7fff580b2ed0, receiver=0xbff57f0, event=0x8f13a70) at kernel/qcoreapplication.cpp:787
#19 0x00007f529990751f in sendEvent (event=0x8f13a70, receiver=0xbff57f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x103c8e0) at kernel/qcoreapplication.cpp:1428
#21 0x00007f529992ea73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#22 postEventSourceDispatch (s=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:277
#23 0x00007f5292116a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f5292117258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f5292117429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f529992eed6 in QEventDispatcherGlib::processEvents (this=0x103dfd0, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#27 0x00007f5298d5c07e in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=&lt;optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f5299902cf2 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f5299902ef7 in QEventLoop::exec (this=0x7fff580b2e60, flags=...) at kernel/qeventloop.cpp:201
#30 0x00007f5299907789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#31 0x0000000000403629 in main (argc=3, argv=0x7fff580b34f8) at ../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 283341, bug 282060, bug 282036, bug 280961, bug 280149.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1183641</commentid>
    <comment_count>1</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-11-10 14:59:24 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>