Bug 378045 - Kmymoney crashes after pressing save button
Summary: Kmymoney crashes after pressing save button
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.8.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2017-03-25 00:52 UTC by martin
Modified: 2018-10-28 03:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martin 2017-03-25 00:52:53 UTC
Application: kmymoney (4.8.0)
KDE Platform Version: 4.14.25
Qt Version: 4.8.6
Operating System: Linux 4.4.49-16-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed:
 Everytime I hit the save button the app crashes. Version is 4.8 and is self-compiled

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f9024a05fab in QString::operator==(QString const&) const () at /usr/lib64/libQtCore.so.4
#7  0x00007f90279d09d3 in MyMoneyFile::consistencyCheck() (this=0x7f9027c638c0 <MyMoneyFile::file>) at /data/software/tgz/kmymoney-4.8.0/kmymoney/mymoney/mymoneyfile.cpp:2146
#8  0x00000000004c0f16 in KMyMoneyApp::Private::consistencyCheck(bool) (this=0x23be620, alwaysDisplayResult=alwaysDisplayResult@entry=false) at /data/software/tgz/kmymoney-4.8.0/kmymoney/kmymoney.cpp:7001
#9  0x00000000004e9048 in KMyMoneyApp::slotFileSave() (this=0x22cb8d0) at /data/software/tgz/kmymoney-4.8.0/kmymoney/kmymoney.cpp:1682
#10 0x0000000000505d68 in KMyMoneyApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x22cb8d0, _c=<optimized out>, _id=<optimized out>, _a=0x7ffffcba1ca0) at /data/software/tgz/kmymoney-4.8.0/build/kmymoney/moc_kmymoney.cpp:550
#11 0x00007f9024ad80ea in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#12 0x00007f90254c85b2 in QAction::triggered(bool) () at /usr/lib64/libQtGui.so.4
#13 0x00007f90254c9f63 in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQtGui.so.4
#14 0x00007f902587c852 in  () at /usr/lib64/libQtGui.so.4
#15 0x00007f902587c97c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQtGui.so.4
#16 0x00007f90259338aa in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQtGui.so.4
#17 0x00007f902551dbba in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#18 0x00007f90254ce6fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#19 0x00007f90254d4d7a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#20 0x00007f90261e5e3a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#21 0x00007f9024ac417d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#22 0x00007f90254d4573 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQtGui.so.4
#23 0x00007f9025545c4b in  () at /usr/lib64/libQtGui.so.4
#24 0x00007f90255446bc in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/libQtGui.so.4
#25 0x00007f902556b552 in  () at /usr/lib64/libQtGui.so.4
#26 0x00007f901f151134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#27 0x00007f901f151388 in  () at /usr/lib64/libglib-2.0.so.0
#28 0x00007f901f15142c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#29 0x00007f9024af0fae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#30 0x00007f902556b606 in  () at /usr/lib64/libQtGui.so.4
#31 0x00007f9024ac2d3f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#32 0x00007f9024ac3035 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#33 0x00007f9024ac8489 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#34 0x00000000004b6a4a in runKMyMoney(KStartupLogo*, KApplication*) (splash=splash@entry=0x1fdf1d0, a=0x1e4fa00) at /data/software/tgz/kmymoney-4.8.0/kmymoney/main.cpp:283
#35 0x00000000004b457c in main(int, char**) (argc=3, argv=0x7ffffcba33a8) at /data/software/tgz/kmymoney-4.8.0/kmymoney/main.cpp:182

Reported using DrKonqi
Comment 1 Thomas Baumgart 2017-03-25 06:55:15 UTC
Do you see the same problem if you execute 'Tools/Consistency Check'? I expect it to happen.


Since you built from source, can you check changing line 2109 in your version of kmymoney/mymoney/mymoneyfile.cpp from

        const MyMoneyAccount& acc = this->account(s.accountId());

to

        MyMoneyAccount acc = this->account(s.accountId());

and rebuilding / reinstalling makes a difference and report back?
Comment 2 Thomas Baumgart 2017-09-14 12:31:54 UTC
Looks like an answer did not arrive yet. If there is none coming within the next 2 weeks, we will close this one.
Comment 3 Andrew Crouthamel 2018-09-28 02:34:43 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-28 03:38:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!