Transaction Report Repeatedly Crashes GNUCash 2.6.1

Mark Phillips mark at phillipsmarketing.biz
Fri Mar 21 11:41:02 EDT 2014


I have been using GC for several years and have not had any issues. I am
running GC 2.6.1 on Linux version 3.1.0-1-amd64 (Debian 3.1.8-2). However,
recently when I try to run a transaction report, GC crashes with a brief
message that says there was an error running the report (it flashes on the
screen, the the program goes away). I looked in the gnucash.trace file and
found -

root at orca:/tmp# cat gnucash.trace
* 08:33:18 WARN <gnc.backend.dbi> [gnc_module_init_backend_dbi()] No DBD
drivers found
* 08:33:26 WARN <gnc.python> Unable to initialize Python module (unable to
open /usr/share/gnucash/python/init.py)
* 08:33:58 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:33:58 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:33:58 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:33:58 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:33:58 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:33:58 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:33:58 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:33:58 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:33:58 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:33:58 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:35:18 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:35:18 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:35:18 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:35:18 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:35:18 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:35:18 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:35:18 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:35:18 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:35:18 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:35:18 CRIT <gnc.app-utils> gnc_option_set_selectable: assertion
'option->odb->set_selectable != NULL' failed
* 08:36:08 WARN <gnc.report.core> Failure running report: ERROR: In
procedure apply-smob/1:
ERROR: Wrong number of arguments to #<procedure display-error (_ _ _ _ _ _)>
In unknown file:
?: 19 [apply-smob/1 #<catch-closure 3472920>]
?: 18 [call-with-input-string "(gnc:report-run 1)" ...]
In ice-9/boot-9.scm:
2320: 17 [save-module-excursion #<procedure 4c2a150 at
ice-9/eval-string.scm:65:9 ()>]
In ice-9/eval-string.scm:
44: 16 [read-and-eval #<input: string 5198680> #:lang ...]
37: 15 [lp (gnc:report-run 1)]
In report.scm:
766: 14 [gnc:report-run 1]
In ice-9/boot-9.scm:
157: 13 [catch ignore #<procedure 3473d80 at gnucash/main.scm:112:4 ()> ...]
In unknown file:
?: 12 [lazy-catch #t #<procedure 3473d20 at gnucash/main.scm:114:18 ()> ...]
In ice-9/boot-9.scm:
171: 11 [with-throw-handler #t #<catch-closure 34725e0> #<catch-closure
34725c0>]
In unknown file:
?: 10 [apply-smob/1 #<catch-closure 34725e0>]
In report.scm:
770: 9 [#<procedure 3473db0 at report.scm:767:5 ()>]
749: 8 [gnc:report-render-html # #t]
In html-document.scm:
196: 7 [gnc:html-document-render # #t]
In ice-9/boot-9.scm:
102: 6 [#<procedure 54ddb80 at ice-9/boot-9.scm:97:6 (thrown-k . args)>
vm-error ...]
In unknown file:
?: 5 [apply-smob/1 #<catch-closure 34725c0> vm-error ...]
In gnucash/main.scm:
98: 4 [dumper vm-error vm-run "VM: Stack overflow" ()]
In unknown file:
?: 3 [display-error #<stack 5e99150> #<output: file 2> ...]
In ice-9/boot-9.scm:
106: 2 [#<procedure 54ddb80 at ice-9/boot-9.scm:97:6 (thrown-k . args)>
wrong-number-of-args ...]
102: 1 [#<procedure 54ddc00 at ice-9/boot-9.scm:97:6 (thrown-k . args)>
wrong-number-of-args ...]
In unknown file:
?: 0 [apply-smob/1 #<catch-closure 3472900> wrong-number-of-args ...]
root at orca:/tmp#

The file /usr/share/gnucash/python/init.py does exist -
root at orca:/tmp# ls -alh /usr/share/gnucash/python/init.py
-rw-r--r-- 1 root root 2.8K Feb 9 08:30 /usr/share/gnucash/python/init.py
root at orca:/tmp#

This same report has worked for years, and not it crashes when I change the
date range. Any thoughts on how to fix this?

Thanks,

Mark


More information about the gnucash-user mailing list