gnucash 1.8.4 crash in guile with SX

AK ak_junkie at comcast.net
Sat Sep 6 13:11:54 CDT 2003


Hi

If I have scheduled transactions set up with AutoCreate on and no transactions 
details itself set up (the debit/credit ledger part at the bottom of the 
creating new SX widget doesnt have any account information) then doing "Since 
Last Run" on the day of the transaction causes a crash in guile. The 
backtrace is attached. This is actually an abort when trying to create some 
widget, I think, from this statement.

----
** ERROR **: file dialog-sxsincelast.c: line 1604 (sxsincelast_init): 
assertion failed: (nextPage)
aborting...
Abort (core dumped)
----

To find this out, I manually gunzip-ed the data file, and edited the XML 
(shudder!!) piece by piece until I found that putting a 'n' for these two 
lines fixed the crash:

  <sx:autoCreate>y</sx:autoCreate>
  <sx:autoCreateNotify>y</sx:autoCreateNotify>

Man, my life was in my hands when I was hand-editing the file, but I couldnt 
see any other way to do this, since I couldnt start gnucash at all, as today 
is the transaction date. What do I do in these cases other than hand-edit the 
file?

Here is the backtrace in case it helps. Thanks.

(gdb) bt
#0  0x2816eb64 in kill () from /usr/lib/libc.so.4
#1  0x281b010a in abort () from /usr/lib/libc.so.4
#2  0x282e93be in g_logv () from /usr/local/lib/libglib12.so
#3  0x282e9475 in g_log () from /usr/local/lib/libglib12.so
#4  0x292821b3 in sxsincelast_init () from /usr/X11R6/lib/libgncgnome.so.0
#5  0x29280694 in gnc_ui_sxsincelast_dialog_create () from 
/usr/X11R6/lib/libgncgnome.so.0
#6  0x29280538 in gnc_ui_sxsincelast_guile_wrapper () from 
/usr/X11R6/lib/libgncgnome.so.0
#7  0x292b6a88 in gw__tmp838_gnc_ui_sxsincelast_guile_wrapper_wrapper () from 
/usr/X11R6/lib/libgw-gnc.so.0
#8  0x28095fa1 in scm_deval () from /usr/local/lib/libguile.so.15
#9  0x2809256d in scm_deval () from /usr/local/lib/libguile.so.15
#10 0x28096a86 in scm_dapply () from /usr/local/lib/libguile.so.15
#11 0x280906b0 in scm_apply () from /usr/local/lib/libguile.so.15
#12 0x2809ec8a in gh_call2 () from /usr/local/lib/libguile.so.15
#13 0x29230d85 in gnc_book_opened () from 
/usr/X11R6/lib/gnucash/libgncmod-app-file.so.0
#14 0x292311f0 in gnc_post_file_open () from 
/usr/X11R6/lib/gnucash/libgncmod-app-file.so.0
#15 0x29231345 in gnc_file_open_file () from 
/usr/X11R6/lib/gnucash/libgncmod-app-file.so.0
#16 0x292d5ec4 in gw__tmp562_gnc_file_open_file_wrapper () from 
/usr/X11R6/lib/gnucash/libgw-app-file.so.0
#17 0x2808fb9f in scm_ceval () from /usr/local/lib/libguile.so.15
#18 0x2808f346 in scm_ceval () from /usr/local/lib/libguile.so.15
#19 0x2808cf6e in scm_ceval () from /usr/local/lib/libguile.so.15
#20 0x2808d116 in scm_ceval () from /usr/local/lib/libguile.so.15
#21 0x2808d116 in scm_ceval () from /usr/local/lib/libguile.so.15
#22 0x2808d116 in scm_ceval () from /usr/local/lib/libguile.so.15
#23 0x2808d076 in scm_ceval () from /usr/local/lib/libguile.so.15
#24 0x28091805 in scm_i_eval_x () from /usr/local/lib/libguile.so.15
#25 0x280918b3 in scm_primitive_eval_x () from /usr/local/lib/libguile.so.15
#26 0x28091992 in inner_eval_x () from /usr/local/lib/libguile.so.15
#27 0x28085a1e in scm_internal_dynamic_wind () from 
/usr/local/lib/libguile.so.15
#28 0x28091a07 in scm_eval_x () from /usr/local/lib/libguile.so.15
#29 0x280c4a32 in scm_shell () from /usr/local/lib/libguile.so.15
#30 0x8048828 in _start ()
#31 0x280a8a0a in invoke_main_func () from /usr/local/lib/libguile.so.15
#32 0x280a89bd in scm_boot_guile_1 () from /usr/local/lib/libguile.so.15
#33 0x280a86bc in scm_boot_guile () from /usr/local/lib/libguile.so.15
#34 0x8048855 in main ()
#35 0x804877a in _start ()



More information about the gnucash-devel mailing list