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

ClrStack improvement #39

Open
mikeHag opened this issue Jan 31, 2018 · 0 comments
Open

ClrStack improvement #39

mikeHag opened this issue Jan 31, 2018 · 0 comments

Comments

@mikeHag
Copy link

mikeHag commented Jan 31, 2018

If I select the option to dump stack object (-dso) ClrStack reads from thread.StackBase to thread.StackLimit looking for "valid objects." The primary filter is
ClrType type = heap.GetObjectType(obj);
if (type == null)
continue;

I've found that the type is not null but looking at the object will cause problems for CLRMD. If I include an additional filter, life is good - at least better. The filter is:
if (!heap.IsInHeap(obj))
continue;

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

No branches or pull requests

1 participant