GSoC '21 KMyMoney : I am stuck.
Suraj Kumar Mahto
suraj.mahto49 at gmail.com
Wed Jun 16 17:32:42 BST 2021
> 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 at 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?
> -------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-finance-apps/attachments/20210616/4e9d64f4/attachment.htm>
More information about the Kde-finance-apps
mailing list