Bug 261556

Summary: Korganizer crashed when changing todo linked to groupware calendar
Product: [Applications] korganizer Reporter: Chris <crglasoe>
Component: groupwareAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: eraser1171, smartins
Priority: NOR    
Version: 4.4.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris 2010-12-29 20:21:06 UTC
Application: kontact (4.4.5)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 3"
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.5-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
I was editing a to-do item in Korganizer that had originated within eGroupware project manger/info log.  Actually all I did was place a check mark in the left side box next to the item inKorganizer.  I received a warning message that the item was to be changed and then the crash message.  I have to stop Korganizer/Kontact and restart it along with stopping and strating Akonadi after thesee crashes.  The particular calendar I am saving to wihtin in eGroupware does not sync through Akonadi however.  This calendar was estalished using the groupdav option in Korganizer.  I also have a link to the eGroupware calendar wihin Akonadi.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f3f424ca710 (LWP 8742)):
#0  0x00007f3f61445709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3f67451072 in wait (this=<value optimized out>, mutex=0x18ac420, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x18ac420, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f3f67446e98 in QThreadPoolThread::run (this=0x7f3f3c14bb40) at concurrent/qthreadpool.cpp:140
#4  0x00007f3f67450a1e in QThreadPrivate::start (arg=0x7f3f3c14bb40) at thread/qthread_unix.cpp:285
#5  0x00007f3f61440a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3f6619682d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3f68ff3760 (LWP 8427)):
[KCrash Handler]
#5  0x00007f3f63791372 in KCal::Incidence::categories() const () from /usr/lib64/libkcal.so.4
#6  0x00007f3f46c65f64 in KOTodoModel::data (this=0x1bc36e0, index=<value optimized out>, role=<value optimized out>) at /usr/src/debug/kdepim-4.4.4/korganizer/views/todoview/kotodomodel.cpp:771
#7  0x00007f3f66e8ea51 in QSortFilterProxyModel::data (this=<value optimized out>, index=<value optimized out>, role=1) at itemviews/qsortfilterproxymodel.cpp:1715
#8  0x00007f3f66eb04dc in data (this=0x1a842a0, option=0x7fffe4244770, index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:398
#9  QStyledItemDelegate::initStyleOption (this=0x1a842a0, option=0x7fffe4244770, index=...) at itemviews/qstyleditemdelegate.cpp:340
#10 0x00007f3f46c6ba15 in KOTodoRichTextDelegate::paint (this=0x1a842a0, painter=0x7fffe4245090, option=..., index=...)
    at /usr/src/debug/kdepim-4.4.4/korganizer/views/todoview/kotododelegates.cpp:418
#11 0x00007f3f66e49eba in QTreeView::drawRow (this=0x187cca0, painter=0x7fffe4245090, option=..., index=...) at itemviews/qtreeview.cpp:1678
#12 0x00007f3f66e4e19a in QTreeView::drawTree (this=0x187cca0, painter=0x7fffe4245090, region=<value optimized out>) at itemviews/qtreeview.cpp:1441
#13 0x00007f3f66e4ebb3 in QTreeView::paintEvent (this=0x187cca0, event=0x7fffe4245d00) at itemviews/qtreeview.cpp:1274
#14 0x00007f3f6694b45a in QWidget::event (this=0x187cca0, event=0x7fffe4245d00) at kernel/qwidget.cpp:8346
#15 0x00007f3f66cf8246 in QFrame::event (this=0x187cca0, e=0x7fffe4245d00) at widgets/qframe.cpp:557
#16 0x00007f3f66e0a463 in QAbstractItemView::viewportEvent (this=0x187cca0, event=0x7fffe4245d00) at itemviews/qabstractitemview.cpp:1619
#17 0x00007f3f66e4f2d5 in QTreeView::viewportEvent (this=0x187cca0, event=0x7fffe4245d00) at itemviews/qtreeview.cpp:1256
#18 0x00007f3f6753bfb7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x24d4e70, event=0x7fffe4245d00) at kernel/qcoreapplication.cpp:847
#19 0x00007f3f668f9ca1 in QApplicationPrivate::notify_helper (this=0x63c9f0, receiver=0x24d4e70, e=0x7fffe4245d00) at kernel/qapplication.cpp:4441
#20 0x00007f3f669021ca in QApplication::notify (this=<value optimized out>, receiver=0x24d4e70, e=0x7fffe4245d00) at kernel/qapplication.cpp:4324
#21 0x00007f3f67e3bc06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#22 0x00007f3f6753be2c in QCoreApplication::notifyInternal (this=0x7fffe4249c90, receiver=0x24d4e70, event=0x7fffe4245d00) at kernel/qcoreapplication.cpp:732
#23 0x00007f3f66948322 in sendSpontaneousEvent (this=0x2f26f80, pdev=0xb2fb58, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0xafa160)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#24 QWidgetPrivate::drawWidget (this=0x2f26f80, pdev=0xb2fb58, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0xafa160) at kernel/qwidget.cpp:5433
#25 0x00007f3f66b0dc18 in QWidgetBackingStore::sync (this=0xafa160) at painting/qbackingstore.cpp:1325
#26 0x00007f3f6693d010 in QWidgetPrivate::syncBackingStore (this=0x644770) at kernel/qwidget.cpp:1816
#27 0x00007f3f6694b962 in QWidget::event (this=0x644550, event=0x1a5ca20) at kernel/qwidget.cpp:8493
#28 0x00007f3f66d11dcb in QMainWindow::event (this=0x644550, event=0x1a5ca20) at widgets/qmainwindow.cpp:1478
#29 0x00007f3f67eb94a3 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#30 0x00007f3f668f9cd4 in QApplicationPrivate::notify_helper (this=0x63c9f0, receiver=0x644550, e=0x1a5ca20) at kernel/qapplication.cpp:4445
#31 0x00007f3f669021ca in QApplication::notify (this=<value optimized out>, receiver=0x644550, e=0x1a5ca20) at kernel/qapplication.cpp:4324
#32 0x00007f3f67e3bc06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#33 0x00007f3f6753be2c in QCoreApplication::notifyInternal (this=0x7fffe4249c90, receiver=0x644550, event=0x1a5ca20) at kernel/qcoreapplication.cpp:732
#34 0x00007f3f6753f625 in sendEvent (receiver=0x0, event_type=0, data=0x60dc60) at kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60dc60) at kernel/qcoreapplication.cpp:1373
#36 0x00007f3f675668f3 in sendPostedEvents (s=0x64d2a0) at kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=0x64d2a0) at kernel/qeventdispatcher_glib.cpp:277
#38 0x00007f3f5f103a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#39 0x00007f3f5f104270 in ?? () from /usr/lib64/libglib-2.0.so.0
#40 0x00007f3f5f104510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#41 0x00007f3f67566a8f in QEventDispatcherGlib::processEvents (this=0x6132b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#42 0x00007f3f6699eeae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f3f6753b262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f3f6753b475 in QEventLoop::exec (this=0x7fffe4246e70, flags=...) at kernel/qeventloop.cpp:201
#45 0x00007f3f66db4d3e in QDialog::exec (this=0x1c15710) at dialogs/qdialog.cpp:552
#46 0x00007f3f67f81b2d in KMessageBox::createKMessageBox(KDialog*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () from /usr/lib64/libkdeui.so.5
#47 0x00007f3f67f9eeb4 in KMessageBox::createKMessageBox(KDialog*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) ()
   from /usr/lib64/libkdeui.so.5
#48 0x00007f3f67fa1073 in KMessageBox::sorryWId(unsigned long, QString const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib64/libkdeui.so.5
#49 0x00007f3f67fa1186 in KMessageBox::sorry(QWidget*, QString const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib64/libkdeui.so.5
#50 0x00007f3f46c96eee in KODialogManager::errorSaveIncidence (parent=0x13a1e90, incidence=<value optimized out>) at /usr/src/debug/kdepim-4.4.4/korganizer/kodialogmanager.cpp:121
#51 0x00007f3f46c8f142 in CalendarView::incidenceChanged (this=0x13a1e90, oldIncidence=<value optimized out>, newIncidence=0x1a03700, modification=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.4/korganizer/calendarview.cpp:713
#52 0x00007f3f46c936e8 in CalendarView::qt_metacall (this=0x13a1e90, _c=QMetaObject::InvokeMetaMethod, _id=96, _a=0x7fffe4247b10) at /usr/src/debug/kdepim-4.4.4/build/korganizer/calendarview.moc:503
#53 0x00007f3f67550fef in QMetaObject::activate (sender=0x1490140, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe4247b10) at kernel/qobject.cpp:3272
#54 0x00007f3f4673cbdf in KOrg::IncidenceChangerBase::incidenceChanged (this=<value optimized out>, _t1=0x134fe80, _t2=0x1a03700, _t3=KOGlobals::COMPLETION_MODIFIED)
    at /usr/src/debug/kdepim-4.4.4/build/korganizer/interfaces/korganizer/incidencechangerbase.moc:104
#55 0x00007f3f46d015de in IncidenceChanger::changeIncidence (this=0x1490140, oldinc=0x134fe80, newinc=0x1a03700, action=KOGlobals::COMPLETION_MODIFIED, parent=0x0)
    at /usr/src/debug/kdepim-4.4.4/korganizer/incidencechanger.cpp:284
#56 0x00007f3f46c65c4c in KOTodoModel::setData (this=0x1bc36e0, index=<value optimized out>, value=..., role=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.4/korganizer/views/todoview/kotodomodel.cpp:900
#57 0x00007f3f66e8eb14 in QSortFilterProxyModel::setData (this=<value optimized out>, index=..., value=..., role=10) at itemviews/qsortfilterproxymodel.cpp:1727
#58 0x00007f3f66eb1362 in QStyledItemDelegate::editorEvent (this=0x1a842a0, event=0x7fffe4248f60, model=0x239ff40, option=<value optimized out>, index=...) at itemviews/qstyleditemdelegate.cpp:752
#59 0x00007f3f66e0c3ab in QAbstractItemViewPrivate::sendDelegateEvent (this=0x1a3a370, index=<value optimized out>, event=0x7fffe4248f60) at itemviews/qabstractitemview.cpp:4075
#60 0x00007f3f66e11d8e in QAbstractItemView::edit (this=0x187cca0, index=..., trigger=QAbstractItemView::NoEditTriggers, event=0x7fffe4248f60) at itemviews/qabstractitemview.cpp:2535
#61 0x00007f3f66e0cf9b in QAbstractItemView::mouseReleaseEvent (this=0x187cca0, event=0x7fffe4248f60) at itemviews/qabstractitemview.cpp:1777
#62 0x00007f3f6694b4a8 in QWidget::event (this=0x187cca0, event=0x7fffe4248f60) at kernel/qwidget.cpp:8200
#63 0x00007f3f66cf8246 in QFrame::event (this=0x187cca0, e=0x7fffe4248f60) at widgets/qframe.cpp:557
#64 0x00007f3f66e0a463 in QAbstractItemView::viewportEvent (this=0x187cca0, event=0x7fffe4248f60) at itemviews/qabstractitemview.cpp:1619
#65 0x00007f3f66e4f2d5 in QTreeView::viewportEvent (this=0x187cca0, event=0x7fffe4248f60) at itemviews/qtreeview.cpp:1256
#66 0x00007f3f6753bfb7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x24d4e70, event=0x7fffe4248f60) at kernel/qcoreapplication.cpp:847
#67 0x00007f3f668f9ca1 in QApplicationPrivate::notify_helper (this=0x63c9f0, receiver=0x24d4e70, e=0x7fffe4248f60) at kernel/qapplication.cpp:4441
#68 0x00007f3f66902a4a in QApplication::notify (this=<value optimized out>, receiver=0x24d4e70, e=0x7fffe4248f60) at kernel/qapplication.cpp:4006
#69 0x00007f3f67e3bc06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#70 0x00007f3f6753be2c in QCoreApplication::notifyInternal (this=0x7fffe4249c90, receiver=0x24d4e70, event=0x7fffe4248f60) at kernel/qcoreapplication.cpp:732
#71 0x00007f3f668facd5 in sendEvent (receiver=0x24d4e70, event=0x7fffe4248f60, alienWidget=0x24d4e70, nativeWidget=0x1443db0, buttonDown=0x7f3f673d5178, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#72 QApplicationPrivate::sendMouseEvent (receiver=0x24d4e70, event=0x7fffe4248f60, alienWidget=0x24d4e70, nativeWidget=0x1443db0, buttonDown=0x7f3f673d5178, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3105
#73 0x00007f3f66978ef8 in QETWidget::translateMouseEvent (this=0x1443db0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4438
#74 0x00007f3f669775d9 in QApplication::x11ProcessEvent (this=0x7fffe4249c90, event=0x7fffe42498c0) at kernel/qapplication_x11.cpp:3564
#75 0x00007f3f6699f212 in x11EventSourceDispatch (s=0x64d4b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#76 0x00007f3f5f103a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#77 0x00007f3f5f104270 in ?? () from /usr/lib64/libglib-2.0.so.0
#78 0x00007f3f5f104510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#79 0x00007f3f67566a8f in QEventDispatcherGlib::processEvents (this=0x6132b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#80 0x00007f3f6699eeae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#81 0x00007f3f6753b262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#82 0x00007f3f6753b475 in QEventLoop::exec (this=0x7fffe4249be0, flags=...) at kernel/qeventloop.cpp:201
#83 0x00007f3f6753f8db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#84 0x000000000040417e in main (argc=1, argv=0x7fffe424a278) at /usr/src/debug/kdepim-4.4.4/kontact/src/main.cpp:224

This bug may be a duplicate of or related to bug 251233.

Possible duplicates by query: bug 260937, bug 256517, bug 251233.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-04-13 11:03:05 UTC
*** Bug 270276 has been marked as a duplicate of this bug. ***
Comment 2 Sergio Martins 2011-06-11 17:51:06 UTC
Try kdepim 4.6, lots of stuff has changed since 4.4.

Reopen if reproduceable.