Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

investigate addressable bytes in heap but not in chunk #154

Open
derekbruening opened this issue Nov 28, 2014 · 0 comments
Open

investigate addressable bytes in heap but not in chunk #154

derekbruening opened this issue Nov 28, 2014 · 0 comments

Comments

@derekbruening
Copy link
Contributor

From derek.br...@gmail.com on December 10, 2010 17:58:05

PR 484550

During leak scanning, I'm seeing defined bytes in heap regions that aren't
in allocated chunk. My old leak checking also found bytes inside heap
regions that were not UNADDR but I don't know how often those were not in
chunks, and most of those were from UNADDR errors that we then marked as
defined. This may well be some inconsistency that should be fixed so we
should investigate.

This assert is the one that fires. I've relaxed it for now.

        ASSERT(!is_in_heap_region(pointer) || 
               shadow_get_byte(pointer) == SHADOW_UNADDRESSABLE,
               "heap data struct inconsistency");

Original issue: http://code.google.com/p/drmemory/issues/detail?id=154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant