<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>257334</bug_id>
          
          <creation_ts>2010-11-19 17:09:02 +0000</creation_ts>
          <short_desc>Kontact crashes when adding or modifying Akonadi _gcal_resource</short_desc>
          <delta_ts>2010-11-19 22:00:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kontact</product>
          <component>general</component>
          <version>4.4.5</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>257341</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Chris">crglasoe</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>andresbajotierra</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1046706</commentid>
    <comment_count>0</comment_count>
    <who name="Chris">crglasoe</who>
    <bug_when>2010-11-19 17:09:02 +0000</bug_when>
    <thetext>Application: kontact (4.4.5)
KDE Platform Version: 4.4.4 (KDE 4.4.4) &quot;release 3&quot;
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.5-desktop x86_64
Distribution: &quot;openSUSE 11.3 (x86_64)&quot;

-- Information about the crash:
Akonadi was not syncing with my gcal resource.  I keep getting a warning that the password is invalid for the gcal  account.  When I delete the resource, quit Kontact, re-start Kontact and try to add a new gcal resource Kontact crashes.  When I go to Akonadi separately and add a gcal resource Kontact crashes.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  QModelIndex (this=0x2111e90, child=&lt;value optimized out&gt;) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#6  QSortFilterProxyModel::parent (this=0x2111e90, child=&lt;value optimized out&gt;) at itemviews/qsortfilterproxymodel.cpp:1656
#7  0x00007ff37de1da83 in parent (this=&lt;value optimized out&gt;) at kernel/qabstractitemmodel.h:389
#8  QPersistentModelIndex::parent (this=&lt;value optimized out&gt;) at kernel/qabstractitemmodel.cpp:347
#9  0x00007ff37d74e927 in parent (this=0x20ec710, index=...) at itemviews/qitemselectionmodel.h:78
#10 contains (this=0x20ec710, index=...) at itemviews/qitemselectionmodel.h:83
#11 QItemSelection::contains (this=0x20ec710, index=...) at itemviews/qitemselectionmodel.cpp:423
#12 0x00007ff37d74ee7b in QItemSelectionModel::isSelected (this=&lt;value optimized out&gt;, index=...) at itemviews/qitemselectionmodel.cpp:1200
#13 0x00007ff37d71bd92 in QListView::paintEvent (this=0x2014b00, e=&lt;value optimized out&gt;) at itemviews/qlistview.cpp:984
#14 0x00007ff37d23b45a in QWidget::event (this=0x2014b00, event=0x7fffd8015fd0) at kernel/qwidget.cpp:8346
#15 0x00007ff37d5e8006 in QFrame::event (this=0x2014b00, e=0x7fffd8015fd0) at widgets/qframe.cpp:557
#16 0x00007ff37d6fa0d3 in QAbstractItemView::viewportEvent (this=0x2014b00, event=0x7fffd8015fd0) at itemviews/qabstractitemview.cpp:1619
#17 0x00007ff37de2bee7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=&lt;value optimized out&gt;, receiver=0x208c4e0, event=0x7fffd8015fd0) at kernel/qcoreapplication.cpp:847
#18 0x00007ff37d1e9ca1 in QApplicationPrivate::notify_helper (this=0x63d400, receiver=0x208c4e0, e=0x7fffd8015fd0) at kernel/qapplication.cpp:4441
#19 0x00007ff37d1f21ca in QApplication::notify (this=&lt;value optimized out&gt;, receiver=0x208c4e0, e=0x7fffd8015fd0) at kernel/qapplication.cpp:4324
#20 0x00007ff37e72bc06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x00007ff37de2bd5c in QCoreApplication::notifyInternal (this=0x7fffd8018bc0, receiver=0x208c4e0, event=0x7fffd8015fd0) at kernel/qcoreapplication.cpp:732
#22 0x00007ff37d238322 in sendSpontaneousEvent (this=0x1f6f1f0, pdev=0xbf4478, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0xbf4670)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#23 QWidgetPrivate::drawWidget (this=0x1f6f1f0, pdev=0xbf4478, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0xbf4670) at kernel/qwidget.cpp:5433
#24 0x00007ff37d3fd9d8 in QWidgetBackingStore::sync (this=0xbf4670) at painting/qbackingstore.cpp:1325
#25 0x00007ff37d22d010 in QWidgetPrivate::syncBackingStore (this=0x1fe0400) at kernel/qwidget.cpp:1816
#26 0x00007ff37d23b962 in QWidget::event (this=0x20b3ea0, event=0x20ebe30) at kernel/qwidget.cpp:8493
#27 0x00007ff37d1e9cd4 in QApplicationPrivate::notify_helper (this=0x63d400, receiver=0x20b3ea0, e=0x20ebe30) at kernel/qapplication.cpp:4445
#28 0x00007ff37d1f21ca in QApplication::notify (this=&lt;value optimized out&gt;, receiver=0x20b3ea0, e=0x20ebe30) at kernel/qapplication.cpp:4324
#29 0x00007ff37e72bc06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#30 0x00007ff37de2bd5c in QCoreApplication::notifyInternal (this=0x7fffd8018bc0, receiver=0x20b3ea0, event=0x20ebe30) at kernel/qcoreapplication.cpp:732
#31 0x00007ff37de2f555 in sendEvent (receiver=0x0, event_type=0, data=0x60dc60) at kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60dc60) at kernel/qcoreapplication.cpp:1373
#33 0x00007ff37de56813 in sendPostedEvents (s=0x648760) at kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x648760) at kernel/qeventdispatcher_glib.cpp:277
#35 0x00007ff3759f3a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#36 0x00007ff3759f4270 in ?? () from /usr/lib64/libglib-2.0.so.0
#37 0x00007ff3759f4510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#38 0x00007ff37de569af in QEventDispatcherGlib::processEvents (this=0x6132b0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:415
#39 0x00007ff37d28eeae in QGuiEventDispatcherGlib::processEvents (this=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007ff37de2b192 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007ff37de2b3a5 in QEventLoop::exec (this=0x7fffd8017010, flags=...) at kernel/qeventloop.cpp:201
#42 0x00007ff37d6a49ae in QDialog::exec (this=0x12c5210) at dialogs/qdialog.cpp:552
#43 0x00007ff35ab06d88 in ResourceView::editResource (this=0x1970550) at /usr/src/debug/kdepim-4.4.4/korganizer/resourceview.cpp:610
#44 0x00007ff35ab0905b in ResourceView::qt_metacall (this=0x1970550, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0x7fffd8017500)
    at /usr/src/debug/kdepim-4.4.4/build/korganizer/resourceview.moc:114
