Bugs item #2936616, was opened at 2010-01-21 21:43
Message generated for change (Tracker Item Submitted) made by zeuner
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: Open
Resolution: None
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.

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

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

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to