Bug 290737 - Kmymoney block each time. I start it and it blocked (bug)
Summary: Kmymoney block each time. I start it and it blocked (bug)
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: git (master)
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
: 296297 297271 298791 299142 300022 302718 305025 306370 314288 319548 322470 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-05 20:04 UTC by Claude Roland
Modified: 2013-09-11 10:54 UTC (History)
13 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test-case; causes crashes when budget reports are opened. (4.24 KB, application/x-kmymoney)
2012-04-23 15:25 UTC, Mikkel Schubert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claude Roland 2012-01-05 20:04:36 UTC
Version:           4.5.3 (using KDE 4.6.5) 
OS:                Linux

In the begining, KMyMoney was OK. 
I introduce many data. All was ok.
I stop KmyMoney, and when I want to start it, bug ! 
I try again and again. I restart my PC but KMyMoney refuse to start.

Application: KMyMoney (kmymoney), signal: Floating point exception
[KCrash Handler]
#6  0x00007fb8f0f2b030 in MyMoneyMoney::getLcd(MyMoneyMoney const&) const () from /usr/lib64/libkmm_mymoney.so.4
#7  0x00007fb8f0f2b328 in MyMoneyMoney::operator+(MyMoneyMoney const&) const () from /usr/lib64/libkmm_mymoney.so.4
#8  0x000000000058c28f in _start ()

Reproducible: Always

Steps to Reproduce:
KmyMoney refuse to start. Bug in the starting.

Actual Results:  
Simply start KmyMoney. And Kmymoney bug immedialtely.

Expected Results:  
Kmymoney start
Comment 1 Claude Roland 2012-01-05 20:40:25 UTC
[claudy@localhost ~]$ kmymoney
7:2012/01/05 21-19-48:aqbanking(7696):started
4:2012/01/05 21-19-48:gwen(7696):plugindescr.c:   76: Plugin has no I18N domain, using GWEN
4:2012/01/05 21-19-48:gwen(7696):plugindescr.c:   76: Plugin has no I18N domain, using GWEN
KMyMoney kbanking plugin loaded
Object::disconnect: No such slot KMyMoneyView::slotRememberPage(const QModelIndex, const QModelIndex)
Object::connect: No such slot KMyMoneyView::slotRememberPage(const QModelIndex, const QModelIndex)
KMyMoney reconciliation report plugin loaded
KMyMoney printcheck plugin loaded
QFSFileEngine::open: No file name specified
KMyMoney ofximport plugin loaded
KMyMoney iCalendar plugin loaded
QPainter::end: Painter ended with 2 saved states
QPainter::end: Painter ended with 2 saved states
QPainter::end: Painter ended with 2 saved states
reading file
start parsing file
startDocument
QPainter::end: Painter ended with 2 saved states
QPainter::end: Painter ended with 2 saved states
QPainter::end: Painter ended with 2 saved states
reading accounts
QPainter::end: Painter ended with 2 saved states
reading transactions
QPainter::end: Painter ended with 2 saved states
reading securities
reading currencies
QPainter::end: Painter ended with 2 saved states
reading prices
QPainter::end: Painter ended with 2 saved states
QPainter::end: Painter ended with 2 saved states
reading reports
QPainter::end: Painter ended with 2 saved states
QPainter::end: Painter ended with 2 saved states
endDocument
KCrash: Application 'kmymoney' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/claudy/.kde4/socket-localhost/kdeinit4__0

[1]+  Stoppé                 kmymoney
[claudy@localhost ~]$ ^C
[1]+  Termine 253             kmymoney
[claudy@localhost ~]$
Comment 2 Jack 2012-01-05 21:03:56 UTC
Can you try "kmymoney -n" so it does not load your data file.  
If it starts OK, then try to open your file.
Comment 3 Cristian Oneț 2012-01-06 09:48:03 UTC

