Version: SVN trunk (using KDE 4.6.0) OS: OS X KMM crashes on MacOSX when assigning the transfer account of a freshly imported transaction, BUT ONLY WHEN I close the dialog with ENTER/RETURN key. If I use the Enter-Button of the form all is fine. Here is the call stack trace: #0 0x104660668 in qt_mac_nativeview_for #1 0x10466cb89 in QMacInputContext::isComposing #2 0x104742811 in QKeyMapperPrivate::translateKeyEvent #3 0x10467bc6e in qt_dispatchKeyEvent #4 0x10466dad3 in -[QCocoaView keyUp:] #5 0x7fff888d906f in -[NSWindow sendEvent:] #6 0x104674ef6 in -[QCocoaWindow sendEvent:] #7 0x7fff8880da86 in -[NSApplication sendEvent:] #8 0x104678568 in -[QNSApplication sendEvent:] #9 0x7fff887a44da in -[NSApplication run] #10 0x104682065 in QEventDispatcherMac::processEvents #11 0x1043c44a4 in QEventLoop::processEvents #12 0x1043c47c4 in QEventLoop::exec #13 0x1043c5dcc in QCoreApplication::exec #14 0x10000f511 in main at main.cpp:260 But, it could be a QT or KDE issue on MacOSX... Reproducible: Always Steps to Reproduce: 1) Online update transactions. 2) Edit to a transaction. 3) Set the account to which the transaction should go to 4) Leave the dialog by pressing ENTER key Actual Results: Crash Expected Results: Normally the program just enters the corresponding account and goes on. It shall be noted that KMM doesn't crash with a self-created transaction. So far I saw this only with a downloaded one (having yellow background). Again, using the Enter-Button of the form doesn't crash KMM, only the ENTER-key of the keyboard itself. Odd, isn't it?
Eventually filed this at QT as http://bugreports.qt.nokia.com/browse/QTBUG-19870
I've a related crash now. It's crashlog looks very similar: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000300000000 0x00007fff80c221a9 in objc_msgSend_vtable4 () (gdb) bt f #0 0x00007fff80c221a9 in objc_msgSend_vtable4 () No symbol table info available. #1 0x00000001030b2996 in QMacInputContext::isComposing () No symbol table info available. #2 0x0000000103188e21 in QKeyMapperPrivate::translateKeyEvent () No symbol table info available. #3 0x00000001030c19be in qt_dispatchKeyEvent () No symbol table info available. #4 0x00000001030b4e7b in -[QCocoaView keyDown:] () No symbol table info available. #5 0x00007fff8014106f in -[NSWindow sendEvent:] () No symbol table info available. #6 0x00000001030babfb in -[QCocoaWindow sendEvent:] () No symbol table info available. #7 0x00007fff80075a86 in -[NSApplication sendEvent:] () No symbol table info available. #8 0x00000001030be278 in -[QNSApplication sendEvent:] () No symbol table info available. #9 0x00007fff8000c4da in -[NSApplication run] () No symbol table info available. #10 0x00000001030c7de5 in QEventDispatcherMac::processEvents () No symbol table info available. #11 0x0000000102e1c354 in QEventLoop::processEvents () No symbol table info available. #12 0x0000000102e1c674 in QEventLoop::exec () No symbol table info available. #13 0x0000000102e1dc7c in QCoreApplication::exec () No symbol table info available. #14 0x000000010000f5ec in runKMyMoney () No symbol table info available. #15 0x00000001000112ba in main () No symbol table info available. (gdb) ,,, except that the method it crashed in is now objc_msgSend_vtable4() instead of qt_mac_nativeview_for() !!! This crash happens if I entered all newly downloaded transactions without using a key, but the enter button - as described above. When trying to reconcile all new transactions in one go by selecting all of them and then hitting SHIFT+CMD+SPACE the application crashes.
This seems like another account selector + Input method combination related crash like bug 272631.
Could it perhaps be linked to bug 279206?
Still around in Qt 4.8.4: ___ Program received signal SIGSEGV, Segmentation fault. 0x00000001047f1737 in QWidget::effectiveWinId() const () from /opt/macports-test/Library/Frameworks/QtGui.framework/Versions/4/QtGui (gdb) bt f #0 0x00000001047f1737 in QWidget::effectiveWinId() const () from /opt/macports-test/Library/Frameworks/QtGui.framework/Versions/4/QtGui No symbol table info available. #1 0x00000001047498d9 in QMacInputContext::isComposing() const () from /opt/macports-test/Library/Frameworks/QtGui.framework/Versions/4/QtGui No symbol table info available. #2 0x0000000104823271 in QKeyMapperPrivate::translateKeyEvent(QWidget*, OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, bool) () from /opt/macports-test/Library/Frameworks/QtGui.framework/Versions/4/QtGui No symbol table info available. #3 0x0000000104759f0f in qt_dispatchKeyEvent(void*, QWidget*) () from /opt/macports-test/Library/Frameworks/QtGui.framework/Versions/4/QtGui No symbol table info available. #4 0x000000010474a3e3 in -[QCocoaView keyUp:] () from /opt/macports-test/Library/Frameworks/QtGui.framework/Versions/4/QtGui No symbol table info available. #5 0x00007fff890870c7 in -[NSWindow sendEvent:] () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit No symbol table info available. #6 0x000000010474f9c5 in -[QCocoaWindow sendEvent:] () from /opt/macports-test/Library/Frameworks/QtGui.framework/Versions/4/QtGui No symbol table info available. #7 0x00007fff88fbbafa in -[NSApplication sendEvent:] () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #8 0x0000000104754b22 in -[QNSApplication sendEvent:] () from /opt/macports-test/Library/Frameworks/QtGui.framework/Versions/4/QtGui No symbol table info available. #9 0x00007fff88f526de in -[NSApplication run] () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit No symbol table info available. #10 0x000000010475f648 in QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/macports-test/Library/Frameworks/QtGui.framework/Versions/4/QtGui No symbol table info available. #11 0x000000010444e734 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/macports-test/Library/Frameworks/QtCore.framework/Versions/4/QtCore No symbol table info available. #12 0x000000010444eae4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/macports-test/Library/Frameworks/QtCore.framework/Versions/4/QtCore No symbol table info available. #13 0x00000001044511cc in QCoreApplication::exec() () from /opt/macports-test/Library/Frameworks/QtCore.framework/Versions/4/QtCore No symbol table info available. #14 0x000000010000e42b in runKMyMoney (a=<optimized out>, splash=<optimized out>) at /opt/macports-test/var/macports/build/_Users_marko_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/main.cpp:282 importfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 77880}, alloc = 0, size = 0, data = 0x1045f0d3a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 248}, alloc = 0, size = 0, ---Type <return> to continue, or q <return> to quit--- ___
Could you test this again? Bug 272631 was fixed in master and I'm pretty sure that this is a duplicate of that bug.
Yes, Cristian, your gut feeling was correct. So far I couldn't reproduce the bug using master anymore. Thanks very much, since this bug was a really annoying one all the time!!!
Thanks for testing this, I'm marking it as duplicate. *** This bug has been marked as a duplicate of bug 272631 ***