GNOME Bugzilla – Bug 147025
test-lots still fails periodically
Last modified: 2018-06-29 20:45:10 UTC
I saw this once: ** WARNING **: Warning: xaccSplitAssignToLot(): split with zero amount; value=0/2001 gflag=ff gsplit=(nil) aborting... FAIL: test-lots I'll try to set up the RNG to reproduce it....
Ok, it's now reproducible.. Just be patient, and run it under gdb so it catches the failure.
This doesn't show up with the current test, but I don't know why. I suspect that what was happening was that xaccSplitAssignToLot() was giving a g_warn() for an unexpected condition: zero-value non-voided splits. It's possible the test was creating this condition and then failing. If I ever see this, I'd probably change the PWARN to PINFO. It looks harmless - just unexpected in real-life situations.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=147025. Please update any external references or bookmarks.