After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 646582 - Crash when attempting "New Account Hierarchy Setup" on new file
Crash when attempting "New Account Hierarchy Setup" on new file
Status: RESOLVED DUPLICATE of bug 628710
Product: GnuCash
Classification: Other
Component: Windows
2.4.x
Other Windows
: Normal critical
: ---
Assigned To: Christian Stimming
Geert Janssens
Depends on:
Blocks:
 
 
Reported: 2011-04-03 00:23 UTC by Paulo Mendonça
Modified: 2018-06-29 22:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paulo Mendonça 2011-04-03 00:23: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.
Comment 1 Paulo Mendonça 2011-04-03 00:54:33 UTC
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.
Comment 2 Geert Janssens 2011-04-03 18:58:13 UTC
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 ?
Comment 3 Geert Janssens 2011-04-03 20:03:12 UTC
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 ***
Comment 4 Paulo Mendonça 2011-04-05 05:23:19 UTC
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.
Comment 5 John Ralls 2017-09-24 22:47:27 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 6 John Ralls 2018-06-29 22:56:07 UTC
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.