Bug 294486 - Korganiser crashes on start
Summary: Korganiser crashes on start
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: KResource compat bridges (show other bugs)
Version: 4.7
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Krammer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-20 10:21 UTC by Kevin Swift
Modified: 2015-10-24 10:14 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.59 KB, text/plain)
2012-02-21 21:38 UTC, Kevin Swift
Details
New crash information added by DrKonqi (3.51 KB, text/plain)
2014-05-14 07:48 UTC, VEC
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Swift 2012-02-20 10:21:45 UTC
Application: akonadi_kcal_resource (4.7)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.6-3.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
This may be related to bug 294485 but its seems it's a secondary crash due to a previous error so may need to be fixed sperately.

I added a new calander, this did not work correctly, now every time I open the application it crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Calendar of type KDE Calendar (traditional) (akonadi_kcal_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  begin (this=0x305f6563727617) at /usr/include/QtCore/qlist.h:101
#7  contains (this=0x305f6563727617, t=<synthetic pointer>) at /usr/include/QtCore/qlist.h:874
#8  removeRef (t=0x2b15510, this=0x305f6563727617) at /usr/src/debug/kdepimlibs-4.7.4/kcal/listbase.h:118
#9  KCal::Incidence::removeRelation (this=0x2cae480, incidence=0x2b15510) at /usr/src/debug/kdepimlibs-4.7.4/kcal/incidence.cpp:535
#10 0x00007f1ce471d35b in KCal::Incidence::~Incidence (this=0x2b15510, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/kcal/incidence.cpp:207
#11 0x00007f1ce47237e9 in KCal::Event::~Event (this=0x2b15510, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/kcal/event.cpp:79
#12 0x000000000041253a in release (this=0x2df4220) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
#13 ~shared_count (this=0x2df3b00, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:305
#14 ~shared_ptr (this=0x2df3af8, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:164
#15 ~Payload (this=0x2df3af0, __in_chrg=<optimized out>) at /usr/include/kde4/akonadi/itempayloadinternals_p.h:285
#16 Akonadi::Payload<boost::shared_ptr<KCal::Incidence> >::~Payload (this=0x2df3af0, __in_chrg=<optimized out>) at /usr/include/kde4/akonadi/itempayloadinternals_p.h:285
#17 0x00007f1ce5b521e6 in ~clone_ptr (this=0x2df32d0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/item_p.h:48
#18 ~TypedPayload (this=0x2df32d0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/item_p.h:119
#19 _Destroy<Akonadi::_detail::TypedPayload> (__pointer=0x2df32d0) at /usr/include/c++/4.6.2/bits/stl_construct.h:94
#20 __destroy<Akonadi::_detail::TypedPayload*> (__last=0x2df32e0, __first=<optimized out>) at /usr/include/c++/4.6.2/bits/stl_construct.h:104
#21 _Destroy<Akonadi::_detail::TypedPayload*> (__last=0x2df32e0, __first=<optimized out>) at /usr/include/c++/4.6.2/bits/stl_construct.h:127
#22 _Destroy<Akonadi::_detail::TypedPayload*, Akonadi::_detail::TypedPayload> (__last=0x2df32e0, __first=<optimized out>) at /usr/include/c++/4.6.2/bits/stl_construct.h:153
#23 ~vector (this=0x2b59108, __in_chrg=<optimized out>) at /usr/include/c++/4.6.2/bits/stl_vector.h:350
#24 ~ItemPrivate (this=0x2b590c0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/item_p.h:203
#25 Akonadi::ItemPrivate::~ItemPrivate (this=0x2b590c0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/item_p.h:204
#26 0x00007f1ce5ab557c in node_destruct (to=0x2c269e8, from=0x2c269e8, this=<optimized out>) at /usr/include/QtCore/qlist.h:431
#27 QList<Akonadi::Item>::free (this=<optimized out>, data=0x2c269d0) at /usr/include/QtCore/qlist.h:757
#28 0x00007f1ce5b69040 in ~ItemModifyJobPrivate (this=0x2bef9b0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/itemmodifyjob_p.h:30
#29 Akonadi::ItemModifyJobPrivate::~ItemModifyJobPrivate (this=0x2bef9b0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/itemmodifyjob_p.h:30
#30 0x00007f1ce5b6d299 in Akonadi::Job::~Job (this=0x2da3d10, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/job.cpp:254
#31 0x00007f1ce5b65249 in Akonadi::ItemModifyJob::~ItemModifyJob (this=0x2da3d10, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/itemmodifyjob.cpp:134
#32 0x00007f1ce54f6f48 in QObject::event (this=0x2da3d10, e=<optimized out>) at kernel/qobject.cpp:1176
#33 0x00007f1ce23f1994 in notify_helper (e=0x2dfec60, receiver=0x2da3d10, this=0x202a2b0) at kernel/qapplication.cpp:4550
#34 QApplicationPrivate::notify_helper (this=0x202a2b0, receiver=0x2da3d10, e=0x2dfec60) at kernel/qapplication.cpp:4522
#35 0x00007f1ce23f6813 in QApplication::notify (this=0x7fffc8efc8c0, receiver=0x2da3d10, e=0x2dfec60) at kernel/qapplication.cpp:4411
#36 0x00007f1ce390b766 in KApplication::notify (this=0x7fffc8efc8c0, receiver=0x2da3d10, event=0x2dfec60) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#37 0x00007f1ce54de04c in QCoreApplication::notifyInternal (this=0x7fffc8efc8c0, receiver=0x2da3d10, event=0x2dfec60) at kernel/qcoreapplication.cpp:876
#38 0x00007f1ce54e1ada in sendEvent (event=0x2dfec60, receiver=0x2da3d10) at kernel/qcoreapplication.h:231
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1ff92e0) at kernel/qcoreapplication.cpp:1500
#40 0x00007f1ce550c933 in sendPostedEvents () at kernel/qcoreapplication.h:236
#41 postEventSourceDispatch (s=0x202cab0) at kernel/qeventdispatcher_glib.cpp:279
#42 0x00007f1ce04a6acd in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#43 0x00007f1ce04a72c8 in ?? () from /lib64/libglib-2.0.so.0
#44 0x00007f1ce04a749c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#45 0x00007f1ce550cd5f in QEventDispatcherGlib::processEvents (this=0x1ffa7a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00007f1ce249466e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#47 0x00007f1ce54dd182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f1ce54dd3d7 in QEventLoop::exec (this=0x7fffc8efc840, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007f1ce54e1dd5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#50 0x00007f1ce5b840f6 in Akonadi::ResourceBase::init (r=0x2198de0) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/resourcebase.cpp:393
#51 0x0000000000413216 in Akonadi::ResourceBase::init<KCalResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/kde4/akonadi/resourcebase.h:188
#52 0x00007f1ce16f369d in __libc_start_main (main=0x4089f0 <main(int, char**)>, argc=3, ubp_av=0x7fffc8efc9d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc8efc9c8) at libc-start.c:226
#53 0x0000000000408a21 in _start ()

Possible duplicates by query: bug 294485, bug 288404, bug 272285.

Reported using DrKonqi
Comment 1 Kevin Krammer 2012-02-20 11:04:59 UTC
Hmm. Summary says that KOrganizer crashes, but backtrace looks like a crash of the Akonadi KCal resource like in bug 294485 so this is most likely a duplicate of that one.

In any case: which plugin do you use with the traditional calendar resource?
Comment 2 Kevin Swift 2012-02-20 11:42:17 UTC
How do I tell which plugin I am using? Config file location perhaps?
Comment 3 Kevin Swift 2012-02-20 11:43:39 UTC
You may be correct about the process that is crashing, the error is reported when korganizer is used, but that window remains.
Comment 4 Kevin Krammer 2012-02-20 12:02:13 UTC
(In reply to comment #2)
> How do I tell which plugin I am using? Config file location perhaps?

It is the first selection step in the wizard for creating a traditional KDE calendar resource.

But you can also determine it from the config file.
In your KDE config directory, look for config files names akonadi_kcal_resource_Nrc (where N is a number).

check the entry called ResourceType
Comment 5 Kevin Swift 2012-02-20 12:21:27 UTC
[kevins@quad ~]$ find .config .kde -name '*kcal*' -print
.config/akonadi/agent_config_akonadi_kcal_resource_0
.config/akonadi/agent_config_akonadi_kcal_resource_0_changes.dat
.kde/share/config/kcalcrc
.kde/share/config/akonadi_kcal_resource_0rc
.kde/share/config/libkcal_htmlexportrc
$ cat .config/akonadi/agent_config_akonadi_kcal_resource_0 
[Agent]
Online=true
Name=Calendar
$ cat .kde/share/config/akonadi_kcal_resource_0rc
[General]
PassiveResourceKeys=
ResourceKeys=aruhbo0iUl
Standard=aruhbo0iUl

[Resource_aruhbo0iUl]
CalendarURL[$e]=file:///mylife/documents/MyCal
ResourceIdentifier=aruhbo0iUl
ResourceIsActive=true
ResourceIsReadOnly=false
ResourceName=Calendar
ResourceType=localdir
Comment 6 Kevin Swift 2012-02-21 21:38:20 UTC
Created attachment 68990 [details]
New crash information added by DrKonqi

akonadi_kcal_resource (4.7) on KDE Platform 4.7.4 (4.7.4) using Qt 4.8.0

Just started korganizer - another example of the crash if it helps.

This crash means that korganizer is unusable as it is unable to load any existing calander data.

-- Backtrace (Reduced):
#6  begin (this=0xa8) at /usr/include/QtCore/qlist.h:101
#7  contains (this=0xa8, t=<synthetic pointer>) at /usr/include/QtCore/qlist.h:874
#8  removeRef (t=0x3210df0, this=0xa8) at /usr/src/debug/kdepimlibs-4.7.4/kcal/listbase.h:118
#9  KCal::Incidence::removeRelation (this=0x3211850, incidence=0x3210df0) at /usr/src/debug/kdepimlibs-4.7.4/kcal/incidence.cpp:535
#10 0x00007fcfc1d9e35b in KCal::Incidence::~Incidence (this=0x3210df0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/kcal/incidence.cpp:207
Comment 7 VEC 2014-05-14 07:48:58 UTC
Created attachment 86624 [details]
New crash information added by DrKonqi

akonadi_kcal_resource (4.12) on KDE Platform 4.12.4 using Qt 4.8.5

- What I was doing when the application crashed: 
Nothing special. It just crashes when periodic update (sync) of remote calendar  (traditional type calendar) is set.

- Custom settings of the application:

-- Backtrace (Reduced):
#5  0x0000003268a54524 in KCal::Incidence::removeRelation(KCal::Incidence*) () from /usr/lib64/libkcal.so.4
#6  0x0000003268a54945 in KCal::Incidence::~Incidence() () from /usr/lib64/libkcal.so.4
#7  0x0000003268a59da9 in KCal::Event::~Event() () from /usr/lib64/libkcal.so.4
#8  0x0000000000411c39 in Akonadi::Payload<boost::shared_ptr<KCal::Incidence> >::~Payload() ()
#9  0x000000326652a6fe in Akonadi::ItemPrivate::~ItemPrivate() () from /usr/lib64/libakonadi-kde.so.4
Comment 8 Volker Krause 2015-10-24 10:14:15 UTC
The KResource compatibility bridges don't exist anymore with KDE PIM 15.08.