dotnet / dotnet/diagnostics

DumpArray uses wrong method table when dumping arrays of structs

Open
#3,532 0 comments 0 reactions 1 assignee Claimed by @mikem8361 View on GitHub
bug sos up-for-grabs
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 5h
Merged PRs (30d)
35

Description

### Description

1. Download this [dump](https://1drv.ms/u/s!Aut89JNwdg0Mk7dB-ObYlvaAY_g90g?e=TmzXsc) and open in WinDBG.
2. `.load C:\Users\[user]\.dotnet\sos\sos.dll`
3. `!DumpArray /d 000001d92fa85d98`

```
Name: System.Collections.Generic.Dictionary`2+Entry[[System.String, mscorlib],[System.Int32, mscorlib]][]
MethodTable: 00007ff8c5e07818
EEClass: 00007ff8c5f463e8
Size: 96(0x60) bytes
Array: Rank 1, Number of elements 3, Type VALUETYPE
Element Methodtable: 00007ff8c5e077b8
[0] 000001d92fa85da8

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.