Crash while printing invoice

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Crash while printing invoice

James Roman
I'm having problems trying to print an edited Invoice. After unposting
the invoice, making the changes, posting it and saving the file I try to
print the invoice. The program crashes with a stack overflow.

Vitals:
SuSE 10.0
gnucash-1.8.12-0.rauch.5

Below is the debug info from the opening the program, finding the
invoice and trying to print it:

jroman6@michigan:~/Documents/bookkeeping/2005-import> 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/share/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/jroman6/.gnucash/config-1.8.user"
gnucash: [D] "trying to load ""/home/jroman6/.gnucash/config-1.6.user"
gnucash: [D] "trying to load ""/home/jroman6/.gnucash/config.user"
gnucash: [D] "trying to load ""/home/jroman6/.gnucash/config-1.8.auto"
gnucash: [D] "loading saved reports"
gnucash: [D] "trying to load ""/home/jroman6/.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-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)>
(0.0090s) [list] -*-helvetica-*-*-*-*-*-*-*-*-*-*-iso10646-1 --> 48
(0.0031s) [load] -*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso10646-1 -->
0x8335ca8
(0.0028s) [load] -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso10646-1 -->
0x8346a60
(0.0075s) [load] -*-helvetica-bold-r-*-*-15-*-*-*-*-*-iso10646-1 -->
(nil)
(0.0029s) [load]
-adobe-helvetica-bold-r-normal--14-100-100-100-p-82-iso10646-1 -->
0x8346998
  #<procedure #f (session)>
gnucash: [D] "Running functions on hook "ui-post-startup-hook
  #<procedure business-ui-started ()>
gnucash: [D] "Shutdown -- exit-status: "0
gnucash: [D] "Running functions on hook "ui-shutdown-hook
  #<procedure gnc:gui-finish ()>
gnucash: [D] "UI Shutdown hook."
gnucash: [D] "Running functions on hook "book-closed-hook
  #<procedure gnc:main-window-book-close-handler (session)>
  #<procedure gnc:gui-finish ()>
gnucash: [D] "UI Shutdown hook."
gnucash: [D] "Running functions on hook "book-closed-hook
  #<procedure gnc:main-window-book-close-handler (session)>
gnucash: [D] "Shutdown -- exit-status: "0
gnucash: [D] "Running functions on hook "shutdown-hook
  #<procedure #f ()>
gnucash: [D] "Running functions on hook "save-options-hook
  #<procedure gnc:save-style-sheet-options ()>
jroman6@michigan:~/Documents/bookkeeping/2005-import> 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/share/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/jroman6/.gnucash/config-1.8.user"
gnucash: [D] "trying to load ""/home/jroman6/.gnucash/config-1.6.user"
gnucash: [D] "trying to load ""/home/jroman6/.gnucash/config.user"
gnucash: [D] "trying to load ""/home/jroman6/.gnucash/config-1.8.auto"
gnucash: [D] "loading saved reports"
gnucash: [D] "trying to load ""/home/jroman6/.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-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)>
(0.0052s) [list] -*-helvetica-*-*-*-*-*-*-*-*-*-*-iso10646-1 --> 48
(0.0028s) [load] -*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso10646-1 -->
0x8331e58
(0.0027s) [load] -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso10646-1 -->
0x8342810
(0.0078s) [load] -*-helvetica-bold-r-*-*-15-*-*-*-*-*-iso10646-1 -->
(nil)
(0.0025s) [load]
-adobe-helvetica-bold-r-normal--14-100-100-100-p-82-iso10646-1 -->
0x8342748
  #<procedure #f (session)>
gnucash: [D] "Running functions on hook "ui-post-startup-hook
  #<procedure business-ui-started ()>
