ports/133748: [patch]gnucash segfault when opening account

Henry Hu henry.hu.sh at gmail.com
Wed Apr 15 10:30:02 UTC 2009


>Number:         133748
>Category:       ports
>Synopsis:       [patch]gnucash segfault when opening account
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 15 10:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Henry Hu
>Release:        FreeBSD 7-STABLE
>Organization:
Tsinghua University, Beijing, China
>Environment:
FreeBSD henryhu 7.1-STABLE FreeBSD 7.1-STABLE #5: Tue Mar 31 11:23:17 CST 2009     root at henryhu:/usr/obj/usr/src/sys/MYKERNEL  i386

>Description:
After upgraded finance/gnucash to 2.2.7_2, it received a segmentation fault when it starts up.
This problem has been fixed in svn:

http://svn.gnucash.org/trac/changeset/17747

By the way, I found that there're PRs about newer version, I think the problem should have been fixed there. But before upgrading to the new version, please include this patch.

backtrace when opening account:
0x28202fd0 in gnucash_sheet_styles_set_dimensions () from /usr/local/lib/gnucash/libgncmod-register-gnome.so
(gdb) bt
#0  0x28202fd0 in gnucash_sheet_styles_set_dimensions () from /usr/local/lib/gnucash/libgncmod-register-gnome.so
#1  0x28203240 in gnucash_sheet_compile_styles () from /usr/local/lib/gnucash/libgncmod-register-gnome.so
#2  0x28203b11 in gnc_table_init_gui () from /usr/local/lib/gnucash/libgncmod-register-gnome.so
#3  0x281a6f09 in gnc_split_reg_new () from /usr/local/lib/libgnc-gnome.so.0
#4  0x281a2ab7 in gnc_plugin_page_register_create_widget () from /usr/local/lib/libgnc-gnome.so.0
#5  0x282b2920 in gnc_plugin_page_create_widget () from /usr/local/lib/gnucash/libgncmod-gnome-utils.so
#6  0x282a7af9 in gnc_main_window_open_page () from /usr/local/lib/gnucash/libgncmod-gnome-utils.so
#7  0x28195fbe in gppat_open_account_common () from /usr/local/lib/libgnc-gnome.so.0
#8  0x28cd8c11 in ?? () from /usr/local/lib/libgtk-x11-2.0.so.0
#9  0x2a9a2870 in ?? ()
#10 0x2e7e1490 in ?? ()
#11 0x2eae35d0 in ?? ()
#12 0x2e77a6e8 in ?? ()
#13 0x00000002 in ?? ()
#14 0x00000002 in ?? ()
#15 0x2a9a2870 in ?? ()
#16 0x2958d738 in ?? () from /usr/local/lib/libgobject-2.0.so.0
#17 0x28cd8bb0 in ?? () from /usr/local/lib/libgtk-x11-2.0.so.0
#18 0x2e6ff2c0 in ?? ()
#19 0xbfbfd3d8 in ?? ()
#20 0x2955c1f9 in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.0
Backtrace stopped: frame did not save the PC

>How-To-Repeat:
1. Install gnucash 2.2.7
2. Open an account
>Fix:
http://svn.gnucash.org/trac/changeset/17747

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list