dotnet / dotnet/diagnostics

SIGSEGV crash during dumpobj on Alpine/musl

Open
#5,840 1 comment 0 reactions 0 assignees View on GitHub
disabled-test
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 3h
Merged PRs (30d)
38

Description

**Test**: `SOSDumpTests.ConcurrentDictionaries`
**Platform**: Alpine3_23_x64_Release
**Script**: `src/tests/SOS.UnitTests/Scripts/ConcurrentDictionaries.script:57`

### Expected

```
VERIFY: Name:\s+DotnetDumpCommands\.Program\+DumpSampleClass
```

### Actual output

The `dumpobj` command **did** produce matching output before the crash:

```
> sos dcd 74eac2c0e230
System.Collections.Concurrent.ConcurrentDictionary
-----
Key: dumpvc 000074f290c3a788 000074eac2c0f298
Value: null
-----
Key: dumpvc 000074f290c3a788 000074eac2c0f230
Value: dumpobj 000074eac2c0f1c0

> dumpobj 000074eac2c0f1c0
Name: DotnetDumpCommands.Program+DumpSampleClass
MethodTable: 000074f290c3fbd0
Size: 40(0x28) bytes
File: /__w/1/s/artifacts/bin/DotnetDumpCommands/Release/net11.0/DotnetDumpCommands.dll
Fields:
MT Field Offset Type VT Attr Value Name
000074f2909535c8 04000003 10 System.Boolean Yes instance 0 k__BackingField
000074f29097ea70 04000004 8 System.String No instance 0000000000000000 k__BackingField
000074f290c3a540 04000005 18 System.DateTime Yes instance 000074eac2c0f1d8 k__BackingField
```

Then the process crashed.

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.