Tax report error
Geert Janssens
geert.gnucash at kobaltwit.be
Mon Dec 1 14:32:16 EST 2014
Hi Dave,
As Tommy Trussell suggests you should really update to a more recent version of GnuCash. I
know (k)ubuntu doesn't supply it so you have to find another way to get it.
The crash report you provide shows a stack overflow error in the guile virtual machine. This
crash was frequently reported on gnucash 2.6.1 and is the result of a combination of switching
to guile 2.0 and how some large data sets were processed.
The fact that it doesn't crash if you choose not to print transaction details is a good clue you
are very likely hitting the same bug. Printing transaction details makes gnucash loop over a
large data set, which is doesn't do when this option is omitted.
If you find building gnucash yourself too daunting you can look into the getdep repository which
maintains a more recent version of gnucash.
Regards,
Geert
On Monday 01 December 2014 10:43:40 Dave Walton wrote:
> Hi Tommy,
>
> Thanks for your quick reply.
>
> I've been trying to avoid building it to get the latest, but getdeb
> looks interesting.
>
> Your Guile suggestion doesn't seem relevant, as it appears to be
> related to upgrading, but this is a clean install.
>
> However, there are a couple updates to the problem to report.
>
> In the past, my attempts to open the tax report crashed GnuCash.
> However, when I reproduced it in order to get the output to post here,
> it didn't crash. It just sat there displaying the busy cursor.
> After I posted, I realized that it was in fact responding, in spite
> of the cursor. So I took the opportunity to see if the report
> options would have any effect.
>
> When I changed some settings and clicked Apply, GnuCash crashed. So
> there is definitely still a crash bug here. But when I restarted it
> and tried again, I still got just the spinning cursor, not a crash.
> That allowed me to keep trying, until after repeated crash/restarts,
> I learned that:
>
> Checking "Do not print transaction detail" in the tax report options
> seems to fix the problem.
>
> I have no idea what that checkbox actually does, or whether I would
> want it on or off in the report, but I can say this with certainty:
> Unchecked, the tax report fails and GnuCash often crashes. Checked,
> the tax report seems to work fine and no crash.
>
> Dave
>
> On 12/01/2014 10:09 AM, Tommy Trussell wrote:
> > On Mon, Dec 1, 2014 at 11:21 AM, Dave Walton <dw-gnucash at digger.net
> >
> > <mailto:dw-gnucash at digger.net>> wrote:
> > Hi all,
> >
> > I've been running GnuCash for years and recently upgraded my
> > computer to Kubuntu 14.04, replacing my old 2.2.6 install with
> > a fresh new 2.6.1 install. Since then, I have been unable to
> > run the tax report. When I select it from the Reports menu,
> > GnuCash displays:
> >
> > Report error
> > An error occurred while running the report.
> >
> > And leaves the mouse cursor as the busy cursor.
> > In the console, it dumps the output you see below, which I'm
> > afraid is meaningless to me.
> >
> > Can someone help me figure what is going on and fix it?
> >
> > Thanks,
> > Dave
> >
> > In unknown file:
> > ?: 19 [apply-smob/1 #<catch-closure 190cb20>]
> > ?: 18 [gnc-main-window-open-report 5 #<swig-pointer
> > GncMainWindow *
> >
> > 1272d30>]
> >
> > In ice-9/boot-9.scm:
> > 157: 17 [catch #t #<catch-closure 2e87560> #<catch-closure
> > 2e87540> #f]>
> > In unknown file:
> > ?: 16 [apply-smob/1 #<catch-closure 2e87560>]
> >
> > In ice-9/boot-9.scm:
> > 171: 15 [with-throw-handler #t #<catch-closure 2e87400>
> > #<catch-closure>
> > 2e873e0>]
> >
> > In unknown file:
> > ?: 14 [apply-smob/1 #<catch-closure 2e87400>]
> > ?: 13 [call-with-input-string "(gnc:report-run 5)" ...]
> >
> > In ice-9/boot-9.scm:
> > 2320: 12 [save-module-excursion #<procedure 2626540 at
> > ice-9/eval-string.scm:65:9 ()>]
> >
> > In ice-9/eval-string.scm:
> > 44: 11 [read-and-eval #<input: string 2f134e0> #:lang ...]
> > 37: 10 [lp (gnc:report-run 5)]
> >
> > In report.scm:
> > 766: 9 [gnc:report-run 5]
> >
> > In ice-9/boot-9.scm:
> > 157: 8 [catch ignore #<procedure 2626300 at
> > gnucash/main.scm:112:4
> >
> > ()> ...]
> >
> > In unknown file:
> > ?: 7 [lazy-catch #t #<procedure 2626120 at
> > gnucash/main.scm:114:18
> >
> > ()> ...]
> >
> > In ice-9/boot-9.scm:
> > 171: 6 [with-throw-handler #t #<catch-closure 2e9df20>
> > #<catch-closure>
> > 2e9df00>]
> >
> > In unknown file:
> > ?: 5 [apply-smob/1 #<catch-closure 2e9df20>]
> >
More information about the gnucash-user
mailing list