Skip to content

SOS's GCHeapsTraverse doesn't work for server GCs #3218

@mikem8361

Description

@mikem8361

The GCHeapsTraverse function doesn't work on my simple webapp that uses a server GC.

This is 7.0 Windows x64 target but it also doesn't on Linux or against a 6.0.6 runtime target process. The !dumpruntimetypes command is one that uses this function. The failing object below is all zeros with a null MethodTable.

0:000> !dumpruntimetypes
         Address           Domain               MT Type Name
------------------------------------------------------------------------------
curr_object:      000001398fc00020
----------------
Traversing a gc heap failed
0:000>

To repro just create a webapp and either attach live or create a full dump of it. I can also give you a dump that repros the problem.

@PeterSolMS, @cshung may one of you can look at this code to figure out why the traversal is going out of wack. The heaps are valid (VerifyHeap says so).

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingsos

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions