<?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>290389</bug_id>
          
          <creation_ts>2012-01-02 11:52:43 +0000</creation_ts>
          <short_desc>crash of kmail while sending mail &amp; closing app</short_desc>
          <delta_ts>2012-08-18 11:04:53 +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>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <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="MK">bugs.m1</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>mprizee</cc>
    
    <cc>renard</cc>
          
          <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>1207839</commentid>
    <comment_count>0</comment_count>
    <who name="MK">bugs.m1</who>
    <bug_when>2012-01-02 11:52:43 +0000</bug_when>
    <thetext>Application: kmail (4.7.3)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I was sending mail and closed kmail before the sending queue was empty. There it crashed.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f06edded7a0 (LWP 2365))]

Thread 3 (Thread 0x7f06ce210700 (LWP 2566)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f06e00c1c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f06e00c1d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f06e8d10efc in start_thread (arg=0x7f06ce210700) at pthread_create.c:304
#4  0x00007f06eb16a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f06cd90f700 (LWP 2567)):
#0  0x00007f06e8d141fd in __pthread_mutex_unlock_usercnt (mutex=&lt;optimized out&gt;, decr=&lt;optimized out&gt;) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x2f9ed38) at pthread_mutex_unlock.c:290
#2  0x00007f06e3baef3f in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f06e3bafdfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f06e3bb0429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f06ebadcf3e in QEventDispatcherGlib::processEvents (this=0x2f9ec40, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f06ebab0cf2 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f06ebab0ef7 in QEventLoop::exec (this=0x7f06cd90ede0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f06eb9c827f in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:498
#9  0x00007f06eb9cad05 in QThreadPrivate::start (arg=0x2f9dfb0) at thread/qthread_unix.cpp:331
#10 0x00007f06e8d10efc in start_thread (arg=0x7f06cd90f700) at pthread_create.c:304
#11 0x00007f06eb16a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f06edded7a0 (LWP 2365)):
[KCrash Handler]
#6  0x00007f06ed780434 in KProgressDialog::wasCancelled (this=0x3a86fa0) at ../../kdeui/dialogs/kprogressdialog.cpp:126
#7  0x00007f06ecbceb12 in KMCommand::slotMsgTransfered (this=0x39cb430, msgs=...) at ../../kmail/kmcommands.cpp:341
#8  0x00007f06ecbd1bc9 in KMCommand::qt_metacall (this=0x39cb430, _c=QMetaObject::InvokeMetaMethod, _id=&lt;optimized out&gt;, _a=0x7fff5ca31c60) at ./kmcommands.moc:89
#9  0x00007f06ecbd1f80 in KMEditMsgCommand::qt_metacall (this=0x39cb430, _c=QMetaObject::InvokeMetaMethod, _id=&lt;optimized out&gt;, _a=0x7fff5ca31c60) at ./kmcommands.moc:414
#10 0x00007f06ebac4eba in QMetaObject::activate (sender=0x3920970, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fff5ca31c60) at kernel/qobject.cpp:3278
#11 0x00007f06e7e6fb42 in Akonadi::ItemFetchJob::itemsReceived (this=&lt;optimized out&gt;, _t1=&lt;optimized out&gt;) at ./itemfetchjob.moc:92
#12 0x00007f06e7e70964 in timeout (this=0x45514e0) at ../../akonadi/itemfetchjob.cpp:71
#13 Akonadi::ItemFetchJob::qt_metacall (this=&lt;optimized out&gt;, _c=&lt;optimized out&gt;, _id=2, _a=0x7fff5ca31d80) at ./itemfetchjob.moc:80
#14 0x00007f06ebac4eba in QMetaObject::activate (sender=0x3920970, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fff5ca31d80) at kernel/qobject.cpp:3278
#15 0x00007f06ed2335b2 in KJob::result (this=&lt;optimized out&gt;, _t1=0x3920970) at ./kjob.moc:194
#16 0x00007f06ed2335f0 in KJob::emitResult (this=0x3920970) at ../../kdecore/jobs/kjob.cpp:312
#17 0x00007f06e7e8306d in Akonadi::Job::qt_metacall (this=0x3920970, _c=QMetaObject::InvokeMetaMethod, _id=&lt;optimized out&gt;, _a=0x2838df0) at ./job.moc:91
#18 0x00007f06e7e70865 in Akonadi::ItemFetchJob::qt_metacall (this=0x3920970, _c=QMetaObject::InvokeMetaMethod, _id=&lt;optimized out&gt;, _a=0x2838df0) at ./itemfetchjob.moc:73
#19 0x00007f06ebac8a5e in QObject::event (this=0x3920970, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1217
#20 0x00007f06ebfe2424 in notify_helper (e=0x3a3dd00, receiver=0x3920970, this=0x2564f40) at kernel/qapplication.cpp:4486
#21 QApplicationPrivate::notify_helper (this=0x2564f40, receiver=0x3920970, e=0x3a3dd00) at kernel/qapplication.cpp:4458
#22 0x00007f06ebfe7291 in QApplication::notify (this=0x7fff5ca326c0, receiver=0x3920970, e=0x3a3dd00) at kernel/qapplication.cpp:4365
#23 0x00007f06ed803126 in KApplication::notify (this=0x7fff5ca326c0, receiver=0x3920970, event=0x3a3dd00) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f06ebab1afc in QCoreApplication::notifyInternal (this=0x7fff5ca326c0, receiver=0x3920970, event=0x3a3dd00) at kernel/qcoreapplication.cpp:787
#25 0x00007f06ebab551f in sendEvent (event=0x3a3dd00, receiver=0x3920970) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2524460) at kernel/qcoreapplication.cpp:1428
#27 0x00007f06ebadca73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f06e3bafa5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f06e3bb0258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f06e3bb0429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f06ebadced6 in QEventDispatcherGlib::processEvents (this=0x2525f70, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#33 0x00007f06ec08a07e in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=&lt;optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f06ebab0cf2 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f06ebab0ef7 in QEventLoop::exec (this=0x7fff5ca32590, flags=...) at kernel/qeventloop.cpp:201
#36 0x00007f06ebab5789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#37 0x0000000000402bd3 in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at ../../kmail/main.cpp:145

Possible duplicates by query: bug 290012.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1210672</commentid>
    <comment_count>1</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2012-01-06 18:33:08 +0000</bug_when>
    <thetext>*** Bug 290012 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1213614</commentid>
    <comment_count>2</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2012-01-12 16:26:03 +0000</bug_when>
    <thetext>Git commit e209a9feb77970d5786c783a7e59da72aa08a80d by Montel Laurent.
Committed on 12/01/2012 at 17:25.
Pushed by mlaurent into branch &apos;master&apos;.

I hope that it will fix Bug 290389 - crash of kmail while sending mail &amp;

closing app

M  +18   -18   kmail/kmcommands.cpp
M  +1    -1    kmail/kmcommands.h

http://commits.kde.org/kdepim/e209a9feb77970d5786c783a7e59da72aa08a80d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1287123</commentid>
    <comment_count>3</comment_count>
    <who name="Sebastien Renard">renard</who>
    <bug_when>2012-08-18 11:04:53 +0000</bug_when>
    <thetext>This bug cannot be reproduced anymore with Kmail from KDE 4.8.4. Fix seems ok.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>