Open pr0vieh opened 4 years ago
I couldn't figure out the best area label to add to this issue. Please help me learn by adding exactly one area label.
Thank you for the bug report. Would it be possible to share the project that reproduce the crash with us?
i can't share it public... but i can share private
now i get the job done with Microsoft.DotNet.ILCompiler 1.0.0-alpha-28617-01 a version of my first try longer ago
the rest of map.xml looks this:
<SealedVTable Name="__SealedVTable__ZTV90__Array<S_P_CoreLib_System_Collections_Generic_Dictionary_2_Entry<UInt64__System___Canon>>" Length="0" Hash="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" />
<SealedVTable Name="__SealedVTable__ZTV140__Array<S_P_CoreLib_System_Collections_Generic_Dictionary_2_Entry<System_Net_Http_System_Net_Http_Headers_HeaderDescriptor__System___Canon>>" Length="0" Hash="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" />
<SealedVTable Name="__SealedVTable__ZTV169__Array<S_P_CoreLib_System_Collections_Generic_Dictionary_2_Entry<S_P_CoreLib_System_Collections_Generic_KeyValuePair_2<System___Canon__System___Canon>__System___Canon>>" Length="0" Hash="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" />
<SealedVTable Name="__SealedVTable__ZTV88__Array<S_P_CoreLib_System_Collections_Generic_Dictionary_2_Entry<System___Canon__Bool>>" Length="0" Hash="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" />
<SealedVTable Name="__SealedVTable__ZTV193__Array<S_P_CoreLib_System_Collections_Generic_Dictionary_2_Entry<System___Canon__System_Security_Cryptography_X509Certificates_System_Security_Cryptography_X509Certificates_X509KeyUsageFlags>>" Length="0" Hash="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" />
<SealedVTable Name="__SealedVTable__ZTV89__Array<S_P_CoreLib_System_Collections_Generic_Dictionary_2_Entry<System___Canon__Int32>>" Length="0" Hash="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" />
<SealedVTable Name="__SealedVTable__ZTV90__Array<S_P_CoreLib_System_Collections_Generic_Dictionary_2_Entry<System___Canon__IntPtr>>" Length="0" Hash="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" />
<SealedVTable Name="__SealedVTable__ZTV128__Array<S_P_CoreLib_System_Collections_Generic_Dictionary_2_Entry<System___Canon__S_P_CoreLib_System_Resources_ResourceLocator>>" Length="0" Hash="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" />
<SealedVTable Name="__SealedVTable__ZTV127__Array<S_P_CoreLib_System_Collections_Generic_Dictionary_2_Entry<System___Canon__S_P_Xml_MS_Internal_Xml_XPath_Axis_AxisType>>" Length="0" Hash="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" />
<SealedVTable Name="__SealedVTable__ZTV98__Array<S_P_CoreLib_System_Collections_Generic_Dictionary_2_Entry<System___Canon__System___Canon>>" Length="0" Hash="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" />
<SealedVTable Name="__SealedVTable__ZTV92__Array<S_P_CoreLib_System_Runtime_CastableObjectSupport_CastableObjectCacheEntry_1<IntPtr>>" Length="0" Hash="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" />
<SealedVTable Name="__SealedVTable__ZTV100__Array<S_P_CoreLib_System_Runtime_CastableObjectSupport_CastableObjectCacheEntry_1<System___Canon>>" Length="0" Hash="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" />
<SealedVTable Name="__SealedVTable__ZTV113__Array<S_P_CoreLib_System_Runtime_CompilerServices_ConditionalWeakTable_2_Entry<System___Canon__System___Canon>>" Length="0" Hash="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" />
<SealedVTable Name="__SealedVTable__ZTV23__Array<System___Canon>" Length="52" Hash="7955cb2de90dd9efc6df9fdbf5f5d10c114f4135a9a6b52db1003be749e32f7a" />
<NativeLayoutSignature Name="__RMHSignature_System_Linq_Expressions_System_Linq_Expressions_ExpressionVisitor__VisitLambda<Object>" Length="16" Hash="3310b6152934be01d0b11a6932e3d0970acb5932175906d81bd5a74df30d371f" />
<NativeLayoutSignature Name="__RMHSignature_System_Linq_Expressions_System_Linq_Expressions_ExpressionVisitor__VisitLambda<S_P_CoreLib_System_Action_2<Object__Object>>" Length="16" Hash="23eb1e0012e69464d6c72d7c4c3692527d600406dd50a9bc097b4754d5404791" />
<NativeLayoutSignature Name="__RMHSignature_System_Linq_System_Linq_Enumerable_Iterator_1<S_P_CoreLib_System_Type>__Select<S_P_CoreLib_System_Type>" Length="16" Hash="d8194973c26f3b221bde611c8768f1fcaf79ebb58988ad2bcef49fb76d2f776c" />
</ObjectNodes>
can this help ? im going to test other versions of ILCompiler
@jkotas this is broken since Version 1.0.0-alpha-28719-01 last working version for Linux is 1.0.0-alpha-28718-02
It is likely going to be the same problem as https://github.com/dotnet/corert/issues/7907 ? Can you check whether the problem goes away when you apply the <DebugSymbols>false</DebugSymbols>
+ <DebugType>none</DebugType>
workaround mentioned in the bug?
If you are willing to share the repro with me, that would be great. My email address is in my github profile.
i have tested many times now, this helps here also
<DebugSymbols>false</DebugSymbols>
<DebugType>none</DebugType>
that's enough for now i think
Hi, first of all it's working with the HelloWorld at Linux but not with my project. the second, the same project is compile fine in VS2019 with target win-x64! but at Linux with target linux-x64:
first Install via dotnet-install.sh -channel master
MyProject.map.xml Ends unfinished at this point
any ideas what's missing or wrong ?