Neil Williams <[EMAIL PROTECTED]> writes: > Or would you prefer a patch for GnuCash so that you can see the problem for > yourself? The backtraces that I see only ever refer to > 384: num_acc = g_list_length (grp->accounts); > in src/engine/Group.c
I'd personally prefer a patch to GnuCash. I don't use the standalone QOF. Indeed, I don't even have a checkout of that code. Personally I believe that pullout was premature, but whatever. The only way I think this call could fail is if the list itself got overwritten or freed. g_list_length() is effectively this code: int i = 0; for (; list; list = list->next) i++; return i; So the only thing that would cause this code to crash is a munged list. The question is: why is the list munged? Perhaps a data object is getting freed out from under you? -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel