Bug 200035 - add category click ok crash
Summary: add category click ok crash
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-13 14:48 UTC by Ed
Modified: 2009-07-15 15:37 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 Ed 2009-07-13 14:48:50 UTC
Application that crashed: kontact
Version of the application: 4.3.0 rc2
KDE Version: 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-13-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Creating a new event, selecting category, add category, edit name, clicked OK then crash occured.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f12641a1114 in KOTodoModel::rowCount (this=0x2cbaab0, parent=@0x7fff9064a7e0) at /usr/include/qt4/QtCore/qlist.h:87
#6  0x00007f12641a0fcc in KOTodoModel::index (this=0x2cbaab0, row=0, column=0, parent=@0x7fff9064a7e0) at /build/buildd/kdepim-4.2.96/korganizer/views/todoview/kotodomodel.cpp:599
#7  0x00007f12641a9687 in KOTodoViewSortFilterProxyModel::filterAcceptsRow (this=0x2cb73a0, source_row=0, source_parent=@0x7fff9064a7e0)
    at /build/buildd/kdepim-4.2.96/korganizer/views/todoview/kotodoviewsortfilterproxymodel.cpp:62
#8  0x00007f1283c6e6aa in QSortFilterProxyModelPrivate::handle_filter_changed (this=0x1a03e20, source_to_proxy=@0x7f1260036e20, proxy_to_source=@0x7f1260036e10, source_parent=@0x7fff9064a7e0, 
    orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:959
#9  0x00007f1283c6e98b in QSortFilterProxyModelPrivate::filter_changed (this=0x1a03e20) at itemviews/qsortfilterproxymodel.cpp:943
#10 0x00007f12641a93f7 in KOTodoViewSortFilterProxyModel::qt_metacall (this=0x2cb73a0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff9064a930)
    at /build/buildd/kdepim-4.2.96/obj-x86_64-linux-gnu/korganizer/kotodoviewsortfilterproxymodel.moc:67
#11 0x00007f1282b291f2 in QMetaObject::activate (sender=0x1a031f0, from_signal_index=<value optimized out>, to_signal_index=28, argv=0x0) at kernel/qobject.cpp:3069
#12 0x00007f12641b4085 in KOTodoViewQuickSearch::searchCategoryChanged (this=0x2cbaab0, _t1=<value optimized out>)
    at /build/buildd/kdepim-4.2.96/obj-x86_64-linux-gnu/korganizer/kotodoviewquicksearch.moc:94
#13 0x00007f12641b41b4 in KOTodoViewQuickSearch::qt_metacall (this=0x1a031f0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff9064aa50)
    at /build/buildd/kdepim-4.2.96/obj-x86_64-linux-gnu/korganizer/kotodoviewquicksearch.moc:74
#14 0x00007f1282b291f2 in QMetaObject::activate (sender=0x1a04e60, from_signal_index=<value optimized out>, to_signal_index=67, argv=0x0) at kernel/qobject.cpp:3069
#15 0x00007f12641b4f52 in KCheckComboBox::checkedItemsChanged (this=0x2cbaab0, _t1=<value optimized out>) at /build/buildd/kdepim-4.2.96/obj-x86_64-linux-gnu/korganizer/kcheckcombobox.moc:137
#16 0x00007f12641b57d2 in KCheckComboBox::updateCheckedItems (this=0x1a04e60, topLeft=<value optimized out>, bottomRight=<value optimized out>)
    at /build/buildd/kdepim-4.2.96/korganizer/views/todoview/kcheckcombobox.cpp:199
#17 0x00007f12641b5eb0 in KCheckComboBox::qt_metacall (this=0x1a04e60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9064ac60)
    at /build/buildd/kdepim-4.2.96/obj-x86_64-linux-gnu/korganizer/kcheckcombobox.moc:90
