Summary: | Crash when attempting to open a new investment transaction | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | allan <agander93> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | SVN | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
allan
2011-03-27 18:46:40 UTC
Another crash, which appears to be identical. More info. The account in which I wanted to create a new transaction had been closed for a while, the last transaction being a 'remove shares'. In fact, the security had been merged into another security, by the investment company, and I had added a new security for this new security. I found that because the shares had been 'removed', there was no performance history, do I decided to add a new transaction, to sell the shares, and then to delete the 'remove shares' item. This time, on opening the ledger, only the 'new' button was active. I started to enter the sell transaction, but was informed that the security did not exist in that account, and I was asked if I wanted to add it. I declined. Looking in Investment view, the security was showing. I went through the edit procedure without making any changes, then went back to Ledger view. Now, it looks OK. No, wait. If I use the button to create the transaction, all is well. If I right click, instead of opening a new item, it reopens the last one. There's no Cancel button, so I click another item and am asked if I wan't to cancel editing. I click yes, and the transaction closes, but not properly. It appears to be overlapping the previous transaction. Now the cancel button is back, and when I click it, KMM crashes. Another crash, but not identical. Here's the BT in case it helps. Application: KMyMoney (kmymoney), signal: Segmentation fault [KCrash Handler] #6 0x00007f5d6bedc3e9 in QWidget::setFocus(Qt::FocusReason) () from /usr/lib64/libQtGui.so.4 #7 0x00000000006452f0 in setFocus (this=0x2b5d8f0, categoryWidgetName=<value optimized out>, amountWidgetName=<value optimized out>, splits=<value optimized out>, isIncome=true, slotEditSplits=0x88561c "1slotEditInterestSplits()") at /usr/include/QtGui/qwidget.h:422 #8 InvestTransactionEditor::editSplits (this=0x2b5d8f0, categoryWidgetName=<value optimized out>, amountWidgetName=<value optimized out>, splits=<value optimized out>, isIncome=true, slotEditSplits=0x88561c "1slotEditInterestSplits()") at /home/aga/CSV/kmymoney/kmymoney/dialogs/investtransactioneditor.cpp:416 #9 0x00000000006456a8 in InvestTransactionEditor::slotEditInterestSplits (this=0x2b5d8f0) at /home/aga/CSV/kmymoney/kmymoney/dialogs/investtransactioneditor.cpp:339 #10 0x00000000006458d8 in InvestTransactionEditor::qt_metacall (this=0x2b5d8f0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff941acbf0) at /home/aga/CSV/kmymoney/build/kmymoney/dialogs/investtransactioneditor.moc:99 #11 0x00007f5d6cd58def in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #12 0x00007f5d6c502a32 in QAbstractButton::clicked(bool) () from /usr/lib64/libQtGui.so.4 #13 0x00007f5d6c24ad9b in ?? () from /usr/lib64/libQtGui.so.4 #14 0x00007f5d6c24c35b in ?? () from /usr/lib64/libQtGui.so.4 #15 0x00007f5d6c24c5cc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4 #16 0x00007f5d6bee9538 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #17 0x00007f5d6be97d14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #18 0x00007f5d6bea0aac in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #19 0x00007f5d6ef939e6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #20 0x00007f5d6cd43bfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #21 0x00007f5d6be98d25 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4 #22 0x00007f5d6bf16e08 in ?? () from /usr/lib64/libQtGui.so.4 #23 0x00007f5d6bf154c9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4 #24 0x00007f5d6bf3d0f2 in ?? () from /usr/lib64/libQtGui.so.4 #25 0x00007f5d65d56bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #26 0x00007f5d65d573b0 in ?? () from /lib64/libglib-2.0.so.0 #27 0x00007f5d65d57650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #28 0x00007f5d6cd6e91f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #29 0x00007f5d6bf3cd8e in ?? () from /usr/lib64/libQtGui.so.4 #30 0x00007f5d6cd43052 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #31 0x00007f5d6cd43265 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #32 0x00007f5d6cd476ab in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4 #33 0x000000000045a31e in main (argc=1, argv=0x7fff941aedc8) at /home/aga/CSV/kmymoney/kmymoney/main.cpp:260 This occurred when the Ledger was showing the wrongly formatted 'new' transaction from above. I was checking which fields might still be active. I got the split dialog up OK, but then the crash. Of course it may be that things were already corrupt, but as I say the BT could be useful. Is the problem still persistent in newer trunk versions? No answer so far to my last entry. (In reply to comment #4) > No answer so far to my last entry. Apologies, I missed that. There were a few similar/identical issues on the go at the same time. I've seen no similar problem for several weeks and am pretty sure it's fixed. |