#45 0x00007ff37de40f1f in QMetaObject::activate (sender=0x1971b00, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x7fffd8017500) at kernel/qobject.cpp:3272
#46 0x00007ff37d860322 in QAbstractButton::clicked (this=&lt;value optimized out&gt;, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#47 0x00007ff37d5a54db in QAbstractButtonPrivate::emitClicked (this=0x197e420) at widgets/qabstractbutton.cpp:546
#48 0x00007ff37d5a6aab in QAbstractButtonPrivate::click (this=0x197e420) at widgets/qabstractbutton.cpp:539
#49 0x00007ff37d5a6d1c in QAbstractButton::mouseReleaseEvent (this=0x1971b00, e=0x7fffd8017e90) at widgets/qabstractbutton.cpp:1121
#50 0x00007ff37d66324a in QToolButton::mouseReleaseEvent (this=&lt;value optimized out&gt;, e=&lt;value optimized out&gt;) at widgets/qtoolbutton.cpp:721
#51 0x00007ff37d23b4a8 in QWidget::event (this=0x1971b00, event=0x7fffd8017e90) at kernel/qwidget.cpp:8200
#52 0x00007ff37d1e9cd4 in QApplicationPrivate::notify_helper (this=0x63d400, receiver=0x1971b00, e=0x7fffd8017e90) at kernel/qapplication.cpp:4445
#53 0x00007ff37d1f2a4a in QApplication::notify (this=&lt;value optimized out&gt;, receiver=0x1971b00, e=0x7fffd8017e90) at kernel/qapplication.cpp:4006
#54 0x00007ff37e72bc06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#55 0x00007ff37de2bd5c in QCoreApplication::notifyInternal (this=0x7fffd8018bc0, receiver=0x1971b00, event=0x7fffd8017e90) at kernel/qcoreapplication.cpp:732
#56 0x00007ff37d1eacd5 in sendEvent (receiver=0x1971b00, event=0x7fffd8017e90, alienWidget=0x1971b00, nativeWidget=0x640260, buttonDown=0x7ff37dcc5178, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#57 QApplicationPrivate::sendMouseEvent (receiver=0x1971b00, event=0x7fffd8017e90, alienWidget=0x1971b00, nativeWidget=0x640260, buttonDown=0x7ff37dcc5178, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3105
#58 0x00007ff37d268ef8 in QETWidget::translateMouseEvent (this=0x640260, event=&lt;value optimized out&gt;) at kernel/qapplication_x11.cpp:4438
#59 0x00007ff37d2675d9 in QApplication::x11ProcessEvent (this=0x7fffd8018bc0, event=0x7fffd80187f0) at kernel/qapplication_x11.cpp:3564
#60 0x00007ff37d28f212 in x11EventSourceDispatch (s=0x648970, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#61 0x00007ff3759f3a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#62 0x00007ff3759f4270 in ?? () from /usr/lib64/libglib-2.0.so.0
#63 0x00007ff3759f4510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#64 0x00007ff37de569af in QEventDispatcherGlib::processEvents (this=0x6132b0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:415
#65 0x00007ff37d28eeae in QGuiEventDispatcherGlib::processEvents (this=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#66 0x00007ff37de2b192 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#67 0x00007ff37de2b3a5 in QEventLoop::exec (this=0x7fffd8018b10, flags=...) at kernel/qeventloop.cpp:201
#68 0x00007ff37de2f80b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#69 0x000000000040417e in _start ()

Possible duplicates by query: bug 255994, bug 255893, bug 255406, bug 254762, bug 254554.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1046800</commentid>
    <comment_count>1</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2010-11-19 22:00:04 +0000</bug_when>
    <thetext>[Comment from a bug triager]
Merging with your other report: bug 257341. Thanks

*** This bug has been marked as a duplicate of bug 257341 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>