<br><br><div class="gmail_quote">On Thu, Sep 24, 2009 at 10:15 AM, Thomas Baumgart <span dir="ltr">&lt;<a href="mailto:thb@net-bembel.de">thb@net-bembel.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thursday 24 September 2009 14:49:30 Alvaro Soliverez wrote:<br>
&gt; Cristian,<br>
&gt; can you take a look at this bug?<br>
&gt; I still have limited debugging capabilities on my sandbox. I have to sit<br>
&gt; down and reinstall the whole development environment.<br>
&gt;<br>
&gt; There should be somewhere in the newuserwizard where firstTimeRun is set to<br>
&gt; true before time.<br>
<br>
</div>That&#39;s probably in main.cpp line 273. In case you comment it, the new wizard<br>
will be run again the next time. The flag will be reset in KMyMoney2App once<br>
the new user wizard has completed.<br>
<br>
This causes other trouble though. If you never finish the new user wizard, you<br>
will always start it :(<br></blockquote><div><br>That&#39;s because the way to reproduce it is by cancelling the new user wizard. So, there shouldn&#39;t be a storage object, nor currencies.<br><br>Is there other way to start a new file other than by the new user wizard? <br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Since I cannot reproduce this problem on the KDE3 version, it could be, that<br>
something else is causing this behavior.  Looks like there is no<br>
MyMoneyStorage object available, when the crash happens. Or the currencies<br>
are not yet loaded correctly.<br>
<div class="im"><br>
&gt; On Wed, Sep 23, 2009 at 1:03 PM, Burkhard Lueck &lt;<a href="mailto:lueck@hube-lueck.de">lueck@hube-lueck.de</a>&gt; wrote:<br>
&gt; &gt; <a href="https://bugs.kde.org/show_bug.cgi?id=207354" target="_blank">https://bugs.kde.org/show_bug.cgi?id=207354</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --- Comment #7 from Burkhard Lueck &lt;lueck hube-lueck de&gt;  2009-09-23<br>
&gt; &gt; 18:03:46 ---<br>
&gt; &gt; Now I know how to reproduce this crash at will:<br>
&gt; &gt;<br>
&gt; &gt; 1) start kmymoney without a file .kde/share/config/kmymoney2rc<br>
&gt; &gt; 2) Cancel the dialog &quot;KMyMoney New File Setup&quot;<br>
&gt; &gt; 3) Quit kmymoney, a kmymoney2rc with firstTimeRun=false is created -&gt;<br>
&gt; &gt; this is<br>
&gt; &gt; the bug.<br>
&gt; &gt; 4) Start kmymoney again, now the action &quot;New account&quot; is enabled<br>
&gt; &gt; 5) Select this action -&gt; kmymoney crashes immediately<br>
&gt; &gt;<br>
&gt; &gt; Conclusion:<br>
&gt; &gt; Missing check, if the dialog &quot;KMyMoney New File Setup&quot; was cancelled.<br>
&gt; &gt;<br>
&gt; &gt; --<br></div></blockquote></div><br>