Bug 336945 (przxqgl) - crash when attaching a file
Summary: crash when attaching a file
Status: RESOLVED FIXED
Alias: przxqgl
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.13.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-07-01 19:20 UTC by przxqgl
Modified: 2014-07-02 17:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.2
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (11.09 KB, text/plain)
2014-07-01 19:34 UTC, przxqgl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description przxqgl 2014-07-01 19:20:20 UTC
Application: kontact (4.13.1)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-30-generic i686
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

1) receive a message
2) reply to that message
3) attach a file to your reply

EXPECTED RESULT: the file is attached to the reply

ACTUAL RESULT: crash

NOTE: i didn't try to reproduce this, and the probability is very high that if i did, it wouldn't reproduce reliably, but it happened to me this time.

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

Thread 5 (Thread 0xae786b40 (LWP 2270)):
#0  0xb773a424 in __kernel_vsyscall ()
#1  0xb31b5d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb60c08ec in __pthread_cond_wait (cond=0xb580fcb0, mutex=0xb580fc98) at forward.c:149
#3  0xb4f979ac in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb4f979ff in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb31b1f70 in start_thread (arg=0xae786b40) at pthread_create.c:312
#6  0xb60b370e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 4 (Thread 0xade65b40 (LWP 2273)):
#0  0xb773a424 in __kernel_vsyscall ()
#1  0xb31b5d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb60c08ec in __pthread_cond_wait (cond=0xaded37dc, mutex=0xaded37c4) at forward.c:149
#3  0xb4fc69f3 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb4ca2574 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb4fad7c6 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#6  0xb4fc6369 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#7  0xb31b1f70 in start_thread (arg=0xade65b40) at pthread_create.c:312
#8  0xb60b370e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0xab298b40 (LWP 2291)):
#0  0xb30c9523 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb30cb943 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb30cc2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb30cc528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb640895f in QEventDispatcherGlib::processEvents (this=0xaa900468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0xb63d7823 in QEventLoop::processEvents (this=this@entry=0xab298288, flags=...) at kernel/qeventloop.cpp:149
#6  0xb63d7b49 in QEventLoop::exec (this=this@entry=0xab298288, flags=...) at kernel/qeventloop.cpp:204
#7  0xb62c423d in QThread::exec (this=this@entry=0x954d7c0) at thread/qthread.cpp:537
#8  0xb62c438b in QThread::run (this=0x954d7c0) at thread/qthread.cpp:604
#9  0xb62c6b6f in QThreadPrivate::start (arg=0x954d7c0) at thread/qthread_unix.cpp:349
#10 0xb31b1f70 in start_thread (arg=0xab298b40) at pthread_create.c:312
#11 0xb60b370e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0xaa1ccb40 (LWP 2318)):
#0  __pthread_mutex_unlock_usercnt (mutex=0xa9800558, decr=1) at pthread_mutex_unlock.c:63
#1  0xb60c0b34 in pthread_mutex_unlock (mutex=0xa9800558) at forward.c:194
#2  0xb3111140 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb30cbc88 in g_main_context_query () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb30cc346 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb30cc528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb640895f in QEventDispatcherGlib::processEvents (this=0xa9800468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0xb63d7823 in QEventLoop::processEvents (this=this@entry=0xaa1cc258, flags=...) at kernel/qeventloop.cpp:149
#8  0xb63d7b49 in QEventLoop::exec (this=this@entry=0xaa1cc258, flags=...) at kernel/qeventloop.cpp:204
#9  0xb62c423d in QThread::exec (this=this@entry=0x9b95e58) at thread/qthread.cpp:537
#10 0xb63b7c44 in QInotifyFileSystemWatcherEngine::run (this=0x9b95e58) at io/qfilesystemwatcher_inotify.cpp:265
#11 0xb62c6b6f in QThreadPrivate::start (arg=0x9b95e58) at thread/qthread_unix.cpp:349
#12 0xb31b1f70 in start_thread (arg=0xaa1ccb40) at pthread_create.c:312
#13 0xb60b370e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb140d740 (LWP 2268)):
[KCrash Handler]
#7  QTimer::start (this=0x6f702d72) at kernel/qtimer.cpp:215
#8  0xaca62695 in KMComposeWin::slotCloseAttachMissingFile (this=0x12c26ea0) at ../../kmail/editor/kmcomposewin.cpp:3524
#9  0xacaa3c20 in KMComposeWin::qt_static_metacall (_o=0x6f702d72, _id=-1398129640, _a=0xbfb7ef48, _c=<optimized out>) at moc_kmcomposewin.cpp:302
#10 0xb63ee0f7 in QMetaObject::activate (sender=sender@entry=0x9b9d268, m=m@entry=0xacb3a02c <AttachmentMissingWarning::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#11 0xacaa67b5 in AttachmentMissingWarning::closeAttachMissingFile (this=this@entry=0x9b9d268) at moc_attachmentmissingwarning.cpp:119
#12 0xac9eed44 in AttachmentMissingWarning::slotFileAttached (this=this@entry=0x9b9d268) at ../../kmail/warningwidgets/attachmentmissingwarning.cpp:54
#13 0xacaa48cc in AttachmentMissingWarning::qt_static_metacall (_o=_o@entry=0x9b9d268, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfb7f048) at moc_attachmentmissingwarning.cpp:64
#14 0xb63ee0f7 in QMetaObject::activate (sender=sender@entry=0x17fec0a8, m=m@entry=0xac70d8dc <MessageComposer::AttachmentControllerBase::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#15 0xac64aeb5 in MessageComposer::AttachmentControllerBase::fileAttached (this=this@entry=0x17fec0a8) at ./moc_attachmentcontrollerbase.cpp:245
#16 0xac64afae in MessageComposer::AttachmentControllerBase::addAttachment (this=0x17fec0a8, part=...) at ../../messagecomposer/attachment/attachmentcontrollerbase.cpp:813
#17 0xac64b13d in MessageComposer::AttachmentControllerBase::Private::loadJobResult (this=0x153f5680, job=0x9f644d0) at ../../messagecomposer/attachment/attachmentcontrollerbase.cpp:229
#18 0xac652f0c in MessageComposer::AttachmentControllerBase::qt_static_metacall (_o=_o@entry=0x17fec0a8, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfb7f228) at ./moc_attachmentcontrollerbase.cpp:155
#19 0xb63ee0f7 in QMetaObject::activate (sender=sender@entry=0x9f644d0, m=m@entry=0xb67f34cc <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0xbfb7f228) at kernel/qobject.cpp:3539
#20 0xb664ef95 in KJob::result (this=this@entry=0x9f644d0, _t1=_t1@entry=0x9f644d0) at ./kjob.moc:207
#21 0xb664efe2 in KJob::emitResult (this=0x9f644d0) at ../../kdecore/jobs/kjob.cpp:318
#22 0xac72888e in MessageCore::AttachmentFromUrlJob::Private::transferJobResult (this=0x12f06dd8, job=0x116214f0) at ../../messagecore/attachment/attachmentfromurljob.cpp:117
#23 0xac728d54 in MessageCore::AttachmentFromUrlJob::qt_static_metacall (_o=_o@entry=0x9f644d0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfb7f3d8) at ./moc_attachmentfromurljob.cpp:54
#24 0xb63ee0f7 in QMetaObject::activate (sender=sender@entry=0x116214f0, m=m@entry=0xb67f34cc <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0xbfb7f3d8) at kernel/qobject.cpp:3539
#25 0xb664ef95 in KJob::result (this=this@entry=0x116214f0, _t1=_t1@entry=0x116214f0) at ./kjob.moc:207
#26 0xb664efe2 in KJob::emitResult (this=this@entry=0x116214f0) at ../../kdecore/jobs/kjob.cpp:318
#27 0xb5dacfd1 in KIO::SimpleJob::slotFinished (this=0x116214f0) at ../../kio/kio/job.cpp:496
#28 0xb5dae3d9 in KIO::TransferJob::slotFinished (this=0x116214f0) at ../../kio/kio/job.cpp:1110
#29 0xb5daefe0 in KIO::TransferJob::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfb7f5d8, _c=<optimized out>) at ./jobclasses.moc:387
#30 0xb63ee0f7 in QMetaObject::activate (sender=sender@entry=0x14c9e068, m=m@entry=0xb5f73480 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#31 0xb5e59055 in KIO::SlaveInterface::finished (this=this@entry=0x14c9e068) at ./slaveinterface.moc:184
#32 0xb5e5aa9d in KIO::SlaveInterface::dispatch (this=0x14c9e068, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:176
#33 0xb5e57e1e in KIO::SlaveInterface::dispatch (this=0x14c9e068) at ../../kio/kio/slaveinterface.cpp:92
#34 0xb5e4b440 in KIO::Slave::gotInput (this=this@entry=0x14c9e068) at ../../kio/kio/slave.cpp:344
#35 0xb5e4b5ec in KIO::Slave::qt_static_metacall (_o=_o@entry=0x14c9e068, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfb7f828) at ./slave.moc:56
#36 0xb63ee0f7 in QMetaObject::activate (sender=sender@entry=0x177b65c8, m=m@entry=0xb5f70190 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#37 0xb5d743b5 in KIO::Connection::readyRead (this=0x177b65c8) at ./connection.moc:105
#38 0xb5d74b60 in KIO::ConnectionPrivate::dequeue (this=0x153dda08) at ../../kio/kio/connection.cpp:82
#39 0xb63ea8aa in QMetaCallEvent::placeMetaCall (this=0x15e3aab8, object=0x177b65c8) at kernel/qobject.cpp:524
#40 0xb63f26fb in QObject::event (this=0x177b65c8, e=0x15e3aab8) at kernel/qobject.cpp:1194
#41 0xb69347f4 in QApplicationPrivate::notify_helper (this=0x94a4690, receiver=0x177b65c8, e=0x15e3aab8) at kernel/qapplication.cpp:4567
#42 0xb693b2d3 in QApplication::notify (this=0xbfb7fed8, receiver=receiver@entry=0x177b65c8, e=e@entry=0x15e3aab8) at kernel/qapplication.cpp:4353
#43 0xb74841f4 in KApplication::notify (this=0xbfb7fed8, receiver=0x177b65c8, event=0x15e3aab8) at ../../kdeui/kernel/kapplication.cpp:311
#44 0xb63d8e4a in QCoreApplication::notifyInternal (this=0xbfb7fed8, receiver=receiver@entry=0x177b65c8, event=event@entry=0x15e3aab8) at kernel/qcoreapplication.cpp:953
#45 0xb63dc70d in sendEvent (event=0x15e3aab8, receiver=0x177b65c8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9478010) at kernel/qcoreapplication.cpp:1577
#47 0xb63dcc1c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#48 0xb640923e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#49 postEventSourceDispatch (s=0x94a3350) at kernel/qeventdispatcher_glib.cpp:287
#50 0xb30cc1e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0xb30cc468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#52 0xb30cc528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#53 0xb640893b in QEventDispatcherGlib::processEvents (this=this@entry=0x9478db0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#54 0xb69e95de in QGuiEventDispatcherGlib::processEvents (this=0x9478db0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0xb63d7823 in QEventLoop::processEvents (this=this@entry=0xbfb7fe28, flags=...) at kernel/qeventloop.cpp:149
#56 0xb63d7b49 in QEventLoop::exec (this=this@entry=0xbfb7fe28, flags=...) at kernel/qeventloop.cpp:204
#57 0xb63dd8fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#58 0xb6932a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#59 0x0804ab4c in main (argc=1, argv=0xbfb7ffb4) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 336389, bug 335140, bug 335038, bug 335037, bug 334937.

Reported using DrKonqi
Comment 1 przxqgl 2014-07-01 19:34:10 UTC
Created attachment 87506 [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:

this is continued from the previous entry:

4) attempt to restart kontact

EXPECTED RESULT: kontact starts

ACTUAL RESULT: crash

FROM STEP 4, REPRODUCES EVERY TIME

this is now a serious bug that is preventing me from sending or receiving email. PLEASE HELP!

-- Backtrace (Reduced):
#7  QTimer::start (this=0x6e656d75) at kernel/qtimer.cpp:215
#8  0xaca8a695 in KMComposeWin::slotCloseAttachMissingFile (this=0x9e03118) at ../../kmail/editor/kmcomposewin.cpp:3524
#9  0xacacbc20 in KMComposeWin::qt_static_metacall (_o=0x6e656d75, _id=-1397965800, _a=0xbfd84b88, _c=<optimized out>) at moc_kmcomposewin.cpp:302
[...]
#11 0xacace7b5 in AttachmentMissingWarning::closeAttachMissingFile (this=this@entry=0x9e38e38) at moc_attachmentmissingwarning.cpp:119
#12 0xaca16d44 in AttachmentMissingWarning::slotFileAttached (this=this@entry=0x9e38e38) at ../../kmail/warningwidgets/attachmentmissingwarning.cpp:54
Comment 2 przxqgl 2014-07-01 20:08:36 UTC
PLEASE DISREGARD MY COMMENT ABOUT NOT BEING ABLE TO REPRODUCE THIS.

IT REPRODUCES EVERY TIME.
Comment 3 Laurent Montel 2014-07-02 07:53:10 UTC
Fixed in 4.13.2
Comment 4 przxqgl 2014-07-02 17:54:41 UTC
thanks... where can i get 4.13.2 for kubuntu 14.04? it's not in the backports PPA, and i need my email client... 8/