[Kmymoney-devel] [Bug 207354] Crash creating a new account
Alvaro Soliverez
asoliverez at gmail.com
Thu Sep 24 15:28:31 CEST 2009
On Thu, Sep 24, 2009 at 10:15 AM, Thomas Baumgart <thb at net-bembel.de> wrote:
> 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 :(
>
That's because the way to reproduce it is by cancelling the new user wizard.
So, there shouldn't be a storage object, nor currencies.
Is there other way to start a new file other than by the new user wizard?
>
> 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.
> > >
> > > --
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kmymoney-devel/attachments/20090924/a5f0c86c/attachment.htm
More information about the KMyMoney-devel
mailing list