Bug 256573 - Editing a custom Payee Report
Summary: Editing a custom Payee Report
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
: 256940 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-11 05:21 UTC by Rick
Modified: 2010-11-15 07:35 UTC (History)
1 user (show)

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


Attachments
Testfile to reproduce thebug. (116.59 KB, application/zip)
2010-11-13 00:34 UTC, Cristian Oneț
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick 2010-11-11 05:21:48 UTC
Application: kmymoney (4.5.0)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed: I was using the transactions report " Transactions by Payee" and attempting to change the date from year to date - to - all dates

- Custom settings of the application:none

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

Thread 2 (Thread 0xb73a1b70 (LWP 4278)):
#0  0x00cf2416 in __kernel_vsyscall ()
#1  0x01874de6 in poll () from /lib/libc.so.6
#2  0x06fcea1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x06fc143c in ?? () from /lib/libglib-2.0.so.0
#4  0x06fc1ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x01fec6b4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x06fe848f in ?? () from /lib/libglib-2.0.so.0
#7  0x006efcc9 in start_thread () from /lib/libpthread.so.0
#8  0x018836ae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7707710 (LWP 4277)):
[KCrash Handler]
#7  0x00e6a704 in MyMoneyObjectContainer::account (this=0x8c992b8, id=...) at /build/buildd/kmymoney-4.5/kmymoney/mymoney/mymoneyobjectcontainer.cpp:120
#8  0x00e2772a in MyMoneyFile::account (this=0xe9754c, id=...) at /build/buildd/kmymoney-4.5/kmymoney/mymoney/mymoneyfile.cpp:362
#9  0x081d9137 in reports::QueryTable::constructTransactionTable (this=0x9fad5c8) at /build/buildd/kmymoney-4.5/kmymoney/reports/querytable.cpp:498
#10 0x081e9143 in reports::QueryTable::init (this=0x9fad5c8) at /build/buildd/kmymoney-4.5/kmymoney/reports/querytable.cpp:272
#11 0x081ea169 in reports::QueryTable::QueryTable (this=0x9fad5c8, _report=...) at /build/buildd/kmymoney-4.5/kmymoney/reports/querytable.cpp:250
#12 0x08123ad5 in KReportsView::KReportTab::updateReport (this=0x9977248) at /build/buildd/kmymoney-4.5/kmymoney/views/kreportsview.cpp:182
#13 0x08123c12 in KReportsView::KReportTab::showEvent (this=0x9977248, event=0xbf9ae010) at /build/buildd/kmymoney-4.5/kmymoney/views/kreportsview.cpp:158
#14 0x049c9c72 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x0496bfdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x049720e9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x0043f68a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#18 0x05e18b3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x049ce655 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#20 0x049cfe9b in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#21 0x049b19e2 in QStackedLayout::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#22 0x04e59bcd in QStackedWidget::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#23 0x04e6994f in ?? () from /usr/lib/libQtGui.so.4
#24 0x04e69c62 in QTabWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#25 0x0055efba in KTabWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#26 0x05e1e8ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#27 0x05e316ad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#28 0x04e5ca83 in QTabBar::currentChanged(int) () from /usr/lib/libQtGui.so.4
#29 0x04e61fff in QTabBar::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#30 0x04e67dcd in QTabWidget::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#31 0x08122dbf in KReportsView::addReportTab (this=0x9177258, report=...) at /build/buildd/kmymoney-4.5/kmymoney/views/kreportsview.cpp:1065
#32 0x08126469 in KReportsView::slotConfigure (this=0x9177258) at /build/buildd/kmymoney-4.5/kmymoney/views/kreportsview.cpp:794
#33 0x08130b46 in KReportsView::qt_metacall (this=0x9177258, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbf9ae7a8) at /build/buildd/kmymoney-4.5/obj-i686-linux-gnu/kmymoney/views/kreportsview.moc:116
#34 0x05e1e8ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#35 0x05e316ad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#36 0x050da019 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4
#37 0x04d99ff9 in ?? () from /usr/lib/libQtGui.so.4
#38 0x04d9b6f4 in ?? () from /usr/lib/libQtGui.so.4
#39 0x04d9b9ae in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#40 0x049c9e08 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#41 0x04d99e9e in QAbstractButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#42 0x04e47c22 in QPushButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#43 0x0496bfdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#44 0x04972c2e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#45 0x0043f68a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#46 0x05e18b3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#47 0x04971094 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#48 0x049ffd10 in ?? () from /usr/lib/libQtGui.so.4
#49 0x049ff151 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#50 0x04a2e36a in ?? () from /usr/lib/libQtGui.so.4
#51 0x06fbd855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#52 0x06fc1668 in ?? () from /lib/libglib-2.0.so.0
#53 0x06fc1848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#54 0x05e47565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#55 0x04a2dbe5 in ?? () from /usr/lib/libQtGui.so.4
#56 0x05e17609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#57 0x05e17a8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#58 0x05e1c00f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#59 0x0496ae07 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#60 0x08086107 in main (argc=1, argv=0xbf9afb94) at /build/buildd/kmymoney-4.5/kmymoney/main.cpp:260

