Bug 359459 - kmail crashes when i try send document from libreoffice
Summary: kmail crashes when i try send document from libreoffice
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.14.2
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-02-16 13:06 UTC by Grishin
Modified: 2018-11-01 19:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.51 KB, text/plain)
2016-02-17 12:44 UTC, Grishin
Details
New crash information added by DrKonqi (9.54 KB, text/plain)
2016-02-18 08:38 UTC, Grishin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grishin 2016-02-16 13:06:37 UTC
Application: kmail (4.14.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.19.0-32-generic x86_64
Distribution: Linux Mint 17.3 Rosa

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

kmail crashes when i try send document from libreoffice
Can I fix it somehow?

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa701e22800 (LWP 3380))]

Thread 5 (Thread 0x7fa6da657700 (LWP 3383)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa6f3bb581d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa6f3bb5859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa6fca39182 in start_thread (arg=0x7fa6da657700) at pthread_create.c:312
#4  0x00007fa6ff17747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fa698e5e700 (LWP 3384)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa6f38f620d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa6f3be4fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa6fca39182 in start_thread (arg=0x7fa698e5e700) at pthread_create.c:312
#4  0x00007fa6ff17747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fa693fff700 (LWP 3385)):
#0  0x00007fa6ff16a12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa6f71cefe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa6f71cf0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa6ffb067be in QEventDispatcherGlib::processEvents (this=0x7fa68c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fa6ffad80af in QEventLoop::processEvents (this=this@entry=0x7fa693ffede0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa6ffad83a5 in QEventLoop::exec (this=this@entry=0x7fa693ffede0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa6ff9d4c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#7  0x00007fa6ff9d732f in QThreadPrivate::start (arg=0x1de9600) at thread/qthread_unix.cpp:349
#8  0x00007fa6fca39182 in start_thread (arg=0x7fa693fff700) at pthread_create.c:312
#9  0x00007fa6ff17747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fa6927b2700 (LWP 3386)):
#0  0x00007fa6f7210979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa6f71cf0d8 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa6ffb067be in QEventDispatcherGlib::processEvents (this=0x7fa6840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#3  0x00007fa6ffad80af in QEventLoop::processEvents (this=this@entry=0x7fa6927b1da0, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007fa6ffad83a5 in QEventLoop::exec (this=this@entry=0x7fa6927b1da0, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007fa6ff9d4c5f in QThread::exec (this=this@entry=0x227dc90) at thread/qthread.cpp:537
#6  0x00007fa6ffab9823 in QInotifyFileSystemWatcherEngine::run (this=0x227dc90) at io/qfilesystemwatcher_inotify.cpp:265
#7  0x00007fa6ff9d732f in QThreadPrivate::start (arg=0x227dc90) at thread/qthread_unix.cpp:349
#8  0x00007fa6fca39182 in start_thread (arg=0x7fa6927b2700) at pthread_create.c:312
#9  0x00007fa6ff17747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fa701e22800 (LWP 3380)):
[KCrash Handler]
#6  ref (this=0x2e6666666666c3f3) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QString (other=..., this=0x327e6d0) at /usr/include/qt4/QtCore/qstring.h:726
#8  Mailbox (this=0x327e6d0) at ../../kmime/kmime_header_parsing.h:69
#9  node_copy (src=0x2f8ba70, to=0x3332328, from=0x32f2c20, this=0x7ffcf4054b90) at /usr/include/qt4/QtCore/qlist.h:399
#10 QList<KMime::Types::Mailbox>::detach_helper (this=0x7ffcf4054b90, alloc=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:711
#11 0x00007fa6fbf0d9d1 in detach_helper (this=0x7ffcf4054b90) at /usr/include/qt4/QtCore/qlist.h:725
#12 QList (l=..., this=0x7ffcf4054b90, this@entry=0x7fa6ff168899 <write+57>) at /usr/include/qt4/QtCore/qlist.h:122
#13 KMime::Headers::Generics::MailboxList::mailboxes (this=<optimized out>) at ../../kmime/kmime_headers.cpp:477
#14 0x00007fa691da52b4 in buildAddrStruct<KMime::Headers::From> (hdr=<optimized out>) at ../../plugins/akonadi_serializer_mail.cpp:162
#15 Akonadi::SerializerPluginMail::serialize (this=<optimized out>, item=..., label=..., data=..., version=<optimized out>) at ../../plugins/akonadi_serializer_mail.cpp:185
#16 0x00007fa6fbb4d3b8 in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0x7ffcf405520c: 1) at ../../akonadi/itemserializer.cpp:133
#17 0x00007fa6fbb4db7f in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0x7ffcf405520c: 1, version@entry=@0x7ffcf405520c: 0) at ../../akonadi/itemserializer.cpp:122
#18 0x00007fa6fbb40358 in Akonadi::ItemCreateJobPrivate::nextPartHeader (this=this@entry=0x32e5af0) at ../../akonadi/itemcreatejob.cpp:72
#19 0x00007fa6fbb42a6e in Akonadi::ItemCreateJob::doHandleResponse (this=<optimized out>, tag=..., data=...) at ../../akonadi/itemcreatejob.cpp:207
#20 0x00007fa6fbb58023 in Akonadi::JobPrivate::handleResponse (this=<optimized out>, tag=..., data=...) at ../../akonadi/job.cpp:79
#21 0x00007fa6fbba8842 in Akonadi::SessionPrivate::dataReceived (this=0x1bfe420) at ../../akonadi/session.cpp:240
#22 0x00007fa6ffaed87a in QMetaObject::activate (sender=0x1b082a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#23 0x00007fa6ffaed87a in QMetaObject::activate (sender=sender@entry=0x1bea248, m=m@entry=0x7fa6ffe3c540 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#24 0x00007fa6ffb36720 in QIODevice::readyRead (this=this@entry=0x1bea248) at .moc/release-shared/moc_qiodevice.cpp:104
#25 0x00007fa6fe177ccd in QAbstractSocketPrivate::canReadNotification (this=0x192d4e0) at socket/qabstractsocket.cpp:654
#26 0x00007fa6fe180cfd in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#27 0x00007fa70000ae2c in QApplicationPrivate::notify_helper (this=this@entry=0x18cb250, receiver=receiver@entry=0x1bbdcf0, e=e@entry=0x7ffcf4055860) at kernel/qapplication.cpp:4567
#28 0x00007fa7000114a0 in QApplication::notify (this=this@entry=0x7ffcf4055e50, receiver=receiver@entry=0x1bbdcf0, e=e@entry=0x7ffcf4055860) at kernel/qapplication.cpp:4353
#29 0x00007fa701851cca in KApplication::notify (this=0x7ffcf4055e50, receiver=0x1bbdcf0, event=0x7ffcf4055860) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007fa6ffad94dd in QCoreApplication::notifyInternal (this=0x7ffcf4055e50, receiver=0x1bbdcf0, event=event@entry=0x7ffcf4055860) at kernel/qcoreapplication.cpp:953
#31 0x00007fa6ffb074a8 in sendEvent (event=0x7ffcf4055860, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 socketNotifierSourceDispatch (source=0x18c0dd0) at kernel/qeventdispatcher_glib.cpp:117
#33 0x00007fa6f71cee04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fa6f71cf048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fa6f71cf0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fa6ffb067a1 in QEventDispatcherGlib::processEvents (this=0x183eaf0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#37 0x00007fa7000acbe6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007fa6ffad80af in QEventLoop::processEvents (this=this@entry=0x7ffcf4055aa0, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007fa6ffad83a5 in QEventLoop::exec (this=this@entry=0x7ffcf4055aa0, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007fa6ffaddb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#41 0x00007fa70000937c in QApplication::exec () at kernel/qapplication.cpp:3828
#42 0x0000000000402d18 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:146

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

Possible duplicates by query: bug 359187, bug 358918, bug 336896.

Reported using DrKonqi
Comment 1 Grishin 2016-02-17 12:44:36 UTC
Created attachment 97261 [details]
New crash information added by DrKonqi

kmail (4.14.2) on KDE Platform 4.14.2 using Qt 4.8.6

- What I was doing when the application crashed:

kmail crashes when I try send document from libreoffice

-- Backtrace (Reduced):
#7  QString (other=..., this=0x208bdf0) at /usr/include/qt4/QtCore/qstring.h:726
#8  Mailbox (this=0x208bdf0) at ../../kmime/kmime_header_parsing.h:69
[...]
#12 QList (l=..., this=0x7fffa5320140, this@entry=0x23389f0) at /usr/include/qt4/QtCore/qlist.h:122
#13 KMime::Headers::Generics::MailboxList::mailboxes (this=<optimized out>) at ../../kmime/kmime_headers.cpp:477
#14 0x00007f5a989dd2b4 in buildAddrStruct<KMime::Headers::From> (hdr=<optimized out>) at ../../plugins/akonadi_serializer_mail.cpp:162
Comment 2 Grishin 2016-02-18 08:38:37 UTC
Created attachment 97279 [details]
New crash information added by DrKonqi

kmail (4.14.2) on KDE Platform 4.14.2 using Qt 4.8.6

Снова то же самое. Kmail рушится при попытке отправить что-то из libreoffice. 
После перезапуска kmail окно нового сообщения восстанавливается и отправление происходит уже без сбоя. Но в следующий раз ошибка повторяется вновь. 
Включение автозапуска Libreoffice не решает проблему.

-- Backtrace (Reduced):
#7  QString (other=..., this=0x2d60650) at /usr/include/qt4/QtCore/qstring.h:726
#8  Mailbox (this=0x2d60650) at ../../kmime/kmime_header_parsing.h:69
[...]
#12 QList (l=..., this=0x7fff952fbfb0, this@entry=0x2d07170) at /usr/include/qt4/QtCore/qlist.h:122
#13 KMime::Headers::Generics::MailboxList::mailboxes (this=<optimized out>) at ../../kmime/kmime_headers.cpp:477
#14 0x00007f4e5f5f22b4 in buildAddrStruct<KMime::Headers::From> (hdr=<optimized out>) at ../../plugins/akonadi_serializer_mail.cpp:162
Comment 3 Andrew Crouthamel 2018-11-01 13:57:04 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Grishin 2018-11-01 16:15:58 UTC
(In reply to Andrew Crouthamel from comment #3)
> Dear Bug Submitter,
> 
> This bug has been stagnant for a long time. Could you help us out and
> re-test if the bug is valid in the latest version? I am setting the status
> to NEEDSINFO pending your response, please change the Status back to
> REPORTED when you respond.
> 
> Thank you for helping us make KDE software even better for everyone!


Hello, Andrew

I'm not use KDE since march 2016-th...
Generally because of kmail. There are a lot of email in my work and I was need for a fast decision. Thunderbird was first one. And I replaced KDE with Cinnamon or XFCE. Now I am looking to a tiling wm (i3wm, for example) side. And to a side of different console email clients (especially for the emacs).

Sorry for many words!

So, I can't reproduce that bug and don't know what to do. Is that be usefull, if I'll install Linux Mint KDE on Virtualbox and try, what you asking for, there?
Comment 5 Andrew Crouthamel 2018-11-01 18:43:24 UTC
Thanks for the update! I'll close this unless you want to go through the process of a VM.
Comment 6 Grishin 2018-11-01 19:30:24 UTC
(In reply to Andrew Crouthamel from comment #5)
> Thanks for the update! I'll close this unless you want to go through the
> process of a VM.

I'am not sure that I want for it. But I'm pretty sure that I have to.
Thank You very much for not forgetting this KDE-problem. KDE is really great