Bug 265288 - Random Plasma crash related to Akonadi [free, icalvalue_new_from_string_with_error, icalparser_add_line, icalparser_parse]
Summary: Random Plasma crash related to Akonadi [free, icalvalue_new_from_string_with_...
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kdepimlibs
Classification: Applications
Component: kcal (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 265892 266388 266892 267388 267471 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-03 14:25 UTC by Chris
Modified: 2012-12-25 10:19 UTC (History)
5 users (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 Chris 2011-02-03 14:25:25 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.5.5 (KDE 4.5.5) "release 1"
Qt Version: 4.7.2
Operating System: Linux 2.6.34.7-0.7-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
I have no idea what happened.  I just turned on the machine and after displaying reminder daemon for Korganizer and Skype and then Wallet it crashed.

-- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0x7f47e8ec9760 (LWP 4104))]

Thread 4 (Thread 0x7f47c64e5710 (LWP 4114)):
#0  0x00007f47e663aafe in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f47e65d6c03 in _L_lock_9787 () from /lib64/libc.so.6
#2  0x00007f47e65d4fc1 in free () from /lib64/libc.so.6
#3  0x00007f47e372a2d7 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f47e7bf86da in QEventDispatcherGlib::~QEventDispatcherGlib (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#5  0x00007f47e7bf8829 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x12fec40, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#6  0x00007f47e7ae1374 in QThreadPrivate::finish (arg=0x7f47e7f00f80) at thread/qthread_unix.cpp:356
#7  0x00007f47e7ae205d in ~__pthread_cleanup_class (arg=0x7f47e7f00f80) at /usr/include/pthread.h:535
#8  QThreadPrivate::start (arg=0x7f47e7f00f80) at thread/qthread_unix.cpp:279
#9  0x00007f47e7851a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f47e662d82d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f47c5ce4710 (LWP 4136)):
#0  0x00007f47e663aafe in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f47e65d6c03 in _L_lock_9787 () from /lib64/libc.so.6
#2  0x00007f47e65d4fc1 in free () from /lib64/libc.so.6
#3  0x00007f47e7bf87eb in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x6e8ba0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:399
#4  0x00007f47e7bf8829 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x6e8ba0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#5  0x00007f47e7ae1374 in QThreadPrivate::finish (arg=0x159db50) at thread/qthread_unix.cpp:356
#6  0x00007f47e7ae205d in ~__pthread_cleanup_class (arg=0x159db50) at /usr/include/pthread.h:535
#7  QThreadPrivate::start (arg=0x159db50) at thread/qthread_unix.cpp:279
#8  0x00007f47e7851a4f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f47e662d82d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f47c54e3710 (LWP 4137)):
#0  0x00007f47e663aafe in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f47e65d6c03 in _L_lock_9787 () from /lib64/libc.so.6
#2  0x00007f47e65d4fc1 in free () from /lib64/libc.so.6
#3  0x00007f47e7bf87eb in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x88e2b0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:399
#4  0x00007f47e7bf8829 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x88e2b0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#5  0x00007f47e7ae1374 in QThreadPrivate::finish (arg=0x16a5140) at thread/qthread_unix.cpp:356
#6  0x00007f47e7ae205d in ~__pthread_cleanup_class (arg=0x16a5140) at /usr/include/pthread.h:535
#7  QThreadPrivate::start (arg=0x16a5140) at thread/qthread_unix.cpp:279
#8  0x00007f47e7851a4f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f47e662d82d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f47e8ec9760 (LWP 4104)):
[KCrash Handler]
#6  0x00007f47e658f9e5 in raise () from /lib64/libc.so.6
#7  0x00007f47e6590ee6 in abort () from /lib64/libc.so.6
#8  0x00007f47e65cac53 in __libc_message () from /lib64/libc.so.6
#9  0x00007f47e65d0226 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007f47e65d4fcc in free () from /lib64/libc.so.6
#11 0x00007f47c6deff84 in icalvalue_new_from_string_with_error (kind=<value optimized out>, str=0x2125b90 "21199 Joplin Street NW\\", error=0x0) at icalvalue.c:633
#12 0x00007f47c6de0c69 in icalparser_add_line (parser=0x191db80, line=<value optimized out>) at icalparser.c:1071
#13 0x00007f47c6de11b9 in icalparser_parse (parser=0x191db80, line_gen_func=0x7f47c6ddffc0 <icalparser_string_line_generator>) at icalparser.c:621
#14 0x00007f47c6de1360 in icalparser_parse_string (str=<value optimized out>) at icalparser.c:1248
#15 0x00007f47c7bca653 in KCal::ICalFormat::fromRawString (this=0x1b94cc8, cal=0x7fff1d5d2180, string=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.5/kcal/icalformat.cpp:158
#16 0x00007f47c7b58650 in KCal::ICalFormat::fromString (this=0x1b94cc8, cal=0x7fff1d5d2180, string=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.5/kcal/icalformat.cpp:148
#17 0x00007f47c7ba5935 in KCal::ICalFormat::fromString (this=<value optimized out>, string=...) at /usr/src/debug/kdepimlibs-4.5.5/kcal/icalformat.cpp:208
#18 0x00007f47c4adfa21 in ?? () from /usr/lib64/kde4/akonadi_serializer_kcal.so
#19 0x00007f47c7f3adda in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=0) at /usr/src/debug/kdepimlibs-4.5.5/akonadi/itemserializer.cpp:77
#20 0x00007f47c7f3d05e in Akonadi::ItemSerializer::apply (item=..., other=...) at /usr/src/debug/kdepimlibs-4.5.5/akonadi/itemserializer.cpp:127
#21 0x00007f47c7f3d46f in Akonadi::Item::apply (this=0x1c2fa58, other=@0x7fff1d5d28a0) at /usr/src/debug/kdepimlibs-4.5.5/akonadi/item.cpp:258
#22 0x00007f47c7f3e3ab in Akonadi::EntityTreeModelPrivate::monitoredItemChanged (this=0x1303b00, item=...) at /usr/src/debug/kdepimlibs-4.5.5/akonadi/entitytreemodel_p.cpp:827
#23 0x00007f47c7f3f6e2 in Akonadi::EntityTreeModel::qt_metacall (this=0x130f380, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1d5d2780)
    at /usr/src/debug/kdepimlibs-4.5.5/build/akonadi/entitytreemodel.moc:141
#24 0x00007f47e7be287f in QMetaObject::activate (sender=0x1303630, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff1d5d2780) at kernel/qobject.cpp:3278
#25 0x00007f47c7ea64c7 in Akonadi::Monitor::itemChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>)
    at /usr/src/debug/kdepimlibs-4.5.5/build/akonadi/monitor.moc:160
#26 0x00007f47c7ed0107 in Akonadi::MonitorPrivate::emitItemNotification (this=0x130ea40, msg=..., item=<value optimized out>, collection=<value optimized out>, collectionDest=<value optimized out>)
    at /usr/src/debug/kdepimlibs-4.5.5/akonadi/monitor_p.cpp:392
#27 0x00007f47c7ed061b in Akonadi::MonitorPrivate::emitNotification (this=0x130ea40, msg=...) at /usr/src/debug/kdepimlibs-4.5.5/akonadi/monitor_p.cpp:239
#28 0x00007f47c7f21967 in Akonadi::MonitorPrivate::dataAvailable (this=0x130ea40) at /usr/src/debug/kdepimlibs-4.5.5/akonadi/monitor_p.cpp:251
#29 0x00007f47c7f21a4e in Akonadi::Monitor::qt_metacall (this=0x1303630, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1d5d2b50)
    at /usr/src/debug/kdepimlibs-4.5.5/build/akonadi/monitor.moc:148
#30 0x00007f47c7f21da8 in Akonadi::ChangeRecorder::qt_metacall (this=0x1303630, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /usr/src/debug/kdepimlibs-4.5.5/build/akonadi/changerecorder.moc:72
#31 0x00007f47e7be287f in QMetaObject::activate (sender=0x130eac8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#32 0x00007f47c7f55f63 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::fetchResult (this=0x130eac8, job=<value optimized out>)
    at /usr/src/debug/kdepimlibs-4.5.5/akonadi/entitycache_p.h:189
#33 0x00007f47c7ea18f3 in Akonadi::EntityCacheBase::qt_metacall (this=0x130eac8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1d5d2d30)
    at /usr/src/debug/kdepimlibs-4.5.5/build/akonadi/entitycache_p.moc:77
#34 0x00007f47e7be287f in QMetaObject::activate (sender=0x18f1360, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff1d5d2d30) at kernel/qobject.cpp:3278
#35 0x00007f47e7fba912 in KJob::result (this=<value optimized out>, _t1=0x18f1360) at /usr/src/debug/kdelibs-4.5.5/build/kdecore/kjob.moc:194
#36 0x00007f47e7fba950 in KJob::emitResult (this=0x18f1360) at /usr/src/debug/kdelibs-4.5.5/kdecore/jobs/kjob.cpp:312
#37 0x00007f47c7eb73ad in Akonadi::Job::qt_metacall (this=0x18f1360, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x19668e0)
    at /usr/src/debug/kdepimlibs-4.5.5/build/akonadi/job.moc:91
#38 0x00007f47c7f2f385 in Akonadi::ItemFetchJob::qt_metacall (this=0x18f1360, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x19668e0)
    at /usr/src/debug/kdepimlibs-4.5.5/build/akonadi/itemfetchjob.moc:73
#39 0x00007f47e7be14fa in QObject::event (this=0x18f1360, e=<value optimized out>) at kernel/qobject.cpp:1217
#40 0x00007f47e6d8ec94 in QApplicationPrivate::notify_helper (this=0x67ee00, receiver=0x18f1360, e=0x22b5e10) at kernel/qapplication.cpp:4462
#41 0x00007f47e6d9722a in QApplication::notify (this=<value optimized out>, receiver=0x18f1360, e=0x22b5e10) at kernel/qapplication.cpp:4341
#42 0x00007f47e8850876 in KApplication::notify (this=0x672f00, receiver=0x18f1360, event=0x22b5e10) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#43 0x00007f47e7bcd62c in QCoreApplication::notifyInternal (this=0x672f00, receiver=0x18f1360, event=0x22b5e10) at kernel/qcoreapplication.cpp:731
#44 0x00007f47e7bd0e25 in sendEvent (receiver=0x0, event_type=0, data=0x60f3e0) at kernel/qcoreapplication.h:215
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60f3e0) at kernel/qcoreapplication.cpp:1372
#46 0x00007f47e7bf8183 in sendPostedEvents (s=0x682400) at kernel/qcoreapplication.h:220
#47 postEventSourceDispatch (s=0x682400) at kernel/qeventdispatcher_glib.cpp:277
#48 0x00007f47e372da93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#49 0x00007f47e372e270 in ?? () from /usr/lib64/libglib-2.0.so.0
#50 0x00007f47e372e510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#51 0x00007f47e7bf831f in QEventDispatcherGlib::processEvents (this=0x673930, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#52 0x00007f47e6e345de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007f47e7bcca62 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007f47e7bccc75 in QEventLoop::exec (this=0x7fff1d5d3740, flags=...) at kernel/qeventloop.cpp:201
#55 0x00007f47e7bd10db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#56 0x00007f47da74e798 in kdemain (argc=1, argv=0x66c310) at /usr/src/debug/kdebase-workspace-4.5.5/plasma/desktop/shell/main.cpp:118
#57 0x00000000004074a9 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2011-02-12 17:07:39 UTC
[Comment from a bug triager]
The crash is related to the libical library which parses addressbook data stored in the Akonadi PIM framework. Plasma uses this framework to retrieve some for the Calendar widget IIRC.

- What is your "libical" version ?

In the backtrace there is an address mentioned "21199 Joplin Street NW\\" ; I don't know if that data could be related to the crash itself

Regards
Comment 2 Dario Andres 2011-02-12 17:07:43 UTC
*** Bug 265892 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2011-02-15 21:42:39 UTC
*** Bug 266388 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2011-03-05 12:00:25 UTC
*** Bug 267471 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2011-03-05 12:00:29 UTC
*** Bug 267388 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2011-03-05 12:00:34 UTC
*** Bug 266892 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2011-03-05 12:01:31 UTC
All the reports had similar backtraces even with the same ical data.
As noted in bug 267626, the source of the bug has been workarounded for KDE 4.6.x on Plasma.
Comment 8 Dirk 2011-11-24 09:31:24 UTC
It might be related:
my Plasma crashes if I sync my ical via unison. I first get the error message, that the calendar has been changed, a few seconds later plasma crashes and I am left with a black screen and a curser.
Alt+F2 works though, and I can start applications...

It doesn't ask me for a backtrace though :-(
Comment 9 Matija Šuklje 2012-09-20 22:15:34 UTC
I was having a similar issue and don’t get the crashes since 4.8.5. Can you re-test it?
Comment 10 Sergio Martins 2012-12-25 10:19:20 UTC
Waiting for reporter to retest.
Plasma calendar has been reworked ( currently in sergio/calendarcleanup branch ) anyway.