<?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>315748</bug_id>
          
          <creation_ts>2013-02-25 12:04:32 +0000</creation_ts>
          <short_desc>Kmail crash on saving message as template</short_desc>
          <delta_ts>2013-02-26 05:22:56 +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.8.5</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>312562</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="richard virden">richard.virden</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>1345109</commentid>
    <comment_count>0</comment_count>
    <who name="richard virden">richard.virden</who>
    <bug_when>2013-02-25 12:04:32 +0000</bug_when>
    <thetext>Application: kmail (4.8.5)
KDE Platform Version: 4.8.5 (4.8.5) &quot;release 2&quot;
Qt Version: 4.8.1
Operating System: Linux 3.4.28-2.20-default i686
Distribution: &quot;openSUSE 12.2 (i586)&quot;

-- Information about the crash:
- What I was doing when the application crashed:
Editing template (previously saved in Kmail under OpenSUSE 11.4), comprising a message containing addresses in To and BCC fields; editing action was the addition of two addresses to BCC fields. Crash occurred on selecting &apos;save template&apos;

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb029bb40 (LWP 5483)):
#0  0xb77cb430 in __kernel_vsyscall ()
#1  0xb58d9a4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5f0111c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb38c954d in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb38c957f in ?? () from /usr/lib/libQtWebKit.so.4
#5  0xb58d5e32 in start_thread () from /lib/libpthread.so.0
#6  0xb5ef37ee in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaf972b40 (LWP 5484)):
#0  0xb5f014c7 in __libc_enable_asynccancel () from /lib/libc.so.6
#1  0xb5ee21a1 in read () from /lib/libc.so.6
#2  0xb45b4c7e in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb4575622 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#4  0xb4575a82 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0xb4575c51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#6  0xb6268a9f in QEventDispatcherGlib::processEvents (this=0xaf000468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb6235a3c in QEventLoop::processEvents (this=this@entry=0xaf972278, flags=...) at kernel/qeventloop.cpp:149
#8  0xb6235d31 in QEventLoop::exec (this=0xaf972278, flags=...) at kernel/qeventloop.cpp:204
#9  0xb612393c in QThread::exec (this=this@entry=0x8fcbc40) at thread/qthread.cpp:501
#10 0xb6123a9b in QThread::run (this=0x8fcbc40) at thread/qthread.cpp:568
#11 0xb6126d00 in QThreadPrivate::start (arg=0x8fcbc40) at thread/qthread_unix.cpp:298
#12 0xb58d5e32 in start_thread () from /lib/libpthread.so.0
#13 0xb5ef37ee in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb18f6740 (LWP 5477)):
[KCrash Handler]
#7  QSharedDataPointer (o=..., this=0xbfa1a02c) at /usr/include/QtCore/qshareddata.h:93
#8  assignEntityPrivate (one=..., other=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/entity.cpp:49
#9  0xb534f617 in Akonadi::Entity::operator= (this=0xbfa1a080, other=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/entity.cpp:116
#10 0xb51d3752 in operator= (this=&lt;optimized out&gt;) at /usr/include/akonadi/collection.h:75
#11 Message::ComposerViewBase::slotSaveMessage (this=0x94769e8, job=0x97a28a8) at /usr/src/debug/kdepim-4.8.5/messagecomposer/composerviewbase.cpp:947
#12 0xb51d3c41 in qt_static_metacall (_a=0xbfa1a1c8, _id=13, _o=0x94769e8, _c=&lt;optimized out&gt;) at /usr/src/debug/kdepim-4.8.5/build/messagecomposer/composerviewbase.moc:89
#13 Message::ComposerViewBase::qt_static_metacall (_o=_o@entry=0x94769e8, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=13, _a=0xbfa1a1c8) at /usr/src/debug/kdepim-4.8.5/build/messagecomposer/composerviewbase.moc:70
#14 0xb624eef2 in QMetaObject::activate (sender=0x97a28a8, m=0xb73654ac &lt;KJob::staticMetaObject&gt;, local_signal_index=3, argv=0xbfa1a1c8) at kernel/qobject.cpp:3556
#15 0xb71af585 in KJob::result (this=this@entry=0x97a28a8, _t1=_t1@entry=0x97a28a8) at /usr/src/debug/kdelibs-4.8.5/build/kdecore/kjob.moc:208
#16 0xb71af5d8 in KJob::emitResult (this=0x97a28a8) at /usr/src/debug/kdelibs-4.8.5/kdecore/jobs/kjob.cpp:318
#17 0xb53447de in Akonadi::JobPrivate::delayedEmitResult (this=0x9831f78) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/job.cpp:144
#18 0xb624897a in QMetaCallEvent::placeMetaCall (this=0x9721580, object=0x97a28a8) at kernel/qobject.cpp:525
#19 0xb624cedb in QObject::event (this=0x97a28a8, e=0x9721580) at kernel/qobject.cpp:1204
#20 0xb64ebaec in QApplicationPrivate::notify_helper (this=0x8d0f5e8, receiver=0x97a28a8, e=0x9721580) at kernel/qapplication.cpp:4554
#21 0xb64f05af in QApplication::notify (this=0x9721580, receiver=0x97a28a8, e=0x9721580) at kernel/qapplication.cpp:3936
#22 0xb755fd01 in KApplication::notify (this=0xbfa1aa8c, receiver=0x97a28a8, event=0x9721580) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#23 0xb6236c7e in QCoreApplication::notifyInternal (this=0xbfa1aa8c, receiver=0x97a28a8, event=0x9721580) at kernel/qcoreapplication.cpp:876
#24 0xb623a9bd in sendEvent (event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;) at kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8cd1130) at kernel/qcoreapplication.cpp:1500
#26 0xb623ac3c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#27 0xb6268904 in sendPostedEvents () at kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=0x8d0c8f8) at kernel/qeventdispatcher_glib.cpp:279
#29 0xb45757d3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0xb4575b70 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0xb4575c51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0xb6268a81 in QEventDispatcherGlib::processEvents (this=0x8cd4998, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0xb659d1da in QGuiEventDispatcherGlib::processEvents (this=0x8cd4998, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0xb6235a3c in QEventLoop::processEvents (this=this@entry=0xbfa1a958, flags=...) at kernel/qeventloop.cpp:149
#35 0xb6235d31 in QEventLoop::exec (this=0xbfa1a958, flags=...) at kernel/qeventloop.cpp:204
#36 0xb623acea in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#37 0xb64e9934 in QApplication::exec () at kernel/qapplication.cpp:3815
#38 0x0804a59d in main (argc=3, argv=0xbfa1abd4) at /usr/src/debug/kdepim-4.8.5/kmail/main.cpp:145

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

Possible duplicates by query: bug 312562, bug 308740, bug 306555, bug 298831.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1345318</commentid>
    <comment_count>1</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2013-02-26 05:22:56 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>