Bug 326185 - KONTACT Crash when sending mail from Libre Office
Summary: KONTACT Crash when sending mail from Libre Office
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.11.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-10-18 08:12 UTC by awbhouse
Modified: 2017-01-07 21:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.29 KB, text/plain)
2014-04-24 18:09 UTC, Sakis
Details
New crash information added by DrKonqi (10.70 KB, text/plain)
2014-05-02 09:45 UTC, Sakis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description awbhouse 2013-10-18 08:12:50 UTC
Application: kontact (4.11.2)
KDE Platform Version: 4.11.2 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic i686
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed: I was trying to email a document from Libre Office Writer. Email was created, written and send clicked. No report of 'sent mail' and then Kontact crashed.
Using Kubuntu 13.10

The crash can be reproduced every 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 0xb16ce740 (LWP 3352))]

Thread 5 (Thread 0xaefa5b40 (LWP 3353)):
#0  0xb7718424 in __kernel_vsyscall ()
#1  0xb31eb84b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb60aa9bc in __pthread_cond_wait (cond=0xb583cd90, mutex=0xb583cd78) at forward.c:149
#3  0xb4fc2a7c in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb4fc2acf in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb31e7d78 in start_thread (arg=0xaefa5b40) at pthread_create.c:311
#6  0xb609d01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 4 (Thread 0xae67cb40 (LWP 3354)):
#0  0xb7718424 in __kernel_vsyscall ()
#1  0xb31eb84b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb60aa9bc in __pthread_cond_wait (cond=0xae6ea7dc, mutex=0xae6ea7c4) at forward.c:149
#3  0xb4ff1ae3 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb4ccd744 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb4fd8866 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#6  0xb4ff1459 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#7  0xb31e7d78 in start_thread (arg=0xae67cb40) at pthread_create.c:311
#8  0xb609d01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 3 (Thread 0xabbd9b40 (LWP 3357)):
#0  0xb31e9de3 in __GI___pthread_mutex_lock (mutex=0xab200558) at pthread_mutex_lock.c:95
#1  0xb60aabc4 in pthread_mutex_lock (mutex=0xab200558) at forward.c:192
#2  0xb314cba0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb3109b08 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb3109c98 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb63ee8df in QEventDispatcherGlib::processEvents (this=0xab200468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb63bd9f3 in QEventLoop::processEvents (this=this@entry=0xabbd9228, flags=...) at kernel/qeventloop.cpp:149
#7  0xb63bdd19 in QEventLoop::exec (this=this@entry=0xabbd9228, flags=...) at kernel/qeventloop.cpp:204
#8  0xb62ace3d in QThread::exec (this=this@entry=0x928ac98) at thread/qthread.cpp:542
#9  0xb639de14 in QInotifyFileSystemWatcherEngine::run (this=0x928ac98) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb62af72f in QThreadPrivate::start (arg=0x928ac98) at thread/qthread_unix.cpp:338
#11 0xb31e7d78 in start_thread (arg=0xabbd9b40) at pthread_create.c:311
#12 0xb609d01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0xab030b40 (LWP 3368)):
#0  0xb314cba0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb310958b in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb3109aea in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb3109c98 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb63ee8df in QEventDispatcherGlib::processEvents (this=0x8e77528, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb63bd9f3 in QEventLoop::processEvents (this=this@entry=0xab030258, flags=...) at kernel/qeventloop.cpp:149
#6  0xb63bdd19 in QEventLoop::exec (this=this@entry=0xab030258, flags=...) at kernel/qeventloop.cpp:204
#7  0xb62ace3d in QThread::exec (this=this@entry=0x8f09f28) at thread/qthread.cpp:542
#8  0xb62acf8b in QThread::run (this=0x8f09f28) at thread/qthread.cpp:609
#9  0xb62af72f in QThreadPrivate::start (arg=0x8f09f28) at thread/qthread_unix.cpp:338
#10 0xb31e7d78 in start_thread (arg=0xab030b40) at pthread_create.c:311
#11 0xb609d01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb16ce740 (LWP 3352)):
[KCrash Handler]
#7  QString (other=..., this=0xc6e3090) at /usr/include/qt4/QtCore/qstring.h:725
#8  Mailbox (this=0xc6e3090) at ../../kmime/kmime_header_parsing.h:69
#9  node_copy (src=0xba6ebb8, to=0x3c0ea034, from=0xd72f418, this=0xbfb9a07c) at /usr/include/qt4/QtCore/qlist.h:399
#10 QList<KMime::Types::Mailbox>::detach_helper (this=this@entry=0xbfb9a07c, alloc=35) at /usr/include/qt4/QtCore/qlist.h:711
#11 0xb2a6fe04 in detach_helper (this=0xbfb9a07c) at /usr/include/qt4/QtCore/qlist.h:725
#12 QList (l=..., this=0xbfb9a07c) at /usr/include/qt4/QtCore/qlist.h:122
#13 KMime::Headers::Generics::MailboxList::mailboxes (this=0xcd7c7b8) at ../../kmime/kmime_headers.cpp:477
#14 0xa9eec196 in ?? () from /usr/lib/kde4/akonadi_serializer_mail.so
#15 0xb5ad3e8b in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0xbfb9a478: 1) at ../../akonadi/itemserializer.cpp:126
#16 0xb5ad4755 in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0xbfb9a478: 1) at ../../akonadi/itemserializer.cpp:116
#17 0xb5ac5100 in Akonadi::ItemCreateJob::doStart (this=0xec5f9e0) at ../../akonadi/itemcreatejob.cpp:104
#18 0xb5adf8b2 in Akonadi::JobPrivate::startQueued (this=0xa2b63b8) at ../../akonadi/job.cpp:165
#19 0xb5b1c6ae in Akonadi::SessionPrivate::startJob (this=this@entry=0x91fde50, job=job@entry=0xec5f9e0) at ../../akonadi/session.cpp:281
#20 0xb5b1cf6f in Akonadi::SessionPrivate::doStartNext (this=0x91fde50) at ../../akonadi/session.cpp:270
#21 0xb63d077a in QMetaCallEvent::placeMetaCall (this=0x9254b68, object=0x8df38a8) at kernel/qobject.cpp:524
#22 0xb63d858b in QObject::event (this=0x8df38a8, e=0x9254b68) at kernel/qobject.cpp:1194
#23 0xb691a744 in QApplicationPrivate::notify_helper (this=0x8d2f8b0, receiver=0x8df38a8, e=0x9254b68) at kernel/qapplication.cpp:4567
#24 0xb6921223 in QApplication::notify (this=0xbfb9abe8, receiver=receiver@entry=0x8df38a8, e=e@entry=0x9254b68) at kernel/qapplication.cpp:4353
#25 0xb7467ff4 in KApplication::notify (this=0xbfb9abe8, receiver=0x8df38a8, event=0x9254b68) at ../../kdeui/kernel/kapplication.cpp:311
#26 0xb63beeda in QCoreApplication::notifyInternal (this=0xbfb9abe8, receiver=receiver@entry=0x8df38a8, event=event@entry=0x9254b68) at kernel/qcoreapplication.cpp:946
#27 0xb63c26ad in sendEvent (event=0x9254b68, receiver=0x8df38a8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x8d00fa0) at kernel/qcoreapplication.cpp:1570
#29 0xb63c2bbc in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#30 0xb63eef6e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=0x8d2e4e0) at kernel/qeventdispatcher_glib.cpp:279
#32 0xb310982e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0xb3109bd8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0xb3109c98 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0xb63ee8bf in QEventDispatcherGlib::processEvents (this=this@entry=0x8d2daa8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#36 0xb69cf32e in QGuiEventDispatcherGlib::processEvents (this=0x8d2daa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0xb63bd9f3 in QEventLoop::processEvents (this=this@entry=0xbfb9ab38, flags=...) at kernel/qeventloop.cpp:149
#38 0xb63bdd19 in QEventLoop::exec (this=this@entry=0xbfb9ab38, flags=...) at kernel/qeventloop.cpp:204
#39 0xb63c389e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#40 0xb6918974 in QApplication::exec () at kernel/qapplication.cpp:3828
#41 0x0804ab4c in main (argc=1, argv=0xbfb9acc4) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 300026.

