Summary: | Crash while using IBus and the account selector combo | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Paul Crook <paul_crook> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | agander93, bugreport, castletonroad, dglent, frank.schenke, hexdump, maik.woehl, maphew, markgran, michele, mk-lists, onet.cristian, pchw, rohieb, somoorthi, sylvain.bourdale, sylvain.garsault, tikhomirov.devel, xeyefo9277, zivadonf |
Priority: | NOR | ||
Version: | 4.5.3 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kmymoney/9ab659c6878798b27572afb8c209c7498ccc9261 | Version Fixed In: | 4.6.4 |
Sentry Crash Report: | |||
Attachments: |
simple test account file for reproducing this crash
simple qif file for reproducing this crash New crash information added by DrKonqi |
Description
Paul Crook
2011-05-06 16:29:36 UTC
Created attachment 59701 [details]
simple test account file for reproducing this crash
simple test account file for reproducing this crash (gzipped xml account file as used by kmymoney)
Created attachment 59702 [details]
simple qif file for reproducing this crash
Format is identical to a banks QIF files. I've just anonymised the transactions.
If it helps I've tried both 4.5.0 and 4.5.1 on the same machine. (Compiled from kmymoney-4.5.tar.bz2 and kmymoney-4.5.1.tar.bz2 respectively, as downloaded from sourceforge). 4.5.0 imports the QIF file without problems. 4.5.1 has exactly the same problem as 4.5.3; crashing immediately after finishing the import. Looks like some change between 4.5.0 and 4.5.1 is responsible for this problem. Tested this using: KDE Platform Version 4.6.2 (4.6.2), Qt Version: 4.7.2, Linux 2.6.38-9-generic i686, Ubuntu 11.04. I previously tried the same test on KDE 4.5.5 (4.5.5), Ubuntu 10.10 with exactly the same results (same machine, just prior to distribution upgrade). (In reply to comment #3) > If it helps I've tried both 4.5.0 and 4.5.1 on the same machine. (Compiled from > kmymoney-4.5.tar.bz2 and kmymoney-4.5.1.tar.bz2 respectively, as downloaded > from sourceforge). > > 4.5.0 imports the QIF file without problems. 4.5.1 has exactly the same > problem as 4.5.3; crashing immediately after finishing the import. Looks like > some change between 4.5.0 and 4.5.1 is responsible for this problem. > > Tested this using: KDE Platform Version 4.6.2 (4.6.2), Qt Version: 4.7.2, Linux > 2.6.38-9-generic i686, Ubuntu 11.04. > > I previously tried the same test on KDE 4.5.5 (4.5.5), Ubuntu 10.10 with > exactly the same results (same machine, just prior to distribution upgrade). I first tried the qif file with my own test kmy file and it imported OK. Then I did the same with the suspect kmy file and that too imported it OK. I'm on Version 4.5.90-svn1230396. Perhaps you could try launching KMM from the console and see if any clues are output. If Allan can't reproduce it (I haven't tried yet) I would say the problem only appears when using IBus (from looking at the stack trace). Can you try to deactivate IBus and see if the crash can be reproduced? I have to give IBus a try because it seems that crashes occur when using it. I recall another crash report mentioning it. I can confirm Allan's findings - the qif is imported OK in the testfile with 4.5.90. Now I really suspect IBus (take a look at BUG 271849). Could you please try to turn of IBus and run the same test in KMymoney? I have remembered something. We had an input context related crash during import on Windows if the imported transaction would match a scheduled transaction. See the fix http://websvn.kde.org/?revision=1213931&view=revision could you try removing the #ifdef Q_OS_WIN32 and see if this fix is also valid in your case? I can confirm that IBus is causing the problem. If I turn off IBus (quit it from the system tray settings) and then try importing the QIF it imports okay (in KMM 4.5.3). IBus details: version is 1.3.9. Input method Off. I checked for #ifdef Q_OS_WIN32 (in mymoneystatementreader.cpp) but it doesn't appear in version 4.5.3. (In reply to comment #7) > See the fix http://websvn.kde.org/?revision=1213931&view=revision > could you try removing the #ifdef Q_OS_WIN32 and see if this fix is also valid > in your case? Sorry, just realised I misread your comment. Okay I'll give this a go. (In reply to comment #7) I updated mymoneystatementreader.cpp to the version referred to in comment #7 (http://websvn.kde.org/?revision=1213931&view=revision) and removed the #ifdef Q_OS_WIN32. Unfortunately this doesn't cure the problem. It still crashes after finishing the QIF file import when I have IBus running. (I modified version 4.5.3). *** Bug 272769 has been marked as a duplicate of this bug. *** *** Bug 276454 has been marked as a duplicate of this bug. *** *** Bug 269540 has been marked as a duplicate of this bug. *** *** Bug 277400 has been marked as a duplicate of this bug. *** Just out of curiosity: does applying the patch attached to bug 283538 somehow have an influence on this problem here? *** Bug 288265 has been marked as a duplicate of this bug. *** As a workaround this issue if you are affected by it run kmymoney from a terminal in the following way: QT_IM_MODULE="" kmymoney That only disables the ibus input method until the crash is solved. Since it is a (now) known bug, we could easily add a warning message a startup in case QT_IM_MODULE is not empty and warn people that this might cause crashes. Thoughts? (In reply to comment #19) > Since it is a (now) known bug, we could easily add a warning message a startup > in case QT_IM_MODULE is not empty and warn people that this might cause > crashes. Thoughts? I would only do that if this bug is here to stay :) but that's not the case. *** Bug 309586 has been marked as a duplicate of this bug. *** *** Bug 296206 has been marked as a duplicate of this bug. *** *** Bug 296404 has been marked as a duplicate of this bug. *** *** Bug 302408 has been marked as a duplicate of this bug. *** Created attachment 81490 [details]
New crash information added by DrKonqi
kmymoney (4.6.3) on KDE Platform 4.10.5 using Qt 4.8.4
- What I was doing when the application crashed:
I imported a .QIF file, and KMymoney immediately crashed at the end of the import. Reproducible everytime. Seems to be related to IBUS: if I close the system tray IBUS daemon, I am able to finish the import.
-- Backtrace (Reduced):
#7 QCoreApplication::notifyInternal (this=0x953c8e0, receiver=receiver@entry=0xb94e9b0, event=event@entry=0xbffe9410) at kernel/qcoreapplication.cpp:934
#8 0xb5b60273 in sendEvent (event=0xbffe9410, receiver=0xb94e9b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#9 QInputContext::sendEvent (this=0x9a413c8, event=...) at inputmethod/qinputcontext.cpp:280
#10 0xb5b6021a in QInputContext::sendEvent (this=0x9b25470, event=...) at inputmethod/qinputcontext.cpp:271
#11 0xb06ad12c in IBusInputContext::displayPreeditText(IBus::Pointer<IBus::Text> const&, unsigned int, bool) () from /usr/lib/i386-linux-gnu/qt4/plugins/inputmethods/libqtim-ibus.so
I finally got myself to install ibus and reproduce this so working on it... Git commit ea6b2b13886afa30d2b402627ef8e6b374216338 by Cristian Oneț. Committed on 27/08/2013 at 06:25. Pushed by conet into branch 'master'. KMyMoneyCompletion should now work properly using input methods. Remove previous workarounds that were added to hide this problem. Related: bug 272393, bug 320579 M +1 -9 kmymoney/converter/mymoneystatementreader.cpp M +4 -6 kmymoney/widgets/kmymoneycompletion.cpp M +0 -9 kmymoney/widgets/kmymoneyselector.cpp http://commits.kde.org/kmymoney/ea6b2b13886afa30d2b402627ef8e6b374216338 Git commit 9ab659c6878798b27572afb8c209c7498ccc9261 by Cristian Oneț. Committed on 27/08/2013 at 06:25. Pushed by conet into branch '4.6'. KMyMoneyCompletion should now work properly using input methods. Remove previous workarounds that were added to hide this problem. Related: bug 272393, bug 320579 (cherry picked from commit ea6b2b13886afa30d2b402627ef8e6b374216338) M +1 -9 kmymoney/converter/mymoneystatementreader.cpp M +4 -6 kmymoney/widgets/kmymoneycompletion.cpp M +0 -9 kmymoney/widgets/kmymoneyselector.cpp http://commits.kde.org/kmymoney/9ab659c6878798b27572afb8c209c7498ccc9261 *** Bug 315001 has been marked as a duplicate of this bug. *** *** Bug 316479 has been marked as a duplicate of this bug. *** *** Bug 309630 has been marked as a duplicate of this bug. *** *** Bug 324174 has been marked as a duplicate of this bug. *** *** Bug 267589 has been marked as a duplicate of this bug. *** *** Bug 325980 has been marked as a duplicate of this bug. *** *** Bug 326621 has been marked as a duplicate of this bug. *** *** Bug 329071 has been marked as a duplicate of this bug. *** *** Bug 329139 has been marked as a duplicate of this bug. *** *** Bug 329867 has been marked as a duplicate of this bug. *** (In reply to comment #18) > As a workaround this issue if you are affected by it run kmymoney from a > terminal in the following way: > > QT_IM_MODULE="" kmymoney > > That only disables the ibus input method until the crash is solved. I don't understand why but i can reproduce the bug with the command: QT_IM_MODULE="" kmymoney The fix is only available in version 4.6.4. *** Bug 330621 has been marked as a duplicate of this bug. *** *** Bug 331388 has been marked as a duplicate of this bug. *** |