Bug 431299 - Knotes crashes when trying to open new note, with Akonadi payload exception
Summary: Knotes crashes when trying to open new note, with Akonadi payload exception
Status: REPORTED
Alias: None
Product: knotes
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: 2021-01-08 11:03 UTC by Alexis Cousein
Modified: 2021-01-08 11:03 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 Alexis Cousein 2021-01-08 11:03:41 UTC
Application: knotes (5.14.2 (20.04.2))

Qt Version: 5.12.7
Frameworks Version: 5.71.0
Operating System: Linux 5.3.18-lp152.57-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.2"

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

Trying to open a new note in knotes, the application immediatrely crashes. In the console you see:
org.kde.pim.akonadicore: Invalid mimetype requested: "text/x-vnd.akonadi.note"
org.kde.pim.akonadicore: Invalid mimetype requested: "text/x-vnd.akonadi.note"
org.kde.pim.akonadicore: Invalid mimetype requested: "text/x-vnd.akonadi.note"
terminate called after throwing an instance of 'Akonadi::PayloadException'
  what():  Akonadi::PayloadException: Wrong payload type (requested: sp(0)<QByteArray>; present: sp(2)<KMime::Message*>)
KCrash: Application 'knotes' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi

The crash can be reproduced every time.

-- Backtrace:
Application: KNotes (knotes), signal: Aborted
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#5  0x00007f55c9b10b01 in __GI_abort () at abort.c:79
#6  0x00007f55ca14c016 in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#7  0x00007f55ca15788c in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#8  0x00007f55ca1578f7 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:58
#9  0x00007f55ca157ba9 in __cxxabiv1::__cxa_throw (obj=obj@entry=0x55dd7abc2600, tinfo=0x7f55cd7517b0 <typeinfo for Akonadi::PayloadException>, dest=0x7f55cd3d3f10 <Akonadi::PayloadException::~PayloadException()>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:95
#10 0x00007f55cd3da3a1 in Akonadi::Item::throwPayloadException (this=this@entry=0x55dd7abb2e10, spid=spid@entry=0, mtid=mtid@entry=12) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/core/item.cpp:645
#11 0x00007f55cd3e6a7f in Akonadi::Item::payloadImpl<QByteArray> (this=this@entry=0x55dd7abb2e10) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/core/item.h:879
#12 0x00007f55cd3e52d7 in Akonadi::Item::payload<QByteArray> (this=0x55dd7abb2e10) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/core/item.h:848
#13 Akonadi::DefaultItemSerializerPlugin::serialize (this=<optimized out>, item=..., label=..., data=..., version=<optimized out>) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/core/itemserializer.cpp:64
#14 0x00007f55cd3e4cbf in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0x7fff3b1f60e4: 0) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/core/itemserializer.cpp:148
#15 0x00007f55cd3e5648 in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0x7fff3b1f60e4: 0) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/core/itemserializer.cpp:137
#16 0x00007f55cd45d700 in Akonadi::ItemCreateJobPrivate::preparePart (this=this@entry=0x55dd7abb2dd0, partName=...) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/core/jobs/itemcreatejob.cpp:91
#17 0x00007f55cd45d88a in Akonadi::ItemCreateJob::doHandleResponse (this=<optimized out>, tag=4, response=...) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/core/jobs/itemcreatejob.cpp:191
#18 0x00007f55cd470d23 in Akonadi::JobPrivate::handleResponse (this=0x55dd7abb2dd0, tag=4, response=...) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/core/jobs/job.cpp:81
#19 0x00007f55cd42fcb7 in Akonadi::SessionPrivate::handleCommands (this=0x55dd7a9eb810) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/src/core/session.cpp:133
#20 0x00007f55cd42fb76 in Akonadi::Session::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0x55dd7acbd130, _c=<optimized out>) at /usr/src/debug/akonadi-server-20.04.2-lp152.2.3.1.x86_64/build/src/core/KF5AkonadiCore_autogen/include/moc_session.cpp:115
#21 0x00007f55ca75d9e2 in QObject::event (this=0x55dd7a9a6000, e=<optimized out>) at kernel/qobject.cpp:1261
#22 0x00007f55cbf39f2c in QApplicationPrivate::notify_helper (this=this@entry=0x55dd7a85d260, receiver=receiver@entry=0x55dd7a9a6000, e=e@entry=0x7f55b00072b0) at kernel/qapplication.cpp:3701
#23 0x00007f55cbf41540 in QApplication::notify (this=0x7fff3b1f69e0, receiver=0x55dd7a9a6000, e=0x7f55b00072b0) at kernel/qapplication.cpp:3447
#24 0x00007f55ca72d328 in QCoreApplication::notifyInternal2 (receiver=0x55dd7a9a6000, event=0x7f55b00072b0) at kernel/qcoreapplication.cpp:1088
#25 0x00007f55ca72d4fe in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7f55b00072b0) at kernel/qcoreapplication.cpp:1476
#26 0x00007f55ca72fee7 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55dd7a8596f0) at kernel/qcoreapplication.cpp:1825
#27 0x00007f55ca730488 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1679
#28 0x00007f55ca78ad93 in postEventSourceDispatch (s=0x55dd7a9268c0) at kernel/qeventdispatcher_glib.cpp:276
#29 0x00007f55c0a2b4a4 in g_main_dispatch (context=0x7f55b0004fa0) at ../glib/gmain.c:3216
#30 g_main_context_dispatch (context=context@entry=0x7f55b0004fa0) at ../glib/gmain.c:3881
#31 0x00007f55c0a2b840 in g_main_context_iterate (context=context@entry=0x7f55b0004fa0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3954
#32 0x00007f55c0a2b8cc in g_main_context_iteration (context=0x7f55b0004fa0, may_block=may_block@entry=1) at ../glib/gmain.c:4015
#33 0x00007f55ca78a3af in QEventDispatcherGlib::processEvents (this=0x55dd7a92a090, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007f55ca72b57a in QEventLoop::exec (this=this@entry=0x7fff3b1f68e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#35 0x00007f55ca734780 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1389
#36 0x000055dd7a12c95c in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/knotes-20.04.2-lp152.1.1.x86_64/src/apps/main.cpp:71
[Inferior 1 (process 28248) detached]

Possible duplicates by query: bug 429344, bug 427384, bug 424911, bug 423951, bug 423222.

Reported using DrKonqi