Reported using DrKonqi
Comment 1 Sakis 2014-04-24 18:09:24 UTC
Created attachment 86251 [details]
New crash information added by DrKonqi

kontact (4.13) on KDE Platform 4.13.0 using Qt 4.8.6

- What I was doing when the application crashed:
I had attached a document directly from writer, corected the subject and cliked to send. Just a couple (or less) seconds ater that kontakt crashed.

-- Backtrace (Reduced):
#7  QString (other=..., this=0xa8eb678) at /usr/include/qt4/QtCore/qstring.h:725
#8  Mailbox (this=0xa8eb678) at ../../kmime/kmime_header_parsing.h:69
[...]
#12 QList (l=..., this=0xbfd7a43c) at /usr/include/qt4/QtCore/qlist.h:122
#13 KMime::Headers::Generics::MailboxList::mailboxes (this=0xc5b5458) at ../../kmime/kmime_headers.cpp:477
#14 0xaa9703f6 in buildAddrStruct<KMime::Headers::From> (hdr=<optimized out>) at ../../plugins/akonadi_serializer_mail.cpp:162
Comment 2 Sakis 2014-05-02 09:45:37 UTC
Created attachment 86399 [details]
New crash information added by DrKonqi

kontact (4.13) on KDE Platform 4.13.0 using Qt 4.8.6

- What I was doing when the application crashed: I was just sending a word.doc from writer. This is crush is common every time I send documents from Writer. After the crash the messageis being recovered automatically and can be send normally.

- Custom settings of the application: I upgraded to 14.04 distro without first updating the applications because the upgrade message appeard on screen earlier than the apps update message. I also have complications and errors with Kontakt. I'll probably go for a fresh installation.
Thanks for your time.

-- Backtrace (Reduced):
#8  QString (other=..., this=0xfea27b0) at /usr/include/qt4/QtCore/qstring.h:726
#9  Mailbox (this=0xfea27b0) at ../../kmime/kmime_header_parsing.h:69
[...]
#13 QList (l=..., this=0xbfcab69c) at /usr/include/qt4/QtCore/qlist.h:122
#14 KMime::Headers::Generics::MailboxList::mailboxes (this=0xff23f08) at ../../kmime/kmime_headers.cpp:477
#15 0xaa9093f6 in buildAddrStruct<KMime::Headers::From> (hdr=<optimized out>) at ../../plugins/akonadi_serializer_mail.cpp:162
Comment 3 Denis Kurz 2016-09-24 19:32:07 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 4 Denis Kurz 2017-01-07 21:38:24 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.