<?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>274989</bug_id>
          
          <creation_ts>2011-06-05 17:46:56 +0000</creation_ts>
          <short_desc>Kmail crashed while opening an attachment</short_desc>
          <delta_ts>2011-12-07 18:26:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kmail</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Debian unstable</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>257258</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="Degand Nicolas">nicolas.degand</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>1127839</commentid>
    <comment_count>0</comment_count>
    <who name="Degand Nicolas">nicolas.degand</who>
    <bug_when>2011-06-05 17:46:56 +0000</bug_when>
    <thetext>Application: kmail (1.13.7)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
I tried to open an attachment with libreoffice and then kmail crashed.

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0x7ff47d1e2700 (LWP 15168)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007ff4a22ae63e in wait (this=&lt;value optimized out&gt;, mutex=0x1cf4430, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=&lt;value optimized out&gt;, mutex=0x1cf4430, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff4a22a2d8f in QThreadPoolThread::run (this=0x1abf4e0) at concurrent/qthreadpool.cpp:140
#4  0x00007ff4a22ae235 in QThreadPrivate::start (arg=0x1abf4e0) at thread/qthread_unix.cpp:320
#5  0x00007ff49f625b40 in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:304
#6  0x00007ff4a1a5528d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff47c9cb700 (LWP 15169)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007ff4a22ae63e in wait (this=&lt;value optimized out&gt;, mutex=0x1cf4430, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=&lt;value optimized out&gt;, mutex=0x1cf4430, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff4a22a2d8f in QThreadPoolThread::run (this=0x1b74d00) at concurrent/qthreadpool.cpp:140
#4  0x00007ff4a22ae235 in QThreadPrivate::start (arg=0x1b74d00) at thread/qthread_unix.cpp:320
#5  0x00007ff49f625b40 in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:304
#6  0x00007ff4a1a5528d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff4771cb700 (LWP 15174)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ff4a19f8f18 in _L_lock_9627 () from /lib/libc.so.6
#2  0x00007ff4a19f7301 in __libc_free (mem=0x7ff4a1cfee60) at malloc.c:3736
#3  0x00007ff49971e1c4 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007ff4a23bf337 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x1080e10, __in_chrg=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:373
#5  0x00007ff4a23bf549 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x1080e10, __in_chrg=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:401
#6  0x00007ff4a22ad394 in QThreadPrivate::finish (arg=0x7ff4a26c7800) at thread/qthread_unix.cpp:356
#7  0x00007ff4a22ae23d in ~__pthread_cleanup_class (arg=0x7ff4a26c7800) at /usr/include/pthread.h:545
#8  ~__pthread_cleanup_class (arg=0x7ff4a26c7800) at thread/qthread_unix.cpp:801
#9  QThreadPrivate::start (arg=0x7ff4a26c7800) at thread/qthread_unix.cpp:279
#10 0x00007ff49f625b40 in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:304
#11 0x00007ff4a1a5528d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff4a4b27760 (LWP 15161)):
[KCrash Handler]
#6  0x00007ff4a19f28fc in malloc_consolidate (av=0x7ff4a1cfee60) at malloc.c:5161
#7  0x00007ff4a19f4d34 in _int_malloc (av=0x7ff4a1cfee60, bytes=65536) at malloc.c:4373
#8  0x00007ff4a19f73f0 in __libc_malloc (bytes=65536) at malloc.c:3660
#9  0x00007ff4a22b0168 in QByteArray::realloc (this=0x1d02a98, alloc=65504) at tools/qbytearray.cpp:1428
#10 0x00007ff4a22b0289 in QByteArray::resize (this=0x1d02a98, size=32768) at tools/qbytearray.cpp:1396
#11 0x00007ff4a0ad7707 in reserve (this=&lt;value optimized out&gt;, data=0x7ff49efbd620 &quot;    38_50_&quot;, size=10) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:158
#12 QAbstractSocket::writeData (this=&lt;value optimized out&gt;, data=0x7ff49efbd620 &quot;    38_50_&quot;, size=10) at socket/qabstractsocket.cpp:2214
#13 0x00007ff4a23321df in QIODevice::write (this=0x1cfe460, data=0x7ff49efbd620 &quot;    38_50_&quot;, maxSize=&lt;value optimized out&gt;) at io/qiodevice.cpp:1362
#14 0x00007ff49ebd03ef in KIO::SocketConnectionBackend::sendCommand (this=0x1a0cc90, task=...) at ../../kio/kio/connection.cpp:285
#15 0x00007ff49ebd184f in sendnow (this=0x192a050, _cmd=80, data=...) at ../../kio/kio/connection.cpp:505
#16 KIO::Connection::sendnow (this=0x192a050, _cmd=80, data=...) at ../../kio/kio/connection.cpp:493
#17 0x00007ff49ebd221c in KIO::Connection::send (this=0x192a050, cmd=80, data=...) at ../../kio/kio/connection.cpp:489
#18 0x00007ff49ec09cf5 in KIO::SimpleJobPrivate::start (this=0x1bcf520, slave=0x1a09b60) at ../../kio/kio/job.cpp:471
#19 0x00007ff49ec0a120 in KIO::TransferJobPrivate::start (this=0x1bcf520, slave=0x1a09b60) at ../../kio/kio/job.cpp:1278
#20 0x00007ff49ec93e0e in startJob (this=0x1aa09c0) at ../../kio/kio/scheduler.cpp:62
#21 KIO::ConnectedSlaveQueue::startRunnableJobs (this=0x1aa09c0) at ../../kio/kio/scheduler.cpp:355
#22 0x00007ff49ec941a0 in KIO::ConnectedSlaveQueue::qt_metacall (this=0x1aa09c0, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=&lt;value optimized out&gt;) at ./scheduler_p.moc:131
#23 0x00007ff4a23a75ea in QMetaObject::activate (sender=0x1aa09e0, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x0) at kernel/qobject.cpp:3278
#24 0x00007ff4a23aaec9 in QObject::event (this=0x1aa09e0, e=&lt;value optimized out&gt;) at kernel/qobject.cpp:1181
#25 0x00007ff4a28ce6d4 in notify_helper (this=0xf48dc0, receiver=0x1aa09e0, e=0x7fff8c990460) at kernel/qapplication.cpp:4467
#26 QApplicationPrivate::notify_helper (this=0xf48dc0, receiver=0x1aa09e0, e=0x7fff8c990460) at kernel/qapplication.cpp:4439
#27 0x00007ff4a28d3561 in QApplication::notify (this=0x7fff8c9908c0, receiver=0x1aa09e0, e=0x7fff8c990460) at kernel/qapplication.cpp:4346
#28 0x00007ff4a4535fb6 in KApplication::notify (this=0x7fff8c9908c0, receiver=0x1aa09e0, event=0x7fff8c990460) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007ff4a239497c in QCoreApplication::notifyInternal (this=0x7fff8c9908c0, receiver=0x1aa09e0, event=0x7fff8c990460) at kernel/qcoreapplication.cpp:731
#30 0x00007ff4a23c1472 in sendEvent (this=0xf4c230) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QTimerInfoList::activateTimers (this=0xf4c230) at kernel/qeventdispatcher_unix.cpp:604
#32 0x00007ff4a23bec44 in timerSourceDispatch (source=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:184
#33 0x00007ff4997224a3 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x00007ff499722c80 in ?? () from /lib/libglib-2.0.so.0
#35 0x00007ff499722f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x00007ff4a23bf5cf in QEventDispatcherGlib::processEvents (this=0xee1f20, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#37 0x00007ff4a297270e in QGuiEventDispatcherGlib::processEvents (this=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007ff4a2393b82 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007ff4a2393d7f in QEventLoop::exec (this=0x7fff8c990700, flags=...) at kernel/qeventloop.cpp:201
#40 0x00007ff4a2397f57 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#41 0x0000000000402f80 in ?? ()
#42 0x00007ff4a199eead in __libc_start_main (main=&lt;value optimized out&gt;, argc=&lt;value optimized out&gt;, ubp_av=&lt;value optimized out&gt;, init=&lt;value optimized out&gt;, fini=&lt;value optimized out&gt;, rtld_fini=&lt;value optimized out&gt;, stack_end=0x7fff8c990d08) at libc-start.c:228
#43 0x0000000000403461 in _start ()

Possible duplicates by query: bug 274838, bug 268901, bug 257258.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1139597</commentid>
    <comment_count>1</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-07-08 13:03:46 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>