After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 328510 - Crash when printing invoices
Crash when printing invoices
Status: VERIFIED DUPLICATE of bug 168250
Product: GnuCash
Classification: Other
Component: Business
git-master
Other All
: Normal critical
: ---
Assigned To: Derek Atkins
Derek Atkins
Depends on:
Blocks:
 
 
Reported: 2006-01-25 02:29 UTC by Derek Kraan
Modified: 2018-06-29 20:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Derek Kraan 2006-01-25 02:29:36 UTC
Steps to reproduce:
1. Create invoice (or open existing one)
2. Post it (if not already posted)
3. Print (& watch it crash)


Stack trace:
Backtrace:
In /home/rob/.gnucash/saved-reports-1.8:
 59: 92527* [gnc:report-template-new-options/name "Printable Invoice"]
In /usr/share/gnucash/scm/report.scm:
 129: 92528  (let ((templ #)) (if templ (gnc:report-template-new-options
templ) #f))
      ...
 169: 92529  (let ((options #)) (gnc:register-option options
stylesheet) ...)
 169: 92530* [options-gen]
In /home/rob/.gnucash/saved-reports-1.8:
 59: 92531  (let ((options #)) (let (#) (# option)) options)
 59: 92532* [gnc:report-template-new-options/name "Printable Invoice"]
In /usr/share/gnucash/scm/report.scm:
 129: 92533  (let ((templ #)) (if templ (gnc:report-template-new-options
templ) #f))
In unknown file:
      ...
  ?: 92534  [gnc:report-template-new-options #]
In /usr/share/gnucash/scm/report.scm:
 148: 92535  (let (# # #) (if # # #))
 155: 92536* [gnc:make-multichoice-option "General" "Stylesheet" ... ...
 159: 92537* [map #<procedure #f (ss)> ...
 166: 92538* [gnc:get-html-style-sheets]
In /usr/share/gnucash/scm/html-style-sheet.scm:
 274: 92539  (let ((ss #)) (hash-for-each (lambda # #)
*gnc:_style-sheets_*) ...)
 277: 92540  [sort (# # #) #<procedure #f (a b)>]
In unknown file:
  ?: 92541* [#<procedure #f #> # #]
In /usr/share/gnucash/scm/html-style-sheet.scm:
 279: 92542* [string<? ...
 279: 92543* [gnc:html-style-sheet-name #]
In unknown file:
  ?: 92544  (and (eq? (quote #) (record-type-descriptor obj))
(struct-ref obj 0))
  ?: 92545* [eq? ...
  ?: 92546* (quote #<record-type <html-style-sheet>>)

<unnamed port>: In expression (quote #<record-type <html-style-sheet>>):
<unnamed port>: Stack overflow
rob@localhost /usr/local/portage/app-office/gnucash-svn $ gnucash
gnucash: [W] "report-menu-setup"
gnucash: [W] "failure loading ""/home/rob/.gnucash/books/%2Fhome%2Frob%
2FRobert+Kraan+Electric+2006"
Backtrace:
In /home/rob/.gnucash/saved-reports-1.8:
 59: 92527* [gnc:report-template-new-options/name "Printable Invoice"]
In /usr/share/gnucash/scm/report.scm:
 129: 92528  (let ((templ #)) (if templ (gnc:report-template-new-options
templ) #f))
      ...
 169: 92529  (let ((options #)) (gnc:register-option options
stylesheet) ...)
 169: 92530* [options-gen]
In /home/rob/.gnucash/saved-reports-1.8:
 59: 92531  (let ((options #)) (let (#) (# option)) options)
 59: 92532* [gnc:report-template-new-options/name "Printable Invoice"]
In /usr/share/gnucash/scm/report.scm:
 129: 92533  (let ((templ #)) (if templ (gnc:report-template-new-options
templ) #f))
In unknown file:
      ...
  ?: 92534  [gnc:report-template-new-options #]
In /usr/share/gnucash/scm/report.scm:
 148: 92535  (let (# # #) (if # # #))
 155: 92536* [gnc:make-multichoice-option "General" "Stylesheet" ... ...
 159: 92537* [map #<procedure #f (ss)> ...
 166: 92538* [gnc:get-html-style-sheets]
In /usr/share/gnucash/scm/html-style-sheet.scm:
 274: 92539  (let ((ss #)) (hash-for-each (lambda # #)
*gnc:_style-sheets_*) ...)
 277: 92540  [sort (# # #) #<procedure #f (a b)>]
In unknown file:
  ?: 92541* [#<procedure #f #> # #]
In /usr/share/gnucash/scm/html-style-sheet.scm:
 279: 92542* [string<? ...
 279: 92543* [gnc:html-style-sheet-name #]
In unknown file:
  ?: 92544  (and (eq? (quote #) (record-type-descriptor obj))
(struct-ref obj 0))
  ?: 92545* [eq? ...
  ?: 92546* (quote #<record-type <html-style-sheet>>)

<unnamed port>: In expression (quote #<record-type <html-style-sheet>>):
<unnamed port>: Stack overflow

Other information:
This has happened in both 1.8.12 and the copy I got from SVN today. The problem
only appears after you have been using gnucash for a while with a particular
user. It appears that the problem goes away if you change to another user to use
Gnucash. Any help would be very much appreciated!
Comment 1 Christian Stimming 2006-01-25 11:13:26 UTC
Might be related to bug#325311 but maybe not. Did I understand correctly -- this crash is not easily reproducible but only under certain circumstances?
Comment 2 Derek Kraan 2006-01-25 13:39:27 UTC
The crash is easily reproducible. Once it happens once with a specific user, it will happen all the time. If one starts using gnucash with a different user that has not used gnucash before, then printing will work for a while, but after a while this behaviour will appear.

I don't know what circumstances might be triggering this change in behaviour.

If you need any more info, then please, don't hesitate to ask.
Comment 3 Derek Atkins 2006-01-25 18:22:24 UTC
No, this is the "You clicked Save Report without changing the Report Name" bug.  Exit gnucash, remove your saved-reports file, and then start again.

*** This bug has been marked as a duplicate of 168250 ***
Comment 4 John Ralls 2018-06-29 20:56:04 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=328510. Please update any external references or bookmarks.