Backtrace:
In /usr/share/gnucash/scm/report.scm:
       ...
 167: 83259  (let ((options #)) (gnc:register-option options
stylesheet) ...)
 167: 83260* [options-gen]
In /home/jroman6/.gnucash/saved-reports-1.8:
   5: 83261  (let ((options #)) (let (#) (# option)) (let (#) (#
option)) ...)
   5: 83262* [gnc:report-template-new-options/name "Printable Invoice"]
In /usr/share/gnucash/scm/report.scm:
 127: 83263  (let ((templ #)) (if templ (gnc:report-template-new-options
templ) #f))
In unknown file:
       ...
   ?: 83264  [gnc:report-template-new-options #]
In /usr/share/gnucash/scm/report.scm:
 146: 83265  (let (# # #) (if # # #))
 153: 83266* [gnc:make-multichoice-option "General" "Stylesheet" ... ...
 157: 83267* [map #<procedure #f (ss)> ...
 164: 83268* [gnc:get-html-style-sheets]
In /usr/share/gnucash/scm/html-style-sheet.scm:
 271: 83269  (let ((ss #)) (hash-for-each (lambda # #)
*gnc:_style-sheets_*) ...)
 274: 83270  [sort (# #) #<procedure #f (a b)>]
In unknown file:
   ?: 83271* [#<procedure #f #> # #]
In /usr/share/gnucash/scm/html-style-sheet.scm:
 276: 83272* [string<? ...
 276: 83273* [gnc:html-style-sheet-name #]
In unknown file:
   ?: 83274  (and (eq? (quote #) (record-type-descriptor obj))
(struct-ref obj 0))
   ?: 83275* [eq? #<record-type <html-style-sheet>> ...
   ?: 83276* [record-type-descriptor #]
   ?: 83277  (if (struct? obj) (struct-vtable obj) (error (quote
not-a-record) obj))
   ?: 83278* (struct? obj)

<unnamed port>: In expression (struct? obj):
<unnamed port>: Stack overflow


_______________________________________________
gnucash-user mailing list
[hidden email]
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.

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Crash while printing invoice

Derek Atkins
This is the "you saved a report without channging its name" bug.
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 James Roman <[hidden email]>:

> I'm having problems trying to print an edited Invoice. After unposting
> the invoice, making the changes, posting it and saving the file I try to
> print the invoice. The program crashes with a stack overflow.
>
> Vitals:
> SuSE 10.0
> gnucash-1.8.12-0.rauch.5
>
> Below is the debug info from the opening the program, finding the
> invoice and trying to print it:
>
> jroman6@michigan:~/Documents/bookkeeping/2005-import> 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/share/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/jroman6/.gnucash/config-1.8.user"
> gnucash: [D] "trying to load ""/home/jroman6/.gnucash/config-1.6.user"
> gnucash: [D] "trying to load ""/home/jroman6/.gnucash/config.user"
> gnucash: [D] "trying to load ""/home/jroman6/.gnucash/config-1.8.auto"
> gnucash: [D] "loading saved reports"
> gnucash: [D] "trying to load ""/home/jroman6/.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-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)>
> (0.0090s) [list] -*-helvetica-*-*-*-*-*-*-*-*-*-*-iso10646-1 --> 48
> (0.0031s) [load] -*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso10646-1 -->
> 0x8335ca8
> (0.0028s) [load] -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso10646-1 -->
> 0x8346a60
> (0.0075s) [load] -*-helvetica-bold-r-*-*-15-*-*-*-*-*-iso10646-1 -->
> (nil)
> (0.0029s) [load]
> -adobe-helvetica-bold-r-normal--14-100-100-100-p-82-iso10646-1 -->
> 0x8346998
>  #<procedure #f (session)>
> gnucash: [D] "Running functions on hook "ui-post-startup-hook
>  #<procedure business-ui-started ()>
> gnucash: [D] "Shutdown -- exit-status: "0
> gnucash: [D] "Running functions on hook "ui-shutdown-hook
>  #<procedure gnc:gui-finish ()>
> gnucash: [D] "UI Shutdown hook."
> gnucash: [D] "Running functions on hook "book-closed-hook
>  #<procedure gnc:main-window-book-close-handler (session)>
>  #<procedure gnc:gui-finish ()>
> gnucash: [D] "UI Shutdown hook."
> gnucash: [D] "Running functions on hook "book-closed-hook
>  #<procedure gnc:main-window-book-close-handler (session)>
> gnucash: [D] "Shutdown -- exit-status: "0
> gnucash: [D] "Running functions on hook "shutdown-hook
>  #<procedure #f ()>
> gnucash: [D] "Running functions on hook "save-options-hook
>  #<procedure gnc:save-style-sheet-options ()>
> jroman6@michigan:~/Documents/bookkeeping/2005-import> 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/share/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/jroman6/.gnucash/config-1.8.user"
> gnucash: [D] "trying to load ""/home/jroman6/.gnucash/config-1.6.user"
> gnucash: [D] "trying to load ""/home/jroman6/.gnucash/config.user"
> gnucash: [D] "trying to load ""/home/jroman6/.gnucash/config-1.8.auto"
> gnucash: [D] "loading saved reports"
> gnucash: [D] "trying to load ""/home/jroman6/.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-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)>
> (0.0052s) [list] -*-helvetica-*-*-*-*-*-*-*-*-*-*-iso10646-1 --> 48
> (0.0028s) [load] -*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso10646-1 -->
> 0x8331e58
> (0.0027s) [load] -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso10646-1 -->
> 0x8342810
> (0.0078s) [load] -*-helvetica-bold-r-*-*-15-*-*-*-*-*-iso10646-1 -->
> (nil)
> (0.0025s) [load]
> -adobe-helvetica-bold-r-normal--14-100-100-100-p-82-iso10646-1 -->
> 0x8342748
>  #<procedure #f (session)>
> gnucash: [D] "Running functions on hook "ui-post-startup-hook
>  #<procedure business-ui-started ()>
> Backtrace:
> In /usr/share/gnucash/scm/report.scm:
>       ...
> 167: 83259  (let ((options #)) (gnc:register-option options
> stylesheet) ...)
> 167: 83260* [options-gen]
> In /home/jroman6/.gnucash/saved-reports-1.8:
>   5: 83261  (let ((options #)) (let (#) (# option)) (let (#) (#
> option)) ...)
>   5: 83262* [gnc:report-template-new-options/name "Printable Invoice"]
> In /usr/share/gnucash/scm/report.scm:
> 127: 83263  (let ((templ #)) (if templ (gnc:report-template-new-options
> templ) #f))
> In unknown file:
>       ...
>   ?: 83264  [gnc:report-template-new-options #]
> In /usr/share/gnucash/scm/report.scm:
> 146: 83265  (let (# # #) (if # # #))
> 153: 83266* [gnc:make-multichoice-option "General" "Stylesheet" ... ...
> 157: 83267* [map #<procedure #f (ss)> ...
> 164: 83268* [gnc:get-html-style-sheets]
> In /usr/share/gnucash/scm/html-style-sheet.scm:
> 271: 83269  (let ((ss #)) (hash-for-each (lambda # #)
> *gnc:_style-sheets_*) ...)
> 274: 83270  [sort (# #) #<procedure #f (a b)>]
> In unknown file:
>   ?: 83271* [#<procedure #f #> # #]
> In /usr/share/gnucash/scm/html-style-sheet.scm:
> 276: 83272* [string<? ...
> 276: 83273* [gnc:html-style-sheet-name #]
> In unknown file:
>   ?: 83274  (and (eq? (quote #) (record-type-descriptor obj))
> (struct-ref obj 0))
>   ?: 83275* [eq? #<record-type <html-style-sheet>> ...
>   ?: 83276* [record-type-descriptor #]
>   ?: 83277  (if (struct? obj) (struct-vtable obj) (error (quote
> not-a-record) obj))
>   ?: 83278* (struct? obj)
>
> <unnamed port>: In expression (struct? obj):
> <unnamed port>: Stack overflow
>
>



--
       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
       [hidden email]                        PGP key available

_______________________________________________
gnucash-user mailing list
[hidden email]
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.