Application crashing at startup. Master
J. Varela
jvapr27 at gmail.com
Sun Jul 21 01:32:55 BST 2024
Hi Jack,
I can run app images just fine.
It is when I try to compile and run master that I face this issue.
I noticed before that the reports are initialized or something like that
when the app runs. I thought it was unusual as I expected that code to fire
off when the user interacted with the reports but didn't seem to be that
way. Also I am just learning so I may be completely misunderstanding.
JV
On Sat, Jul 20, 2024, 3:32 PM Jack via KMyMoney-devel <
kmymoney-devel at kde.org> wrote:
> First, can you run an appimage version?
> (https://kmymoney.org/appimage.html).
>
> Next, can you launch kmymoney with gdb and see if you can get a useful
> backtrace when it crashes?
>
> Thomas may know better, but I don't understand how it is crashing with
> a message which mentions KReportView before there is any other output
> about loading plugins.
>
> Jack
>
> On 2024.07.20 02:58, kode Monk3y via KMyMoney-devel wrote:
> > The application still crashed after recompile.
> >
> > Same error.
> >
> > Let me know if you think of something else I can try.
> >
> > I kind of see what you may be thinking. That maybe it is picking up a
> > wrong module somewhere.
> >
> > thanks,
> >
> > JV
> >
> > On Sat, 2024-07-20 at 01:47 -0500, jvapr27 at gmail.com wrote:
> > >
> > > Thanks Thomas.
> > >
> > > I ran the remove command.
> > >
> > > [kod3monk3y at fedora-thinkpade15 build]$ sudo rm -rfi
> > > /usr/lib64/qt5/plugins/kmymoney
> > > [sudo] password for kod3monk3y:
> > > rm: descend into directory '/usr/lib64/qt5/plugins/kmymoney'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/budgetview.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/checkprinting.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/csvexporter.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/csvimporter.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/forecastview.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/gncimporter.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/icalendarexporter.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/kbanking.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/kcm_checkprinting.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/kcm_csvimporter.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/kcm_forecastview.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/kcm_icalendarexporter.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/kcm_qif.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/kcm_reportsview.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/kcm_xmlstorage.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/konlinetasks_sepa.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/ofximporter.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/onlinejoboutboxview.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/qifexporter.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/qifimporter.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/reconciliationreport.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/reportsview.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/sqlstorage.so'? y
> > > rm: remove regular file
> > > '/usr/lib64/qt5/plugins/kmymoney/xmlstorage.so'? y
> > > rm: remove directory '/usr/lib64/qt5/plugins/kmymoney'? y
> > > [kod3monk3y at fedora-thinkpade15 build]$
> > > [kod3monk3y at fedora-thinkpade15 build]$
> > > [kod3monk3y at fedora-thinkpade15 build]$ kmymoney
> > > QSocketNotifier: Can only be used with threads started with
> > > QThread
> > > WebConnect: Running in server mode
> > > QObject::connect(QAction, KReportsView): invalid nullptr
> > parameter
> > > Segmentation fault (core dumped)
> > > [kod3monk3y at fedora-thinkpade15 build]$ date
> > > Sat Jul 20 01:43:11 AM CDT 2024
> > >
> > > Unfortunately, it did not work. I am recompiling now to see if it
> > > helps.
> > >
> > > I will update this email once it is done.
> > >
> > > thanks,
> > >
> > > Jesse V.
> > >
> > > On Sat, 2024-07-20 at 07:40 +0200, Thomas Baumgart via
> > KMyMoney-devel
> > > wrote:
> > > > On Freitag, 19. Juli 2024 18:49:26 CEST jvapr27 at gmail.com wrote:
> > > >
> > > > > Ok. Thanks.
> > > > >
> > > > > I also have a fedora system running kde plasma in case Gnome is
> > > > > the
> > > > > issue. But there I faced a similar issue, I cannot remember if
> > it
> > > > > was
> > > > > the same exact issue. I came back to gnome because that kde was
> > > > > using
> > > > > plasma 6 and qt 6 modules so I didn't want to mix the issues.
> > > > >
> > > > > Anyways, I am attaching the file.
> > > > >
> > > > > Also, maybe I screwed something up because I was installing
> > > > > packages as
> > > > > it was saying it could not find them.
> > > > >
> > > > > thanks very much for the help.
> > > > >
> > > > > JV
> > > > >
> > > >
> > > > Looked at the file's content. There seems to be some leftover of
> > an
> > > > old
> > > > installation. Not sure if it is causing your problems, but it sure
> > > > does
> > > > not harm to clean it up.
> > > >
> > > > /usr/lib64/qt5/plugins/kmymoney/reportsview.so (maybe a leftover
> > > > from
> > > > 5.1.x)
> > > > /usr/lib64/qt5/plugins/kmymoney_plugins/reportsview.so (used by
> > > > master)
> > > >
> > > > Maybe, there are other plugins still lingering in the previously
> > > > used
> > > > directory for plugins.
> > > >
> > > > For me using master, the directory /usr/lib64/qt5/plugins/kmymoney
> > > > only contains two sub-directories:
> > > >
> > > > $ ls -p /usr/lib64/qt5/plugins/kmymoney
> > > > kcms/ onlinetasks/
> > > >
> > > > and even they are empty. So they have been used by the 5.1 series
> > > > of KMyMoney whereas
> > > >
> > > > $ ls -p /usr/lib64/qt5/plugins/kmymoney_plugins/
> > > > budgetview.so forecastview.so kcms/
> > > > qifexporter.so sqlstorage.so
> > > > checkprinting.so gncimporter.so ofximporter.so
> > > > qifimporter.so woob.so
> > > > csvexporter.so icalendarexporter.so onlinejoboutboxview.so
> > > > reconciliationreport.so xmlstorage.so
> > > > csvimporter.so kbanking.so onlinetasks/
> > > > reportsview.so
> > > >
> > > > I just checked, that removing /usr/lib64/qt5/plugins/kmymoney
> > > > completely does not harm the use of the master version. So please
> > > > do just that and see if it makes a difference. The command is
> > > >
> > > > sudo rm -rfi /usr/lib64/qt5/plugins/kmymoney
> > > >
> > > > Hope that gets us a bit closer to the solution of the problem.
> > > >
> > >
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20240720/4a09b0b2/attachment-0001.htm>
More information about the KMyMoney-devel
mailing list