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 147025 - test-lots still fails periodically
test-lots still fails periodically
Status: VERIFIED NOTABUG
Product: GnuCash
Classification: Other
Component: Engine
git-master
Other Linux
: Normal normal
: ---
Assigned To: Chris Shoemaker
linas
Depends on:
Blocks:
 
 
Reported: 2004-07-09 14:43 UTC by Derek Atkins
Modified: 2018-06-29 20:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Derek Atkins 2004-07-09 14:43:00 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....
Comment 1 Derek Atkins 2004-07-09 15:01:47 UTC
Ok, it's now reproducible..  Just be patient, and run it under gdb so it catches
the failure.
Comment 2 Chris Shoemaker 2006-01-26 04:44:54 UTC
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.
Comment 3 John Ralls 2018-06-29 20:45:10 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=147025. Please update any external references or bookmarks.