Bug 336389

Summary: It allways crashed after attached a document, since last KDE Update i can not attached a document
Product: [Applications] kontact Reporter: Stefan Müller <stefan.mueller300>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: ben.franksen, montel, sbecom2012
Priority: NOR Keywords: drkonqi
Version: 4.13.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.13.3
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Stefan Müller 2014-06-18 12:03:43 UTC
Application: kontact (4.13.1)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-29-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Start Kmail, then press "New E-Mail", then "Attachement", pick a PDF document, then pushed the Button "attach" and here Kmail crashed

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc2ebd0c800 (LWP 4683))]

Thread 7 (Thread 0x7fc2cb888700 (LWP 4684)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc2e6aaf81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fc2e6aaf859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fc2e31d1182 in start_thread (arg=0x7fc2cb888700) at pthread_create.c:312
#4  0x00007fc2e928330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fc28af85700 (LWP 4685)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc2e67f020d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fc2e6adefd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fc2e31d1182 in start_thread (arg=0x7fc28af85700) at pthread_create.c:312
#4  0x00007fc2e928330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fc27b55b700 (LWP 4688)):
#0  0x00007fff85b58a1f in ?? ()
#1  0x00007fc27b55ab70 in ?? ()
#2  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc27944c700 (LWP 4689)):
#0  __GI___pthread_mutex_lock (mutex=0x7fc26c000a60) at ../nptl/pthread_mutex_lock.c:161
#1  0x00007fc2e2d33991 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc2e2cf11f8 in g_main_context_release () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc2e2cf1f91 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc2e2cf20ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc2e99fc7be in QEventDispatcherGlib::processEvents (this=0x7fc26c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fc2e99ce0af in QEventLoop::processEvents (this=this@entry=0x7fc27944bda0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fc2e99ce3a5 in QEventLoop::exec (this=this@entry=0x7fc27944bda0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fc2e98cac5f in QThread::exec (this=this@entry=0x281bdd0) at thread/qthread.cpp:537
#9  0x00007fc2e99af823 in QInotifyFileSystemWatcherEngine::run (this=0x281bdd0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fc2e98cd32f in QThreadPrivate::start (arg=0x281bdd0) at thread/qthread_unix.cpp:349
#11 0x00007fc2e31d1182 in start_thread (arg=0x7fc27944c700) at pthread_create.c:312
#12 0x00007fc2e928330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fc26bfff700 (LWP 4701)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc281c5bffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fc281c5c039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fc2e31d1182 in start_thread (arg=0x7fc26bfff700) at pthread_create.c:312
#4  0x00007fc2e928330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fc1ea750700 (LWP 4704)):
#0  0x00007fc2e2cf1694 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fc2e2cf1f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc2e2cf20ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc2e99fc7be in QEventDispatcherGlib::processEvents (this=0x7fc1dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fc2e99ce0af in QEventLoop::processEvents (this=this@entry=0x7fc1ea74fda0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc2e99ce3a5 in QEventLoop::exec (this=this@entry=0x7fc1ea74fda0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc2e98cac5f in QThread::exec (this=this@entry=0x4c0bd10) at thread/qthread.cpp:537
#7  0x00007fc2e99af823 in QInotifyFileSystemWatcherEngine::run (this=0x4c0bd10) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fc2e98cd32f in QThreadPrivate::start (arg=0x4c0bd10) at thread/qthread_unix.cpp:349
#9  0x00007fc2e31d1182 in start_thread (arg=0x7fc1ea750700) at pthread_create.c:312
#10 0x00007fc2e928330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fc2ebd0c800 (LWP 4683)):
[KCrash Handler]
#6  0x00007fc2e99e0ef4 in QObject::killTimer (this=0x3ec0d00, id=0) at kernel/qobject.cpp:1602
#7  0x00007fc2e99ec841 in QTimer::stop (this=this@entry=0x3ec0d00) at kernel/qtimer.cpp:266
#8  0x00007fc2e99ec8cf in QTimer::start (this=0x3ec0d00) at kernel/qtimer.cpp:216
#9  0x00007fc280dacaf1 in KMComposeWin::slotCloseAttachMissingFile (this=<optimized out>) at ../../kmail/editor/kmcomposewin.cpp:3524
#10 0x00007fc280de547d in KMComposeWin::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at moc_kmcomposewin.cpp:302
#11 0x00007fc2e99e387a in QMetaObject::activate (sender=0x4687c70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#12 0x00007fc2e99e387a in QMetaObject::activate (sender=sender@entry=0x4687150, m=m@entry=0x7fc280673100 <MessageComposer::AttachmentControllerBase::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#13 0x00007fc2803bcbf3 in MessageComposer::AttachmentControllerBase::fileAttached (this=this@entry=0x4687150) at ./moc_attachmentcontrollerbase.cpp:245
#14 0x00007fc2803bcce0 in MessageComposer::AttachmentControllerBase::addAttachment (this=0x4687150, part=...) at ../../messagecomposer/attachment/attachmentcontrollerbase.cpp:813
#15 0x00007fc2803bce68 in MessageComposer::AttachmentControllerBase::Private::loadJobResult (this=0x4687f80, job=0x28cee20) at ../../messagecomposer/attachment/attachmentcontrollerbase.cpp:229
#16 0x00007fc2803c45f0 in MessageComposer::AttachmentControllerBase::qt_static_metacall (_o=0x3ec0d00, _c=QMetaObject::InvokeMetaMethod, _id=-2052372016, _a=0xfffffffffffd6b34) at ./moc_attachmentcontrollerbase.cpp:155
#17 0x00007fc2e99e387a in QMetaObject::activate (sender=sender@entry=0x28cee20, m=m@entry=0x7fc2ea1e9600 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff85ab4d20) at kernel/qobject.cpp:3539
#18 0x00007fc2e9e59622 in KJob::result (this=this@entry=0x28cee20, _t1=_t1@entry=0x28cee20) at ./kjob.moc:207
#19 0x00007fc2e9e59660 in KJob::emitResult (this=0x28cee20) at ../../kdecore/jobs/kjob.cpp:318
#20 0x00007fc280696717 in MessageCore::AttachmentFromUrlJob::Private::transferJobResult (this=0x4e4bb50, job=<optimized out>) at ../../messagecore/attachment/attachmentfromurljob.cpp:117
#21 0x00007fc2e99e387a in QMetaObject::activate (sender=sender@entry=0x4e5ec70, m=m@entry=0x7fc2ea1e9600 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff85ab4fb0) at kernel/qobject.cpp:3539
#22 0x00007fc2e9e59622 in KJob::result (this=this@entry=0x4e5ec70, _t1=_t1@entry=0x4e5ec70) at ./kjob.moc:207
#23 0x00007fc2e9e59660 in KJob::emitResult (this=this@entry=0x4e5ec70) at ../../kdecore/jobs/kjob.cpp:318
#24 0x00007fc2e8b7c39a in KIO::SimpleJob::slotFinished (this=this@entry=0x4e5ec70) at ../../kio/kio/job.cpp:496
#25 0x00007fc2e8b7d4ee in KIO::TransferJob::slotFinished (this=0x4e5ec70) at ../../kio/kio/job.cpp:1110
#26 0x00007fc2e99e387a in QMetaObject::activate (sender=0x1c260a0, m=m@entry=0x7fc2e8f25580 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#27 0x00007fc2e8c1a4e3 in KIO::SlaveInterface::finished (this=<optimized out>) at ./slaveinterface.moc:184
#28 0x00007fc2e8c1ba26 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:176
#29 0x00007fc2e8c1951e in KIO::SlaveInterface::dispatch (this=0x1c260a0) at ../../kio/kio/slaveinterface.cpp:92
#30 0x00007fc2e8c0e196 in KIO::Slave::gotInput (this=0x1c260a0) at ../../kio/kio/slave.cpp:344
#31 0x00007fc2e99e387a in QMetaObject::activate (sender=0x2029cc0, m=m@entry=0x7fc2e8f1eaa0 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#32 0x00007fc2e8b49b40 in KIO::Connection::readyRead (this=<optimized out>) at ./connection.moc:105
#33 0x00007fc2e8b4a231 in KIO::ConnectionPrivate::dequeue (this=0x20f7d70) at ../../kio/kio/connection.cpp:82
#34 0x00007fc2e99e7c1e in QObject::event (this=0x2029cc0, e=<optimized out>) at kernel/qobject.cpp:1194
#35 0x00007fc2ea3c1e2c in QApplicationPrivate::notify_helper (this=this@entry=0x15c5040, receiver=receiver@entry=0x2029cc0, e=e@entry=0x4c7fe50) at kernel/qapplication.cpp:4567
#36 0x00007fc2ea3c84a0 in QApplication::notify (this=this@entry=0x7fff85ab5d00, receiver=receiver@entry=0x2029cc0, e=e@entry=0x4c7fe50) at kernel/qapplication.cpp:4353
#37 0x00007fc2eb0ccd1a in KApplication::notify (this=0x7fff85ab5d00, receiver=0x2029cc0, event=0x4c7fe50) at ../../kdeui/kernel/kapplication.cpp:311
#38 0x00007fc2e99cf4dd in QCoreApplication::notifyInternal (this=0x7fff85ab5d00, receiver=receiver@entry=0x2029cc0, event=event@entry=0x4c7fe50) at kernel/qcoreapplication.cpp:953
#39 0x00007fc2e99d2b3d in sendEvent (event=0x4c7fe50, receiver=0x2029cc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x15822b0) at kernel/qcoreapplication.cpp:1577
#41 0x00007fc2e99d2fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#42 0x00007fc2e99fcf83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#43 postEventSourceDispatch (s=0x15bfca0) at kernel/qeventdispatcher_glib.cpp:287
#44 0x00007fc2e2cf1e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fc2e2cf2048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fc2e2cf20ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fc2e99fc7a1 in QEventDispatcherGlib::processEvents (this=0x1583bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#48 0x00007fc2ea463bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007fc2e99ce0af in QEventLoop::processEvents (this=this@entry=0x7fff85ab5c00, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007fc2e99ce3a5 in QEventLoop::exec (this=this@entry=0x7fff85ab5c00, flags=...) at kernel/qeventloop.cpp:204
#51 0x00007fc2e99d3b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#52 0x00007fc2ea3c037c in QApplication::exec () at kernel/qapplication.cpp:3828
#53 0x0000000000403660 in main (argc=1, argv=0x7fff85ab5e48) at ../../../kontact/src/main.cpp:219

The reporter indicates this bug may be a duplicate of or related to bug 330727.

Possible duplicates by query: bug 335038, bug 334930, bug 330727.

Reported using DrKonqi
Comment 1 sbecom2012 2014-06-20 15:53:07 UTC
Created attachment 87311 [details]
New crash information added by DrKonqi

kontact (4.13.1) on KDE Platform 4.13.1 using Qt 4.8.6

- What I was doing when the application crashed:
in a new message, I click "Attach file", then I chose a file in the opened file browser window : the crash occurs as soon as I click "OK"

-- Backtrace (Reduced):
#6  0x00007f6d862deef4 in QObject::killTimer (this=0x7f6d0e600900, id=0) at kernel/qobject.cpp:1602
#7  0x00007f6d862ea841 in QTimer::stop (this=this@entry=0x7f6d0e600900) at kernel/qtimer.cpp:266
#8  0x00007f6d862ea8cf in QTimer::start (this=0x7f6d0e600900) at kernel/qtimer.cpp:216
#9  0x00007f6d1c16daf1 in KMComposeWin::slotCloseAttachMissingFile (this=<optimized out>) at ../../kmail/editor/kmcomposewin.cpp:3524
#10 0x00007f6d1c1a647d in KMComposeWin::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at moc_kmcomposewin.cpp:302
Comment 2 Ben Franksen 2014-06-28 10:42:15 UTC
Created attachment 87446 [details]
New crash information added by DrKonqi

kontact (4.13.1) on KDE Platform 4.13.1 using Qt 4.8.6

- What I was doing when the application crashed:

Attached a few pictures to a new mail. It crashes now immediately whenever I open kmail / kontact.

-- Backtrace (Reduced):
#6  QTimer::start (this=0x27fffffff) at kernel/qtimer.cpp:215
#7  0x00007f8ae384baf1 in KMComposeWin::slotCloseAttachMissingFile (this=<optimized out>) at ../../kmail/editor/kmcomposewin.cpp:3524
#8  0x00007f8ae388447d in KMComposeWin::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at moc_kmcomposewin.cpp:302
[...]
#11 0x00007f8ae2e5bbf3 in MessageComposer::AttachmentControllerBase::fileAttached (this=this@entry=0xdc3030) at ./moc_attachmentcontrollerbase.cpp:245
#12 0x00007f8ae2e5bce0 in MessageComposer::AttachmentControllerBase::addAttachment (this=0xdc3030, part=...) at ../../messagecomposer/attachment/attachmentcontrollerbase.cpp:813
Comment 3 Laurent Montel 2014-06-28 11:21:37 UTC
Fixed in 4.13.3