segfault following ofxdirectconnect import in 2.0.4

David Reiser dbreiser at earthlink.net
Sat Feb 3 23:42:12 EST 2007


gnucash 2.0.4 segfaulted on me this afternoon. I'm not sure I'll be  
able to reproduce it, but here's the start of the crash log:

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xbf7ffdf0

Thread 0 Crashed:
0   libSystem.B.dylib              	0x9000bb80 __vfprintf$LDBL128 + 40
1   libSystem.B.dylib              	0x900ee6c0 vasprintf$LDBL128 + 244
2   libglib-2.0.0.dylib            	0x029d0680 g_vasprintf + 72
3   libglib-2.0.0.dylib            	0x029be798 g_strdup_vprintf + 36
4   libglib-2.0.0.dylib            	0x029ae1c0 g_logv + 948
5   libglib-2.0.0.dylib            	0x029ae2b4 g_log + 48
6   libgncmod-ledger-core.0.dylib  	0x000ae7bc  
gnc_split_register_get_trans_split + 124 (split-register-util.c:165)
7   libgncmod-ledger-core.0.dylib  	0x000a2954  
gnc_split_register_move_cursor + 196 (split-register-control.c:224)
8   ...ncmod-register-core.0.dylib 	0x0059d920  
gnc_table_move_cursor_internal + 192 (table-allgui.c:788)
9   ...ncmod-register-core.0.dylib 	0x0059dd80  
gnc_table_verify_cursor_position + 112 (table-allgui.c:929)
10  ...ncmod-register-core.0.dylib 	0x0059dee8  
gnc_table_wrap_verify_cursor_position + 184 (table-allgui.c:994)
11  ...cmod-register-gnome.0.dylib 	0x004f97e8  
gnucash_sheet_activate_cursor_cell + 104 (gnucash-sheet.c:238)
12  ...cmod-register-gnome.0.dylib 	0x004ff468 gnc_table_refresh_gui  
+ 184 (table-gnome.c:211)
13  libgncmod-ledger-core.0.dylib  	0x000a3014  
gnc_split_register_move_cursor + 1924 (split-register-control.c:444)

plus about 100 repetitions of lines 8-13

I have had similar occurrences occasionally in the past, but nothing  
predictable enough to nail down. The crash occurred while I was  
trying to add a transaction in the account into which I had just  
downloaded about 15 transactions. (A case of, oops, where did that  
transactions go. I had both a check and an atm transaction for  
identical amounts clear the same day, and the check won out for both.)

I don't necessarily have an account register open when I import ofx  
files, but for ofxdirectconnect transaction downloads, the register  
is guaranteed to be open (can't do "Get Transactions..." from the  
Actions menu without the register open).

--
David Reiser
dbreiser at earthlink.net
Mac 10.4.8 PPC, gcc 4.0.1





More information about the gnucash-devel mailing list