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 728605 - Custom report runs on 2.4.x, crashes on 2.6.x (including 2.6.3)
Custom report runs on 2.4.x, crashes on 2.6.x (including 2.6.3)
Status: RESOLVED NOTGNOME
Product: GnuCash
Classification: Other
Component: Reports
2.6.3
Other Linux
: Normal normal
: ---
Assigned To: gnucash-reports-maint
gnucash-reports-maint
Depends on:
Blocks:
 
 
Reported: 2014-04-20 12:42 UTC by Christian
Modified: 2018-06-29 23:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test data causing a crash (162.19 KB, application/x-gnucash)
2014-04-20 12:42 UTC, Christian
Details
Custom report crashing on 2.6.x, working on 2.4.13 (9.55 KB, text/x-scheme)
2014-04-20 12:45 UTC, Christian
Details
Error messages shown in terminal when I run the report (1.48 KB, text/plain)
2014-04-20 17:02 UTC, Christian
Details

Description Christian 2014-04-20 12:42:11 UTC
Created attachment 274755 [details]
Test data causing a crash

I have created a small custom report for myself. It lists transactions from several accounts you can choose and calculates a sum.

I have used it successfully for some time in GnuCash 2.4.x. The last release I used successfully was 2.4.13.

Now I have tried both versions 2.6.1 and 2.6.3, and both either crash GnuCash completely or at least show an error message, if the accounts contain many (e.g. more than 6,000) transactions.

I have added a sample file that contains some transactions. If I choose the accounts "Aktiva -> Barvermögen -> Bargeld" and "Aktiva -> Barvermögen -> Girokonto" in the section "Konten positiv" of the configuration of my report, I receive an error message or a crash with GnuCash 2.6.3. The same configuration works fine, printing a long list of transactions, on the same data with GnuCash 2.4.13.

I will also add my custom report to this bug in a few minutes.

I have found a similar issue here. According to this discussion, a fix has been included in GnuCash 2.6.3. Unfortunately, this fix does not seem to work for me.

http://gnucash.1415818.n4.nabble.com/Transaction-Report-Repeatedly-Crashes-GNUCash-2-6-1-td4669386.html
Comment 1 Christian 2014-04-20 12:45:09 UTC
Created attachment 274756 [details]
Custom report crashing on 2.6.x, working on 2.4.13
Comment 2 Carsten Rinke 2014-04-20 14:42:52 UTC
Hi Christian,

I have just loaded your report and your test data, GnuCash 2.6.3.

I select Activa->Barvermögen and then press select all children, and run the report.

The output is a long list of data - no crash.

Any special things one needs to do for making it crash?
Comment 3 Christian 2014-04-20 17:02:25 UTC
Created attachment 274765 [details]
Error messages shown in terminal when I run the report

Hello Carsten,

thanks for your quick response. I have tried to configure the report the same way you did it (pressing "Select Children", before I selected the two accounts separately). But that does not seem to make a difference.

GnuCash still crashes in my environment. Instead of the list of transactions that you saw, I see the text "Report Error", followed by "An error occurred while running the report" for a short time in the GnuCash windows, then the GnuCash window closes and I see the error messages I have attached in the terminal.

If I select only one of the accounts, the report still works in GnuCash 2.6.3.

Please tell me if I can provide you with more information that might help us find out why it works in your environment, but does not in mine.

Best regards,
Christian
Comment 4 Christian 2014-04-20 21:15:28 UTC
Hi Carsten,

I have compiled GnuCash 2.6.3 myself today. Before, I was using pre-compiled packages from:

http://www.ubuntuupdates.org/package/getdeb_apps/precise/apps/getdeb/gnucash

With my self-compiled version, my custom report runs perfectly, both with the test data from this bug, and a lot more important, with the real data I have written it for.

So the while the bug is present in v2.6.3 from UbuntuUpdates and in v2.6.1 from Ubuntu Trusty, the bug does not exist in the GnuCash v2.6.3 sources, as far as I can tell.

Thanks for your support, it helped me starting to look into the right direction.

Best regards,
Christian
Comment 5 John Ralls 2018-06-29 23:29:50 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=728605. Please update any external references or bookmarks.