Reported using DrKonqi
Comment 1 Cristian Oneț 2010-11-12 15:57:05 UTC
It would really help to fix this if you could attach an anonymous file with which to reproduce this. See http://kmymoney2.sourceforge.net/online-manual/details.formats.anonymous.html on a description of how to create such a file from your file.
Comment 2 Rick 2010-11-12 16:50:50 UTC
Attempting same date change making sure range is inside dates in database
and crash is still occurring.

file attached:

On Fri, Nov 12, 2010 at 6:57 AM, Cristian Onet <onet.cristian@gmail.com>wrote:

> https://bugs.kde.org/show_bug.cgi?id=256573
>
>
>
>
>
> --- Comment #1 from Cristian Onet <onet cristian gmail com>  2010-11-12
> 15:57:05 ---
> It would really help to fix this if you could attach an anonymous file with
> which to reproduce this. See
>
> http://kmymoney2.sourceforge.net/online-manual/details.formats.anonymous.html
> on a description of how to create such a file from your file.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Cristian Oneț 2010-11-12 17:05:36 UTC
Where did you attach it?
Comment 4 Rick 2010-11-12 20:04:15 UTC
I use Gmail. It shows on the sent file as a download. You don't have that
otion available?

On Fri, Nov 12, 2010 at 8:05 AM, Cristian Onet <onet.cristian@gmail.com>wrote:

> https://bugs.kde.org/show_bug.cgi?id=256573
>
>
>
>
>
> --- Comment #3 from Cristian Onet <onet cristian gmail com>  2010-11-12
> 17:05:36 ---
> Where did you attach it?
>
> --
>  Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 5 Cristian Oneț 2010-11-12 20:57:44 UTC
Attaching it to your response in GMail will not work because we are using the bug tracker to communicate so to send the file we have two options:
1. Open the bug in link at bugs.kde.org and attach the file there
2. Send the file to my mail and I'll attach it
Comment 6 Cristian Oneț 2010-11-13 00:34:23 UTC
Created attachment 53373 [details]
Testfile to reproduce thebug.
Comment 7 Cristian Oneț 2010-11-13 00:35:45 UTC
SVN commit 1196298 by conet:

BUG: 256573
Don't crash if a valid account can't be found just skip the transaction from the report since it's probably invalid anyway.

 M  +5 -1      querytable.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1196298
Comment 8 Cristian Oneț 2010-11-13 00:36:31 UTC
SVN commit 1196299 by conet:

BUG: 256573
Don't crash if a valid account can't be found just skip the transaction from the report since it's probably invalid anyway.
Merged into the stable branch.

 M  +5 -1      querytable.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1196299
Comment 9 Cristian Oneț 2010-11-15 07:35:19 UTC
*** Bug 256940 has been marked as a duplicate of this bug. ***