Bug 313558 - Creation of a ToDo filter in KOrganizer crashed it
Summary: Creation of a ToDo filter in KOrganizer crashed it
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: todoview (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-20 13:27 UTC by Simon Reed
Modified: 2013-03-01 16:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.45 KB, text/plain)
2013-01-21 14:35 UTC, Simon Reed
Details
New crash information added by DrKonqi (6.75 KB, text/plain)
2013-01-22 20:37 UTC, Simon Reed
Details
New crash information added by DrKonqi (6.67 KB, text/plain)
2013-01-23 16:33 UTC, Simon Reed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Reed 2013-01-20 13:27:14 UTC
Application: korganizer (4.8.5)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-36-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I created and saved a filter on ToDos which was to exclude completed items.

I already have abut 100 to 150 items with levels of sub-items going back about a year and there may be instances of incomplete items with completed sub-items.

- Custom settings of the application:

I did not have any filters defined prior to this; I was saving my first filter.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x22d1130, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:370
#7  0x00007fa3d0518edd in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2502
#8  0x00007fa3d051a16d in QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:996
#9  0x00007fa3d051ec8f in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x22d1130, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1160
#10 0x00007fa3cf57f281 in QMetaObject::activate (sender=0x2059930, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff731886e0) at kernel/qobject.cpp:3547
#11 0x00007fa3cf5cb507 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#12 0x00007fa3d0f15ec5 in KOTodoModel::reloadTodos (this=0x2059930) at ../../korganizer/views/todoview/kotodomodel.cpp:264
#13 0x00007fa3d0f20759 in KOTodoView::updateView (this=0x22d2d90) at ../../korganizer/views/todoview/kotodoview.cpp:432
#14 0x00007fa3d0f51a2e in KOViewManager::updateView (this=0x1f7ee10, start=..., end=..., preferredMonth=...) at ../../korganizer/koviewmanager.cpp:285
#15 0x00007fa3d0f39c06 in CalendarView::updateView (this=0x1f93b60, start=..., end=..., preferredMonth=..., updateTodos=true) at ../../korganizer/calendarview.cpp:868
#16 0x00007fa3d0f39c9a in CalendarView::updateView (this=0x1f93b60) at ../../korganizer/calendarview.cpp:882
#17 0x00007fa3d0f409f6 in CalendarView::filterActivated (this=0x1f93b60, filterNo=<optimized out>) at ../../korganizer/calendarview.cpp:2226
#18 0x00007fa3d0f4f708 in CalendarView::qt_static_metacall (_o=0x1f93b60, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./calendarview.moc:573
#19 0x00007fa3cf57f281 in QMetaObject::activate (sender=0x24bc4e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff73188d50) at kernel/qobject.cpp:3547
#20 0x00007fa3d1f92971 in KSelectAction::triggered (this=<optimized out>, _t1=1) at ./kselectaction.moc:196
#21 0x00007fa3d1f931df in KSelectAction::actionTriggered (this=0x24bc4e0, action=0x3087330) at ../../kdeui/actions/kselectaction.cpp:322
#22 0x00007fa3cf57f281 in QMetaObject::activate (sender=0x24bca30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff73188f00) at kernel/qobject.cpp:3547
#23 0x00007fa3cff67c9f in QActionGroup::triggered (this=<optimized out>, _t1=0x3087330) at .moc/release-shared/moc_qactiongroup.cpp:160
#24 0x00007fa3cff67d27 in QActionGroupPrivate::_q_actionTriggered (this=<optimized out>) at kernel/qactiongroup.cpp:93
#25 0x00007fa3cf57f281 in QMetaObject::activate (sender=0x3087330, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff73189070) at kernel/qobject.cpp:3547
#26 0x00007fa3cff65132 in QAction::triggered (this=<optimized out>, _t1=true) at .moc/release-shared/moc_qaction.cpp:277
#27 0x00007fa3cff6531f in QAction::activate (this=0x3087330, event=<optimized out>) at kernel/qaction.cpp:1257
#28 0x00007fa3d03b7119 in QMenuPrivate::activateCausedStack (this=0x24bccf0, causedStack=..., action=0x3087330, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#29 0x00007fa3d03bd272 in QMenuPrivate::activateAction (this=0x24bccf0, action=0x3087330, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#30 0x00007fa3d2130030 in KMenu::mouseReleaseEvent (this=0x24bc9a0, e=0x7fff73189c40) at ../../kdeui/widgets/kmenu.cpp:464
#31 0x00007fa3cffbc144 in QWidget::event (this=0x24bc9a0, event=0x7fff73189c40) at kernel/qwidget.cpp:8362
#32 0x00007fa3d03be80b in QMenu::event (this=0x24bc9a0, e=0x7fff73189c40) at widgets/qmenu.cpp:2469
#33 0x00007fa3cff6b894 in notify_helper (e=0x7fff73189c40, receiver=0x24bc9a0, this=0x1c52d20) at kernel/qapplication.cpp:4559
#34 QApplicationPrivate::notify_helper (this=0x1c52d20, receiver=0x24bc9a0, e=0x7fff73189c40) at kernel/qapplication.cpp:4531
#35 0x00007fa3cff710bf in QApplication::notify (this=<optimized out>, receiver=0x24bc9a0, e=0x7fff73189c40) at kernel/qapplication.cpp:4102
#36 0x00007fa3d206f3f6 in KApplication::notify (this=0x7fff7318a900, receiver=0x24bc9a0, event=0x7fff73189c40) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007fa3cf56ae9c in QCoreApplication::notifyInternal (this=0x7fff7318a900, receiver=0x24bc9a0, event=0x7fff73189c40) at kernel/qcoreapplication.cpp:876
#38 0x00007fa3cff6c862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QApplicationPrivate::sendMouseEvent (receiver=0x24bc9a0, event=0x7fff73189c40, alienWidget=0x0, nativeWidget=0x24bc9a0, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#40 0x00007fa3cffec2c1 in QETWidget::translateMouseEvent (this=0x24bc9a0, event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#41 0x00007fa3cffeabae in QApplication::x11ProcessEvent (this=0x7fff7318a900, event=0x7fff7318a510) at kernel/qapplication_x11.cpp:3732
#42 0x00007fa3d00140d2 in x11EventSourceDispatch (s=0x1c57a60, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x00007fa3c8757d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fa3c87580a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fa3c8758164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fa3cf59a3bf in QEventDispatcherGlib::processEvents (this=0x1c1cc10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#47 0x00007fa3d0013d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007fa3cf569c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007fa3cf569ed7 in QEventLoop::exec (this=0x7fff7318a8b0, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007fa3cf56ef67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#51 0x0000000000407df6 in main (argc=<optimized out>, argv=<optimized out>) at ../../korganizer/main.cpp:67

Possible duplicates by query: bug 313143, bug 309055, bug 307026, bug 305924, bug 304849.

Reported using DrKonqi
Comment 1 Simon Reed 2013-01-20 13:34:02 UTC
The version of KOrganizer is 4.8.5 (which is not one of the options I could choose):
"KOrganizer
Version 4.8.5
Using KDE Development Platform 4.8.5 (4.8.5)"

On re-starting KOrganizer, the filter I created does not exist.

I did not just create the filter, I applied it too.

I have now managed to create and apply the filter thus:
- I created the same filter and it saved it.
- I exited KOrganizer without applying the filter.
- I restarted Organizer and applied the filter.
- KOrganizer didn't crash.
Comment 2 Simon Reed 2013-01-20 13:42:52 UTC
I have tried to reproduce the error.
- Went into Settings, Manage View Filters, and clicked on "New"
- entered different parameters (went for "Hide recurring events and to-dos")
- clicked on "Apply"  ... nothing seemed to happen
- clicked on "OK" ... dialog box disappeared.  The view I had just created had not been applied.
- applied the view I had just created ... it applied it.

No crash.

(It also did not apply the view - I think that is another bug: when you create a view and click on "Apply" it does not apply it straight away.)

I do not seem to be able to reproduce the crash.
Comment 3 Simon Reed 2013-01-21 14:35:47 UTC
Created attachment 76603 [details]
New crash information added by DrKonqi

korganizer (4.8.5) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

I am not sure this is a duplicate of 313558.  This time it crashed when I marked a task complete whilst I had no filter active but had entered a search term.  That is:

- I had switched from a filter to "No filter".
- I had done a search for "light" and nothing came up.
- I changed the search to "Xmas" in the search field and 3 items came up, one closed and two open.
- I ticked one of the open tasks to mark it complete and KOrganizer crashed.

Incidentally, on going back into KOrganizer I can see the item has been successfully marked as completed.

-- Backtrace (Reduced):
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x2026ac0, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:370
#7  0x00007efeffb98edd in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2502
#8  0x00007efeffb9a16d in QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:996
#9  0x00007efeffb9ec8f in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x2026ac0, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1160
[...]
#11 0x00007efefec4b507 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
Comment 4 Simon Reed 2013-01-22 20:37:35 UTC
Created attachment 76645 [details]
New crash information added by DrKonqi

korganizer (4.8.5) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

I selected a filter to be applied.

(The bug to which this report is attached was about creating a filter, as opposed to applying a filter.)

-- Backtrace (Reduced):
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x280af90, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:370
#7  0x00007fa29a1d8edd in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2502
#8  0x00007fa29a1da16d in QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:996
#9  0x00007fa29a1dec8f in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x280af90, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1160
[...]
#11 0x00007fa29928b507 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
Comment 5 Simon Reed 2013-01-23 16:33:39 UTC
Created attachment 76665 [details]
New crash information added by DrKonqi

korganizer (4.8.5) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

I had done nothing since starting KOrganizer, then applied a filter.

-- Backtrace (Reduced):
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x1d2a6b0, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#7  0x00007f2a49290edd in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2502
#8  0x00007f2a4929216d in QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:996
#9  0x00007f2a49296c8f in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x1d2a6b0, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1160
[...]
#11 0x00007f2a48343507 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
Comment 6 Sergio Martins 2013-03-01 16:48:21 UTC
Fixed in 4.10