Bug 280424 - Korganizer crashes when I try to add a new event
Summary: Korganizer crashes when I try to add a new event
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-19 13:46 UTC by Paolo Cretaro
Modified: 2011-09-09 21:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Cretaro 2011-08-19 13:46:10 UTC
Application: korganizer (4.7.0 - ())
KDE Platform Version: (KDE 4.7.00) Frugalware Linux
Qt Version: 4.7.3
Operating System: Linux 2.6.39-custom-fw1 i686

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

Adding a new event in korganizer (same problem also on kontact).

The crash can be reproduced every time.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Aborted
[KCrash Handler]
#7  0xb7822430 in __kernel_vsyscall ()
#8  0xb5ed5d81 in raise () from /lib/libc.so.6
#9  0xb5ed755e in abort () from /lib/libc.so.6
#10 0xb60a5ee1 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#11 0xb60a459d in __cxxabiv1::__terminate(void (*)()) () from /usr/lib/libstdc++.so.6
#12 0xb60a45cc in std::terminate() () from /usr/lib/libstdc++.so.6
#13 0xb60a476d in __cxa_rethrow () from /usr/lib/libstdc++.so.6
#14 0xb62537fc in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#15 0xb674b214 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0xb674fe9e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb761598a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#18 0xb623e34b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0xb6241f65 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#20 0xb624213d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#21 0xb626b7d4 in ?? () from /usr/lib/libQtCore.so.4
#22 0xb4c81da2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0xb4c82580 in g_main_context_iterate.clone.5 () from /usr/lib/libglib-2.0.so.0
#24 0xb4c82834 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0xb626b94c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0xb67fd6b5 in ?? () from /usr/lib/libQtGui.so.4
#27 0xb623d509 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0xb623d7aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0xb62421ff in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#30 0xb6749067 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#31 0x0804ec47 in _start ()

Possible duplicates by query: bug 280419, bug 280418, bug 280408, bug 280407, bug 280398.

Reported using DrKonqi
Comment 1 Paolo Cretaro 2011-08-19 13:51:30 UTC
the gdb output

(gdb) run --nofork
Starting program: /usr/bin/korganizer --nofork
[Thread debugging using libthread_db enabled]
korganizer(1415)/kdeui (KAction) KActionCollection::setComponentData: this does not work on a KActionCollection containing actions! 
korganizer(1415)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
korganizer(1415)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
korganizer(1415)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
korganizer(1415)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
korganizer(1415)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
terminate called after throwing an instance of 'Akonadi::PayloadException'
  what():  Akonadi::PayloadException: Wrong payload type (requested: sp(0)<QByteArray>; present: sp(2)<KCalCore::Incidence*>

Program received signal SIGABRT, Aborted.
0xb7fe1430 in __kernel_vsyscall ()
Comment 2 Sergio Martins 2011-08-20 17:45:33 UTC
Do you have this file: akonadi_serializer_kcalcore.desktop ?
Comment 3 Paolo Cretaro 2011-08-20 17:51:09 UTC
yes I have that:
/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_kcalcore.desktop


[Misc]
Name=Incidence Serializer
Name[en_GB]=Incidence Serialiser
Comment[en_GB]=An Akonadi serialiser plugin for events, tasks and journal entries

[Plugin]
Type=text/calendar,application/x-vnd.akonadi.note,application/x-vnd.kde.notes
X-Akonadi-Class=default;KCalCore::Incidence*;
X-KDE-Library=akonadi_serializer_kcalcore
X-KDE-ClassName=Akonadi::SerializerPluginKCalCore
Comment 4 Paolo Cretaro 2011-09-09 21:42:31 UTC
Hi,
after upgrading to 4.7.1 everything works fine.