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

GC SOS commands are failing on macOS. #35

Closed
mikem8361 opened this issue Jul 23, 2018 · 1 comment
Closed

GC SOS commands are failing on macOS. #35

mikem8361 opened this issue Jul 23, 2018 · 1 comment
Assignees

Comments

@mikem8361
Copy link
Member

In the SOS.UnitTests, various commands are failing on macOS. These failures need to be fixed and that the SOSRunner doesn't detect these kind of failures.

(lldb) runcommand sos DumpObj -refs 000000018201fa58
Name:        GCWhere
MethodTable: 00000001084251a8
EEClass:     0000000109031098
Size:        24(0x18) bytes
File:        /Users/mikem/diagnostics/artifacts/Debuggees/GCWhere/bin/Debug/netcoreapp2.0/publish/GCWhere.dll
Fields:
              MT    Field   Offset                 Type VT     Attr            Value Name
0000000108dc5ba0  4000001        8        System.String  0 instance 000000018201fa18 _string
GC Refs:
              offset object
Failed to request number of entries.
DumpObj -refs 000000018201fa58  failed

None
(lldb) runcommand sos GCRoot -all 000000018201fa58
Failed to request number of entries.Thread 5948bc:
    00007FFF5FBF6F00 00000001090404E2 GCWhere.Main() [/Users/mikem/diagnostics/artifacts/Debuggees/GCWhere/GCWhere.cs @ 33]
        rbp-18: 00007fff5fbf6f08
            ->  000000018201FA58 <unknown>

    00007FFF5FBF6F00 00000001090404E2 GCWhere.Main() [/Users/mikem/diagnostics/artifacts/Debuggees/GCWhere/GCWhere.cs @ 33]
        rbp-8: 00007fff5fbf6f18
            ->  000000018201FA58 <unknown>

Failed to request number of entries.Failed to request number of entries.Failed to request number of entries.Failed to request number of entries.Found 2 roots.

None
@mikem8361 mikem8361 self-assigned this Jul 23, 2018
@mikem8361
Copy link
Member Author

These tests failed on 2.1.0 and 2.0.9 but not on 1.0.9.

@ghost ghost locked as resolved and limited conversation to collaborators Jun 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant