Bug 268953 - Cannot modify category information
Summary: Cannot modify category information
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-20 12:18 UTC by Thomas Baumgart
Modified: 2011-03-20 13:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Baumgart 2011-03-20 12:18:09 UTC
Application: kmymoney (4.5.90-svn1225127)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.1-1.2-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

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

Select an existing category in the categories view, edit it and simply press OK. The application crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f6c51422760 (LWP 5873))]

Thread 2 (Thread 0x7f6c369c4700 (LWP 5879)):
#0  0x00007f6c4e8696f9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6c4d69d0b2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f6c4d692eb8 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f6c4d69ca5e in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f6c4e864a3f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f6c4bd0067d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6c51422760 (LWP 5873)):
[KCrash Handler]
#6  InstitutionsModel::slotObjectModified (this=0xf8bc50, objType=<value optimized out>, obj=0x1b3e050) at /home/thb/devel/kmymoney4/kmymoney/models/accountsmodel.cpp:862
#7  0x000000000078bb19 in InstitutionsModel::qt_metacall (this=0xf8bc50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa6cdb160) at /home/thb/devel/kmymoney4/build/kmymoney/models/accountsmodel.moc:177
#8  0x00007f6c4d79adef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#9  0x00007f6c50ffeb9a in MyMoneyFile::objectModified (this=<value optimized out>, _t1=MyMoneyFile::notifyAccount, _t2=0x1b3e050) at /home/thb/devel/kmymoney4/build/kmymoney/mymoney/mymoneyfile.moc:117
#10 0x00007f6c51008b39 in MyMoneyFile::commitTransaction (this=0x7f6c51269550) at /home/thb/devel/kmymoney4/kmymoney/mymoney/mymoneyfile.cpp:367
#11 0x00007f6c51008db5 in MyMoneyFileTransaction::commit (this=0x7fffa6cdbb10) at /home/thb/devel/kmymoney4/kmymoney/mymoney/mymoneyfile.cpp:2703
#12 0x000000000047e286 in KMyMoneyApp::slotAccountEdit (this=0xc7eb40) at /home/thb/devel/kmymoney4/kmymoney/kmymoney.cpp:3574
#13 0x00000000004a066d in KMyMoneyApp::qt_metacall (this=0xc7eb40, _c=QMetaObject::InvokeMetaMethod, _id=136, _a=0x7fffa6cdc060) at /home/thb/devel/kmymoney4/build/kmymoney/kmymoney.moc:545
#14 0x00007f6c4d79adef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#15 0x00007f6c4c8d3982 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#16 0x00007f6c4c8d3b7a in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#17 0x00007f6c4cd09e63 in ?? () from /usr/lib64/libQtGui.so.4
#18 0x00007f6c4cd0fe7a in ?? () from /usr/lib64/libQtGui.so.4
#19 0x00007f6c4f9a3b1d in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007f6c4c92b538 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007f6c4cd1106b in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007f6c4c8d9d14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00007f6c4c8e2aac in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f6c4f9d59e6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#25 0x00007f6c4d785bfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#26 0x00007f6c4c8dad25 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#27 0x00007f6c4c959054 in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007f6c4c9574c9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#29 0x00007f6c4c97f0f2 in ?? () from /usr/lib64/libQtGui.so.4
#30 0x00007f6c46798bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#31 0x00007f6c467993b0 in ?? () from /lib64/libglib-2.0.so.0
#32 0x00007f6c46799650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#33 0x00007f6c4d7b091f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#34 0x00007f6c4c97ed8e in ?? () from /usr/lib64/libQtGui.so.4
#35 0x00007f6c4d785052 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#36 0x00007f6c4d785265 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#37 0x00007f6c4cd0d5e5 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib64/libQtGui.so.4
#38 0x0000000000468449 in KMyMoneyApp::showContextMenu (this=<value optimized out>, containerName=...) at /home/thb/devel/kmymoney4/kmymoney/kmymoney.cpp:5697
#39 0x0000000000468672 in KMyMoneyApp::slotShowAccountContextMenu (this=0xc7eb40, obj=<value optimized out>) at /home/thb/devel/kmymoney4/kmymoney/kmymoney.cpp:5734
#40 0x00000000004a0712 in KMyMoneyApp::qt_metacall (this=0xc7eb40, _c=QMetaObject::InvokeMetaMethod, _id=144, _a=0x7fffa6cddf40) at /home/thb/devel/kmymoney4/build/kmymoney/kmymoney.moc:553
#41 0x00007f6c4d79adef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#42 0x00000000005043a5 in KCategoriesView::openContextMenu (this=<value optimized out>, _t1=<value optimized out>) at /home/thb/devel/kmymoney4/build/kmymoney/views/kcategoriesview.moc:119
#43 0x00000000005044d1 in KCategoriesView::qt_metacall (this=0x1067650, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa6cde050) at /home/thb/devel/kmymoney4/build/kmymoney/views/kcategoriesview.moc:93
#44 0x00007f6c4d79adef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#45 0x000000000059d695 in KMyMoneyAccountTreeView::openContextMenu (this=<value optimized out>, _t1=<value optimized out>) at /home/thb/devel/kmymoney4/build/kmymoney/widgets/kmymoneyaccounttreeview.moc:119
#46 0x000000000059dfb6 in KMyMoneyAccountTreeView::customContextMenuRequested (this=0x1067c10, pos=<value optimized out>) at /home/thb/devel/kmymoney4/kmymoney/widgets/kmymoneyaccounttreeview.cpp:99
#47 0x000000000059f151 in KMyMoneyAccountTreeView::qt_metacall (this=0x1067c10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa6cde5b0) at /home/thb/devel/kmymoney4/build/kmymoney/widgets/kmymoneyaccounttreeview.moc:99
#48 0x00007f6c4d79adef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#49 0x00007f6c4c921402 in QWidget::customContextMenuRequested(QPoint const&) () from /usr/lib64/libQtGui.so.4
#50 0x00007f6c4c92beef in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#51 0x00007f6c4cccf906 in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#52 0x00007f6c4cddfc23 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#53 0x00007f6c4ce24a85 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#54 0x00007f6c4d785d87 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#55 0x00007f6c4c8d9ce1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#56 0x00007f6c4c8e23eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#57 0x00007f6c4f9d59e6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#58 0x00007f6c4d785bfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#59 0x00007f6c4c958e65 in ?? () from /usr/lib64/libQtGui.so.4
#60 0x00007f6c4c9574c9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#61 0x00007f6c4c97f0f2 in ?? () from /usr/lib64/libQtGui.so.4
#62 0x00007f6c46798bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#63 0x00007f6c467993b0 in ?? () from /lib64/libglib-2.0.so.0
#64 0x00007f6c46799650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#65 0x00007f6c4d7b091f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#66 0x00007f6c4c97ed8e in ?? () from /usr/lib64/libQtGui.so.4
#67 0x00007f6c4d785052 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#68 0x00007f6c4d785265 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#69 0x00007f6c4d7896ab in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#70 0x000000000045a42e in main (argc=1, argv=0x7fffa6ce0a68) at /home/thb/devel/kmymoney4/kmymoney/main.cpp:260

Reported using DrKonqi
Comment 1 Cristian Oneț 2011-03-20 13:00:18 UTC
SVN commit 1225373 by conet:

BUG: 268953
Ignore changes to income/expense accounts in the institutions model since they are not in the model.

 M  +6 -2      accountsmodel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1225373