Application: kmymoney (4.6.90-1b5f8c4b92) KDE Platform Version: 4.7.4 (4.7.4) Qt Version: 4.7.4 Operating System: Linux 3.0.0-15-generic-pae i686 Distribution: Linux Mint 12 KDE -- Information about the crash: - What I was doing when the application crashed: I'd completed an investment import, opened one of the transactions, then closed KMM while the transaction was still open. The crash can be reproduced every time. -- Backtrace: Application: KMyMoney (kmymoney), signal: Segmentation fault [Current thread is 1 (Thread 0xb3e12ac0 (LWP 15668))] Thread 3 (Thread 0xb0eb9b70 (LWP 15669)): #0 0xb4880d10 in __GI_clock_gettime (clock_id=1, tp=0xb0eb9028) at ../sysdeps/unix/clock_gettime.c:116 #1 0xb60777d5 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #2 0xb614a4b6 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #3 0xb614a80a in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #4 0xb6149053 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #5 0xb61490ed in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #6 0xb47c688c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0 #7 0xb47c7637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #8 0xb47c7c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #9 0xb6149b37 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #10 0xb611a1dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #11 0xb611a421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #12 0xb601d90b in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #13 0xb60fae2d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #14 0xb60207b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #15 0xb6849d31 in start_thread (arg=0xb0eb9b70) at pthread_create.c:304 #16 0xb529546e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Backtrace stopped: Not enough registers or memory available to unwind further Thread 2 (Thread 0xae05bb70 (LWP 15675)): #0 0xb4880d10 in __GI_clock_gettime (clock_id=1, tp=0xae05b028) at ../sysdeps/unix/clock_gettime.c:116 #1 0xb60777d5 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #2 0xb614a4b6 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #3 0xb614a80a in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #4 0xb6149053 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #5 0xb61490ed in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #6 0xb47c688c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0 #7 0xb47c7637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #8 0xb47c7c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #9 0xb6149b37 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #10 0xb611a1dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #11 0xb611a421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #12 0xb601d90b in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #13 0xb60fae2d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #14 0xb60207b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #15 0xb6849d31 in start_thread (arg=0xae05bb70) at pthread_create.c:304 #16 0xb529546e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Backtrace stopped: Not enough registers or memory available to unwind further Thread 1 (Thread 0xb3e12ac0 (LWP 15668)): [KCrash Handler] #7 0x08347d09 in disconnect (member=0x0, receiver=0xb316cd0, this=) at /usr/include/qt4/QtCore/qobject.h:229 #8 TransactionEditor::~TransactionEditor (this=0xb316cd0, __in_chrg=<optimized out>) at /home/aga/GITD/kmymoney/kmymoney/dialogs/transactioneditor.cpp:86 #9 0x082b0841 in InvestTransactionEditor::~InvestTransactionEditor (this=0xb316cd0, __in_chrg=<optimized out>) at /home/aga/GITD/kmymoney/kmymoney/dialogs/investtransactioneditor.cpp:93 #10 0x082b0922 in InvestTransactionEditor::~InvestTransactionEditor (this=0xb316cd0, __in_chrg=<optimized out>) at /home/aga/GITD/kmymoney/kmymoney/dialogs/investtransactioneditor.cpp:96 #11 0x0809cb5a in KMyMoneyApp::~KMyMoneyApp (this=0x9341780, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/aga/GITD/kmymoney/kmymoney/kmymoney.cpp:438 #12 0x0809cc82 in KMyMoneyApp::~KMyMoneyApp (this=0x9341780, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/aga/GITD/kmymoney/kmymoney/kmymoney.cpp:443 #13 0xb612e5f3 in qDeleteInEventHandler(QObject*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #14 0xb6133b80 in QObject::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #15 0xb5625c92 in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #16 0xb5a4851c in QMainWindow::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #17 0xb6cf35a4 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5 #18 0xb6d3ba02 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5 #19 0xb55cbd84 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #20 0xb55d11d8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #21 0xb6c17971 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #22 0xb611b19e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #23 0xb611ef93 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #24 0xb611f0ec in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #25 0xb61496a4 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #26 0xb47c725f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #27 0xb47c7990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #28 0xb47c7c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #29 0xb6149ada in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #30 0xb5683e7a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #31 0xb611a1dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #32 0xb611a421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #33 0xb611f19d in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #34 0xb55c9924 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #35 0x0808a6b3 in runKMyMoney (splash=0xbfc0bb08, a=<optimized out>) at /home/aga/GITD/kmymoney/kmymoney/main.cpp:282 #36 0x08088ba2 in main (argc=48, argv=0x19) at /home/aga/GITD/kmymoney/kmymoney/main.cpp:181 This bug may be a duplicate of or related to bug 272974. Possible duplicates by query: bug 272974, bug 269559. Reported using DrKonqi
I noticed a similar behavior but not anymore. Do you have 'installed' the version after tags have been added? Try if that makes a difference as it seems to have helped here.
(In reply to comment #1) > I noticed a similar behavior but not anymore. Do you have 'installed' the > version after tags have been added? Try if that makes a difference as it > seems to have helped here. I have that, I'm on 1b5f8c4b926c0c1f9d2cfaecdd989402bf18d496 from 17 Nov (your astyle). I had noticed changes in that general area and did wonder... Just one additional point, in case it's relevant. I was running some test and had made a mistake when entering the checking account name, missing off the last letter. So, when the import finished, there was no valid account for the trasfer and the item was flagged. I opened it to determine that, found what I suspected so just closed down, with no transfer account in the open transaction.
This appears to happen only in investment accounts, when closing KMM while a transaction involving a transfer is open, with no transfer account specified. ie Open a buy or sell item, clear the account entry then close KMM.
Further information:- It isn't closing KMyMoney that causes the crash. Having imported the transaction in question, and then opening the transaction to add a correct checking account, when the edit is accepted, the same crash then occurs.
Appears to be fixed following Git commit d1cd5005fd4f363d547bf06cc4d9650d8f353edf (Avoid a crash caused by 'Tags' when the investment transaction editor is used.)