KMyMoney is crashing

and I wanted to submit a bug report but it says that I need to install some debug software.
It points me to a site that has a lot of repositories and I know, in fact I am certain, that I will pick the wrong one.

Is there a package already in the official release, and if not, where can I get one ?

thanks

OpenSUSE 12.3
KDE 4.10.5 r1
KmYMoney 4.6.3

I also posted this in the KDE, KMyMoney forum.

For the debug packages you have to enable the debug repo in YaST->Software Repositories. Activate both “repo-debug” and “repo-debug-update”.
Then you should find the package kmymoney-debuginfo in YaST->Software Management or you can just install it with “sudo zypper in kmymoney-debuginfo”.

KMymoney 0.6.3 works fine here btw.
When does it crash? Right after you start it?
Try to run it in Konsole, maybe you get some output that could point to the problem.

This is what I posted in the KDE forum

1) Downloaded a QFX file and imported it.
2) Began working on the imported items and it was working fine until
3) I needed to edit a charge that did not have a category, so I did that and when I pressed Accept, the crash happened. It happened 3 times in a row, so I began saving very often.
4) I tried to install the debug package but was not sure which one to install.
5) I also posted on the openSUSE forum asking for the proper debug package. I am new to Linux and have gotten into trouble by installing packages that were not supported.

Hahahaha, the download is the same PDF that wouldn’t print. Maybe I am snakebit, you did notice that the Forum crashed soon after I joined. >:)

Well, I’ll be darned, it did blow up at the same spot and do you think I need to keep posting at both sites ?

hexdump@linux-qq35:~> kmymoney
KMyMoney reconciliation report plugin loaded
KMyMoney csvimport plugin loaded
KMyMoney ofximport plugin loaded
reading file
start parsing file
startDocument
reading accounts
reading transactions
reading securities
reading currencies
reading prices
reading reports
endDocument
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
KCrash: Application 'kmymoney' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/hexdump/.kde4/socket-linux-qq35.site/kdeinit4__1

[1]+  Stopped                 kmymoney
hexdump@linux-qq35:~> 

Do you think that I still will need to run the debug/trace stuff.

Hey wolfie, you’re a pretty smart fellow. lol!

Not really. I think the thread at the KDE forum is enough.

Do you think that I still will need to run the debug/trace stuff.

Yes. Unfortunately that output doesn’t tell much, except that it crashed.

So maybe the ofx importer has a bug.
I think it would be best to report that crash at http://bugs.kde.org/ (and attach the OFX file to the bug report), so that the developers know about it and can fix it.

I need to get a registration e-mail from bugs.kde and if memory serves me, they are very slow in getting the email out.
Ok, I will continue over there.

You could try to use the username/password from the KDE forum, maybe that works.
It’s been a while since I registered there, so I can’t really remember anymore if I had to register at bugs.kde.org separately or not.

I had to use a different email account. Apparently ATT and KDE don’t like each other.
I filed the bug report.

I had a look at your backtrace.
IIANM, the crash is related to fcitx.

So could you maybe disable or uninstall fcitx to see if it still crashes then? (Just for testing purposes)

Sure, I will do it 1st thing tomorrow.
I can just do the delete from Yast, correct ?

Yes, that is correct.

That fixed it Wolfie323.
I removed fcitx and KMyMoney started working again.

Luckily I don’t need to have fcitx on this machine so I will leave it off unless the wife insists on it.

And of course, this generates a question.

  1. I followed the link in the KMyMoney forum where they talked about it being fixed. After a bit of reading, It looked to me that they wanted me to download a source file, compile it and do whatever necessary to get it installed.
    If that is correct, well that is a bit much at my present skill levels. I could learn how, but have no desire to try it until I figure out how to get
    “Hello World” to work. rotfl!

Good! :slight_smile:

And of course, this generates a question.

  1. I followed the link in the KMyMoney forum where they talked about it being fixed. After a bit of reading, It looked to me that they wanted me to download a source file, compile it and do whatever necessary to get it installed.
    If that is correct, well that is a bit much at my present skill levels. I could learn how, but have no desire to try it until I figure out how to get
    “Hello World” to work. rotfl!

Could you point me to this? I can create an RPM package for you to try.

Is this what you mean? 272631 – Crash while using IBus and the account selector combo

I looks like it was pointing here.

If you are going to go ahead and do whatever is needed, please let me know what you do so I can study it. And then let me know where I can send you a beer .rotfl!

Yeah, that’s the same commit.

I downloaded the patch and am going to create a package now.
I will report back when it is ready!

OBS was a bit slow today to create the repo (3 hours, meh… :P)

But the package is available now for download, you can get it here:
[noparse]Install package home:wolfi323:branches:openSUSE:12.3:Update / kmymoney[/noparse]

You need the version for “standard”.
You may add that repo if you want to, it can’t cause any harm to your system because it only contains kmymoney and nothing else… But you don’t have to since I’m not going to change that package anyway. :wink:

Please test it (with fcitx enabled again of course) and report back.