Bug 357656

Summary: KOrganizer crashes when creating event
Product: [Applications] korganizer Reporter: Alexander Potashev <aspotashev>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: dabeeza, dura, felicien.pillot
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Alexander Potashev 2016-01-07 15:27:22 UTC
Application: korganizer (5.1)

Qt Version: 5.5.1
Operating System: Linux 3.10.17-gentoo x86_64
Distribution: "NAME=Gentoo"

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

1. Create event in KOrganizer
2. Click OK to create the event.

The crash can be reproduced every time.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffce7bc27c0 (LWP 23713))]

Thread 13 (Thread 0x7ffce6431700 (LWP 23714)):
#0  0x00007ffd05434c4d in poll () from /lib64/libc.so.6
#1  0x00007ffcfba89a92 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007ffcfba8b67f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007ffce7937159 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007ffd05cad246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ffcfdfa7314 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffd0543d83d in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7ffce48e1700 (LWP 23715)):
#0  0x00007ffcfc470879 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ffcfc42e1c9 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffcfc42ea90 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffcfc42ec8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ffd05eae64b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ffd05e59abb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007ffd05ca7dfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007ffd05cad246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007ffcfdfa7314 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ffd0543d83d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7ffcdf5ef700 (LWP 23717)):
#0  0x00007ffcfc42e29b in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ffcfc42ea90 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffcfc42ec8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffd05eae64b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007ffd05e59abb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ffd05ca7dfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007ffd05cad246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007ffcfdfa7314 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffd0543d83d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7ffcdedee700 (LWP 23719)):
#0  0x00007ffcfc470879 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ffcfc42ec78 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffd05eae64b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#3  0x00007ffd05e59abb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007ffd05ca7dfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5  0x00007ffd05cad246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#6  0x00007ffcfdfa7314 in start_thread () from /lib64/libpthread.so.0
#7  0x00007ffd0543d83d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7ffcde5ed700 (LWP 23720)):
#0  0x00007ffd05430d9d in read () from /lib64/libc.so.6
#1  0x00007ffcfc46f6c0 in g_wakeup_acknowledge () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffcfc42e6a9 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffcfc42eb08 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ffcfc42ec8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007ffd05eae64b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007ffd05e59abb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007ffd05ca7dfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007ffd05cad246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007ffcfdfa7314 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffd0543d83d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7ffccffff700 (LWP 23724)):
#0  0x00007ffcfc42bf14 in g_source_iter_next () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ffcfc42e54f in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffcfc42eb08 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffcfc42ec8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ffd05eae64b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ffd05e59abb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007ffd05ca7dfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007ffd05cad246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007ffcfdfa7314 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ffd0543d83d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7ffccf7fe700 (LWP 23727)):
#0  0x00007ffcfc42e1b0 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ffcfc42ea90 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffcfc42ec8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffd05eae64b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007ffd05e59abb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ffd05ca7dfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007ffd05cad246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007ffcfdfa7314 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffd0543d83d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7ffcceffd700 (LWP 23730)):
#0  0x00007ffd05434c4d in poll () from /lib64/libc.so.6
#1  0x00007ffcfc42eb74 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffcfc42ec8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffd05eae64b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007ffd05e59abb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ffd05ca7dfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007ffd05cad246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007ffcfdfa7314 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffd0543d83d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7ffccc8db700 (LWP 23836)):
#0  0x00007ffd05430d9d in read () from /lib64/libc.so.6
#1  0x00007ffcfc46f6c0 in g_wakeup_acknowledge () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffcfc42e6a9 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffcfc42eb08 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ffcfc42ec8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007ffd05eae64b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007ffd05e59abb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007ffd05ca7dfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007ffd05cad246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007ffcfdfa7314 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffd0543d83d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7ffccd0dc700 (LWP 23936)):
#0  0x00007ffcfc470879 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ffcfc42e097 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffcfc42ea90 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffcfc42ec8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ffd05eae64b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ffd05e59abb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007ffd05ca7dfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007ffd05cad246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007ffcfdfa7314 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ffd0543d83d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ffccd8dd700 (LWP 23938)):
#0  0x00007ffcfc470879 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ffcfc42e097 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffcfc42ea90 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffcfc42ec8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ffd05eae64b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ffd05e59abb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007ffd05ca7dfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007ffd05cad246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007ffcfdfa7314 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ffd0543d83d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ffcb3fff700 (LWP 23940)):
#0  0x00007ffd05430d9d in read () from /lib64/libc.so.6
#1  0x00007ffcfc46f6c0 in g_wakeup_acknowledge () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffcfc42e6a9 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffcfc42eb08 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ffcfc42ec8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007ffd05eae64b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007ffd05e59abb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007ffd05ca7dfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007ffd05cad246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007ffcfdfa7314 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffd0543d83d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffce7bc27c0 (LWP 23713)):
[KCrash Handler]
#6  0x00007ffd0538a1b7 in raise () from /lib64/libc.so.6
#7  0x00007ffd0538b51a in abort () from /lib64/libc.so.6
#8  0x00007ffd05964505 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/libstdc++.so.6
#9  0x00007ffd059626a6 in __cxxabiv1::__terminate(void (*)()) () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/libstdc++.so.6
#10 0x00007ffd059626d3 in std::terminate() () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/libstdc++.so.6
#11 0x00007ffd059628f2 in __cxa_throw () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/libstdc++.so.6
#12 0x00007ffd0204012b in Akonadi::Item::throwPayloadException(int, int) const () from /usr/lib64/libKF5AkonadiCore.so.5
#13 0x00007ffd0204dca7 in std::enable_if<!Akonadi::Internal::PayloadTrait<QByteArray>::isPolymorphic, QByteArray>::type Akonadi::Item::payloadImpl<QByteArray>() const () from /usr/lib64/libKF5AkonadiCore.so.5
#14 0x00007ffd0204c037 in Akonadi::DefaultItemSerializerPlugin::serialize(Akonadi::Item const&, QByteArray const&, QIODevice&, int&) () from /usr/lib64/libKF5AkonadiCore.so.5
#15 0x00007ffd0204bdbf in Akonadi::ItemSerializer::serialize(Akonadi::Item const&, QByteArray const&, QIODevice&, int&) () from /usr/lib64/libKF5AkonadiCore.so.5
#16 0x00007ffd0204c988 in Akonadi::ItemSerializer::serialize(Akonadi::Item const&, QByteArray const&, QByteArray&, int&) () from /usr/lib64/libKF5AkonadiCore.so.5
#17 0x00007ffd020bdb2a in Akonadi::ItemCreateJobPrivate::preparePart(QByteArray const&) () from /usr/lib64/libKF5AkonadiCore.so.5
#18 0x00007ffd020beb22 in Akonadi::ItemCreateJob::doHandleResponse(long long, Akonadi::Protocol::Command const&) () from /usr/lib64/libKF5AkonadiCore.so.5
#19 0x00007ffd020cb7f1 in Akonadi::JobPrivate::handleResponse(long long, Akonadi::Protocol::Command const&) () from /usr/lib64/libKF5AkonadiCore.so.5
#20 0x00007ffd020884d3 in Akonadi::SessionPrivate::handleCommand(long long, Akonadi::Protocol::Command const&) () from /usr/lib64/libKF5AkonadiCore.so.5
#21 0x00007ffd02089cf6 in Akonadi::Session::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libKF5AkonadiCore.so.5
#22 0x00007ffd05e8891e in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#23 0x00007ffd06e3d8dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#24 0x00007ffd06e42750 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007ffd05e5b73d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#26 0x00007ffd05e5e6ca in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#27 0x00007ffd05eaee73 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#28 0x00007ffcfc42e994 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007ffcfc42ebe8 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#30 0x00007ffcfc42ec8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007ffd05eae64b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#32 0x00007ffd05e59abb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#33 0x00007ffd05e614e6 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#34 0x0000000000409b5f in main ()