#18 0x00007f1282b291f2 in QMetaObject::activate (sender=0x1a02970, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#19 0x00007f1282b5fcd7 in QAbstractItemModel::dataChanged (this=0x2cbaab0, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qabstractitemmodel.cpp:126
#20 0x00007f1283c74b0b in QStandardItemModelPrivate::itemChanged (this=<value optimized out>, item=0x3210130) at itemviews/qstandarditemmodel.cpp:502
#21 0x00007f1283c74ca8 in QStandardItem::setData (this=0x3210130, value=@0x7fff9064ad60, role=10) at itemviews/qstandarditemmodel.cpp:832
#22 0x00007f1283c74708 in QStandardItem::setCheckable (this=0x3210130, checkable=true) at itemviews/qstandarditemmodel.cpp:1233
#23 0x00007f12641b44b4 in KOTodoViewQuickSearch::fillCategories (this=0x1a031f0) at /build/buildd/kdepim-4.2.96/korganizer/views/todoview/kotodoviewquicksearch.cpp:135
#24 0x00007f12641af61e in KOTodoView::qt_metacall (this=0x3206620, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9064af60)
    at /build/buildd/kdepim-4.2.96/korganizer/views/todoview/kotodoview.cpp:400
#25 0x00007f1282b291f2 in QMetaObject::activate (sender=0x2cc0820, from_signal_index=<value optimized out>, to_signal_index=29, argv=0x0) at kernel/qobject.cpp:3069
#26 0x00007f12641d74f0 in CalendarView::qt_metacall (this=0x2cc0820, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9064b1e0)
    at /build/buildd/kdepim-4.2.96/obj-x86_64-linux-gnu/korganizer/calendarview.moc:380
#27 0x00007f1282b291f2 in QMetaObject::activate (sender=0x44f3f70, from_signal_index=<value optimized out>, to_signal_index=73, argv=0x0) at kernel/qobject.cpp:3069
#28 0x00007f12870df4af in KPIM::CategoryEditDialog::slotApply (this=0x44f3f70) at /build/buildd/kdepim-4.2.96/libkdepim/categoryeditdialog.cpp:201
#29 0x00007f12870df549 in KPIM::CategoryEditDialog::slotOk (this=0x2cbaab0) at /build/buildd/kdepim-4.2.96/libkdepim/categoryeditdialog.cpp:182
#30 0x00007f12870dfb58 in KPIM::CategoryEditDialog::qt_metacall (this=0x44f3f70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9064b3f0)
    at /build/buildd/kdepim-4.2.96/obj-x86_64-linux-gnu/libkdepim/categoryeditdialog.moc:90
#31 0x00007f1282b291f2 in QMetaObject::activate (sender=0x44f3f70, from_signal_index=<value optimized out>, to_signal_index=45, argv=0x0) at kernel/qobject.cpp:3069
#32 0x00007f1284a77fe8 in KDialog::slotButtonClicked (this=0x44f3f70, button=4) at /build/buildd/kde4libs-4.2.96/kdeui/dialogs/kdialog.cpp:854
#33 0x00007f1284a7a0dd in KDialog::qt_metacall (this=0x44f3f70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9064b5c0)
    at /build/buildd/kde4libs-4.2.96/obj-x86_64-linux-gnu/kdeui/kdialog.moc:184
#34 0x00007f12870dfa55 in KPIM::CategoryEditDialog::qt_metacall (this=0x2cbaab0, _c=2422515680, _id=0, _a=0x0) at /build/buildd/kdepim-4.2.96/obj-x86_64-linux-gnu/libkdepim/categoryeditdialog.moc:82
#35 0x00007f1282b291f2 in QMetaObject::activate (sender=0x44f20a8, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#36 0x00007f1282b2c01e in QSignalMapper::mapped (this=0x2cbaab0, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:95
#37 0x00007f1282b2c8c0 in QSignalMapper::map (this=0x44f20a8, sender=0x4509c00) at kernel/qsignalmapper.cpp:266
#38 0x00007f1282b2d4b0 in QSignalMapper::qt_metacall (this=0x44f20a8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9064b740) at .moc/release-shared/moc_qsignalmapper.cpp:81
#39 0x00007f1282b291f2 in QMetaObject::activate (sender=0x4509c00, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x0) at kernel/qobject.cpp:3069
#40 0x00007f1283d11267 in QAbstractButton::clicked (this=0x2cbaab0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#41 0x00007f1283a6edeb in QAbstractButtonPrivate::emitClicked (this=0x4509940) at widgets/qabstractbutton.cpp:543
#42 0x00007f1283a6eef2 in QAbstractButton::click (this=0x4509c00) at widgets/qabstractbutton.cpp:980
#43 0x00007f1283b8a312 in QDialog::keyPressEvent (this=<value optimized out>, e=<value optimized out>) at dialogs/qdialog.cpp:628
#44 0x00007f128371d7ba in QWidget::event (this=0x44f3f70, event=0x7fff9064be40) at kernel/qwidget.cpp:7551
#45 0x00007f12836cc78d in QApplicationPrivate::notify_helper (this=0x13b0ad0, receiver=0x44f3f70, e=0x7fff9064be40) at kernel/qapplication.cpp:4084
#46 0x00007f12836d58bf in QApplication::notify (this=<value optimized out>, receiver=0x44f3f70, e=0x7fff9064be40) at kernel/qapplication.cpp:3690
#47 0x00007f1284b0463b in KApplication::notify (this=0x7fff9064e860, receiver=0x450cc40, event=0x7fff9064be40) at /build/buildd/kde4libs-4.2.96/kdeui/kernel/kapplication.cpp:302
#48 0x00007f1282b1375c in QCoreApplication::notifyInternal (this=0x7fff9064e860, receiver=0x450cc40, event=0x7fff9064be40) at kernel/qcoreapplication.cpp:602
#49 0x00007f12837616b4 in QKeyMapper::sendKeyEvent (keyWidget=0x450cc40, grab=<value optimized out>, type=QEvent::KeyPress, code=16777220, modifiers={i = -1872445328}, text=@0x7fff9064c060, 
    autorepeat=false, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1675
#50 0x00007f1283763a12 in QKeyMapperPrivate::translateKeyEvent (this=0x13f02a0, keyWidget=0x450cc40, event=0x7fff9064cc30, grab=224) at kernel/qkeymapper_x11.cpp:1645
#51 0x00007f128373c5bd in QApplication::x11ProcessEvent (this=0x7fff9064e860, event=0x7fff9064cc30) at kernel/qapplication_x11.cpp:3436
#52 0x00007f1283765464 in x11EventSourceDispatch (s=0x13b5560, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0x00007f127c24920a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#54 0x00007f127c24c8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#55 0x00007f127c24ca7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#56 0x00007f1282b3ce6f in QEventDispatcherGlib::processEvents (this=0x13820a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#57 0x00007f1283764bef in QGuiEventDispatcherGlib::processEvents (this=0x2cbaab0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#58 0x00007f1282b12002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1872441568}) at kernel/qeventloop.cpp:149
#59 0x00007f1282b123cd in QEventLoop::exec (this=0x7fff9064cf60, flags={i = -1872441472}) at kernel/qeventloop.cpp:200
#60 0x00007f1283b8a10e in QDialog::exec (this=0x460e4b0) at dialogs/qdialog.cpp:498
#61 0x00007f12641e8158 in KOEditorGeneral::selectCategories (this=0x4518160) at /build/buildd/kdepim-4.2.96/korganizer/koeditorgeneral.cpp:345
#62 0x00007f12641ea448 in KOEditorGeneral::qt_metacall (this=0x4518160, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9064d180)
    at /build/buildd/kdepim-4.2.96/obj-x86_64-linux-gnu/korganizer/koeditorgeneral.moc:158
#63 0x00007f12641eebb5 in KOEditorGeneralEvent::qt_metacall (this=0x2cbaab0, _c=2422515680, _id=0, _a=0x0) at /build/buildd/kdepim-4.2.96/obj-x86_64-linux-gnu/korganizer/koeditorgeneralevent.moc:96
#64 0x00007f1282b291f2 in QMetaObject::activate (sender=0x4526a90, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x0) at kernel/qobject.cpp:3069
#65 0x00007f1283d11267 in QAbstractButton::clicked (this=0x2cbaab0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#66 0x00007f1283a6edeb in QAbstractButtonPrivate::emitClicked (this=0x4526e50) at widgets/qabstractbutton.cpp:543
#67 0x00007f1283a70a52 in QAbstractButtonPrivate::click (this=0x4526e50) at widgets/qabstractbutton.cpp:536
#68 0x00007f1283a70ca5 in QAbstractButton::mouseReleaseEvent (this=0x4526a90, e=0x7fff9064d950) at widgets/qabstractbutton.cpp:1115
#69 0x00007f128371d8cf in QWidget::event (this=0x4526a90, event=0x7fff9064d950) at kernel/qwidget.cpp:7516
#70 0x00007f12836cc78d in QApplicationPrivate::notify_helper (this=0x13b0ad0, receiver=0x4526a90, e=0x7fff9064d950) at kernel/qapplication.cpp:4084
#71 0x00007f12836d50da in QApplication::notify (this=<value optimized out>, receiver=0x4526a90, e=0x7fff9064d950) at kernel/qapplication.cpp:3786
#72 0x00007f1284b0463b in KApplication::notify (this=0x7fff9064e860, receiver=0x4526a90, event=0x7fff9064d950) at /build/buildd/kde4libs-4.2.96/kdeui/kernel/kapplication.cpp:302
#73 0x00007f1282b1375c in QCoreApplication::notifyInternal (this=0x7fff9064e860, receiver=0x4526a90, event=0x7fff9064d950) at kernel/qcoreapplication.cpp:602
#74 0x00007f12836d4328 in QApplicationPrivate::sendMouseEvent (receiver=0x4526a90, event=0x7fff9064d950, alienWidget=0x4526a90, nativeWidget=0x4420f00, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f1284130eb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#75 0x00007f128373de19 in QETWidget::translateMouseEvent (this=0x4420f00, event=<value optimized out>) at kernel/qapplication_x11.cpp:4425
#76 0x00007f128373ca88 in QApplication::x11ProcessEvent (this=0x7fff9064e860, event=0x7fff9064e490) at kernel/qapplication_x11.cpp:3543
#77 0x00007f1283765464 in x11EventSourceDispatch (s=0x13b5560, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#78 0x00007f127c24920a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#79 0x00007f127c24c8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#80 0x00007f127c24ca7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#81 0x00007f1282b3ce6f in QEventDispatcherGlib::processEvents (this=0x13820a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#82 0x00007f1283764bef in QGuiEventDispatcherGlib::processEvents (this=0x2cbaab0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#83 0x00007f1282b12002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1872435328}) at kernel/qeventloop.cpp:149
#84 0x00007f1282b123cd in QEventLoop::exec (this=0x7fff9064e7c0, flags={i = -1872435248}) at kernel/qeventloop.cpp:200
#85 0x00007f1282b14694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#86 0x0000000000404945 in main (argc=1, argv=0x7fff9064ef48) at /build/buildd/kdepim-4.2.96/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Dario Andres 2009-07-13 20:15:57 UTC
The backtrace looks like bug 197116 / bug 198956.
Can you reproduce the crash at will ?
Thanks
Comment 2 Ed 2009-07-14 15:56:14 UTC
Hi Dario, I've tried several times but have not been able to reproduce.  I'll report if things change.
Comment 3 Allen Winter 2009-07-15 15:37:11 UTC
I committed a fix for this last night.
The fix will be in KDE 4.3.0 and above.