Bug 456082 - KMail crash when sending ods from Libreoffice
Summary: KMail crash when sending ods from Libreoffice
Status: REPORTED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-06-28 13:54 UTC by Axel Braun
Modified: 2023-01-16 08:39 UTC (History)
1 user (show)

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 Axel Braun 2022-06-28 13:54:06 UTC
Application: kontact (5.20.2 (22.04.2))

Qt Version: 5.15.2
Frameworks Version: 5.95.0
Operating System: Linux 5.18.6-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.25.1 [KCrashBackend]

-- Information about the crash:
Have a LibreOffice (ods in this case) and select File -> Send -> EMail Document
KMail Composer opens, showing the dialog box containing the link to the spreadsheet
Enter recipient, subject, text, hit send -> crash

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault

[KCrash Handler]
#4  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x6c006500780041) at /usr/include/c++/12/bits/atomic_base.h:486
#5  QAtomicOps<int>::loadRelaxed<int> (_q_value=<error reading variable: Cannot access memory at address 0x6c006500780041>) at /usr/include/qt5/QtCore/qatomic_cxx11.h:239
#6  QBasicAtomicInteger<int>::loadRelaxed (this=0x6c006500780041) at /usr/include/qt5/QtCore/qbasicatomic.h:107
#7  QtPrivate::RefCount::ref (this=0x6c006500780041) at /usr/include/qt5/QtCore/qrefcount.h:55
#8  QString::QString (other=..., this=this@entry=0x7ffce39eeb88) at /usr/include/qt5/QtCore/qstring.h:1094
#9  KMime::Types::Mailbox::name (this=this@entry=0x55eb15add6a8) at /usr/src/debug/kmime-22.04.2-1.1.x86_64/src/kmime_types.cpp:111
#10 0x00007efed814f716 in serializeAddrList<KMime::Headers::From> (hdr=<optimized out>, stream=...) at /usr/src/debug/akonadi-mime-22.04.2-1.1.x86_64/serializers/akonadi_serializer_mail.cpp:213
#11 Akonadi::SerializerPluginMail::serialize (this=<optimized out>, item=..., label=..., data=..., version=<optimized out>) at /usr/src/debug/akonadi-mime-22.04.2-1.1.x86_64/serializers/akonadi_serializer_mail.cpp:229
#12 0x00007efea5aefdf8 in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0x7ffce39eeca8: 2) at /usr/src/debug/akonadi-server-22.04.2-1.1.x86_64/src/core/itemserializer.cpp:145
#13 0x00007efea5b37f4d in Akonadi::ItemCreateJobPrivate::preparePart (partName=..., this=0x55eb143793a0) at /usr/src/debug/akonadi-server-22.04.2-1.1.x86_64/src/core/jobs/itemcreatejob.cpp:75
#14 Akonadi::ItemCreateJob::doHandleResponse (this=<optimized out>, tag=8465, response=...) at /usr/src/debug/akonadi-server-22.04.2-1.1.x86_64/src/core/jobs/itemcreatejob.cpp:178
#15 0x00007efea5b1a364 in Akonadi::JobPrivate::handleResponse (response=..., tag=8465, this=<optimized out>) at /usr/src/debug/akonadi-server-22.04.2-1.1.x86_64/src/core/jobs/job.cpp:68
#16 Akonadi::SessionPrivate::handleCommands (this=0x55eb0bd0ef10) at /usr/src/debug/akonadi-server-22.04.2-1.1.x86_64/src/core/session.cpp:135
#17 0x00007efea5b1b420 in Akonadi::Session::qt_static_metacall (_c=<optimized out>, _a=0x55eb14d0cd98, _id=<optimized out>, _o=<optimized out>) at /usr/include/c++/12/bits/unique_ptr.h:191
#18 Akonadi::Session::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x55eb14d0cd98) at /usr/src/debug/akonadi-server-22.04.2-1.1.x86_64/build/src/core/KF5AkonadiCore_autogen/include/moc_session.cpp:74
#19 0x00007efeecdf4490 in QObject::event (this=0x55eb0bbb6520, e=0x55eb14d0cd50) at kernel/qobject.cpp:1314
#20 0x00007efeed9743ce in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55eb0bbb6520, e=0x55eb14d0cd50) at kernel/qapplication.cpp:3632
#21 0x00007efeecdc8ce8 in QCoreApplication::notifyInternal2 (receiver=0x55eb0bbb6520, event=0x55eb14d0cd50) at kernel/qcoreapplication.cpp:1064
#22 0x00007efeecdcbc81 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55eb0b425040) at kernel/qcoreapplication.cpp:1821
#23 0x00007efeece20903 in postEventSourceDispatch (s=0x55eb0b4f0510) at kernel/qeventdispatcher_glib.cpp:277
#24 0x00007efee36e6ea0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#25 0x00007efee36e7258 in ?? () from /lib64/libglib-2.0.so.0
#26 0x00007efee36e72ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#27 0x00007efeece20106 in QEventDispatcherGlib::processEvents (this=0x55eb0b4fcb50, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#28 0x00007efeecdc775b in QEventLoop::exec (this=this@entry=0x7ffce39ef1b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#29 0x00007efeecdcf8c6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#30 0x000055eb0a69303d in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kontact-22.04.2-1.1.x86_64/src/main.cpp:214
[Inferior 1 (process 10004) detached]

Reported using DrKonqi
Comment 1 Laurent Montel 2022-06-28 15:01:47 UTC
Work fine here
Comment 2 Axel Braun 2023-01-16 08:39:30 UTC
Just noticed the issue still exists 
Operating System: openSUSE Tumbleweed 20230111
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.8
Graphics Platform: X11

@Laurent - does it still work for you?