Reported using DrKonqi
Comment 1 Alexander Potashev 2016-01-07 15:57:49 UTC
KDEPIM 15.12.0
Comment 2 FĂ©licien Pillot 2018-06-07 13:53:53 UTC
Created attachment 113135 [details]
New crash information added by DrKonqi

korganizer (5.8.1) using Qt 5.11.0

- What I was doing when the application crashed:
Adding a new (a first) event in a manually created ICAL calendar

- Custom settings of the application:
Deleting the default calendar (std.ics) because it didn't appear in calendars list ; creating a new one (in ~/.local/share/apps/korganizer)

-- Backtrace (Reduced):
#8  0x00007f2fc384144a in __gnu_cxx::__verbose_terminate_handler () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#9  0x00007f2fc38479d6 in __cxxabiv1::__terminate(void (*)()) () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:47
#10 0x00007f2fc3847a13 in std::terminate () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:57
#11 0x00007f2fc3847c48 in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x7f2fc033f270 <typeinfo for Akonadi::PayloadException>, dest=0x7f2fbffc1250 <Akonadi::PayloadException::~PayloadException()>) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:95
#12 0x00007f2fbffc7737 in Akonadi::Item::throwPayloadException(int, int) const () from /usr/lib/libKF5AkonadiCore.so.5
Comment 3 Christoph Feck 2018-11-09 12:59:40 UTC
*** Bug 400378 has been marked as a duplicate of this bug. ***
Comment 4 dura 2020-01-05 20:49:18 UTC
Created attachment 124913 [details]
New crash information added by DrKonqi

korganizer (5.13.0 (19.12.0)) using Qt 5.14.0

Same crash here with applications 19.12.0.

-- Backtrace (Reduced):
#12 0x00007f00b967627c in Akonadi::Item::throwPayloadException (this=0x18f3090, spid=0, mtid=12) at /bsources/akonadi-19.12.0/akonadi-19.12.0/src/core/item.cpp:645
#13 0x00007f00b9686495 in Akonadi::Item::payloadImpl<QByteArray> (this=0x18f3090) at /bsources/akonadi-19.12.0/akonadi-19.12.0/src/core/item.h:879
#14 0x00007f00b96860aa in Akonadi::Item::payload<QByteArray> (this=0x18f3090) at /bsources/akonadi-19.12.0/akonadi-19.12.0/src/core/item.h:848
#15 0x00007f00b9684910 in Akonadi::DefaultItemSerializerPlugin::serialize (this=0x7f00b98a9ed0 <Akonadi::(anonymous namespace)::Q_QGS_s_defaultItemSerializerPlugin::innerFunction()::holder>, item=..., label=..., data=..., version=@0x7ffc33e631d4: 0) at /bsources/akonadi-19.12.0/akonadi-19.12.0/src/core/itemserializer.cpp:64
#16 0x00007f00b968535e in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0x7ffc33e631d4: 0) at /bsources/akonadi-19.12.0/akonadi-19.12.0/src/core/itemserializer.cpp:148
Comment 5 dura 2021-04-25 10:24:43 UTC
Hi everyone,
This problems is solved for me by running /usr/bin/update-mime-database /usr/share/mime and /usr/bin/update-mime-database /usr/kde5/share/mime (as kde5 is installed under /usr/kde5 on my system). So this in not a KDE bug but an installation or distro issue.