Bugs item #2550429, was opened at 2009-01-30 23:03
Message generated for change (Settings changed) made by sjoerd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2550429&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: MonetDB Common "stable"
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Jan Rittinger (tsheyar)
>Assigned to: Sjoerd Mullender (sjoerd)
Summary: nlthetajoin asks for 128 bytes too much memory

Initial Comment:
In MonetDB4/src/modules/contrib/malalgebra.mx:256 BATnlthetajoin is seeded with 
a size estimate of BUN_MAX.
In MonetDB/src/gdk/gdk_relop.mx:1614 BATnlthetajoin calls BATnew with size 
'estimate+128'.
In MonetDB/src/gdk/gdk_bat.mx:289 BATnew triggers an assertion because of the 
check: BUN_MAX+128 < BUN_MAX.

A MonetDB expert should decide where to fix this 'miscalculation'.

----------------------------------------------------------------------

>Comment By: Sjoerd Mullender (sjoerd)
Date: 2009-03-28 10:11

Message:
I added overflow checks in both BATnlthetajoin and BATnew.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2550429&group_id=56967

------------------------------------------------------------------------------
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to