Bug 611571
Summary: | [abrt] crash in gnucash-2.3.13-1.fc13: __strncmp_ssse3: Process /usr/bin/gnucash-bin was killed by signal 11 (SIGSEGV) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ralf Ertzinger <redhat-bugzilla> | ||||
Component: | gnucash | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 13 | CC: | notting, rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | abrt_hash:732ae349cac211081cc5720d635a6174d12055ae | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-07-13 17:57:51 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Ralf Ertzinger
2010-07-05 18:00:00 UTC
Created attachment 429572 [details]
File: backtrace
I can't reproduce this here in brief testing... 'Expenses vs. Day of Week', 'Advanced Portfolio', 'Cash Flow', etc. all work, and I can select 'Options' without a crash. Thanks for the comment, I've found one more datapoint because of it. I run my desktop with LANG=en_US.UTF-8, but gnucash with LANG=de_DE (my financial slang is not exactly up to date). gnucash with LANG=de_DE crashes, gnucash under the normal desktop locale does not (using the same account save file). 788 if (item != NULL) 789 { 790 normalized_string = g_utf8_normalize (item, -1, G_NORMALIZE_ALL); 791 case_normalized_string = g_utf8_casefold (normalized_string, -1); 792 793 if (!strncmp (key, case_normalized_string, strlen (key))) 794 ret = TRUE; 795 796 g_free (item); 797 g_free (normalized_string); (gdb) print item $3 = (gchar *) 0x36af550 "ANG (Niederl\344ndische Antillen-Gulden)" You're running with LANG=de_DE, which is a non-UTF-8 locale, despite the rest of your system being in UTF-8. So, it's returning a null string. Ideally, gtk shouldn't blow up here, but I think the simplest solution for you is to just run gnucash with LANG=de_DE.UTF-8. That works for me in brief testing. Filed upstream as: https://bugzilla.gnome.org/show_bug.cgi?id=624270. Closing here as there's a workaround... let me know if the workaround doesn't work for you. de_DE.UTF-8 seems to work. Is my backtrace mojo totally off, or does this blow up in strncmp itself and not in gtk? It blows up in strncmp because it was passed a null string, which is a no-no. |