Bug 452717 - KMail crashes before sending an Email with an Attachment, which was created by LibreOffice.
Summary: KMail crashes before sending an Email with an Attachment, which was created b...
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: OpenSUSE Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-04-18 05:40 UTC by Walter Faerber
Modified: 2022-04-18 05:42 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 Walter Faerber 2022-04-18 05:40:15 UTC
Application: kmail (5.14.2 (20.04.2))

Qt Version: 5.12.7
Frameworks Version: 5.76.0
Operating System: Linux 5.3.18-150300.59.63-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.3"

-- Information about the crash:
- What I was doing when the application crashed: In LibreOffice Writer I created a new mail with an PDF-Attachment out of the actual file. The new mail appears, I can write text in this mail and add the adress, but when I do send the mail, KMail crashes. After restarting KMail, the new mail is open and healthy, and I can send it to the added adress.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#4  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x74006c00610057) at /usr/include/c++/7/bits/atomic_base.h:396
#5  QAtomicOps<int>::load<int> (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:227
#6  QBasicAtomicInteger<int>::load (this=0x74006c00610057) at /usr/include/qt5/QtCore/qbasicatomic.h:103
#7  QtPrivate::RefCount::ref (this=0x74006c00610057) at /usr/include/qt5/QtCore/qrefcount.h:55
#8  QString::QString (other=..., this=this@entry=0x7fff904ba8f8) at /usr/include/qt5/QtCore/qstring.h:958
#9  KMime::Types::Mailbox::name (this=this@entry=0x56539e716898) at /usr/src/debug/kmime-20.04.2-bp153.2.2.1.x86_64/src/kmime_types.cpp:124
#10 0x00007faed01e123f in serializeAddrList<KMime::Headers::From> (hdr=<optimized out>, stream=...) at /usr/src/debug/akonadi-mime-20.04.2-bp153.2.2.1.x86_64/serializers/akonadi_serializer_mail.cpp:230
#11 Akonadi::SerializerPluginMail::serialize (this=<optimized out>, item=..., label=..., data=..., version=<optimized out>) at /usr/src/debug/akonadi-mime-20.04.2-bp153.2.2.1.x86_64/serializers/akonadi_serializer_mail.cpp:249
#12 0x00007faf798c8c2f in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0x7fff904baa54: 2) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/core/itemserializer.cpp:148
#13 0x00007faf798c95b8 in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0x7fff904baa54: 2) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/core/itemserializer.cpp:137
#14 0x00007faf79941660 in Akonadi::ItemCreateJobPrivate::preparePart (this=this@entry=0x56539bd18ad0, partName=...) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/core/jobs/itemcreatejob.cpp:91
#15 0x00007faf799417ea in Akonadi::ItemCreateJob::doHandleResponse (this=<optimized out>, tag=52, response=...) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/core/jobs/itemcreatejob.cpp:191
#16 0x00007faf79954c83 in Akonadi::JobPrivate::handleResponse (this=0x56539bd18ad0, tag=52, response=...) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/core/jobs/job.cpp:81
#17 0x00007faf79913c17 in Akonadi::SessionPrivate::handleCommands (this=0x565397020680) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/core/session.cpp:133
#18 0x00007faf79913ad6 in Akonadi::Session::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0x56539b9e4460, _c=<optimized out>) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/build/src/core/KF5AkonadiCore_autogen/include/moc_session.cpp:115
#19 0x00007faf81b70a22 in QObject::event (this=0x565396bae540, e=<optimized out>) at kernel/qobject.cpp:1261
#20 0x00007faf829c5f9c in QApplicationPrivate::notify_helper (this=this@entry=0x565396aa4790, receiver=receiver@entry=0x565396bae540, e=e@entry=0x56539c2ae6d0) at kernel/qapplication.cpp:3701
#21 0x00007faf829cd5b0 in QApplication::notify (this=0x7fff904bb770, receiver=0x565396bae540, e=0x56539c2ae6d0) at kernel/qapplication.cpp:3447
#22 0x00007faf81b40368 in QCoreApplication::notifyInternal2 (receiver=0x565396bae540, event=0x56539c2ae6d0) at kernel/qcoreapplication.cpp:1088
#23 0x00007faf81b4053e in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x56539c2ae6d0) at kernel/qcoreapplication.cpp:1476
#24 0x00007faf81b42f27 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x565396a69c00) at kernel/qcoreapplication.cpp:1825
#25 0x00007faf81b434c8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1679
#26 0x00007faf81b9ddd3 in postEventSourceDispatch (s=0x565396bee8a0) at kernel/qeventdispatcher_glib.cpp:276
#27 0x00007faf745a6694 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007faf745a6a30 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007faf745a6abc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007faf81b9d3ef in QEventDispatcherGlib::processEvents (this=0x565396bf6900, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007faf81b3e5ba in QEventLoop::exec (this=this@entry=0x7fff904bb250, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#32 0x00007faf81b477c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1389
#33 0x0000565395dd2a5b in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kmail-20.04.2-bp153.3.2.1.x86_64/src/main.cpp:163
[Inferior 1 (process 2647) detached]

Possible duplicates by query: bug 449952, bug 449891, bug 443784, bug 440840, bug 435992.

Reported using DrKonqi