bug#537476, Trading accounts without business features

Mike Alexander mta at umich.edu
Fri Nov 27 19:54:48 EST 2009


--On November 27, 2009 8:59:37 AM +0100 Christian Stimming 
<stimming at tuhh.de> wrote:

> Zitat von Mike Alexander <mta at umich.edu>:
>> It appears to me that the failure you mention in
>> <https://bugzilla.gnome.org/show_bug.cgi?id=537476#c12> happens
>> because you have GnuCash installed without the business feature.  Is
>>  this correct?
>
> No, I didn't disable any parts of gnucash. I ran "./configure
> --enable-aqbanking --prefix=/a/b/c; make; make install" with SVN
> trunk and nothing else. The crash due to "unbound variable" happened
> once I started the r18429 build and installation. I *think* the
> gnucash instance I ran is a clean build only and there is no mix-up
> with older gnucash modules, but OTOH I can try again from a fresh
> build directory and with an empty install directory later this
> weekend.
>
> If this were caused by a mix-up of older and up-to-date gnucash
> modules, we would still have to take precautions not to crash with
> the described but maybe terminate with a better error message
> ("installation mix-up detected, please remove the older version
> completely"). But I'll take a closer look over the weekend.

I can't reproduce this problem.  I rebuilt from r18443 with r18430 
(your work around for the crash) reverted and can't get it to crash. 
If you have a chance, please set breakpoints at 
qof_book_use_trading_accounts and 
libgncmod_business_gnome_gnc_module_init.  I'd like to know which of 
these is hit first and what the stack trace is when you hit 
qof_book_use_trading_accounts.  I'll keep looking but so far don't know 
why it's failing for you but not me.

         Mike



More information about the gnucash-devel mailing list