Bug 338399 - Korganizer complains of akonadi crashes on kcal resource
Summary: Korganizer complains of akonadi crashes on kcal resource
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: ICal file resource (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-20 09:08 UTC by heikki
Modified: 2017-01-07 21:40 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 heikki 2014-08-20 09:08:08 UTC
Application: akonadi_kcal_resource (4.13)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.14-2-amd64 x86_64
Distribution: Debian GNU/Linux testing (jessie)

-- Information about the crash:
Occasionally the crash report pops up, complaining about a SEGV, as in the stack trace below. The trace doesn't look very useful otherwise.

I have three calendars defined in KOrganizer, one disabled, two enabled. The two others are work-related google calendars, and Locatelli-H is my own personal calendar, on a sftp: server (locatelli, my home server). 

For some reason I can not get to the calendar properties of that calendar, although the others work just fine, so I can not see the exact address or refresh timing.

The crash repeats every half hour or so, probably related to the refresh frequency. It can not be provoked by manually refreshing the calendar.

These crashes started to happen when I upgraded to Debian/Jessie yesterday.


-- Backtrace:
Application: Locatelli-H of type KDE Calendar (traditional) (akonadi_kcal_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#5  0x00007f9648fe6995 in KCal::Incidence::removeRelation(KCal::Incidence*) () from /usr/lib/libkcal.so.4
#6  0x00007f9648fe6d05 in KCal::Incidence::~Incidence() () from /usr/lib/libkcal.so.4
#7  0x00007f9648febee9 in KCal::Event::~Event() () from /usr/lib/libkcal.so.4
#8  0x0000000000413c1e in _start ()
Comment 1 Simon Reed 2014-12-23 15:39:34 UTC
I think this is related, rather than a new bug.  I cannot post this using the automated method because of the "error code 410" on bugzilla.


Application: akonadi_kcal_resource (4.13)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-43-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

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

I am trying to get KOrganizer or Zanshin to read my previous KOrganizer data.  I tried adding a 'KDE Calender (Traditional)' resource in the KDE Settings and got this crash.

-- Backtrace:
Application: KDE Calendar (traditional) (akonadi_kcal_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  operator QWidget* (this=<error reading variable: Cannot access memory at address 0x10>) at /usr/include/qt4/QtCore/qpointer.h:78
#7  KPageWidgetItem::widget (this=0x0) at ../../kdeui/paged/kpagewidgetmodel.cpp:103
#8  0x0000000000414e5a in createResource (this=0x1b679a0) at ../../../resources/kabc/kresourceassistant.cpp:136
#9  KResourceAssistant::next (this=0x7fff49161d60) at ../../../resources/kabc/kresourceassistant.cpp:379
#10 0x00007f45239e987a in QMetaObject::activate (sender=sender@entry=0x7fff49161d60, m=m@entry=0x7f4522e303e0 <KDialog::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#11 0x00007f45229936b3 in KDialog::user2Clicked (this=this@entry=0x7fff49161d60) at ./kdialog.moc:247
#12 0x00007f4522993dd8 in KDialog::slotButtonClicked (this=0x7fff49161d60, button=8192) at ../../kdeui/dialogs/kdialog.cpp:897
#13 0x00007f45229956bf in KDialog::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./kdialog.moc:166
#14 0x00007f45239e987a in QMetaObject::activate (sender=sender@entry=0x1b17880, m=m@entry=0x7f4523d36d60 <QSignalMapper::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff49160ec0) at kernel/qobject.cpp:3539
#15 0x00007f45239f0fbe in QSignalMapper::mapped (this=this@entry=0x1b17880, _t1=8192) at .moc/release-shared/moc_qsignalmapper.cpp:114
#16 0x00007f45239f10c6 in QSignalMapper::map (this=0x1b17880, sender=0x19f7190) at kernel/qsignalmapper.cpp:266
#17 0x00007f45239e987a in QMetaObject::activate (sender=sender@entry=0x19f7190, m=m@entry=0x7f45227f52a0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff49161030) at kernel/qobject.cpp:3539
#18 0x00007f45223700d2 in QAbstractButton::clicked (this=this@entry=0x19f7190, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#19 0x00007f45220d39d3 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x1a032d0) at widgets/qabstractbutton.cpp:548
#20 0x00007f45220d4b43 in QAbstractButtonPrivate::click (this=this@entry=0x1a032d0) at widgets/qabstractbutton.cpp:541
#21 0x00007f45220d4c2c in QAbstractButton::mouseReleaseEvent (this=0x19f7190, e=0x7fff49161520) at widgets/qabstractbutton.cpp:1123
#22 0x00007f4521d7150a in QWidget::event (this=0x19f7190, event=0x7fff49161520) at kernel/qwidget.cpp:8376
#23 0x00007f4521d21e2c in QApplicationPrivate::notify_helper (this=this@entry=0x17ff780, receiver=receiver@entry=0x19f7190, e=e@entry=0x7fff49161520) at kernel/qapplication.cpp:4567
#24 0x00007f4521d285dd in QApplication::notify (this=this@entry=0x7fff49162880, receiver=receiver@entry=0x19f7190, e=e@entry=0x7fff49161520) at kernel/qapplication.cpp:4110
#25 0x00007f4522a31d1a in KApplication::notify (this=0x7fff49162880, receiver=0x19f7190, event=0x7fff49161520) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007f45239d54dd in QCoreApplication::notifyInternal (this=0x7fff49162880, receiver=receiver@entry=0x19f7190, event=event@entry=0x7fff49161520) at kernel/qcoreapplication.cpp:953
#27 0x00007f4521d27d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x19f7190, event=event@entry=0x7fff49161520, alienWidget=alienWidget@entry=0x19f7190, nativeWidget=nativeWidget@entry=0x7fff49161d60, buttonDown=buttonDown@entry=0x7f4522807318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#29 0x00007f4521d9c9cb in QETWidget::translateMouseEvent (this=this@entry=0x7fff49161d60, event=event@entry=0x7fff491618a0) at kernel/qapplication_x11.cpp:4634
#30 0x00007f4521d9c269 in QApplication::x11ProcessEvent (this=0x7fff49162880, event=event@entry=0x7fff491618a0) at kernel/qapplication_x11.cpp:3627
#31 0x00007f4521dc3b02 in x11EventSourceDispatch (s=0x17f98c0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f451f558e04 in g_main_dispatch (context=0x17f9750) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064
#33 g_main_context_dispatch (context=context@entry=0x17f9750) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3663
#34 0x00007f451f559048 in g_main_context_iterate (context=context@entry=0x17f9750, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734
#35 0x00007f451f5590ec in g_main_context_iteration (context=0x17f9750, may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#36 0x00007f4523a027be in QEventDispatcherGlib::processEvents (this=0x17c5050, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#37 0x00007f4521dc3bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f45239d40af in QEventLoop::processEvents (this=this@entry=0x7fff49161c80, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f45239d43a5 in QEventLoop::exec (this=this@entry=0x7fff49161c80, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f45221c8fec in QDialog::exec (this=this@entry=0x7fff49161d60) at dialogs/qdialog.cpp:562
#41 0x000000000040e75f in KCalResource::configure (this=0x1adb300, windowId=85983279) at ../../../resources/kcal/kcalresource.cpp:113
#42 0x00007f452414adf3 in qt_static_metacall (_a=0x7fff49161f70, _id=4, _c=QMetaObject::InvokeMetaMethod, _o=0x1b01800) at controladaptor.moc:118
#43 Akonadi__ControlAdaptor::qt_metacall (this=0x1b01800, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff49161f70) at controladaptor.moc:119
#44 0x00007f4520ccc1f6 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x19fd510, object=object@entry=0x1b01800, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:951
#45 0x00007f4520ccd2f9 in QDBusConnectionPrivate::activateCall (this=this@entry=0x19fd510, object=0x1b01800, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:856
#46 0x00007f4520ccdddd in QDBusConnectionPrivate::activateObject (this=0x19fd510, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#47 0x00007f4520ccdeab in QDBusActivateObjectEvent::placeMetaCall (this=0x19fa2d0) at qdbusintegrator.cpp:1541
#48 0x00007f45239edc1e in QObject::event (this=0x1adb300, e=<optimized out>) at kernel/qobject.cpp:1194
#49 0x00007f4521d21e2c in QApplicationPrivate::notify_helper (this=this@entry=0x17ff780, receiver=receiver@entry=0x1adb300, e=e@entry=0x19fa2d0) at kernel/qapplication.cpp:4567
#50 0x00007f4521d284a0 in QApplication::notify (this=this@entry=0x7fff49162880, receiver=receiver@entry=0x1adb300, e=e@entry=0x19fa2d0) at kernel/qapplication.cpp:4353
#51 0x00007f4522a31d1a in KApplication::notify (this=0x7fff49162880, receiver=0x1adb300, event=0x19fa2d0) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x00007f45239d54dd in QCoreApplication::notifyInternal (this=0x7fff49162880, receiver=receiver@entry=0x1adb300, event=event@entry=0x19fa2d0) at kernel/qcoreapplication.cpp:953
#53 0x00007f45239d8b3d in sendEvent (event=0x19fa2d0, receiver=0x1adb300) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x17c3710) at kernel/qcoreapplication.cpp:1577
#55 0x00007f45239d8fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#56 0x00007f4523a02f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#57 postEventSourceDispatch (s=0x180ddf0) at kernel/qeventdispatcher_glib.cpp:287
#58 0x00007f451f558e04 in g_main_dispatch (context=0x17f9750) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064
#59 g_main_context_dispatch (context=context@entry=0x17f9750) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3663
#60 0x00007f451f559048 in g_main_context_iterate (context=context@entry=0x17f9750, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734
#61 0x00007f451f5590ec in g_main_context_iteration (context=0x17f9750, may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#62 0x00007f4523a027a1 in QEventDispatcherGlib::processEvents (this=0x17c5050, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#63 0x00007f4521dc3bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x00007f45239d40af in QEventLoop::processEvents (this=this@entry=0x7fff491627f0, flags=...) at kernel/qeventloop.cpp:149
#65 0x00007f45239d43a5 in QEventLoop::exec (this=this@entry=0x7fff491627f0, flags=...) at kernel/qeventloop.cpp:204
#66 0x00007f45239d9b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#67 0x00007f4521d2037c in QApplication::exec () at kernel/qapplication.cpp:3828
#68 0x00007f45240b9243 in Akonadi::ResourceBase::init (r=r@entry=0x1adb300) at ../../akonadi/resourcebase.cpp:556
#69 0x00000000004135d3 in Akonadi::ResourceBase::init<KCalResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:192
#70 0x00007f4521291ec5 in __libc_start_main (main=0x408d20 <main(int, char**)>, argc=3, argv=0x7fff49162998, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff49162988) at libc-start.c:287
#71 0x0000000000408d4e in _start ()

Report to https://bugs.kde.org/
Comment 2 Denis Kurz 2016-09-24 20:45:43 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 21:40:54 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.