Bug 331804 - Kontact crash when replying to email (intermittend)
Summary: Kontact crash when replying to email (intermittend)
Status: RESOLVED INTENTIONAL
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.11.5
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-03-06 09:46 UTC by lenjoubert
Modified: 2016-09-26 18:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lenjoubert 2014-03-06 09:46:17 UTC
Application: kontact (4.11.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic x86_64
Distribution: Linux Mint 16 Petra

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

Reading a email retrieved from an Exchange server, selected the option to show all information in the email (default is to hide pictures etc.), then replied to email and Kontact crashed.

This happened a few times before, but allways with that one account type (have more than one account configured in Kontact)

The crash can be reproduced sometimes.

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

Thread 7 (Thread 0x7fb219038700 (LWP 3936)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb23250f1cd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fb23250f209 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fb22ec39f6e in start_thread (arg=0x7fb219038700) at pthread_create.c:311
#4  0x00007fb234c9e9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7fb1d8735700 (LWP 3937)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb23224fbbd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fb23253ea76 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fb22ec39f6e in start_thread (arg=0x7fb1d8735700) at pthread_create.c:311
#4  0x00007fb234c9e9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7fb1c92a3700 (LWP 3943)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x7fb1bc000a60, decr=1) at pthread_mutex_unlock.c:38
#1  0x00007fb22e7a13d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb22e761299 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb22e761708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb22e7617ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb235417a76 in QEventDispatcherGlib::processEvents (this=0x7fb1bc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fb2353e95ef in QEventLoop::processEvents (this=this@entry=0x7fb1c92a2d70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fb2353e98e5 in QEventLoop::exec (this=this@entry=0x7fb1c92a2d70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fb2352e888f in QThread::exec (this=this@entry=0x293c5f0) at thread/qthread.cpp:542
#9  0x00007fb2353cad13 in QInotifyFileSystemWatcherEngine::run (this=0x293c5f0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fb2352eaf2f in QThreadPrivate::start (arg=0x293c5f0) at thread/qthread_unix.cpp:338
#11 0x00007fb22ec39f6e in start_thread (arg=0x7fb1c92a3700) at pthread_create.c:311
#12 0x00007fb234c9e9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fb1c35e4700 (LWP 3953)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fb2352eb3e4 in wait (time=30000, this=0x2f9fd40) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x2fa04e8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fb2352de8a5 in QThreadPoolThread::run (this=0x2fb6520) at concurrent/qthreadpool.cpp:141
#4  0x00007fb2352eaf2f in QThreadPrivate::start (arg=0x2fb6520) at thread/qthread_unix.cpp:338
#5  0x00007fb22ec39f6e in start_thread (arg=0x7fb1c35e4700) at pthread_create.c:311
#6  0x00007fb234c9e9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fb1c2dc1700 (LWP 3954)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x7fb1b0000a60, decr=1) at pthread_mutex_unlock.c:52
#1  0x00007fb22e7a13d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb22e761699 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb22e7617ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb235417a76 in QEventDispatcherGlib::processEvents (this=0x7fb1b00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fb2353e95ef in QEventLoop::processEvents (this=this@entry=0x7fb1c2dc0db0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fb2353e98e5 in QEventLoop::exec (this=this@entry=0x7fb1c2dc0db0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fb2352e888f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007fb2352eaf2f in QThreadPrivate::start (arg=0x252bb60) at thread/qthread_unix.cpp:338
#9  0x00007fb22ec39f6e in start_thread (arg=0x7fb1c2dc1700) at pthread_create.c:311
#10 0x00007fb234c9e9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fb1adb0a700 (LWP 3959)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fb2352eb3e4 in wait (time=30000, this=0x2feb220) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x2feb198, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fb2352de8a5 in QThreadPoolThread::run (this=0x5df0080) at concurrent/qthreadpool.cpp:141
#4  0x00007fb2352eaf2f in QThreadPrivate::start (arg=0x5df0080) at thread/qthread_unix.cpp:338
#5  0x00007fb22ec39f6e in start_thread (arg=0x7fb1adb0a700) at pthread_create.c:311
#6  0x00007fb234c9e9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fb2377217c0 (LWP 3935)):
[KCrash Handler]
#6  0x00007fb234bdaf77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fb234bde5e8 in __GI_abort () at abort.c:90
#8  0x00007fb234c184fb in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fb234d2c240 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
#9  0x00007fb234c24996 in malloc_printerr (ptr=0x68b31f0, str=0x7fb234d2c370 "double free or corruption (out)", action=3) at malloc.c:4923
#10 _int_free (av=<optimized out>, p=0x68b31e0, have_lock=0) at malloc.c:3779
#11 0x00007fb2353fb17a in QMetaCallEvent::~QMetaCallEvent (this=0x6350990, __in_chrg=<optimized out>) at kernel/qobject.cpp:508
#12 0x00007fb2353fb1e9 in QMetaCallEvent::~QMetaCallEvent (this=0x6350990, __in_chrg=<optimized out>) at kernel/qobject.cpp:517
#13 0x00007fb2353ede28 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x229d1d0) at kernel/qcoreapplication.cpp:1586
#14 0x00007fb2353ee2c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#15 0x00007fb235418073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#16 postEventSourceDispatch (s=0x22e3720) at kernel/qeventdispatcher_glib.cpp:279
#17 0x00007fb22e7613b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007fb22e761708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fb22e7617ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fb235417a55 in QEventDispatcherGlib::processEvents (this=0x229e690, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#21 0x00007fb235e7d9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007fb2353ee2ff in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1133
#23 0x00007fb1cfa07257 in MessageComposer::KMeditor::ensureCursorVisible (this=this@entry=0x628b6c0) at ../../messagecomposer/composer/kmeditor.cpp:618
#24 0x00007fb1cfa072e8 in MessageComposer::KMeditor::setCursorPositionFromStart (this=0x628b6c0, pos=<optimized out>) at ../../messagecomposer/composer/kmeditor.cpp:555
#25 0x00007fb1cf9f693d in MessageComposer::ComposerViewBase::setMessage (this=0x5aba9b0, msg=...) at ../../messagecomposer/composer/composerviewbase.cpp:197
#26 0x00007fb1d448e598 in KMComposeWin::setMessage (this=this@entry=0x625cd00, newMsg=..., lastSignState=lastSignState@entry=false, lastEncryptState=lastEncryptState@entry=false, mayAutoSign=mayAutoSign@entry=true, allowDecryption=allowDecryption@entry=false, isModified=isModified@entry=false) at ../../kmail/editor/kmcomposewin.cpp:1581
#27 0x00007fb1d44949e4 in KMComposeWin::KMComposeWin (this=this@entry=0x625cd00, aMsg=..., lastSignState=lastSignState@entry=false, lastEncryptState=lastEncryptState@entry=false, context=context@entry=KMail::Composer::Reply, id=id@entry=0, textSelection=..., customTemplate=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/editor/kmcomposewin.cpp:484
#28 0x00007fb1d44956ab in KMComposeWin::create (msg=..., lastSignState=<optimized out>, lastEncryptState=<optimized out>, context=KMail::Composer::Reply, identity=identity@entry=0, textSelection=..., customTemplate=...) at ../../kmail/editor/kmcomposewin.cpp:179
#29 0x00007fb1d44956dc in KMail::makeComposer (msg=..., lastSignState=<optimized out>, lastEncryptState=<optimized out>, context=<optimized out>, identity=identity@entry=0, textSelection=..., customTemplate=...) at ../../kmail/editor/kmcomposewin.cpp:173
#30 0x00007fb1d442fcb1 in KMReplyCommand::execute (this=0x7366d60) at ../../kmail/kmcommands.cpp:837
#31 0x00007fb1d442a2e1 in KMCommand::slotPostTransfer (this=0x7366d60, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:270
#32 0x00007fb2353fea58 in QMetaObject::activate (sender=sender@entry=0x7366d60, m=m@entry=0x7fb1d474bc40 <KMCommand::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff59970a30) at kernel/qobject.cpp:3539
#33 0x00007fb1d442a21e in KMCommand::messagesTransfered (this=this@entry=0x7366d60, _t1=_t1@entry=KMCommand::OK) at ./kmcommands.moc:117
#34 0x00007fb1d442b823 in KMCommand::slotJobFinished (this=0x7366d60) at ../../kmail/kmcommands.cpp:370
#35 0x00007fb2353fea58 in QMetaObject::activate (sender=sender@entry=0x5c39720, m=m@entry=0x7fb235c03600 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff59970bd0) at kernel/qobject.cpp:3539
#36 0x00007fb235873752 in KJob::result (this=this@entry=0x5c39720, _t1=_t1@entry=0x5c39720) at ./kjob.moc:208
#37 0x00007fb235873790 in KJob::emitResult (this=0x5c39720) at ../../kdecore/jobs/kjob.cpp:318
#38 0x00007fb235402dce in QObject::event (this=0x5c39720, e=<optimized out>) at kernel/qobject.cpp:1194
#39 0x00007fb235ddbdfc in QApplicationPrivate::notify_helper (this=this@entry=0x22d8a00, receiver=receiver@entry=0x5c39720, e=e@entry=0x61a8730) at kernel/qapplication.cpp:4567
#40 0x00007fb235de2470 in QApplication::notify (this=this@entry=0x7fff59971310, receiver=receiver@entry=0x5c39720, e=e@entry=0x61a8730) at kernel/qapplication.cpp:4353
#41 0x00007fb236ae5a6a in KApplication::notify (this=0x7fff59971310, receiver=0x5c39720, event=0x61a8730) at ../../kdeui/kernel/kapplication.cpp:311
#42 0x00007fb2353ea8bd in QCoreApplication::notifyInternal (this=0x7fff59971310, receiver=receiver@entry=0x5c39720, event=event@entry=0x61a8730) at kernel/qcoreapplication.cpp:946
#43 0x00007fb2353ede1f in sendEvent (event=0x61a8730, receiver=0x5c39720) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x229d1d0) at kernel/qcoreapplication.cpp:1570
#45 0x00007fb2353ee2c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#46 0x00007fb235418073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#47 postEventSourceDispatch (s=0x22e3720) at kernel/qeventdispatcher_glib.cpp:279
#48 0x00007fb22e7613b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007fb22e761708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007fb22e7617ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007fb235417a55 in QEventDispatcherGlib::processEvents (this=0x229e690, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#52 0x00007fb235e7d9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007fb2353e95ef in QEventLoop::processEvents (this=this@entry=0x7fff59971210, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007fb2353e98e5 in QEventLoop::exec (this=this@entry=0x7fff59971210, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007fb2353eee5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#56 0x00007fb235dda34c in QApplication::exec () at kernel/qapplication.cpp:3828
#57 0x0000000000403660 in main (argc=1, argv=0x7fff59971458) at ../../../kontact/src/main.cpp:219

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

Possible duplicates by query: bug 328917, bug 328902, bug 327905, bug 326343, bug 325666.

Reported using DrKonqi
Comment 1 lenjoubert 2014-03-06 09:49:33 UTC
After selecting re-open application after bug submitted it opened the window with that spesific email and I noticed no Subject line in the email, added one and the email send sucsessfully.
Comment 2 Denis Kurz 2016-09-24 19:21:19 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 lenjoubert 2016-09-26 18:22:57 UTC
I have not experienced it on version > 5, therefore can close.