Bugs item #2936616, was opened at 2010-01-21 22:43
Message generated for change (Comment added) made by sjoerd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2936616&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 "candidate"
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: zeuner (zeuner)
Assigned to: Nobody/Anonymous (nobody)
Summary: GDKupgradevarheap: copied area and allocated space mismatch

Initial Comment:
While for most variable-sized BATs the constraint H->heap.size == U->capacity 
<< H->shift holds, it does not for those created by VIEWcreate_ 
(src/gdk/gdk_align.mx). As GDKupgradevarheap uses heap.size to decide what area 
to copy, and capacity to decide how much space to allocate, BATs created this 
way can cause writes to unallocated space when reaching this function.

The attached patch eliminates this source of memory-related crashes by 
consistently using heap.size for both allocation and copying.

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

>Comment By: Sjoerd Mullender (sjoerd)
Date: 2010-02-03 14:00

Message:
The essence of the patch was applied, and it seems to work well.
No test needed.

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

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

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to