<?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>214079</bug_id>
          
          <creation_ts>2009-11-11 09:47:59 +0000</creation_ts>
          <short_desc>crash when closing kmail !</short_desc>
          <delta_ts>2010-01-21 00:23:06 +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>unspecified</version>
          <rep_platform>Unlisted Binaries</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="Thierry Chich">thierry.chich</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>andresbajotierra</cc>
    
    <cc>konqueror-bugs-null</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>859788</commentid>
    <comment_count>0</comment_count>
    <who name="Thierry Chich">thierry.chich</who>
    <bug_when>2009-11-11 09:47:59 +0000</bug_when>
    <thetext>Application that crashed: kontact
Version of the application: 4.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
All is in the title. As usual, it was impossible to synchronize with my imap account. Then I decided to close kmail and relaunch it. It crash when I was closing it.

 -- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7f02402cb750 (LWP 7743))]

Thread 2 (Thread 0x7f021d296910 (LWP 8292)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f023d8d2a93 in _L_lock_9264 () from /lib/libc.so.6
#2  0x00007f023d8d0701 in *__GI___libc_free (mem=0x7f023dbc0e40) at malloc.c:3714
#3  0x00007f02378934e3 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f023e042ce2 in ~QEventDispatcherGlib (this=0x34292d0, __in_chrg=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:289
#5  0x00007f023df335fc in QThreadPrivate::finish (arg=&lt;value optimized out&gt;) at thread/qthread_unix.cpp:212
#6  0x00007f023df3344d in ~__pthread_cleanup_class (arg=0x8fd6c0) at /usr/include/pthread.h:535
#7  QThreadPrivate::start (arg=0x8fd6c0) at thread/qthread_unix.cpp:190
#8  0x00007f0237642a04 in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#9  0x00007f023d9357bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f02402cb750 (LWP 7743)):
[KCrash Handler]
#5  0x00007f023d8894b5 in *__GI_raise (sig=&lt;value optimized out&gt;) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f023d88cf50 in *__GI_abort () at abort.c:92
#7  0x00007f023d8c1c97 in __libc_message (do_abort=&lt;value optimized out&gt;, fmt=&lt;value optimized out&gt;) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f023d8cbdd6 in malloc_printerr (action=3, str=0x7f023d98a73b &quot;corrupted double-linked list&quot;, ptr=&lt;value optimized out&gt;) at malloc.c:6217
#9  0x00007f023d8cc1f2 in malloc_consolidate (av=&lt;value optimized out&gt;) at malloc.c:5103
#10 0x00007f023d8cd518 in _int_free (av=0x7f023dbc0e40, p=0x20a2d70) at malloc.c:4968
#11 0x00007f023d8d070c in *__GI___libc_free (mem=&lt;value optimized out&gt;) at malloc.c:3716
#12 0x00007f023e9df3f5 in ~QImageData (this=0x1ef2f50, __in_chrg=&lt;value optimized out&gt;) at image/qimage.cpp:264
#13 0x00007f023e9df593 in ~QImage (this=0xc59138, __in_chrg=&lt;value optimized out&gt;) at image/qimage.cpp:1296
#14 0x00007f023cf36d49 in ~RawImagePlane (this=0xc59110, __in_chrg=&lt;value optimized out&gt;) at ../../khtml/imload/rawimageplane.h:51
#15 0x00007f023cf3b768 in ~PixmapPlane (this=0x201afa0, __in_chrg=&lt;value optimized out&gt;) at ../../khtml/imload/pixmapplane.h:64
#16 ~Image (this=0x201afa0, __in_chrg=&lt;value optimized out&gt;) at ../../khtml/imload/image.cpp:60
#17 0x00007f023ce422cd in khtml::CachedImage::clear (this=0x201abf0) at ../../khtml/misc/loader.cpp:836
#18 0x00007f023ce467b1 in ~CachedImage (this=0x1e3f, __in_chrg=&lt;value optimized out&gt;) at ../../khtml/misc/loader.cpp:438
#19 0x00007f023ce455f8 in qDeleteAll&lt;QHash&lt;QString, khtml::CachedObject*&gt;::const_iterator&gt; () at /usr/include/qt4/QtCore/qalgorithms.h:350
#20 qDeleteAll&lt;QHash&lt;QString, khtml::CachedObject*&gt; &gt; () at /usr/include/qt4/QtCore/qalgorithms.h:358
#21 khtml::Cache::clear () at ../../khtml/misc/loader.cpp:1673
#22 0x00007f023cc9c0cf in ~KHTMLGlobal (this=&lt;value optimized out&gt;, __in_chrg=&lt;value optimized out&gt;) at ../../khtml/khtml_global.cpp:110
#23 0x00007f023cc9c15c in KHTMLGlobal::deref () at ../../khtml/khtml_global.cpp:144
#24 0x00007f023cc8866e in ~KHTMLPart (this=0xa72d20, __in_chrg=&lt;value optimized out&gt;, __vtt_parm=&lt;value optimized out&gt;) at ../../khtml/khtml_part.cpp:625
#25 0x00007f023d62f526 in KParts::Part::slotWidgetDestroyed (this=0xa72d20) at ../../kparts/part.cpp:354
#26 0x00007f023d62f61c in KParts::Part::qt_metacall (this=0xa72d20, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0x7fff1a5cc400) at ./part.moc:76
#27 0x00007f023d62f675 in KParts::ReadOnlyPart::qt_metacall (this=0x1e3f, _c=7743, _id=6, _a=0xffffffffffffffff) at ./part.moc:154
#28 0x00007f023cc9143e in KHTMLPart::qt_metacall (this=0x1e3f, _c=7743, _id=6, _a=0xffffffffffffffff) at ./khtml_part.moc:246
#29 0x00007f023e02eddc in QMetaObject::activate (sender=0xacec90, from_signal_index=&lt;value optimized out&gt;, to_signal_index=&lt;value optimized out&gt;, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#30 0x00007f023e02f314 in QObject::destroyed (this=0x1e3f, _t1=0xacec90) at .moc/release-shared/moc_qobject.cpp:143
#31 0x00007f023e03017b in ~QObject (this=&lt;value optimized out&gt;, __in_chrg=&lt;value optimized out&gt;) at kernel/qobject.cpp:757
#32 0x00007f023e984628 in ~QWidget (this=0xacec90, __in_chrg=&lt;value optimized out&gt;) at kernel/qwidget.cpp:1380
#33 0x00007f023e027e5c in QObjectPrivate::deleteChildren (this=0xa727e0) at kernel/qobject.cpp:1847
#34 0x00007f023e984993 in ~QWidget (this=0xa6ef80, __in_chrg=&lt;value optimized out&gt;) at kernel/qwidget.cpp:1367
#35 0x00007f023f629711 in ~KHBox (this=0x1e3f, __in_chrg=&lt;value optimized out&gt;) at ../../kdeui/widgets/khbox.cpp:51
#36 0x00007f023e027e5c in QObjectPrivate::deleteChildren (this=0xa71f40) at kernel/qobject.cpp:1847
#37 0x00007f023e984993 in ~QWidget (this=0xa6ea10, __in_chrg=&lt;value optimized out&gt;) at kernel/qwidget.cpp:1367
#38 0x00007f023ed48be1 in ~QStackedWidget (this=0x1e3f, __in_chrg=&lt;value optimized out&gt;) at widgets/qstackedwidget.cpp:152
#39 0x00007f023e027e5c in QObjectPrivate::deleteChildren (this=0xa68a40) at kernel/qobject.cpp:1847
#40 0x00007f023e984993 in ~QWidget (this=0xa68a10, __in_chrg=&lt;value optimized out&gt;) at kernel/qwidget.cpp:1367
#41 0x00007f023ed43728 in ~QSplitter (this=0xa68a10, __in_chrg=&lt;value optimized out&gt;) at widgets/qsplitter.cpp:1008
#42 0x00007f023e027e5c in QObjectPrivate::deleteChildren (this=0xa686b0) at kernel/qobject.cpp:1847
#43 0x00007f023e9844f3 in ~QWidget (this=0x9c2780, __in_chrg=&lt;value optimized out&gt;) at kernel/qwidget.cpp:1367
#44 0x00007f023e027e5c in QObjectPrivate::deleteChildren (this=0x983270) at kernel/qobject.cpp:1847
#45 0x00007f023e984993 in ~QWidget (this=0x9083f0, __in_chrg=&lt;value optimized out&gt;) at kernel/qwidget.cpp:1367
#46 0x00007f023f642185 in ~KMainWindow (this=0x9083f0, __in_chrg=&lt;value optimized out&gt;) at ../../kdeui/widgets/kmainwindow.cpp:467
#47 0x00007f023fee0ec5 in Kontact::MainWindow::~MainWindow() () from /usr/lib/libkontactprivate.so.4
#48 0x00007f023e02911d in QObject::event (this=0x9083f0, e=0x1e3f) at kernel/qobject.cpp:1094
#49 0x00007f023e98815f in QWidget::event (this=0x9083f0, event=0x1e4e300) at kernel/qwidget.cpp:7946
#50 0x00007f023ecfe9db in QMainWindow::event (this=0x9083f0, event=0x1e4e300) at widgets/qmainwindow.cpp:1399
#51 0x00007f023f67c773 in KXmlGuiWindow::event (this=0x1e3f, ev=0x1e3f) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#52 0x00007f023e939efc in QApplicationPrivate::notify_helper (this=0x906a80, receiver=0x9083f0, e=0x1e4e300) at kernel/qapplication.cpp:4056
#53 0x00007f023e9411ce in QApplication::notify (this=0x7fff1a5cd5c0, receiver=0x9083f0, e=0x1e4e300) at kernel/qapplication.cpp:4021
#54 0x00007f023f570ab6 in KApplication::notify (this=0x7fff1a5cd5c0, receiver=0x9083f0, event=0x1e4e300) at ../../kdeui/kernel/kapplication.cpp:302
#55 0x00007f023e019c2c in QCoreApplication::notifyInternal (this=0x7fff1a5cd5c0, receiver=0x9083f0, event=0x1e4e300) at kernel/qcoreapplication.cpp:610
#56 0x00007f023e01a80a in QCoreApplication::sendEvent (receiver=0x0, event_type=&lt;value optimized out&gt;, data=0x8d2080) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#57 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=&lt;value optimized out&gt;, data=0x8d2080) at kernel/qcoreapplication.cpp:1247
#58 0x00007f023e042533 in QCoreApplication::sendPostedEvents (s=&lt;value optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#59 postEventSourceDispatch (s=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:210
#60 0x00007f0237893bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#61 0x00007f0237897588 in ?? () from /lib/libglib-2.0.so.0
#62 0x00007f02378976b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#63 0x00007f023e0421a6 in QEventDispatcherGlib::processEvents (this=0x8d1cb0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:327
#64 0x00007f023e9ce4be in QGuiEventDispatcherGlib::processEvents (this=0x1e3f, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:202
#65 0x00007f023e018532 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=) at kernel/qeventloop.cpp:149
#66 0x00007f023e018904 in QEventLoop::exec (this=0x7fff1a5cd500, flags=) at kernel/qeventloop.cpp:201
#67 0x00007f023e01aab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#68 0x0000000000403f47 in _start ()
The current source language is &quot;auto; currently asm&quot;.
The current source language is &quot;auto; currently c&quot;.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>859953</commentid>
    <comment_count>1</comment_count>
    <who name="Thierry Chich">thierry.chich</who>
    <bug_when>2009-11-11 13:48:21 +0000</bug_when>
    <thetext>The crash occur when I click (even right-click) on the icon of kmail in the tray. It is not systematic however.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>882869</commentid>
    <comment_count>2</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-12-19 16:40:25 +0000</bug_when>
    <thetext>&quot;malloc_printer&quot; could be related to bug 196207.
If you can reproduce this crash all the times, can you try running KMail using the command &quot;MALLOC_CHECK=   kmail&quot; from Konsole and checking if it also crashes ? 
Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>882954</commentid>
    <comment_count>3</comment_count>
    <who name="Thierry Chich">thierry.chich</who>
    <bug_when>2009-12-19 18:16:21 +0000</bug_when>
    <thetext>I am sorry, but there is some time since I saw this bug. I have done some upgrade since this time. It occurs not so frequently now. I am not sure I can do what you are asking.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>