Bug 342501 - korganizer crash on startup
Summary: korganizer crash on startup
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-01-05 10:18 UTC by Rigo Wenning
Modified: 2015-01-07 10:00 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 Rigo Wenning 2015-01-05 10:18:40 UTC
Application: korganizer (4.14.3)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.16.7-7-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
Upon parsing my large personal calendar file, korganizer crashes. It got worse over time. First it was only the reminder and then all korganizer. I will see if moving the calendar out of the way will help

The crash can be reproduced every time.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f49681952af in __strcpy_sse2_unaligned () from /lib64/libc.so.6
#7  0x00007f49650eebc7 in strcpy (__src=0x2a0a9a1 "\303\203\302\203\303\202\302\202\303\203\302\202\303\202\302\202\303\203\302\203\303\202\302\203\303\203\302\202\303\202\302\202\303\203\302\203\303\202\302\202\303\203\302\202\303\202\302\203\303\203\302\203\303\202\302\203\303\203\302\202\303\202\302\203\303\203\302\203\303\202\302\202\303\203\r\n", __dest=0x976d674 <error: Cannot access memory at address 0x976d674>) at /usr/include/bits/string3.h:104
#8  icalmemory_append_string (buf=buf@entry=0x7fff44830188, pos=pos@entry=0x7fff44830190, buf_size=buf_size@entry=0x7fff44830198, string=string@entry=0x2a0a9a1 "\303\203\302\203\303\202\302\202\303\203\302\202\303\202\302\202\303\203\302\203\303\202\302\203\303\203\302\202\303\202\302\202\303\203\302\203\303\202\302\202\303\203\302\202\303\202\302\203\303\203\302\203\303\202\302\203\303\203\302\202\303\202\302\203\303\203\302\203\303\202\302\202\303\203\r\n") at /usr/src/debug/libical-1.0/src/libical/icalmemory.c:331
#9  0x00007f49650f00db in icalparser_get_line (parser=parser@entry=0x2a0a990, line_gen_func=line_gen_func@entry=0x7f49650efe10 <icalparser_string_line_generator>) at /usr/src/debug/libical-1.0/src/libical/icalparser.c:500
#10 0x00007f49650f0e2f in icalparser_parse (parser=parser@entry=0x2a0a990, line_gen_func=line_gen_func@entry=0x7f49650efe10 <icalparser_string_line_generator>) at /usr/src/debug/libical-1.0/src/libical/icalparser.c:626
#11 0x00007f49650f0f05 in icalparser_parse_string (str=<optimized out>) at /usr/src/debug/libical-1.0/src/libical/icalparser.c:1323
#12 0x00007f496ac93555 in KCalCore::ICalFormat::fromRawString (this=this@entry=0x171fd28, cal=..., string=..., deleted=deleted@entry=false, notebook=...) at /usr/src/debug/kdepimlibs-4.14.3/kcalcore/icalformat.cpp:157
#13 0x00007f496ac90d16 in KCalCore::ICalFormat::fromString (this=0x171fd28, cal=..., string=..., deleted=<optimized out>, notebook=...) at /usr/src/debug/kdepimlibs-4.14.3/kcalcore/icalformat.cpp:145
#14 0x00007f496ac90ed4 in KCalCore::ICalFormat::fromString (this=this@entry=0x171fd28, string=...) at /usr/src/debug/kdepimlibs-4.14.3/kcalcore/icalformat.cpp:207
#15 0x00007f494a0778bf in Akonadi::SerializerPluginKCalCore::deserialize (this=0x171fd00, item=..., label=..., data=..., version=<optimized out>) at /usr/src/debug/kdepim-runtime-4.14.3/plugins/akonadi_serializer_kcalcore.cpp:83
#16 0x00007f4963c8bfe8 in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=version@entry=0) at /usr/src/debug/kdepimlibs-4.14.3/akonadi/itemserializer.cpp:108
#17 0x00007f4963c8ca99 in Akonadi::ItemSerializer::deserialize (item=..., label=..., data=..., version=version@entry=0, external=external@entry=true) at /usr/src/debug/kdepimlibs-4.14.3/akonadi/itemserializer.cpp:90
#18 0x00007f4963cb53b2 in Akonadi::ProtocolHelper::parseItemFetchResult (lineTokens=..., item=..., valuePool=0x169c560) at /usr/src/debug/kdepimlibs-4.14.3/akonadi/protocolhelper.cpp:642
#19 0x00007f4963c83f2c in Akonadi::ItemFetchJob::doHandleResponse (this=0x16e1fa0, tag=..., data=...) at /usr/src/debug/kdepimlibs-4.14.3/akonadi/itemfetchjob.cpp:208
#20 0x00007f4963c963e3 in Akonadi::JobPrivate::handleResponse (this=<optimized out>, tag=..., data=...) at /usr/src/debug/kdepimlibs-4.14.3/akonadi/job.cpp:79
#21 0x00007f4963ce7152 in Akonadi::SessionPrivate::dataReceived (this=0x12c3aa0) at /usr/src/debug/kdepimlibs-4.14.3/akonadi/session.cpp:240
#22 0x00007f496981f1fa in QMetaObject::activate (sender=0x12c3810, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3576
#23 0x00007f496981f1fa in QMetaObject::activate (sender=sender@entry=0x12c4388, m=m@entry=0x7f4969b6e540 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3576
#24 0x00007f4969868580 in QIODevice::readyRead (this=this@entry=0x12c4388) at .moc/release-shared/moc_qiodevice.cpp:104
#25 0x00007f49671e9d1d in QAbstractSocketPrivate::canReadNotification (this=0x12c0180) at socket/qabstractsocket.cpp:654
#26 0x00007f49671f2d1d in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#27 0x00007f4968ba476c in QApplicationPrivate::notify_helper (this=this@entry=0x10ceff0, receiver=receiver@entry=0x10ddc20, e=e@entry=0x7fff44830f40) at kernel/qapplication.cpp:4565
#28 0x00007f4968baacad in QApplication::notify (this=this@entry=0x7fff44831380, receiver=receiver@entry=0x10ddc20, e=e@entry=0x7fff44830f40) at kernel/qapplication.cpp:4351
#29 0x00007f496b5abbaa in KApplication::notify (this=0x7fff44831380, receiver=0x10ddc20, event=0x7fff44830f40) at /usr/src/debug/kdelibs-4.14.3/kdeui/kernel/kapplication.cpp:311
#30 0x00007f496980b2ad in QCoreApplication::notifyInternal (this=0x7fff44831380, receiver=0x10ddc20, event=event@entry=0x7fff44830f40) at kernel/qcoreapplication.cpp:953
#31 0x00007f4969838e18 in sendEvent (event=0x7fff44830f40, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#32 socketNotifierSourceDispatch (source=0x10bd200) at kernel/qeventdispatcher_glib.cpp:117
#33 0x00007f496108fa04 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f496108fc48 in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f496108fcec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f49698380be in QEventDispatcherGlib::processEvents (this=0x107af90, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#37 0x00007f4968c41676 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f4969809e6f in QEventLoop::processEvents (this=this@entry=0x7fff44831180, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f496980a165 in QEventLoop::exec (this=this@entry=0x7fff44831180, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f496980f5b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#41 0x00000000004082de in ?? ()
#42 0x00007f4968121b05 in __libc_start_main () from /lib64/libc.so.6
#43 0x00000000004085a4 in _start ()

Reported using DrKonqi
Comment 1 Rigo Wenning 2015-01-05 11:17:50 UTC
korganizer also crashes with all config erased. So it is not the parser. I also note that the cpu goes way up before the crash. Looking at the process with top, one can see that korganizer rapidly consumes all the memory and then crashes (I have 8 GB of RAM)
Comment 2 Allen Winter 2015-01-06 20:20:09 UTC
looks like an error in libical.

Since it seems you build yourself from source, could you try libical 1.0.1?
https://github.com/libical/libical/releases/tag/v1.0.1

or, could you somehow break out the iCal incidence that libical is failing on and paste it here?
Comment 3 Rigo Wenning 2015-01-07 10:00:20 UTC
Allen, 
I did not build myself. This is all plain opensuse 13.2. The opensuse-kde people weren't able to reproduce. I re-installed from scratch and now it works. I can narrow it down to some application using plasma5 that I installed in a second step. But I can not actually nail it down to a specific package. IMHO it is a KDE issue, not a PIM issue. As I have re-installed, I can not debug anymore. So let's close the bug.