Bug 1056073

Summary: [abrt] gnucash: append_escaped_text(): gnucash killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Alexander Yurtsev <ayurtsev>
Component: gnucashAssignee: Bill Nottingham <notting>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: notting, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/3bf315fa11a70742fcfde9e3119d5675f403d15c
Whiteboard: abrt_hash:22fb5ce4db8d122b8a86bab417762f852917f562
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-03 15:16:11 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 Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages
none
File: exploitable none

Description Alexander Yurtsev 2014-01-21 13:51:28 UTC
Description of problem:
I just tried to import a simple QIF file with a single transaction. The gnucash included a predefined set of accounts by that time.

Version-Release number of selected component:
gnucash-2.6.0-2.fc20

Additional info:
reporter:       libreport-2.1.11
backtrace_rating: 4
cmdline:        gnucash
crash_function: append_escaped_text
executable:     /usr/bin/gnucash
kernel:         3.12.7-300.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 append_escaped_text at gmarkup.c:2148
 #1 g_markup_escape_text at gmarkup.c:2224
 #2 g_markup_vprintf_escaped at gmarkup.c:2477
 #3 g_markup_printf_escaped at gmarkup.c:2536
 #4 gnc_progress_dialog_set_sub at dialog-progress.c:422
 #5 _wrap_gnc_progress_dialog_set_sub at swig-gnome.c:1452
 #6 vm_regular_engine at vm-i-system.c:855
 #8 scm_call_3 at eval.c:500
 #9 scm_with_throw_handler at throw.c:96
 #10 scm_c_with_throw_handler at throw.c:252

Comment 1 Alexander Yurtsev 2014-01-21 13:51:36 UTC
Created attachment 853238 [details]
File: backtrace

Comment 2 Alexander Yurtsev 2014-01-21 13:51:39 UTC
Created attachment 853239 [details]
File: cgroup

Comment 3 Alexander Yurtsev 2014-01-21 13:51:41 UTC
Created attachment 853240 [details]
File: core_backtrace

Comment 4 Alexander Yurtsev 2014-01-21 13:51:44 UTC
Created attachment 853241 [details]
File: dso_list

Comment 5 Alexander Yurtsev 2014-01-21 13:51:48 UTC
Created attachment 853242 [details]
File: environ

Comment 6 Alexander Yurtsev 2014-01-21 13:51:53 UTC
Created attachment 853243 [details]
File: limits

Comment 7 Alexander Yurtsev 2014-01-21 13:51:56 UTC
Created attachment 853244 [details]
File: maps

Comment 8 Alexander Yurtsev 2014-01-21 13:51:59 UTC
Created attachment 853245 [details]
File: open_fds

Comment 9 Alexander Yurtsev 2014-01-21 13:52:02 UTC
Created attachment 853246 [details]
File: proc_pid_status

Comment 10 Alexander Yurtsev 2014-01-21 13:52:04 UTC
Created attachment 853247 [details]
File: var_log_messages

Comment 11 Alexander Yurtsev 2014-01-21 13:52:07 UTC
Created attachment 853248 [details]
File: exploitable

Comment 12 Bill Nottingham 2014-01-28 03:29:10 UTC
Out of curiousity, does this persist if run in English?

Comment 13 Bill Nottingham 2014-01-28 03:37:44 UTC
I believe this bug is fixed in 2.6.1. I'll get a build out shortly.

Comment 14 Alexander Yurtsev 2014-01-28 07:48:12 UTC
With LANG=C import seems to be working fine. Looks like localized filename was indeed the reason for this. Changelog for 2.6.1 looks promising.

Thanks!

Comment 15 Alexander Yurtsev 2014-02-03 09:15:26 UTC
I can confirm that the problem is fixed in 2.6.1 version from updates-testing.

Comment 16 Alexander Yurtsev 2014-02-03 09:19:03 UTC
As a side note, some scriptlet error appears when the update is installed:

/var/tmp/rpm-tmp.ZhJ1R5: line 5: syntax error near unexpected token `fi'
/var/tmp/rpm-tmp.ZhJ1R5: line 5: `fi'
warning: %postun(gnucash-2.6.0-2.fc20.x86_64) scriptlet failed, exit status 2
Non-fatal POSTUN scriptlet failure in rpm package gnucash-2.6.0-2.fc20.x86_64

Comment 17 Bill Nottingham 2014-02-03 15:16:11 UTC
Right, that's a bug in the uninstall script of the old version. Not much to be done, but it shouldn't reoccur.