[Kmymoney-devel] [Bug 207354] Crash creating a new account

Thomas Baumgart thb at net-bembel.de
Thu Sep 24 15:15:08 CEST 2009


On Thursday 24 September 2009 14:49:30 Alvaro Soliverez wrote:
> Cristian,
> can you take a look at this bug?
> I still have limited debugging capabilities on my sandbox. I have to sit
> down and reinstall the whole development environment.
>
> There should be somewhere in the newuserwizard where firstTimeRun is set to
> true before time.

That's probably in main.cpp line 273. In case you comment it, the new wizard 
will be run again the next time. The flag will be reset in KMyMoney2App once 
the new user wizard has completed.

This causes other trouble though. If you never finish the new user wizard, you 
will always start it :(

Since I cannot reproduce this problem on the KDE3 version, it could be, that 
something else is causing this behavior.  Looks like there is no 
MyMoneyStorage object available, when the crash happens. Or the currencies 
are not yet loaded correctly.

> On Wed, Sep 23, 2009 at 1:03 PM, Burkhard Lueck <lueck at hube-lueck.de> wrote:
> > https://bugs.kde.org/show_bug.cgi?id=207354
> >
> >
> >
> >
> >
> > --- Comment #7 from Burkhard Lueck <lueck hube-lueck de>  2009-09-23
> > 18:03:46 ---
> > Now I know how to reproduce this crash at will:
> >
> > 1) start kmymoney without a file .kde/share/config/kmymoney2rc
> > 2) Cancel the dialog "KMyMoney New File Setup"
> > 3) Quit kmymoney, a kmymoney2rc with firstTimeRun=false is created ->
> > this is
> > the bug.
> > 4) Start kmymoney again, now the action "New account" is enabled
> > 5) Select this action -> kmymoney crashes immediately
> >
> > Conclusion:
> > Missing check, if the dialog "KMyMoney New File Setup" was cancelled.
> >
> > --
> > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> > ------- You are receiving this mail because: -------
> > You are the assignee for the bug.
> > _______________________________________________
> > KMyMoney-devel mailing list
> > KMyMoney-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/kmymoney-devel



-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
How many programmers does it take to change a
light bulb? None. It's a hardware problem!
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20090924/1809c303/attachment.sig 


More information about the KMyMoney-devel mailing list