Build error split-register-model.c

jraehl at raehls.org jraehl at raehls.org
Tue Sep 29 20:53:05 EDT 2009


I am seeing similar from a Windows XP build.  This is a complete environment install and Gnucash build on a new hard disk.  My previous build on the old computer was with the 09/25 changes, and ran fine except for the two reports that crashed Gnucash, which were previously reported.

I wonder if this problem is due to changset 18352 "Fix crash at creating account report..."

Jim Raehl 

2009/9/29 Colin Law <clanlaw at googlemail.com>:
> I am getting a build error in the latest split-register-model.c
>
> split-register-model.c: In function ‘gnc_split_register_get_rbaln’:
> split-register-model.c:71: error: ‘children’ may be used uninitialised
> in this function
> split-register-model.c:69: error: ‘account’ may be used uninitialised
> in this function

In addition, having initialised these to NULL to keep the compiler
happy I now get a crash on startup.

Backtrace:
In unknown file:
   ?:  9  (let ((full-name #)) (let (#) (if already # #)))
    ...
   ?: 10  (begin (if # #) (make-modules-in # full-name))
   ?: 11* (if (or # #) (try-load-module name))
   ?: 12  [try-load-module (gnucash report standard-reports)]
   ?: 13  (or (begin (try-module-linked name)) (try-module-autoload name) ...)
   ?: 14* [try-module-autoload (gnucash report standard-reports)]
   ?: 15  (let* (# # # #) (resolve-module dir-hint-module-name #f) (and # #))
    ...
   ?: 16  (letrec ((load-file #)) (dynamic-wind (lambda () #) (lambda
() #) ...) ...)
   ?: 17* [dynamic-wind #<procedure #f ()> #<procedure #f ()>
#<procedure #f ()>]
   ?: 18* [#<procedure #f ()>]
   ?: 19* (let ((file #)) (cond (# => #) (# => #)))
   ?: 20  [#<procedure #f #>
"/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucas$
   ?: 21  [load-file #<primitive-procedure primitive-load> ...]
   ?: 22* [save-module-excursion #<procedure #f ()>]
   ?: 23  (let (# #) (dynamic-wind # thunk #))
   ?: 24  [dynamic-wind #<procedure #f ()> #<procedure #f ()>
#<procedure #f ()>]
   ?: 25* [#<procedure #f ()>]
   ?: 26* [primitive-load
"/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/r$
In 
/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.
scm:
 160: 27* (define gnc:register-report-create-internal #)
 160: 28* (@ # gnc:register-report-create-internal)

/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.
scm:160:45:
In expression (@ (gnucash report standard-reports ...)
gnc:register-report-create-internal):
/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.
scm:160:45:
Unbound variable: @

It was ok before I picked up the last few days of changes.
I am on Ubuntu 9.04.

Is this something specific to me?

It is late so I have not looked at the files indicated yet.

Colin
_______________________________________________
gnucash-devel mailing list
gnucash-devel at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


More information about the gnucash-devel mailing list