*** This bug has been marked as a duplicate of bug 282107 ***
Comment 4 Claude Roland 2012-01-06 18:28:04 UTC
Dear,
I start KmyMoney with the command Kmymoney -n : Kmymoney start : OK.
Then I ask Kmymoney to open my data. And in that time, Kmymoney crash.
There is a bug in my data file that make a crash of KmyMoney.
Comment 5 Alvaro Soliverez 2012-01-06 18:41:57 UTC
Start kmymoney with kmymoney -n
Then go to Settings
go to the Home page settings, and uncheck everything, so that no widget will be shown on startup.
Then open your file and run a consistency check
Comment 6 Claude Roland 2012-01-06 19:57:18 UTC
OK, I try it and Kmymoney start.
Then I open my data :OK
Then step by step I click on the options.
The option which make the bug is the budget option.
I start the consistency check which gives me the answer, your data are OK. (Vos données sont cohérentes)
Anyway budget option gives an error.
Comment 7 Claude Roland 2012-01-06 20:27:00 UTC
OK, I think that I find the error : 
I create 2 budgets : budget 2011 and budget 2012.
Budget 2012 has not yet data. 
I delete budget 2012 and Kmymoney is now OK.
Comment 8 Cristian Oneț 2012-01-12 18:15:31 UTC
(In reply to comment #7)
> OK, I think that I find the error : 
> I create 2 budgets : budget 2011 and budget 2012.
> Budget 2012 has not yet data. 
> I delete budget 2012 and Kmymoney is now OK.

Did you manage to save an anonymous file before you deleted the budget so we can fix this bug?
Comment 9 Mikkel Schubert 2012-04-23 15:25:47 UTC
Created attachment 70603 [details]
Test-case; causes crashes when budget reports are opened.

I believe that I have experienced this bug as well, and can provide the following steps needed to reproduce it:
1. In a budget, select a category which has sub-categories.
2. Choose "include subcategories", "Yearly" period and leave the sums at 0.
3. Save, exit and start KMyMoney again.

At this point, KMyMoney will crash if you attempt to do a budget report. I have included a simple kmy produced using the above steps, and which causes crashes on my machine.
Comment 10 Alvaro Soliverez 2012-04-27 22:07:13 UTC
*** Bug 297271 has been marked as a duplicate of this bug. ***
Comment 11 Alvaro Soliverez 2012-04-27 22:08:14 UTC
*** Bug 296297 has been marked as a duplicate of this bug. ***
Comment 12 Alvaro Soliverez 2012-04-27 22:30:36 UTC
*** Bug 298791 has been marked as a duplicate of this bug. ***
Comment 13 Alvaro Soliverez 2012-04-28 21:44:09 UTC
This affects git master. A patch is pending in reviewboard to fix this.
Comment 14 Alvaro Soliverez 2012-04-30 22:47:47 UTC
Git commit 9a70a400fedd6ac704f99c244bd0882da81145b8 by Alvaro Soliverez.
Committed on 28/04/2012 at 00:23.
Pushed by asoliverez into branch 'master'.

Bugdet reports: Skip budget account if periods for the account
have not been loaded
REVIEW:104766

M  +7    -1    kmymoney/reports/pivottable.cpp

http://commits.kde.org/kmymoney/9a70a400fedd6ac704f99c244bd0882da81145b8
Comment 15 Alvaro Soliverez 2012-05-01 12:51:40 UTC
*** Bug 299142 has been marked as a duplicate of this bug. ***
Comment 16 Alvaro Soliverez 2012-05-08 22:54:43 UTC
Git commit 9f362760d3696fe58701f0ce516420689441474b by Alvaro Soliverez.
Committed on 28/04/2012 at 00:23.
Pushed by asoliverez into branch '4.6'.

Bugdet reports: Skip budget account if periods for the account
have not been loaded
REVIEW:104766

M  +7    -1    kmymoney/reports/pivottable.cpp

http://commits.kde.org/kmymoney/9f362760d3696fe58701f0ce516420689441474b
Comment 17 Alvaro Soliverez 2012-05-14 22:03:10 UTC
*** Bug 300022 has been marked as a duplicate of this bug. ***
Comment 18 Alvaro Soliverez 2012-08-12 14:50:39 UTC
*** Bug 305025 has been marked as a duplicate of this bug. ***
Comment 19 Alvaro Soliverez 2012-08-12 14:51:02 UTC
*** Bug 302718 has been marked as a duplicate of this bug. ***
Comment 20 Alvaro Soliverez 2013-02-02 12:31:22 UTC
*** Bug 314288 has been marked as a duplicate of this bug. ***
Comment 21 Alvaro Soliverez 2013-02-02 12:34:41 UTC
*** Bug 306370 has been marked as a duplicate of this bug. ***
Comment 22 Alvaro Soliverez 2013-07-17 10:57:39 UTC
*** Bug 322470 has been marked as a duplicate of this bug. ***
Comment 23 Alvaro Soliverez 2013-09-11 10:54:42 UTC
*** Bug 319548 has been marked as a duplicate of this bug. ***