[kde] [Bug 412193] New: KMyMoney crashed when creating an investment of a past date

Szőts Ákos bugzilla_noreply at kde.org
Sun Sep 22 13:21:40 BST 2019


https://bugs.kde.org/show_bug.cgi?id=412193

            Bug ID: 412193
           Summary: KMyMoney crashed when creating an investment of a past
                    date
           Product: kde
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: szotsaki at gmail.com
  Target Milestone: ---

Application: kmymoney (5.0.6)

Qt Version: 5.13.1
Frameworks Version: 5.60.0
Operating System: Linux 5.2.5-1-default x86_64
Distribution (Platform): openSUSE RPMs

-- Information about the crash:
Checking account "A"
   -> Checking account "B"
           -> Investment account "C"

I created a bond for investment account "C" and wanted to buy some some of them
from checking account "B" dated back half-year in the past.

No additional expenses, interest are specified, and price per bond and number
of bonds are 1.

When I don't date it back to the past, KMyMoney accepts it. Even if I modify it
to be in the past after acceptance, KMyMoney crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7efbef615140 (LWP 4223))]

Thread 3 (Thread 0x7efbe6127700 (LWP 4225)):
#0  0x00007efbff5d6cbf in poll () from /lib64/libc.so.6
#1  0x00007efbf37af39e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007efbf37af46f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007efbfd61799b in QEventDispatcherGlib::processEvents
(this=0x7efbe0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007efbfd5c00db in QEventLoop::exec (this=this at entry=0x7efbe6126b30,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007efbfd3f8021 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007efbfd8a04f6 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007efbfd3f91a2 in QThreadPrivate::start (arg=0x7efbfd922d80) at
thread/qthread_unix.cpp:360
#8  0x00007efbfccd7faa in start_thread () from /lib64/libpthread.so.0
#9  0x00007efbff5e173f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7efbed63c700 (LWP 4224)):
#0  0x00007efbff5d6cbf in poll () from /lib64/libc.so.6
#1  0x00007efbf3156742 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007efbf31573fa in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007efbed7b6f90 in QXcbEventQueue::run (this=0x56555796b6e0) at
qxcbeventqueue.cpp:228
#4  0x00007efbfd3f91a2 in QThreadPrivate::start (arg=0x56555796b6e0) at
thread/qthread_unix.cpp:360
#5  0x00007efbfccd7faa in start_thread () from /lib64/libpthread.so.0
#6  0x00007efbff5e173f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7efbef615140 (LWP 4223)):
[KCrash Handler]
#5  InstitutionsModel::slotObjectModified (this=0x5655580eb460,
objType=<optimized out>, id=...) at
/usr/src/debug/kmymoney-5.0.6-1.2.x86_64/kmymoney/models/accountsmodel.cpp:1217
#6  0x00007efbfd5ec638 in QtPrivate::QSlotObjectBase::call (a=0x7ffbffff9990,
r=0x5655580eb460, this=0x565559ca2ca0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#7  QMetaObject::activate (sender=0x7efbff182e10 <MyMoneyFile::file>,
signalOffset=<optimized out>, local_signal_index=<optimized out>,
argv=<optimized out>) at kernel/qobject.cpp:3789
#8  0x00007efbff13a486 in MyMoneyFile::objectModified
(this=this at entry=0x7efbff182e10 <MyMoneyFile::file>, _t1=<optimized out>,
_t2=...) at
/usr/src/debug/kmymoney-5.0.6-1.2.x86_64/build/kmymoney/mymoney/kmm_mymoney_autogen/EWIEGA46WW/moc_mymoneyfile.cpp:250
#9  0x00007efbff1405c2 in MyMoneyFile::commitTransaction (this=0x7efbff182e10
<MyMoneyFile::file>) at
/usr/src/debug/kmymoney-5.0.6-1.2.x86_64/kmymoney/mymoney/mymoneyfile.cpp:430
#10 0x00007efbff12136d in MyMoneyFileTransaction::commit
(this=this at entry=0x7ffbffff9b10) at
/usr/src/debug/kmymoney-5.0.6-1.2.x86_64/kmymoney/mymoney/mymoneyfile.cpp:3572
#11 0x00005655556cc569 in TransactionEditor::enterTransactions
(this=0x56555a9ffea0, newId=..., askForSchedule=true,
suppressBalanceWarnings=false) at
/usr/src/debug/kmymoney-5.0.6-1.2.x86_64/kmymoney/dialogs/transactioneditor.cpp:778
#12 0x00005655557dda9b in KGlobalLedgerView::slotEnterTransaction
(this=0x565558147ce0) at /usr/include/c++/9/bits/atomic_base.h:413
#13 0x00007efbfd5ec638 in QtPrivate::QSlotObjectBase::call (a=0x7ffbffff9e60,
r=0x565558147ce0, this=0x56555810bed0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#14 QMetaObject::activate (sender=0x56555805f2f0, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3789
#15 0x00007efbfe447852 in QAction::triggered (this=this at entry=0x56555805f2f0,
_t1=<optimized out>) at .moc/moc_qaction.cpp:381
#16 0x00007efbfe449f22 in QAction::activate (this=0x56555805f2f0,
event=<optimized out>) at kernel/qaction.cpp:1166
#17 0x00007efbfe543d3c in QAbstractButtonPrivate::click (this=0x565559cdcc40)
at widgets/qabstractbutton.cpp:397
#18 0x00007efbfe543f65 in QAbstractButton::mouseReleaseEvent
(this=0x565559cd6cf0, e=0x7ffbffffa400) at widgets/qabstractbutton.cpp:1011
#19 0x00007efbfe633e8a in QToolButton::mouseReleaseEvent (this=<optimized out>,
e=<optimized out>) at widgets/qtoolbutton.cpp:622
#20 0x00007efbfe4900b6 in QWidget::event (this=0x565559cd6cf0,
event=0x7ffbffffa400) at kernel/qwidget.cpp:8977
#21 0x00007efbfe545193 in QAbstractButton::event
(this=this at entry=0x565559cd6cf0, e=e at entry=0x7ffbffffa400) at
widgets/qabstractbutton.cpp:968
#22 0x00007efbfe633f34 in QToolButton::event (this=0x565559cd6cf0,
event=0x7ffbffffa400) at widgets/qtoolbutton.cpp:1002
#23 0x00007efbfe44dc62 in QApplicationPrivate::notify_helper
(this=this at entry=0x565557949770, receiver=receiver at entry=0x565559cd6cf0,
e=e at entry=0x7ffbffffa400) at kernel/qapplication.cpp:3703
#24 0x00007efbfe457433 in QApplication::notify (this=<optimized out>,
receiver=0x565559cd6cf0, e=0x7ffbffffa400) at kernel/qapplication.cpp:3163
#25 0x00007efbfd5c1572 in QCoreApplication::notifyInternal2
(receiver=0x565559cd6cf0, event=0x7ffbffffa400) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:143
#26 0x00007efbfe456543 in QApplicationPrivate::sendMouseEvent
(receiver=receiver at entry=0x565559cd6cf0, event=event at entry=0x7ffbffffa400,
alienWidget=alienWidget at entry=0x565559cd6cf0, nativeWidget=0x565559cda720,
buttonDown=buttonDown at entry=0x7efbfe9778d0 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
kernel/qapplication.cpp:2649
#27 0x00007efbfe4abab9 in QWidgetWindow::handleMouseEvent (this=0x56555a3411b0,
event=0x7ffbffffa880) at /usr/include/c++/9/bits/atomic_base.h:413
#28 0x00007efbfe4aeb14 in QWidgetWindow::event (event=0x7ffbffffa880,
this=0x56555a3411b0) at kernel/qwidgetwindow.cpp:280
#29 QWidgetWindow::event (this=0x56555a3411b0, event=0x7ffbffffa880) at
kernel/qwidgetwindow.cpp:224
#30 0x00007efbfe44dc62 in QApplicationPrivate::notify_helper
(this=this at entry=0x565557949770, receiver=receiver at entry=0x56555a3411b0,
e=e at entry=0x7ffbffffa880) at kernel/qapplication.cpp:3703
#31 0x00007efbfe4571e0 in QApplication::notify (this=0x7ffbffffadf0,
receiver=0x56555a3411b0, e=0x7ffbffffa880) at kernel/qapplication.cpp:3449
#32 0x00007efbfd5c1572 in QCoreApplication::notifyInternal2
(receiver=0x56555a3411b0, event=0x7ffbffffa880) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:143
#33 0x00007efbfde1ba18 in QGuiApplicationPrivate::processMouseEvent
(e=e at entry=0x56555a21da00) at kernel/qguiapplication.cpp:2111
#34 0x00007efbfde1d28b in QGuiApplicationPrivate::processWindowSystemEvent
(e=e at entry=0x56555a21da00) at kernel/qguiapplication.cpp:1846
#35 0x00007efbfddf825b in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags at entry=...) at kernel/qwindowsysteminterface.cpp:1148
#36 0x00007efbed7b7f4a in xcbSourceDispatch (source=<optimized out>) at
qxcbeventdispatcher.cpp:105
#37 0x00007efbf37ad683 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#38 0x00007efbf37af430 in ?? () from /usr/lib64/libglib-2.0.so.0
#39 0x00007efbf37af46f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#40 0x00007efbfd617981 in QEventDispatcherGlib::processEvents
(this=0x565557a12fa0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#41 0x00007efbfd5c00db in QEventLoop::exec (this=this at entry=0x7ffbffffac20,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#42 0x00007efbfd5c7d42 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#43 0x00007efbfde10d5c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1788
#44 0x00007efbfe44dbd5 in QApplication::exec () at kernel/qapplication.cpp:2859
#45 0x0000565555645a05 in runKMyMoney(QApplication&,
std::unique_ptr<QSplashScreen, std::default_delete<QSplashScreen> >, QUrl
const&, bool) [clone .constprop.0] (splash=std::unique_ptr<QSplashScreen> =
{...}, file=..., noFile=<optimized out>, a=...) at
/usr/src/debug/kmymoney-5.0.6-1.2.x86_64/kmymoney/main.cpp:349
#46 0x000056555563787f in main (argc=<optimized out>, argv=<optimized out>) at
/usr/include/c++/9/bits/move.h:74
[Inferior 1 (process 4223) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list