Bug 253562 - Kontact Fails at startup (related to events in Akonadi calendar and KOrganizer) [memcpy, ..., QStyledItemDelegate::displayText, QStyledItemDelegate::initStyleOption, ..., KOTodoRichTextDelegate::sizeHint]
Summary: Kontact Fails at startup (related to events in Akonadi calendar and KOrganize...
Status: RESOLVED WORKSFORME
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 256028 256517 271404 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-08 03:00 UTC by Ricardo Bocaz L.
Modified: 2016-10-12 09:29 UTC (History)
7 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 Ricardo Bocaz L. 2010-10-08 03:00:27 UTC
Application: kontact (4.4.6)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu maverick (development branch)

-- Information about the crash:
Any time i try to start Kontact it gives me this error and closes itself.  Yesterday it worked like a charm. I remember to added yesterday a event in my calendar (it is over akonadi gcal) and that event didnt save itself on my google calendar (i saw it on web). Today when i start my computer it gives me the error (i configured Kontact to start at startup because its one of my importants programs). I tried to reboot and it is the same. I can start Kmail and Korganizer by itself (standalone) without problems, all my events and tasks and emails are there safe. I tried disable Korganizer daemon of alarms (i dont know how to say it in english) and nothing, the error stills come up.
I hope you can fix this with this information. Thanks in advance

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fac43b9b780 (LWP 1916))]

Thread 2 (Thread 0x7fac1fe17710 (LWP 1931)):
#0  0x00007fac40bcc1e3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fac3993f009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fac3993f45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fac413101e6 in QEventDispatcherGlib::processEvents (this=0x1ab34a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fac412e2a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fac412e2dec in QEventLoop::exec (this=0x7fac1fe16d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fac411ed2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fac412c25f8 in QInotifyFileSystemWatcherEngine::run (this=0x1ae0b60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fac411f027e in QThreadPrivate::start (arg=0x1ae0b60) at thread/qthread_unix.cpp:266
#9  0x00007fac3bcce971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fac40bd892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fac43b9b780 (LWP 1916)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:526
#7  0x00007fac412363ac in QString::realloc (this=0x7fffc474a5d0, alloc=27337616) at /usr/include/bits/string3.h:52
#8  0x00007fac4229ce0e in detach (this=<value optimized out>, value=<value optimized out>, locale=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:717
#9  operator= (this=<value optimized out>, value=<value optimized out>, locale=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:801
#10 operator= (this=<value optimized out>, value=<value optimized out>, locale=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:815
#11 QStyledItemDelegate::displayText (this=<value optimized out>, value=<value optimized out>, locale=<value optimized out>) at itemviews/qstyleditemdelegate.cpp:299
#12 0x00007fac4229ddca in QStyledItemDelegate::initStyleOption (this=<value optimized out>, option=0x7fffc474a690, index=...) at itemviews/qstyleditemdelegate.cpp:383
#13 0x00007fac4229ee58 in QStyledItemDelegate::sizeHint (this=0x1ae9df0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:445
#14 0x00007fac1eebf613 in KOTodoRichTextDelegate::sizeHint (this=0x7fac10b8d030, option=..., index=...) at ../../korganizer/views/todoview/kotododelegates.cpp:472
#15 0x00007fac4222e558 in QTreeView::indexRowSizeHint (this=<value optimized out>, index=<value optimized out>) at itemviews/qtreeview.cpp:2801
#16 0x00007fac4222e9ac in QTreeViewPrivate::itemHeight (this=0x1ae7fc0, item=5) at itemviews/qtreeview.cpp:3229
#17 0x00007fac4222ec5f in QTreeViewPrivate::updateScrollBars (this=0x1ae7fc0) at itemviews/qtreeview.cpp:3452
#18 0x00007fac4222f034 in QTreeView::updateGeometries (this=0x1ae5e30) at itemviews/qtreeview.cpp:2686
#19 0x00007fac422380d9 in QTreeView::timerEvent (this=0x7fac10b8d030, event=0x1c02fa0) at itemviews/qtreeview.cpp:1183
#20 0x00007fac412f58f9 in QObject::event (this=0x1ae5e30, e=0x1c02fa0) at kernel/qobject.cpp:1183
#21 0x00007fac41cef6df in QWidget::event (this=0x1ae5e30, event=0x7fffc474b810) at kernel/qwidget.cpp:8646
#22 0x00007fac420bb5e6 in QFrame::event (this=0x1ae5e30, e=0x7fffc474b810) at widgets/qframe.cpp:557
#23 0x00007fac4214971b in QAbstractScrollArea::event (this=0x1ae5e30, e=0x7fffc474b810) at widgets/qabstractscrollarea.cpp:996
#24 0x00007fac421ed51b in QAbstractItemView::event (this=0x1ae5e30, event=0x7fffc474b810) at itemviews/qabstractitemview.cpp:1555
#25 0x00007fac41c99fdc in QApplicationPrivate::notify_helper (this=0xe22b30, receiver=0x1ae5e30, e=0x7fffc474b810) at kernel/qapplication.cpp:4396
#26 0x00007fac41c9faed in QApplication::notify (this=0x7fffc474ef60, receiver=0x1ae5e30, e=0x7fffc474b810) at kernel/qapplication.cpp:4277
#27 0x00007fac429ec156 in KApplication::notify (this=0x7fffc474ef60, receiver=0x1ae5e30, event=0x7fffc474b810) at ../../kdeui/kernel/kapplication.cpp:310
#28 0x00007fac412e3cdc in QCoreApplication::notifyInternal (this=0x7fffc474ef60, receiver=0x1ae5e30, event=0x7fffc474b810) at kernel/qcoreapplication.cpp:732
#29 0x00007fac413136f2 in sendEvent (this=0xe30ad0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QTimerInfoList::activateTimers (this=0xe30ad0) at kernel/qeventdispatcher_unix.cpp:602
#31 0x00007fac413104a4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#32 0x00007fac3993b342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x00007fac3993f2a8 in ?? () from /lib/libglib-2.0.so.0
#34 0x00007fac3993f45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x00007fac41310193 in QEventDispatcherGlib::processEvents (this=0xdf3e90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#36 0x00007fac41d4ca4e in QGuiEventDispatcherGlib::processEvents (this=0x7fac10b8d030, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007fac412e2a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#38 0x00007fac412e2dec in QEventLoop::exec (this=0x7fffc474bab0, flags=) at kernel/qeventloop.cpp:201
#39 0x00007fac41739b16 in KJob::exec (this=0x195cea0) at ../../kdecore/jobs/kjob.cpp:204
#40 0x00007fac2702ff2c in SDSummaryWidget::updateView (this=0x167b400) at ../../../../kontact/plugins/specialdates/sdsummarywidget.cpp:219
#41 0x00007fac27033ae0 in SDSummaryWidget::qt_metacall (this=0x167b400, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc474c5f0) at ./sdsummarywidget.moc:79
#42 0x00007fac412fbb27 in QMetaObject::activate (sender=0x16908c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x63eed) at kernel/qobject.cpp:3280
#43 0x00007fac3e0dd6bc in KCal::Calendar::qt_metacall (this=0x16908c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./calendar.moc:82
#44 0x00007fac3e160100 in KCal::CalendarResources::qt_metacall (this=0x7fac10b8d030, _c=29372320, _id=54380314, _a=0x63eed) at ./calendarresources.moc:85
#45 0x00007fac412fbb27 in QMetaObject::activate (sender=0x16463b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x63eed) at kernel/qobject.cpp:3280
#46 0x00007fac3e15221f in KCal::ResourceCalendar::resourceChanged (this=0x7fac10b8d030, _t1=0x16463b0) at ./resourcecalendar.moc:123
#47 0x00007fac2047821b in ?? () from /usr/lib/kde4/kcal_akonadi.so
#48 0x00007fac2045d969 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#49 0x00007fac3e152771 in KCal::ResourceCalendar::load (this=0x16463b0) at ../../kcal/resourcecalendar.cpp:167
#50 0x00007fac3e160d41 in KCal::CalendarResources::load (this=0x16908c0) at ../../kcal/calendarresources.cpp:303
#51 0x00007fac1f20db80 in KOrganizerPart::KOrganizerPart (this=0x1a86130, parentWidget=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../korganizer/korganizer_part.cpp:74
#52 0x00007fac1f20e54f in KPluginFactory::createPartInstance<KOrganizerPart> (parentWidget=0xf85da0, parent=0xf85da0, args=...) at //usr/include/kpluginfactory.h:467
#53 0x00007fac4183a97f in KPluginFactory::create (this=0x1a85b00, iface=0x7fac408def60 "KParts::ReadOnlyPart", parentWidget=<value optimized out>, parent=0xf85da0, args=..., keyword=<value optimized out>) at ../../kdecore/util/kpluginfactory.cpp:191
#54 0x00007fac431f8ab4 in create<KParts::ReadOnlyPart> (this=0xf85da0, libname=0x12cca18 "korganizerpart") at //usr/include/kpluginfactory.h:491
#55 KontactInterface::Core::createPart (this=0xf85da0, libname=0x12cca18 "korganizerpart") at ../../kontactinterface/core.cpp:87
#56 0x00007fac26e15780 in KOrganizerPlugin::createPart (this=0x7fac10b8d030) at ../../../../kontact/plugins/korganizer/korganizerplugin.cpp:101
#57 0x00007fac431fba09 in KontactInterface::Plugin::part (this=0x7fac10b8d030) at ../../kontactinterface/plugin.cpp:191
#58 0x00007fac26e1abff in ApptSummaryWidget::ApptSummaryWidget (this=0x1a56860, plugin=<value optimized out>, parent=<value optimized out>) at ../../../../kontact/plugins/korganizer/apptsummarywidget.cpp:65
#59 0x00007fac26e15094 in KOrganizerPlugin::createSummaryWidget (this=0x12df860, parent=0x166ead0) at ../../../../kontact/plugins/korganizer/korganizerplugin.cpp:96
#60 0x00007fac260d5bf5 in SummaryViewPart::updateWidgets (this=0x1643df0) at ../../../../kontact/plugins/summary/summaryview_part.cpp:160
#61 0x00007fac260d6e48 in SummaryViewPart::initGUI (this=0x1643df0, core=<value optimized out>) at ../../../../kontact/plugins/summary/summaryview_part.cpp:514
#62 0x00007fac260d6fb6 in SummaryViewPart::SummaryViewPart (this=0x1643df0, core=0xf85da0, aboutData=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../../kontact/plugins/summary/summaryview_part.cpp:65
#63 0x00007fac260d2a34 in SummaryView::createPart (this=0x12da5f0) at ../../../../kontact/plugins/summary/summaryview_plugin.cpp:109
#64 0x00007fac431fba09 in KontactInterface::Plugin::part (this=0x7fac10b8d030) at ../../kontactinterface/plugin.cpp:191
#65 0x00007fac437b7d0f in Kontact::MainWindow::selectPlugin (this=0xf85da0, plugin=0x12da5f0) at ../../../kontact/src/mainwindow.cpp:778
#66 0x00007fac437b3835 in Kontact::MainWindow::selectPlugin (this=0xf85da0, pluginName=...) at ../../../kontact/src/mainwindow.cpp:924
#67 0x00007fac437b2919 in Kontact::MainWindow::loadSettings (this=0xf85da0) at ../../../kontact/src/mainwindow.cpp:946
#68 0x00007fac437badb0 in Kontact::MainWindow::initObject (this=0xf85da0) at ../../../kontact/src/mainwindow.cpp:210
#69 0x00007fac437bc22c in Kontact::MainWindow::MainWindow (this=0xf85da0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:146
#70 0x00000000004044d4 in KontactApp::newInstance (this=0x7fffc474ef60) at ../../../kontact/src/main.cpp:136
#71 0x00007fac429f3976 in KUniqueApplicationAdaptor::newInstance (this=0xf18a10, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:440
#72 0x00007fac429f3fb6 in KUniqueApplicationAdaptor::qt_metacall (this=0xf18a10, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffc474e100) at ./kuniqueapplication_p.moc:81
#73 0x00007fac3f3ad0ee in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) at qdbusintegrator.cpp:919
#74 0x00007fac3f3ae36f in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0xf18a10, flags=337, msg=...) at qdbusintegrator.cpp:822
#75 0x00007fac3f3aee65 in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1379
#76 0x00007fac3f3af108 in QDBusActivateObjectEvent::placeMetaCall (this=0xf90480) at qdbusintegrator.cpp:1493
#77 0x00007fac412f5bde in QObject::event (this=0x7fffc474ef60, e=0x7fac10b8d030) at kernel/qobject.cpp:1219
#78 0x00007fac41c9d186 in QApplication::event (this=0x7fffc474ef60, e=0xf90480) at kernel/qapplication.cpp:2439
#79 0x00007fac41c99fdc in QApplicationPrivate::notify_helper (this=0xe22b30, receiver=0x7fffc474ef60, e=0xf90480) at kernel/qapplication.cpp:4396
#80 0x00007fac41c9faed in QApplication::notify (this=0x7fffc474ef60, receiver=0x7fffc474ef60, e=0xf90480) at kernel/qapplication.cpp:4277
#81 0x00007fac429ec156 in KApplication::notify (this=0x7fffc474ef60, receiver=0x7fffc474ef60, event=0xf90480) at ../../kdeui/kernel/kapplication.cpp:310
#82 0x00007fac412e3cdc in QCoreApplication::notifyInternal (this=0x7fffc474ef60, receiver=0x7fffc474ef60, event=0xf90480) at kernel/qcoreapplication.cpp:732
#83 0x00007fac412e6c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xdf4380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#84 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xdf4380) at kernel/qcoreapplication.cpp:1373
#85 0x00007fac41310653 in sendPostedEvents (s=0xe30980) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#86 postEventSourceDispatch (s=0xe30980) at kernel/qeventdispatcher_glib.cpp:277
#87 0x00007fac3993b342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#88 0x00007fac3993f2a8 in ?? () from /lib/libglib-2.0.so.0
#89 0x00007fac3993f45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#90 0x00007fac41310193 in QEventDispatcherGlib::processEvents (this=0xdf3e90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#91 0x00007fac41d4ca4e in QGuiEventDispatcherGlib::processEvents (this=0x7fac10b8d030, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#92 0x00007fac412e2a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#93 0x00007fac412e2dec in QEventLoop::exec (this=0x7fffc474eea0, flags=) at kernel/qeventloop.cpp:201
#94 0x00007fac412e6ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#95 0x0000000000403b4e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Ricardo Bocaz L. 2010-10-11 02:45:42 UTC
I found that starting Korganizer  and unselecting the akonadi calendar Kontact starts perfectly. So i think that the error comes up when you add a new event to a akonadi gcalendar. It doesnt save on google and it crashes at start.
Comment 2 Dario Andres 2010-11-18 16:52:07 UTC
*** Bug 256028 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2011-02-17 00:37:23 UTC
*** Bug 256517 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2011-04-21 11:18:52 UTC
*** Bug 271404 has been marked as a duplicate of this bug. ***
Comment 5 Denis Kurz 2016-09-24 19:34:10 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 6 Luis Silva 2016-09-25 17:20:07 UTC
Could not reproduce this bug.
Tested with 5.3.0 on Neon.
Comment 7 Denis Kurz 2016-10-12 09:29:12 UTC
Thanks Luis, setting to resolved for now.