Crash on Register Report

Derek Atkins warlord at MIT.EDU
Wed Dec 6 21:21:41 EST 2006


http://wiki.gnucash.org/wiki/FAQ#Q:_GnuCash_crashes_when_I_run_a_Custom_Report_saying_something_about_a_Stack_Overflow.__What_does_this_mean.3F

-derek

Quoting Roland Roberts <roland at astrofoto.org>:

>
> I know I'm not using the most recent version....  I'm using an RPM for
> Fedora Core 5.
>
> 257 roland> rpm -q gnucash
> gnucash-1.8.12-3
>
> When I asked for a register report for the "transfer" account I use for
> recording 401k fund purchases, GC crashed.  I relaunched from a window
> with --debug to get the following.
>
> I can try updating and see if the problem goes away....
>
> 256 roland> gnucash --debug
> gnucash: [D] "files to open: "()
> gnucash: [D] "starting up (2)."
> gnucash: [D] "gnc:find-file looking for ""finance-quote-check"" in 
> "("/usr/share /gnucash")
> gnucash: [D] "  checking for ""/usr/share/gnucash/finance-quote-check"
> gnucash: [D] "found file ""/usr/share/gnucash/finance-quote-check"
> gnucash: [D] "gnc:find-file looking for ""finance-quote-helper"" in 
> "("/usr/shar e/gnucash")
> gnucash: [D] "  checking for ""/usr/share/gnucash/finance-quote-helper"
> gnucash: [D] "found file ""/usr/share/gnucash/finance-quote-helper"
> gnucash: [D] "loading system configuration"
> gnucash: [D] "gnc:find-file looking for ""config"" in "("/etc/gnucash")
> gnucash: [D] "  checking for ""/etc/gnucash/config"
> gnucash: [D] "found file ""/etc/gnucash/config"
> gnucash: [D] "loading user configuration"
> gnucash: [D] "trying to load ""/home/roland/.gnucash/config-1.8.user"
> gnucash: [D] "trying to load ""/home/roland/.gnucash/config-1.6.user"
> gnucash: [D] "trying to load ""/home/roland/.gnucash/config.user"
> gnucash: [D] "trying to load ""/home/roland/.gnucash/config-1.8.auto"
> gnucash: [D] "loading saved reports"
> gnucash: [D] "trying to load ""/home/roland/.gnucash/saved-reports-1.8"
> gnucash: [D] "Running functions on hook "report-hook
>  #<procedure business-report-function ()>
> gnucash: [D] "Running functions on hook "startup-hook
>  #<procedure #f ()>
> gnucash: [D] "Running functions on hook "ui-startup-hook
>  #<procedure gnc:extensions-menu-setup ()>
> gnucash: [D] "Running functions on hook "add-extension-hook
>  #<procedure add-business-test ()>
>  #<procedure add-ofx-menu-item ()>
>  #<procedure add-log-replay-menu-item ()>
>  #<procedure add-hbci-menu-items ()>
>  #<procedure add-business-items ()>
>  #<procedure gnc:main-window-ui-startup-handler ()>
>  #<procedure gnc:tip-of-the-day-startup-func ()>
> gnucash: [D] "Running functions on hook "book-closed-hook
>  #<procedure gnc:main-window-book-close-handler (session)>
> gnucash: [D] "Running functions on hook "book-opened-hook
>  #<procedure import-commodities (session)>
>  #<procedure gnc:main-window-book-open-handler (session)>
>  #<procedure #f (session)>
> gnucash: [D] "Running functions on hook "ui-post-startup-hook
>  #<procedure business-ui-started ()>
> gnucash: [D] "acct-type: "bank
> gnucash: [D] "ref: "#f
> gnucash: [D] "hash: "#(() ((receivable . #<AcctTypeInfo split: 
> #<procedure gnc:owner-report-create-internal (account split query 
> journal? double? title debit-string credit-string)> non-split: 
> #<procedure gnc:receivables-report-create-int ernal (account split 
> query journal? double? title debit-string credit-string)>>)) () () () 
> () () () () () () () () () () () () () () ((payable . #<AcctTypeInfo 
> split: #<procedure gnc:owner-report-create-internal (account split 
> query jour nal? double? title debit-string credit-string)> non-split: 
> #<procedure gnc:payables-report-create-internal (account split query 
> journal? double? title debit-string credit-string)>>)) () () ())
> gnucash: [D] "split: "#f
> gnucash: [D] "create-fcn: "#f
> Backtrace:
> In /home/roland/.gnucash/saved-reports-1.8:
> 243: 73465* [gnc:report-template-new-options/name "Register"]
> In /usr/share/gnucash/scm/report.scm:
> 127: 73466  (let ((templ #)) (if templ 
> (gnc:report-template-new-options templ) #f))
>       ...
> 167: 73467  (let ((options #)) (gnc:register-option options stylesheet) ...)
> 167: 73468* [options-gen]
> In /home/roland/.gnucash/saved-reports-1.8:
> 243: 73469  (let ((options #)) (let (#) (# option)) (let (#) (# option)) ...)
> 243: 73470* [gnc:report-template-new-options/name "Register"]
> In /usr/share/gnucash/scm/report.scm:
> 127: 73471  (let ((templ #)) (if templ 
> (gnc:report-template-new-options templ) #f))
> In unknown file:
>       ...
>   ?: 73472  [gnc:report-template-new-options #]
> In /usr/share/gnucash/scm/report.scm:
> 146: 73473  (let (# # #) (if # # #))
> 153: 73474* [gnc:make-multichoice-option "General" "Stylesheet" ... ...
> 157: 73475* [map #<procedure #f (ss)> ...
> 164: 73476* [gnc:get-html-style-sheets]
> In /usr/share/gnucash/scm/html-style-sheet.scm:
> 271: 73477  (let ((ss #)) (hash-for-each (lambda # #) 
> *gnc:_style-sheets_*) ...)
> 272: 73478* [hash-for-each #<procedure #f (k v)> #(() () () () () () 
> () () () ...)]
> In /usr/share/slib/hashtab.scm:
> 120: 73479  (do ((i (+ -1 #) (+ -1 i))) ((negative? i)) ...)
> 122: 73480* [alist-for-each #<procedure #f (k v)> (("Default" . #))]
> In /usr/share/slib/alist.scm:
> 117: 73481  [for-each #<procedure #f (pair)> (("Default" . #))]
> In unknown file:
>   ?: 73482* [#<procedure #f (pair)> ("Default" . #)]
> In /usr/share/slib/alist.scm:
> 117: 73483* [#<procedure #f (k v)> ...
> 117: 73484* (car pair)
>
> /usr/share/slib/alist.scm:117:34: In expression (car pair):
> /usr/share/slib/alist.scm:117:34: Stack overflow
>
> regards,
>
> roland
> --
>                       PGP Key ID: 66 BC 3B CD
> Roland B. Roberts, PhD                             RL Enterprises
> roland at rlenter.com                            6818 Madeline Court
> roland at astrofoto.org                           Brooklyn, NY 11220
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>



-- 
       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
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-user mailing list