Open TylerAP opened 6 years ago
Stack frame test is different, see Method names per frame; "Inner", "Inner", "Middle", "Outer", "Main" (null), "Inner", (null), "Inner", "Middle", "Outer", "Main", (null), (null)
Yep. Fixed that, they all pass, but they're not different from Passive attach yet...
clrmd-tests_1 | Modules:
clrmd-tests_1 | Address Size Name
clrmd-tests_1 | 0x0000000000400000 98304 /usr/share/dotnet/dotnet
clrmd-tests_1 | 0x00007fadcb5be000 176128 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Private.CoreLib.dll
clrmd-tests_1 | 0x00007fadcb5f8000 9003008 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Private.CoreLib.dll
clrmd-tests_1 | 0x00007fadcbf80000 40960 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Runtime.dll
clrmd-tests_1 | 0x00007fadcbfd1000 184320 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Console.dll
clrmd-tests_1 | 0x00007fadcc032000 376832 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Runtime.Extensions.dll
clrmd-tests_1 | 0x00007fadcc0c0000 32768 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Threading.Thread.dll
clrmd-tests_1 | 0x00007fadcc100000 69632 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Threading.dll
clrmd-tests_1 | 0x00007fadcc150000 8192 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Text.Encoding.Extensions.dll
clrmd-tests_1 | 0x00007fae32109000 2535424 /usr/lib/x86_64-linux-gnu/libicui18n.so.57.1
clrmd-tests_1 | 0x00007fae32583000 25673728 /usr/lib/x86_64-linux-gnu/libicudata.so.57.1
clrmd-tests_1 | 0x00007fae400c4000 57344 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Native.so
clrmd-tests_1 | 0x00007fae402d3000 1654784 /usr/lib/x86_64-linux-gnu/libicuuc.so.57.1
clrmd-tests_1 | 0x00007fae4067b000 73728 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Globalization.Native.so
clrmd-tests_1 | 0x00007fae4088e000 2768896 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libclrjit.so
clrmd-tests_1 | 0x00007fae43eee000 16384 /usr/lib/x86_64-linux-gnu/liburcu-common.so.4.1.0
clrmd-tests_1 | 0x00007fae440f3000 28672 /usr/lib/x86_64-linux-gnu/liburcu-cds.so.4.1.0
clrmd-tests_1 | 0x00007fae442fb000 28672 /usr/lib/x86_64-linux-gnu/liburcu-bp.so.4.1.0
clrmd-tests_1 | 0x00007fae44503000 45056 /usr/lib/x86_64-linux-gnu/liblttng-ust-tracepoint.so.0.0.0
clrmd-tests_1 | 0x00007fae4471f000 425984 /usr/lib/x86_64-linux-gnu/liblttng-ust.so.0.0.0
clrmd-tests_1 | 0x00007fae4499c000 303104 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libcoreclrtraceptprovider.so
clrmd-tests_1 | 0x00007fae44c24000 28672 /lib/x86_64-linux-gnu/librt-2.24.so
clrmd-tests_1 | 0x00007fae44e2c000 7966720 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libcoreclr.so
clrmd-tests_1 | 0x00007fae45670000 704512 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libhostpolicy.so
clrmd-tests_1 | 0x00007fae4591e000 684032 /usr/share/dotnet/host/fxr/2.1.6/libhostfxr.so
clrmd-tests_1 | 0x00007fae45bc7000 1658880 /lib/x86_64-linux-gnu/libc-2.24.so
clrmd-tests_1 | 0x00007fae45f66000 90112 /lib/x86_64-linux-gnu/libgcc_s.so.1
clrmd-tests_1 | 0x00007fae4617d000 1060864 /lib/x86_64-linux-gnu/libm-2.24.so
clrmd-tests_1 | 0x00007fae46481000 1515520 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
clrmd-tests_1 | 0x00007fae46803000 98304 /lib/x86_64-linux-gnu/libpthread-2.24.so
clrmd-tests_1 | 0x00007fae46a20000 12288 /lib/x86_64-linux-gnu/libdl-2.24.so
clrmd-tests_1 | 0x00007fae46c24000 143360 /lib/x86_64-linux-gnu/ld-2.24.so
clrmd-tests_1 | 0x00007ffc9f7cd000 8192 [vdso]
clrmd-tests_1 | 0xffffffffff600000 4096 [vsyscall]
clrmd-tests_1 | Adding /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libmscordaccore.so
clrmd-tests_1 | Added libmscordaccore.so 7966720
clrmd-tests_1 | Got ClrVersions
clrmd-tests_1 | CLR Versions:
clrmd-tests_1 | Version Flavor DAC
clrmd-tests_1 | 0x v0.0.0.00 Core /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libmscordaccore.so
clrmd-tests_1 | Runtime GC: WKS
clrmd-tests_1 | Got AppDomains
clrmd-tests_1 | Memory Regions:
clrmd-tests_1 | Address Size AppDomain Type
clrmd-tests_1 | 0x00007fadb323b000 135168 GCSegment
clrmd-tests_1 | 0x00007fadb325c000 268296192 ReservedGCSegment
clrmd-tests_1 | 0x00007fadc323b000 69632 GCSegment
clrmd-tests_1 | 0x00007fadc324c000 134144000 ReservedGCSegment
clrmd-tests_1 | 0x00007fae46e00000 8192 clrhost HandleTableChunk
clrmd-tests_1 | 0x00007fadcb250000 12288 LowFrequencyLoaderHeap
clrmd-tests_1 | 0x00007fadcb256000 28672 HighFrequencyLoaderHeap
clrmd-tests_1 | 0x00007fadcbf50000 65536 HighFrequencyLoaderHeap
clrmd-tests_1 | 0x00007fadcb300000 24576 IndcellHeap
clrmd-tests_1 | 0x00007fadcb30c000 16384 LookupHeap
clrmd-tests_1 | 0x00007fadcb336000 237568 ResolveHeap
clrmd-tests_1 | 0x00007fadcb310000 155648 DispatchHeap
clrmd-tests_1 | 0x00007fadcb306000 24576 CacheEntryHeap
clrmd-tests_1 | 0x00007fadcb250000 12288 LowFrequencyLoaderHeap
clrmd-tests_1 | 0x00007fadcb256000 28672 HighFrequencyLoaderHeap
clrmd-tests_1 | 0x00007fadcbf50000 65536 HighFrequencyLoaderHeap
clrmd-tests_1 | 0x00007fadcb300000 24576 IndcellHeap
clrmd-tests_1 | 0x00007fadcb30c000 16384 LookupHeap
clrmd-tests_1 | 0x00007fadcb336000 237568 ResolveHeap
clrmd-tests_1 | 0x00007fadcb310000 155648 DispatchHeap
clrmd-tests_1 | 0x00007fadcb306000 24576 CacheEntryHeap
clrmd-tests_1 | 0x00007fadcb260000 12288 clrhost LowFrequencyLoaderHeap
clrmd-tests_1 | 0x00007fadcbfa0000 65536 clrhost LowFrequencyLoaderHeap
clrmd-tests_1 | 0x00007fadcb263000 40960 clrhost HighFrequencyLoaderHeap
clrmd-tests_1 | 0x00007fadcc170000 65536 clrhost HighFrequencyLoaderHeap
clrmd-tests_1 | 0x00007fadcb2ac000 344064 clrhost ResolveHeap
clrmd-tests_1 | 0x00007fadcb27d000 192512 clrhost DispatchHeap
clrmd-tests_1 | Handles:
clrmd-tests_1 | Address Handle HandleType TypeName
clrmd-tests_1 | 0x00007fae46e017f8 0x00007fadb325a630 WeakLong Interop+Sys+CtrlCallback
clrmd-tests_1 | 0x00007fae46e011a8 0x00007fadb3256f70 Strong System.Object[]
clrmd-tests_1 | 0x00007fae46e011b0 0x00007fadb323b3e0 Strong System.SharedStatics
clrmd-tests_1 | 0x00007fae46e011b8 0x00007fadb323b318 Strong System.Threading.ThreadAbortException
clrmd-tests_1 | 0x00007fae46e011c0 0x00007fadb323b288 Strong System.Threading.ThreadAbortException
clrmd-tests_1 | 0x00007fae46e011c8 0x00007fadb323b1f8 Strong System.ExecutionEngineException
clrmd-tests_1 | 0x00007fae46e011d0 0x00007fadb323b168 Strong System.StackOverflowException
clrmd-tests_1 | 0x00007fae46e011d8 0x00007fadb323b0d8 Strong System.OutOfMemoryException
clrmd-tests_1 | 0x00007fae46e011e0 0x00007fadb323b048 Strong System.Exception
clrmd-tests_1 | 0x00007fae46e011f8 0x00007fadb323b3f8 Strong System.AppDomain
clrmd-tests_1 | 0x00007fae46e015e0 0x00007fadc323d488 Pinned System.Object[]
clrmd-tests_1 | 0x00007fae46e015e8 0x00007fadc323d050 Pinned System.Object[]
clrmd-tests_1 | 0x00007fae46e015f0 0x00007fadb323b3a8 Pinned System.Object
clrmd-tests_1 | 0x00007fae46e015f8 0x00007fadc323b038 Pinned System.Object[]
clrmd-tests_1 | Threads:
clrmd-tests_1 | Address StackDepth MethodName
clrmd-tests_1 | GetThreadContext 1!
clrmd-tests_1 | Unhandled Exception: System.NotImplementedException: The method or operation is not implemented.
Gotta implement GetThreadContext. We're getting there! 👍
When using .NET core, COMPLUS_BuildFlavor=SVR -> COMPlus_gcServer=1
And just a heads up, GC.KeepAlive might be outsmarted by the .NET core GC, Foos in the dumps are disappearing themselves. I tried reordering before and after; works fine under desktop .NET Fw 4. Going to resort to actually using a the objects after throwing an exception I think.
Going to try to use createdump (when it works) to create the Linux dump targets.
Not sure how I'm going to get cdb or ntsd or windbg up on AppVeyor yet. Might skip those tests and just do attaching.
Linked.