GNOME Bugzilla – Bug 646582
Crash when attempting "New Account Hierarchy Setup" on new file
Last modified: 2018-06-29 22:56:07 UTC
Every time I tried to open the software it would get to the New Account Hierarchy Setup assistant, ask for the currency and crash without any message. In effect I could do nothing with the software. I used a workaround: canceled the new file creation and asked to import a file; after it was done importing I was able to save the file; the next time I opened the software it worked fine. After the file was created and the software running I tried to use the New Account Hierarchy Setup assistant again and the same crash happened again (this time leaving a .lck file behind that I deleted afterwards). The New Account action worked fine. System: Windows XP Tablet v5.1 SP3. "My Documents" located on different drive (not c:). Software running in Portuguese. Please let me know what other information might be needed to investigate this occurrence.
I have just changed the language setting to en_US in the "environment" file and re-tried the New Account Hierarchy Setup assistant. It worked fine.
Thank you for your report. I can even reproduce this on linux if I set the locale to "pt_PT". It seems this happens because pt_PT is not using utf-8 by default. If I set the locale to pt_PT.UTF-8, there's no crash anymore. Can you try this in your environment file as well and see if you still experience the crash ?
Hmm, I have to correct myself: I can reproduce the crash when I run GnuCash as LC_ALL=pt_PT LANGUAGE=pt_PT gnucash (this is linux invocation, and won't work on Windows). Curiously this is the combination of these two environment variables that cause the crash. If I only use LC_ALL, the crash won't happen, and the interface remains in English. Similarly, if I only use LANGUAGE and not LC_ALL, the crash won't happen either, but the interface is in Portuguese now. I don't know at this point what goes wrong, but I noticed there is another bug report with exactly the same symptoms. I'll mark this one as a duplicate. *** This bug has been marked as a duplicate of bug 628710 ***
I'm sorry I didn't find the previous bug (I did look for one). Just an added detail: the crash happened with pt_BR in my case, so both pt_PT and pt_BR seem to have the issue.
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=646582. Please update any external references or bookmarks.