Kmymoney crashes when trying to create a new account

Mark Adams mark9117 at gmail.com
Fri Jun 22 18:35:41 UTC 2018


On 06/17/2018 04:10 PM, Mark Adams wrote:
>
> So, here's that backtrace.
>
> Thread 1 "kmymoney" received signal SIGSEGV, Segmentation fault.
> 0x00007ffff60a214b in MyMoneyInstitution::pixmap(int) const () from 
> /lib64/libkmm_mymoney.so.5
> (gdb) bt
> #0  0x00007ffff60a214b in MyMoneyInstitution::pixmap(int) const () at 
> /lib64/libkmm_mymoney.so.5
> #1  0x00000000007ff4f1 in 
> InstitutionsModel::slotObjectModified(eMyMoney::File::Object, 
> MyMoneyObject const*) ()
> #2  0x00007ffff1876c7e in QMetaObject::activate(QObject*, int, int, 
> void**) () at /lib64/libQt5Core.so.5
> #3  0x00007ffff61181b0 in 
> MyMoneyFile::objectModified(eMyMoney::File::Object, MyMoneyObject 
> const*) () at /lib64/libkmm_mymoney.so.5
> #4  0x00007ffff605655b in MyMoneyFile::commitTransaction() () at 
> /lib64/libkmm_mymoney.so.5
> #5  0x00007ffff60602d5 in MyMoneyFileTransaction::commit() () at 
> /lib64/libkmm_mymoney.so.5
> #6  0x00000000006253d1 in 
> NewAccountWizard::Wizard::newAccount(MyMoneyAccount&) ()
> #7  0x000000000050c862 in KAccountsView::slotNewAccount() ()
> #8  0x00007ffff1876c7e in QMetaObject::activate(QObject*, int, int, 
> void**) () at /lib64/libQt5Core.so.5
> #9  0x00007ffff2329532 in QAction::triggered(bool) () at 
> /lib64/libQt5Widgets.so.5
> #10 0x00007ffff232ba00 in QAction::activate(QAction::ActionEvent) () 
> at /lib64/libQt5Widgets.so.5
> #11 0x00007ffff2423080 in QAbstractButtonPrivate::click() () at 
> /lib64/libQt5Widgets.so.5
> #12 0x00007ffff2423195 in 
> QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at 
> /lib64/libQt5Widgets.so.5
> #13 0x00007ffff24f24aa in QToolButton::mouseReleaseEvent(QMouseEvent*) 
> () at /lib64/libQt5Widgets.so.5
> #14 0x00007ffff236b918 in QWidget::event(QEvent*) () at 
> /lib64/libQt5Widgets.so.5
> #15 0x00007ffff24f257c in QToolButton::event(QEvent*) () at 
> /lib64/libQt5Widgets.so.5
> #16 0x00007ffff232f51c in QApplicationPrivate::notify_helper(QObject*, 
> QEvent*) () at /lib64/libQt5Widgets.so.5
> #17 0x00007ffff23373a3 in QApplication::notify(QObject*, QEvent*) () 
> at /lib64/libQt5Widgets.so.5
> #18 0x00007ffff184bc68 in QCoreApplication::notifyInternal2(QObject*, 
> QEvent*) () at /lib64/libQt5Core.so.5
> #19 0x00007ffff233600f in 
> QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, 
> QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
>     at /lib64/libQt5Widgets.so.5
> #20 0x00007ffff2385096 in 
> QWidgetWindow::handleMouseEvent(QMouseEvent*) () at 
> /lib64/libQt5Widgets.so.5
> #21 0x00007ffff23879db in QWidgetWindow::event(QEvent*) () at 
> /lib64/libQt5Widgets.so.5
> #22 0x00007ffff232f51c in QApplicationPrivate::notify_helper(QObject*, 
> QEvent*) () at /lib64/libQt5Widgets.so.5
> #23 0x00007ffff23369c7 in QApplication::notify(QObject*, QEvent*) () 
> at /lib64/libQt5Widgets.so.5
> #24 0x00007ffff184bc68 in QCoreApplication::notifyInternal2(QObject*, 
> QEvent*) () at /lib64/libQt5Core.so.5
> #25 0x00007ffff1d9db5b in 
> QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) 
> () at /lib64/libQt5Gui.so.5
> #26 0x00007ffff1d9f945 in 
> QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) 
> () at /lib64/libQt5Gui.so.5
> #27 0x00007ffff1d7ae7b in 
> QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) 
> () at /lib64/libQt5Gui.so.5
> #28 0x00007fffd5125a10 in userEventSourceDispatch(_GSource*, int 
> (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
> #29 0x00007fffe7853b32 in g_main_context_dispatch () at 
> /lib64/libglib-2.0.so.0
> #30 0x00007fffe7853e88 in g_main_context_iterate.isra () at 
> /lib64/libglib-2.0.so.0
> #31 0x00007fffe7853f2c in g_main_context_iteration () at 
> /lib64/libglib-2.0.so.0
> #32 0x00007ffff189e776 in 
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 
> () at /lib64/libQt5Core.so.5
> #33 0x00007ffff1849e0a in 
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at 
> /lib64/libQt5Core.so.5
> #34 0x00007ffff18529c8 in QCoreApplication::exec() () at 
> /lib64/libQt5Core.so.5
> #35 0x0000000000471182 in runKMyMoney(QApplication&, 
> std::unique_ptr<QSplashScreen, std::default_delete<QSplashScreen> >, 
> QUrl const&, bool) ()
> #36 0x000000000046fc5e in main ()
>
>
> I hope that shed some light on the issue.
>
> On Fri, Jun 15, 2018 at 2:20 AM, Thomas Baumgart <thb at net-bembel.de 
> <mailto:thb at net-bembel.de>> wrote:
>
>     Hi,
>
>     On Donnerstag, 7. Juni 2018 21:31:22 CEST Mark Adams wrote:
>
>     > Mageia Linux 4.14.40-desktop-1.mga6
>     > Kmymoney ver. 5
>     >
>     > Tried to create another credit card account today and when I hit the
>     > "Finish" button, Kmymoney crashed. Reopened Kmymoney and a the
>     account had
>     > not been created.
>     >
>     > I repeated that process two more times with the same result.
>     >
>     > Attempted to create a regular Asset account and had the same result.
>     >
>     > My first inclination is to look at permissions. The
>     ~/.configure/kmymoney
>     > directory looks like this:
>     >
>     >
>     >      drwxrwxr-x  3 madams madams  4096 Jun  7 13:16 kmymoney
>     >
>     >
>     > The subdirectories under that look like this:
>     >
>     >
>     >      -rw------- 1 madams madams   73 May 13 17:58 checkprintingrc
>     >      drwxrwxr-x 2 madams madams 4096 Jun  7 13:08 html/
>     >      -rw------- 1 madams madams 8109 Jun  7 13:16 kmymoneyrc
>     >
>     >
>     > I am doing all this under the madams account.
>     >
>     > I ran kmymoneyrc through the "less" command and it seems to be
>     okay - no
>     > obvious trouble there.
>     > I can create and edit budgets with no trouble.
>     > I can edit my scheduled transactions.
>     >
>     > Any idea how I can troubleshoot this?
>
>     Can you run this inside a debugger and provide a so called
>     backtrace? Here's howto do that inside a console window:
>
>       % gdb kmymoney
>       [ ... some stuff printed which is not important here ... ]
>       (gdb) run
>       [ ... the stuff that is printed to the console is visible here ...]
>
>     Now use KMyMoney until it crashes. Your console window should now
>     show a gdb prompt again. The following command creates the
>     backtrace (bt for short):
>
>       (gdb) bt
>       [ ... this output is important to us ... ]
>
>     If the output is long, gdb stops after a page with the following
>     message
>
>       ---Type <return> to continue, or q <return> to quit---
>
>     Hit Return to get more output until the gdb prompt "(gdb)" shows
>     up again. All those lines that were printed between the "bt"
>     command and the final gdb prompt are important to us.
>
>     Hope that is not too confusing. Maybe, you need to install the gdb
>     debugger on your system before you can do that. Also, it helps if
>     you have any symbol packages for KMyMoney installed (if those
>     exist for your distro).
>
>     In case anything is unclear, please ask here on the list.
>
>     -- 
>
>     Regards
>
>     Thomas Baumgart
>
>     https://www.telegram.org/      Telegram, the better WhatsApp
>     -------------------------------------------------------------
>     On Windoze it helps to reboot, on UNIX it helps to be root!
>     -------------------------------------------------------------
>
>
>
>
> -- 
> Mark Adams
>
> READ CAREFULLY. By reading this email, you agree, on behalf  of your 
> employer, to release me from all obligations and waivers arising from 
> any and all NON-NEGOTIATED agreements, licenses, terms-of-service, 
> shrinkwrap, clickwrap, browsewrap,  confidentiality, non-disclosure, 
> non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I 
> have entered into with your employer, its partners, licensors, agents 
> and assigns, in perpetuity, without prejudice to my ongoing rights and 
> privileges. You further represent that you have the authority to 
> release me from any BOGUS AGREEMENTS on behalf of your employer.

Bump.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20180622/75731e2e/attachment.html>


More information about the KMyMoney mailing list