Bug 336896 - Kmail is always crashing when sending an document from libre office
Summary: Kmail is always crashing when sending an document from libre office
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.13.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-30 10:22 UTC by Sadako Sasaki
Modified: 2017-01-07 22:26 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 Sadako Sasaki 2014-06-30 10:22:50 UTC
Application: kmail (4.13.2)
KDE Platform Version: 4.13.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-30-generic x86_64
Distribution: Ubuntu 14.04 LTS

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


Im sending a document directly from libreoffice.

using send document as email.

Kmail will open, im entering my text and press send.


- Unusual behavior I noticed:
kmail will crash everytime and ask me to restart it.

i press restart, the whole composed email will open and i can press send without problems.

The crash can be reproduced every time.

-- 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 0x7f2028880800 (LWP 15933))]

Thread 5 (Thread 0x7f1ffeec5700 (LWP 15936)):
#0  0x00007f201dca78ba in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f201dca7d39 in g_private_get () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f201dc8b3b0 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f201dc660dd in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f20265727be in QEventDispatcherGlib::processEvents (this=0x7f1ff80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f20265440af in QEventLoop::processEvents (this=this@entry=0x7f1ffeec4da0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f20265443a5 in QEventLoop::exec (this=this@entry=0x7f1ffeec4da0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f2026440c5f in QThread::exec (this=this@entry=0x188be70) at thread/qthread.cpp:537
#8  0x00007f2026525823 in QInotifyFileSystemWatcherEngine::run (this=0x188be70) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f202644332f in QThreadPrivate::start (arg=0x188be70) at thread/qthread_unix.cpp:349
#10 0x00007f20234a4182 in start_thread (arg=0x7f1ffeec5700) at pthread_create.c:312
#11 0x00007f2025be330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f1ffcc2b700 (LWP 15949)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f201a18481d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f201a184859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f20234a4182 in start_thread (arg=0x7f1ffcc2b700) at pthread_create.c:312
#4  0x00007f2025be330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f1fb7996700 (LWP 15951)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2019ec520d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f201a1b3fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f20234a4182 in start_thread (arg=0x7f1fb7996700) at pthread_create.c:312
#4  0x00007f2025be330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f1fb6d95700 (LWP 15953)):
#0  0x00007f2025bd5fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f201dc65fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f201dc660ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f20265727be in QEventDispatcherGlib::processEvents (this=0x7f1fa80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f20265440af in QEventLoop::processEvents (this=this@entry=0x7f1fb6d94de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f20265443a5 in QEventLoop::exec (this=this@entry=0x7f1fb6d94de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2026440c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#7  0x00007f202644332f in QThreadPrivate::start (arg=0x21c80b0) at thread/qthread_unix.cpp:349
#8  0x00007f20234a4182 in start_thread (arg=0x7f1fb6d95700) at pthread_create.c:312
#9  0x00007f2025be330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f2028880800 (LWP 15933)):
[KCrash Handler]
#6  QString (other=..., this=0x2ec8280) at /usr/include/qt4/QtCore/qstring.h:725
#7  Mailbox (this=0x2ec8280) at ../../kmime/kmime_header_parsing.h:69
#8  node_copy (src=0x1974888, to=0x2fe1018, from=0x2fa1818, this=0x7fff59794f60) at /usr/include/qt4/QtCore/qlist.h:399
#9  QList<KMime::Types::Mailbox>::detach_helper (this=0x7fff59794f60, alloc=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:711
#10 0x00007f202296d9d1 in detach_helper (this=0x7fff59794f60) at /usr/include/qt4/QtCore/qlist.h:725
#11 QList (l=..., this=0x7fff59794f60) at /usr/include/qt4/QtCore/qlist.h:122
#12 KMime::Headers::Generics::MailboxList::mailboxes (this=<optimized out>) at ../../kmime/kmime_headers.cpp:477
#13 0x00007f1fb51412b4 in ?? () from /usr/lib/kde4/akonadi_serializer_mail.so
#14 0x00007f20225b3968 in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0x7fff597955dc: 1) at ../../akonadi/itemserializer.cpp:143
#15 0x00007f20225b412f in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0x7fff597955dc: 1, version@entry=@0x7fff597955dc: 0) at ../../akonadi/itemserializer.cpp:133
#16 0x00007f20225a8a28 in Akonadi::ItemCreateJobPrivate::nextPartHeader (this=this@entry=0x2f65030) at ../../akonadi/itemcreatejob.cpp:65
#17 0x00007f20225a9cd7 in Akonadi::ItemCreateJob::doHandleResponse (this=<optimized out>, tag=..., data=...) at ../../akonadi/itemcreatejob.cpp:135
#18 0x00007f20225bee33 in Akonadi::JobPrivate::handleResponse (this=<optimized out>, tag=..., data=...) at ../../akonadi/job.cpp:78
#19 0x00007f202260c402 in Akonadi::SessionPrivate::dataReceived (this=0x144c090) at ../../akonadi/session.cpp:236
#20 0x00007f202655987a in QMetaObject::activate (sender=0x1326150, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#21 0x00007f202655987a in QMetaObject::activate (sender=sender@entry=0x1687a38, m=m@entry=0x7f20268a8540 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#22 0x00007f20265a2720 in QIODevice::readyRead (this=this@entry=0x1687a38) at .moc/release-shared/moc_qiodevice.cpp:104
#23 0x00007f2024be2ccd in QAbstractSocketPrivate::canReadNotification (this=0x1640390) at socket/qabstractsocket.cpp:654
#24 0x00007f2024bebcfd in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#25 0x00007f2026a76e2c in QApplicationPrivate::notify_helper (this=this@entry=0x12cfe20, receiver=receiver@entry=0x14295f0, e=e@entry=0x7fff59795c30) at kernel/qapplication.cpp:4567
#26 0x00007f2026a7d4a0 in QApplication::notify (this=this@entry=0x7fff59796220, receiver=receiver@entry=0x14295f0, e=e@entry=0x7fff59795c30) at kernel/qapplication.cpp:4353
#27 0x00007f20282b1d1a in KApplication::notify (this=0x7fff59796220, receiver=0x14295f0, event=0x7fff59795c30) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f20265454dd in QCoreApplication::notifyInternal (this=0x7fff59796220, receiver=0x14295f0, event=event@entry=0x7fff59795c30) at kernel/qcoreapplication.cpp:953
#29 0x00007f20265734a8 in sendEvent (event=0x7fff59795c30, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 socketNotifierSourceDispatch (source=0x12e2200) at kernel/qeventdispatcher_glib.cpp:117
#31 0x00007f201dc65e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f201dc66048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f201dc660ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f20265727a1 in QEventDispatcherGlib::processEvents (this=0x1216b20, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#35 0x00007f2026b18bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f20265440af in QEventLoop::processEvents (this=this@entry=0x7fff59795e70, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f20265443a5 in QEventLoop::exec (this=this@entry=0x7fff59795e70, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f2026549b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#39 0x0000000000402d18 in ?? ()
#40 0x00007f2025b09ec5 in __libc_start_main (main=0x402280, argc=1, argv=0x7fff59796448, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff59796438) at libc-start.c:287
#41 0x00000000004031ee in _start ()

Possible duplicates by query: bug 300026.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 18:18:16 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 kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:26:00 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.