Bug 227826

Summary: akonadi kontact write to read-only file crash
Product: [Frameworks and Libraries] Akonadi Reporter: Bartol Karuza <b.karuza>
Component: GoogleData ResourceAssignee: Adenilson Cavalcanti <savagobr>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, kdepim-bugs, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bartol Karuza 2010-02-20 16:44:00 UTC
Application that crashed: akonadi_gcal_resource
Version of the application: 0.1
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-19-generic-pae i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
The akonadi 'add resource' screen from within kontact crashed after adding a resource that was based on read-only remote ics file.

 -- Backtrace:
Application: Akonadi Resource (akonadi_gcal_resource), signal: Segmentation fault
[KCrash Handler]
#6  0xb60a7791 in free () from /lib/tls/i686/cmov/libc.so.6
#7  0xb59e02fc in icalmemory_add_tmp_buffer () from /usr/lib/libical.so.0
#8  0xb59e3683 in icalproperty_get_parameter_as_string () from /usr/lib/libical.so.0
#9  0xb70fd535 in ?? () from /usr/lib/libkcal.so.4
#10 0xb70fd8ba in ?? () from /usr/lib/libkcal.so.4
#11 0xb71015a9 in ?? () from /usr/lib/libkcal.so.4
#12 0xb70f34b0 in KCal::ICalFormat::fromRawString(KCal::Calendar*, QByteArray const&) () from /usr/lib/libkcal.so.4
#13 0xb70f07eb in KCal::ICalFormat::fromString(KCal::Calendar*, QString const&) () from /usr/lib/libkcal.so.4
#14 0xb70f03d2 in KCal::ICalFormat::fromString(QString const&) () from /usr/lib/libkcal.so.4
#15 0xb3646164 in ?? () from /usr/lib/kde4/akonadi_serializer_kcal.so
#16 0xb77b3ce2 in ?? () from /usr/lib/libakonadi-kde.so.4
#17 0xb77b4090 in ?? () from /usr/lib/libakonadi-kde.so.4
#18 0xb77acc75 in Akonadi::ItemFetchJob::doHandleResponse(QByteArray const&, QByteArray const&) () from /usr/lib/libakonadi-kde.so.4
#19 0xb77c1d06 in ?? () from /usr/lib/libakonadi-kde.so.4
#20 0xb77c1cd3 in ?? () from /usr/lib/libakonadi-kde.so.4
#21 0xb77e5103 in ?? () from /usr/lib/libakonadi-kde.so.4
#22 0xb77e5e7e in Akonadi::Session::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#23 0xb7633263 in QMetaObject::activate (sender=0x9edd918, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#24 0xb7633ec2 in QMetaObject::activate (sender=0x9edd918, m=0xb770e028, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#25 0xb766b907 in QIODevice::readyRead (this=0x9edd918) at .moc/release-shared/moc_qiodevice.cpp:85
#26 0xb766b9cf in QIODevice::qt_metacall (this=0x9edd918, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfcf3aac) at .moc/release-shared/moc_qiodevice.cpp:71
#27 0xb5cca95a in QLocalSocket::qt_metacall (this=0x9edd918, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfcf3aac) at .moc/release-shared/moc_qlocalsocket.cpp:75
#28 0xb7633263 in QMetaObject::activate (sender=0x9ee1d5c, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#29 0xb7633ec2 in QMetaObject::activate (sender=0x9ee1d5c, m=0xb770e028, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#30 0xb766b907 in QIODevice::readyRead (this=0x9ee1d5c) at .moc/release-shared/moc_qiodevice.cpp:85
#31 0xb5cc5032 in QAbstractSocketPrivate::canReadNotification (this=0x9ed9440) at socket/qabstractsocket.cpp:604
#32 0xb5cb219b in QAbstractSocketEngine::readNotification (this=0x9ef7bf0) at socket/qabstractsocketengine.cpp:154
#33 0xb5cb3503 in QReadNotifier::event (this=0x8, e=0xbfcf3eb4) at socket/qnativesocketengine.cpp:1036
#34 0xb63d4f54 in QApplicationPrivate::notify_helper (this=0x9ddccb0, receiver=0x9ed9420, e=0xbfcf3eb4) at kernel/qapplication.cpp:4056
#35 0xb63dc67c in QApplication::notify (this=0xbfcf41f0, receiver=0x9ed9420, e=0xbfcf3eb4) at kernel/qapplication.cpp:3603
#36 0xb6e77bfa in KApplication::notify (this=0xbfcf41f0, receiver=0x9ed9420, event=0xbfcf3eb4) at ../../kdeui/kernel/kapplication.cpp:302
#37 0xb761d6cb in QCoreApplication::notifyInternal (this=0xbfcf41f0, receiver=0x9ed9420, event=0xbfcf3eb4) at kernel/qcoreapplication.cpp:610
#38 0xb76482ca in QCoreApplication::sendEvent (source=0x9ddf110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#39 socketNotifierSourceDispatch (source=0x9ddf110) at kernel/qeventdispatcher_glib.cpp:110
#40 0xb5b33e88 in g_main_dispatch (context=0x9ddf090) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#41 IA__g_main_context_dispatch (context=0x9ddf090) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#42 0xb5b37730 in g_main_context_iterate (context=0x9ddf090, block=<value optimized out>, dispatch=1, self=0x9ddcc38) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#43 0xb5b37863 in IA__g_main_context_iteration (context=0x9ddf090, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#44 0xb764802c in QEventDispatcherGlib::processEvents (this=0x9dc7a50, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#45 0xb6475be5 in QGuiEventDispatcherGlib::processEvents (this=0x9dc7a50, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#46 0xb761bc79 in QEventLoop::processEvents (this=0xbfcf4154, flags=) at kernel/qeventloop.cpp:149
#47 0xb761c0ca in QEventLoop::exec (this=0xbfcf4154, flags=...) at kernel/qeventloop.cpp:201
#48 0xb761e53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#49 0xb63d4dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#50 0xb77d2033 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#51 0x0804f0c3 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-02-22 01:34:26 UTC
This issue is being tracked at bug 202728. Regards

*** This bug has been marked as a duplicate of bug 202728 ***