[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-finance-apps
Subject: Re: GSoC '21 KMyMoney : I am stuck.
From: Suraj Kumar Mahto <suraj.mahto49 () gmail ! com>
Date: 2021-06-16 16:44:42
Message-ID: CAEDvbQA1S33d4FzgKvr2eD85gBwLwb8H_HicG9QqRVMS7LUh0g () mail ! gmail ! com
[Download RAW message or body]
> This may depend on what you are doing to get to the crash. I simply open
> the online quotes settings and press the New button at the top of that
> dialog and immediately get the crash. Doing so, I could trace back the
> problem to a nullptr assignment.
Hello,
I guess the problem starts with this line
main.cpp:351 const int rc = a.exec();
exec() is a qt function so that shouldn't be creating the problem and I am
unable to find which null pointer assignment is creating the segmentation
fault.
> Not knowing your environment it is hard to comment on this. I do my
> debugging mainly in KDevelop and don't have problems with a freezing
> application.
I am using KDevelop. I figured out that, it works fine now.
Regards
Suraj Kumar Mahto
On Wed, Jun 16, 2021 at 11:28 AM Thomas Baumgart <thb@net-bembel.de> wrote:
> On Dienstag, 15. Juni 2021 21:30:32 CEST Suraj Kumar Mahto wrote:
>
> > > Using the backtrace info and looking at the corresponding code it
> should
> > become
> > > clear what the problem is. How to solve it is another question. I would
> > like
> > > you to figure out, what the root cause of the crash is (shouldn't be
> too
> > hard).
> > > If you need assistance, please let us know. Once we know that, we try
> to
> > figure
> > > out what to do to solve it.
> >
> > Sorry for the late response.
> > I think I have figured out the underlying issue. The kmymoneyrc file
> can't
> > be loaded with local and is crashing the application. I concluded this by
> > checking the last two lines of backtrace which is related to main.cpp
> file
> > (error handling code). I am studying that part to figure out the
> solution.
>
> This may depend on what you are doing to get to the crash. I simply open
> the online quotes settings and press the New button at the top of that
> dialog and immediately get the crash. Doing so, I could trace back the
> problem to a nullptr assignment.
>
> > Also, I was unable to test the execution in debug mode after setting the
> > breakpoints because the application freezes when I try to open the
> kmymoney
> > configuration window in the launch. This may be my system-specific issue.
> > What do you think about it?
>
> Not knowing your environment it is hard to comment on this. I do my
> debugging mainly in KDevelop and don't have problems with a freezing
> application.
>
>
> --
>
> Regards
>
> Thomas Baumgart
>
> https://www.signal.org/ Signal, the better WhatsApp
> -------------------------------------------------------------
> If a train station is where a train stops,
> then what stops at a workstation?
> -------------------------------------------------------------
>
[Attachment #3 (text/html)]
<div dir="ltr"><div><div><div><div><div><span class="gmail-im"></span>> This may \
depend on what you are doing to get to the crash. I simply open<br> > the online \
quotes settings and press the New button at the top of that<br> > dialog and \
immediately get the crash. Doing so, I could trace back the<br> > problem to a \
nullptr assignment.<span class="gmail-im"><br></span></div><span \
class="gmail-im">Hello,<br></span></div><span class="gmail-im">I guess the problem \
starts with this line<br></span></div><span class="gmail-im">main.cpp:351 const int \
rc = a.exec(); <br></span></div><span class="gmail-im">exec() is a qt function so \
that shouldn't be creating the problem and I am unable to find which null pointer \
assignment is creating the segmentation fault.<br><br>> Not knowing your \
environment it is hard to comment on this. I do my<br> > debugging mainly in \
KDevelop and don't have problems with a freezing<br> > application.<span \
class="gmail-im"><br> </span></span></div><span class="gmail-im">I am using KDevelop. \
I figured out that, it works fine now.<br></span><div><span \
class="gmail-im"><br></span><div>Regards<font color="#888888"><font \
color="#888888"><font color="#888888"><font \
color="#888888"><br></font></font></font></font></div><font color="#888888"><font \
color="#888888"><font color="#888888"><font color="#888888"><div>Suraj Kumar \
Mahto</div></font></font></font></font></div></div><br><div class="gmail_quote"><div \
dir="ltr" class="gmail_attr">On Wed, Jun 16, 2021 at 11:28 AM Thomas Baumgart <<a \
href="mailto:thb@net-bembel.de">thb@net-bembel.de</a>> wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">On Dienstag, 15. Juni 2021 21:30:32 CEST Suraj \
Kumar Mahto wrote:<br> <br>
> > Using the backtrace info and looking at the corresponding code it \
should<br> > become<br>
> > clear what the problem is. How to solve it is another question. I would<br>
> like<br>
> > you to figure out, what the root cause of the crash is (shouldn't be \
too<br> > hard).<br>
> > If you need assistance, please let us know. Once we know that, we try \
to<br> > figure<br>
> > out what to do to solve it.<br>
> <br>
> Sorry for the late response.<br>
> I think I have figured out the underlying issue. The kmymoneyrc file \
can't<br> > be loaded with local and is crashing the application. I concluded \
this by<br> > checking the last two lines of backtrace which is related to \
main.cpp file<br> > (error handling code). I am studying that part to figure out \
the solution.<br> <br>
This may depend on what you are doing to get to the crash. I simply open<br>
the online quotes settings and press the New button at the top of that<br>
dialog and immediately get the crash. Doing so, I could trace back the<br>
problem to a nullptr assignment.<br>
<br>
> Also, I was unable to test the execution in debug mode after setting the<br>
> breakpoints because the application freezes when I try to open the kmymoney<br>
> configuration window in the launch. This may be my system-specific issue.<br>
> What do you think about it?<br>
<br>
Not knowing your environment it is hard to comment on this. I do my<br>
debugging mainly in KDevelop and don't have problems with a freezing<br>
application.<br>
<br>
<br>
-- <br>
<br>
Regards<br>
<br>
Thomas Baumgart<br>
<br>
<a href="https://www.signal.org/" rel="noreferrer" \
target="_blank">https://www.signal.org/</a> Signal, the \
better WhatsApp<br>
-------------------------------------------------------------<br>
If a train station is where a train stops,<br>
then what stops at a workstation?<br>
-------------------------------------------------------------<br>
</blockquote></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic