I'm a new user. I've imported 6 months of transactions for various accounts into Kmymoney2 via OFX. I've edited numerous transactions and applied/removed categories many times, until this evening. - In a savings account I filtered for all transactions from a certain payee/recevier, - selected them (about a dozen), - pressed [Edit] and selected or entered the values: From: Interest Paid Category: Interest:Savings - pressed [Enter] at which time Kmymoney crashed with an error message of "Executable: kmymoney.EXE PID: 3976 Signal: EXCEPTION_ACCESS_VIOLATION (0xc0000005)" (may not be verbatim). Since that time I've not been able to add or change Category for any transaction at all in that account. I get the access violation every time. It doesn't seem to matter which category is selected. I tried using the bug report wizard in the crash dialog but am told there is not enough information in the backtrace to submit a bug report. Other accounts seem to be okay, I can change categories at will. However as my ill luck would have it, the one crashing is the most important to me. Reproducible: Always Steps to Reproduce: 1. Run Kmymoney2 2. Open Savings Account 001 3. 2x-click on a transaction 4. select a category from the drop down list 5. click [enter] button Actual Results: boom! KDE Crash Handler window appears with message "Executable: kmymoney.EXE PID: 5212 Signal: EXCEPTION_ACCESS_VIOLATION (0xc0000005)" Host system is Win7 Home x64, 3gb of RAM (1gb free), 65gb free drive space.
Created attachment 75067 [details] attachment-17249-0.html Firstly, do you have a good backup file? KMM is pretty robust, but it's important tp protect your valuable data. If you have backup, is that OK? Secondly, it sounds as though your present file may be faulty, and in such a case, the way forward is to produce an anonymised file (Save as ....anonymised file). Check if that file produces the same problem, and if so, attach it to the bug report, indicating the steps to produce the problem. The file will be in XML format, and it would be as well to open it in an editor and make sure no incriminating personal data remains.
Perhaps this should be a different bug report, but when I use "File > Save As" the following error dialog is shown "Could not start the process Cannot talk to klauncher: the name org.kde.launcher was not provided by any .service files". After I dismissed that dialog I was able to save an .anon.xml file. I get the same error again whenever I use the "File > Open" dialog. I was eventually able to open anon.xml by using "File > Recent" instead. The account names are all replaced by numbers, not unexpected. The dollar amounts shown for the various accounts and their transactions are completely wrong -- apparently I have half a million dollars coming and going! I'm guessing this is also part of the anonymising function? In any case, after opening .anon.xml I was able to assign categories to different transactions, AND, after that when I re-opened my main accounting .kmy file categories worked there too! So the problem seems to have resolved itself. I have attached the anon.xml file anyway in case it's still of interest. thanks for your time, -matt On Tue, Nov 6, 2012 at 3:31 AM, allan <agander93@gmail.com> wrote: > https://bugs.kde.org/show_bug.cgi?id=309630 > > allan <agander93@gmail.com> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > CC| |agander93@gmail.com > > --- Comment #1 from allan <agander93@gmail.com> --- > Firstly, do you have a good backup file? KMM is pretty robust, but it's > important tp protect your valuable data. If you have backup, is that OK? > > Secondly, it sounds as though your present file may be faulty, and in such > a > case, the way forward is to produce an anonymised file (Save as > ....anonymised > file). Check if that file produces the same problem, and if so, attach it > to > the bug report, indicating the steps to produce the problem. > > The file will be in XML format, and it would be as well to open it in an > editor > and make sure no incriminating personal data remains. > > -- > You are receiving this mail because: > You reported the bug. >
Created attachment 75068 [details] attachment-17249-1.dat
Created attachment 75069 [details] crash-on-apply-category.anon.zip
(In reply to comment #2) > Perhaps this should be a different bug report, but when I use "File > Save > As" the following error dialog is shown "Could not start the process Cannot > talk to klauncher: the name org.kde.launcher was not provided by any > .service files". > > After I dismissed that dialog I was able to save an .anon.xml file. > > I get the same error again whenever I use the "File > Open" dialog. > > I was eventually able to open anon.xml by using "File > Recent" instead. > The account names are all replaced by numbers, not unexpected. The dollar > amounts shown for the various accounts and their transactions are > completely wrong -- apparently I have half a million dollars coming and > going! I'm guessing this is also part of the anonymising function? > > In any case, after opening .anon.xml I was able to assign categories to > different transactions, AND, after that when I re-opened my main accounting > .kmy file categories worked there too! > > So the problem seems to have resolved itself. I have attached the anon.xml > file anyway in case it's still of interest. > > thanks for your time, > > -matt > > > On Tue, Nov 6, 2012 at 3:31 AM, allan <agander93@gmail.com> wrote: > > > https://bugs.kde.org/show_bug.cgi?id=309630 > > > > allan <agander93@gmail.com> changed: > > > > What |Removed |Added > > > > ---------------------------------------------------------------------------- > > CC| |agander93@gmail.com > > > > --- Comment #1 from allan <agander93@gmail.com> --- > > Firstly, do you have a good backup file? KMM is pretty robust, but it's > > important tp protect your valuable data. If you have backup, is that OK? > > > > Secondly, it sounds as though your present file may be faulty, and in such > > a > > case, the way forward is to produce an anonymised file (Save as > > ....anonymised > > file). Check if that file produces the same problem, and if so, attach it > > to > > the bug report, indicating the steps to produce the problem. > > > > The file will be in XML format, and it would be as well to open it in an > > editor > > and make sure no incriminating personal data remains. > > > > -- > > You are receiving this mail because: > > You reported the bug. > > The miracles of modern science! Glad the scare is over, bur remember to backup often. There is a Consistency Check in the Tools menu, and also it is run each time a save is done. Might you have done a save after experiencing your problem, and thus possibly resolved the issue?
it's possible I saved afterwards, I don't remember. I think would have avoided it, over concern that saving from a bad state would just make it worse. In any case, it's gone now and that I'm grateful for. Thank you for taking the time to respond. I really appreciate it, knowing all too well how easy it is to led wierd problem reports sit idle. There is always so much else to do! best, -matt On Wed, Nov 7, 2012 at 2:39 AM, allan <agander93@gmail.com> wrote: > https://bugs.kde.org/show_bug.cgi?id=309630 > > --- Comment #5 from allan <agander93@gmail.com> --- > (In reply to comment #2) > > Perhaps this should be a different bug report, but when I use "File > > Save > > As" the following error dialog is shown "Could not start the process > Cannot > > talk to klauncher: the name org.kde.launcher was not provided by any > > .service files". > > > > After I dismissed that dialog I was able to save an .anon.xml file. > > > > I get the same error again whenever I use the "File > Open" dialog. > > > > I was eventually able to open anon.xml by using "File > Recent" instead. > > The account names are all replaced by numbers, not unexpected. The dollar > > amounts shown for the various accounts and their transactions are > > completely wrong -- apparently I have half a million dollars coming and > > going! I'm guessing this is also part of the anonymising function? > > > > In any case, after opening .anon.xml I was able to assign categories to > > different transactions, AND, after that when I re-opened my main > accounting > > .kmy file categories worked there too! > > > > So the problem seems to have resolved itself. I have attached the > anon.xml > > file anyway in case it's still of interest. > > > > thanks for your time, > > > > -matt > > > > > > On Tue, Nov 6, 2012 at 3:31 AM, allan <agander93@gmail.com> wrote: > > > > > https://bugs.kde.org/show_bug.cgi?id=309630 > > > > > > allan <agander93@gmail.com> changed: > > > > > > What |Removed |Added > > > > > > > ---------------------------------------------------------------------------- > > > CC| |agander93@gmail.com > > > > > > --- Comment #1 from allan <agander93@gmail.com> --- > > > Firstly, do you have a good backup file? KMM is pretty robust, but > it's > > > important tp protect your valuable data. If you have backup, is that > OK? > > > > > > Secondly, it sounds as though your present file may be faulty, and in > such > > > a > > > case, the way forward is to produce an anonymised file (Save as > > > ....anonymised > > > file). Check if that file produces the same problem, and if so, > attach it > > > to > > > the bug report, indicating the steps to produce the problem. > > > > > > The file will be in XML format, and it would be as well to open it in > an > > > editor > > > and make sure no incriminating personal data remains. > > > > > > -- > > > You are receiving this mail because: > > > You reported the bug. > > > > > The miracles of modern science! Glad the scare is over, bur remember to > backup > often. > > There is a Consistency Check in the Tools menu, and also it is run each > time a > save is done. Might you have done a save after experiencing your problem, > and > thus possibly resolved the issue? > > -- > You are receiving this mail because: > You reported the bug. >
The author reported it as resolved.
I think I may have narrowed this down a little further and more specifically: - Enter [Edit] a transaction, using keyboard only: - select a Category, ex. type "House", then - arrow keys to select "House:Self-Mortgage" sub-category, then - press [Enter] to accept, - and [Enter] again *CRASH* Exit and restart, then repeat above _except_ : ... - arrow keys to select "House:Self-Mortgage" sub-category, then - press [Enter] to accept, - now [Tab] to move focus to Memo field - press [Enter] * record is saved, no crash occurs* carry on. Reproducible: Every time.
(In reply to comment #8) > I think I may have narrowed this down a little further and more specifically: > > - Enter [Edit] a transaction, using keyboard only: > - select a Category, ex. type "House", then > - arrow keys to select "House:Self-Mortgage" sub-category, then > - press [Enter] to accept, > - and [Enter] again > *CRASH* > I've tried several times to do this but have not had a crash. However, I'm not on MSWindows and am using Git HEAD. Is 4.6.3 available to you? Exit <snip>
(In reply to comment #9) > (In reply to comment #8) > > I think I may have narrowed this down a little further and more specifically: > > > > - Enter [Edit] a transaction, using keyboard only: > > - select a Category, ex. type "House", then > > - arrow keys to select "House:Self-Mortgage" sub-category, then > > - press [Enter] to accept, > > - and [Enter] again > > *CRASH* > > > > I've tried several times to do this but have not had a crash. > > However, I'm not on MSWindows and am using Git HEAD. I've now tried this on 4.6.2 and still do not get a crash. Any other MS users about? It's also still possible it could be related to your data. Could you try starting with an empty file?
(In reply to comment #8) https://bugs.kde.org/show_bug.cgi?id=311347 sounds similar to my experience
> It's also still possible it could be related to your data. Could you try > starting with an empty file? Yes, I've replicated with a new empty file. Process: Start Kmymoney File > New {leave name etc. blank} > Next Canadian Dollar > Next de-select "i have a checking account..." > Next select "Canada (English) > Basis of joint account..." > Next Next > {file name} > Next > Finish Home page > click > Savings New > Pay to > "foo" > [Enter] > Yes create payee [tab] type "lau" > select "laundry" category > [Enter] **crash** {{{ We are sorry, KMyMoney closed unexpectedly. You can help us improve KFE Software by reporting this error. Learn more about bug reporting Note: it is safe to close this dialog if you do not want to report this bug. Details: Executable: Executable: kmymoney.EXE PID: 6136 Signal: EXCEPTION_ACCESS_VIOLATION (0xc0000005)" }}} After pressing [Close]* I use SysInternals' Process Explorer and the following kde processes are still running (Kmymoney is the only kde program I use): dbus-daemon.exe klauncher.exe kded4.exe I've tried killing those processes before running kmymoney again to see if it makes any difference, it doesn't. I'll attach the new file created from the process above in case it's of any use (as default .kmy, and exported .xml).
Created attachment 75918 [details] binary new empty account, created using CAD$ basic template
Created attachment 75919 [details] xml new empty account, created using CAD$ basic template
I've loaded your xml file and attempted to follow your actions, but no crash so far. I've also opened a new file and followed your procedure, but again, no crash, neither on 4.6.1 nor the development version. Just a qualification to that. When I accept the 'foo' payee, what happens next depends on the setting of 'Use Enter to move between fields' in settings for Ledger view->Data entry. If this is set, clicking Enter moves the cursor to the Category field and I don't need to tab. If it is not set, clicking Enter accepts the transaction and it needs to be re-opened to continue. So, I'm not sure if things happen differently for you? I also tried your kmy file, but the field names are all mangled so I msy not have followed your steps there either. I think what we need is a Windows user to try your steps.
I've tried several variations (all with KMM 4.6.2, KDE 4.8.0, kdewin-installer-gui-0.9.9-7, Windows Vista 32 bit although the laptop is 64 bit) and could not get a crash. I've tried with both values for the ledger setting for enter going to next entry. I've tried selecting the category by keyboard only and by mouse. I've tried with top level categories as well as sub-categories. No crash for me. Suggestion: save your kmy file (good idea anyway) and wipe out the KDE-windows installation and reinstall from scratch. Then try to get the crash with a fresh file, before you even try to open your old file. If it still crashes, at least we know it has nothing to do with your data. Additional questions: Are you still getting any of the errors you mention in comment #2? If so, wheere do you see them? Is your windows fully updated? (I don't think it matters, but I'm trying to think of every possibility.) Jack
Jack, thank you for the time and work you've spent trying to replicate the crashes I've been experiencing. I appreciate it. WRT comment #2, I no longer get crashes with File > SaveAs. I'll try your suggestion of cleaning out KDE and installing fresh.
I've replicated the crash on my laptop, which didn't have any KDE apps: 1. I downloaded and ran http://www.winkde.org/pub/kde/ports/win32/installer/kdewin-installer-gui-latest.exe, using the default menu selections throughout excepting: - change package cache directory - use Canadian mirror (uwaterloo) - filter for and selecting kmymoney from the package list 2. Started kmymoney (via Start > search: kmy [enter]) , pressed cancel at the startup wizard dialog. 3. Resumed recipe in comment#12. I've since checked the compiler selection on both computers and verified they both used the default compiler MSVC 2010 32bit (by way of running 'kdewin-installer-gui-latest.exe' and de-selecting "skip basic settings"). Both systems are running Win7 Home Premium x64 SP1. The laptop is considerably newer at less than a year old, while the desktop is 5 or so. Automatic Windows Update is turned on. I'll attach the process list as seen by SysInternals' Process Explorer for pre,mid & post crash.
Created attachment 75936 [details] laptop process list after reboot and before running any applications
Created attachment 75937 [details] laptop process list when kmymoney is in error state, and kde crash dialog is open
Created attachment 75938 [details] laptop process list after telling kde crash dialog to [close] kmymoney
(In reply to comment #11) > (In reply to comment #8) > > https://bugs.kde.org/show_bug.cgi?id=311347 sounds similar to my experience Superficially, perhaps, but in that case the crash was caused by signal: Segmentation fault, not Signal: EXCEPTION_ACCESS_VIOLATION (0xc0000005)" as you originally reported. In fact, can we go back to the beginning. You didn't report any back-trace (mini-dump) of the crash. Could you report any additional information produced when the crash occurs. That could be very helpful.
It's interesting that you were able to use KMM for some time before your problem started to occur, so obviously, something must have changed. You've started with an empty file, and you've re-installed KMM. Whilst this might not tie in with your report of the crash from your laptop, re-installing might not necessarily overwrite everything. So, for the sake of completeness, would you de-install KMM and then reload it. The only other thing I can think of is that you've installed or updated something else on your system/s that is interfering with/corrupting KMM. As you must have been reasonably happy with KMM initially to persevere through your problems, another possible way forward would be to use VirtualBox or similar, and install a Linux distro in a virtual environment to provide some isolation.
Following up on the absence of a backtrace, I came across this "http://techbase.kde.org/Projects/KDE_on_Windows/Getting_a_Backtrace_with_DrKonqi" It could be extremely helpful if you could follow that procedure in order to provide some proper technical evidence. The last step might be saying to copy the text output into a file, rather than saving from within DrKonqi.
(In reply to comment #24) > Following up on the absence of a backtrace, I came across this > "http://techbase.kde.org/Projects/KDE_on_Windows/ > Getting_a_Backtrace_with_DrKonqi" I'm not able to follow the advice there as I don't know what the names of the "debug packages for (binary) packages you installed" are. At the "package selection" stage of running kde-install Filtering for "debug" shows nothing. I followed the instructions anyway and am about to attach the backtrace which was produced, thought DrKonqi does say it's unlikley to be useful. The same DrKonqi dialog, "Developer Information", has a link titled "...install related packages (list of files)...", which says: {{{ The packages containing debug infórmation for the fóllowing application and libraries are missing: • C:/ProgramData/KDE/bin/kmymoney.EXE • KERNELBASE.dll • QtCore4.dll • wintab32.dll • MSVCR100.dll • kmmwidgets.dll • ole32.dIl • QtGui4.dll }}} I tried filtering for those names, and parts thereof, in the kde-installer but even typing just "qt" shows zero relevant packages.
Created attachment 76011 [details] backtrace from DrKonqi after setting _NT_SYMBOL_PATH but without the "debug packages" ('cause I don't know what those are)
(In reply to comment #25) > (In reply to comment #24) > > Following up on the absence of a backtrace, I came across this > > "http://techbase.kde.org/Projects/KDE_on_Windows/ > > Getting_a_Backtrace_with_DrKonqi" > > I'm not able to follow the advice there as I don't know what the names of > the "debug packages for (binary) packages you installed" are. At the > "package selection" stage of running kde-install Filtering for "debug" shows > nothing. Can one of the devs. suggest how this debug issue might be progressed? Thanks. > > I followed the instructions anyway and am about to attach the backtrace > which was produced, thought DrKonqi does say it's unlikley to be useful. > The same DrKonqi dialog, "Developer Information", has a link titled > "...install related packages (list of files)...", which says: > {{{ > The packages containing debug infórmation for the fóllowing application and > libraries are missing: > > • C:/ProgramData/KDE/bin/kmymoney.EXE > • KERNELBASE.dll > • QtCore4.dll > • wintab32.dll > • MSVCR100.dll > • kmmwidgets.dll > • ole32.dIl > • QtGui4.dll > }}} > > I tried filtering for those names, and parts thereof, in the kde-installer > but even typing just "qt" shows zero relevant packages.
Some time ago I actually tried compiling all the KDE-Windows stuff myself, but I never succeeded, and I haven't had time to go back to it recently. It is quite possible that the debug package for KMyMoney under MSVC just hasn't been produced yet. I also wonder if this issue should be taked to the KDE-Windows list or IRC, as someone there might be able to create the required files.
I just had an Aha! moment. Matt - rerun the windows kde installer, but don't skip the basic setup. There is a stage where you get to choose which types of packages to see - you need to choose the developer instead of end-user. With end-user, you only see the binary packages. With the developer set, you get to choose binary, source, or debug packages.
I've tested that the fix of BUG 272631 fixes also this issue. Crash in Windows while IME is enabled. *** This bug has been marked as a duplicate of bug 272631 ***