Business menu: Export

Phil Longstaff plongstaff at
Thu Apr 23 21:45:05 EDT 2009

I've been looking through the gnucash bugs and found 479967: crash when 
exporting invoice (  I get a 
different stack trace, but a very repeatable crash.  In my case, the problem is 
that when it's copying an entry, it tries the statement:

             ref_ent = QOF_INSTANCE(param->param_getfcn(ent, param));

where ent is a pointer to a GncEntry and param is the "bill-to" parameter.  
The getfcn function has the body:

      return &entry->billto;

which is not a GObject/QofInstance.

This code can't work.  Should we rewrite export (I don't particularly want 
to)?  Should we just get rid of it?


More information about the gnucash-devel mailing list