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

CoreCLR crashed when CLR ETW provide was activated #6427

Closed
ww898 opened this issue Jul 23, 2016 · 15 comments

Comments

Projects
None yet
9 participants
@ww898
Copy link
Contributor

commented Jul 23, 2016

The issue in our tracker: https://youtrack.jetbrains.com/issue/DTRC-23500.

Repro:

  1. Activate ETW: xperf -start dot_net_runtime_trace -on e13c0d23-ccbc-4e12-931b-d9cc2eee27e4:0x4001c079 -f C:\dot_net_runtime_trace.etl
  2. Execute ASP .NET Core project from command line dotnet.exe run. Got the AV exception.
  3. Disable ETW: xperf -stop dot_net_runtime_trace

Here stack trace on crash:

(4428.15d0): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
coreclr!ETW::MethodLog::SendEventsForNgenMethods+0x45:
00007ffb`2424c6c9 488b4060        mov     rax,qword ptr [rax+60h] ds:00000000`00000060=????????????????
0:000> kM
 # Child-SP          RetAddr           Call Site
00 0000008d`71b7c2f0 00007ffb`2424d3e4 coreclr!ETW::MethodLog::SendEventsForNgenMethods+0x45
01 0000008d`71b7c370 00007ffb`2424d4c8 coreclr!ETW::EnumerationLog::IterateModule+0x88
02 0000008d`71b7c400 00007ffb`2424a24d coreclr!ETW::EnumerationLog::EnumerationHelper+0x44
03 0000008d`71b7c490 00007ffb`242ba913 coreclr!ETW::LoaderLog::ModuleLoad+0x199
04 0000008d`71b7c550 00007ffb`2438e28c coreclr!Module::NotifyEtwLoadFinished+0x67
05 0000008d`71b7c580 00007ffb`24265f3a coreclr!DomainAssembly::DeliverSyncEvents+0x2c
06 0000008d`71b7c5f0 00007ffb`2447aff3 coreclr!Assembly::CreateDynamic+0xa2a
07 0000008d`71b7cf60 00007ffb`2141b06a coreclr!AppDomainNative::CreateDynamicAssembly+0x163
08 0000008d`71b7d130 00007ffb`2141b583 System_Private_CoreLib_ni+0x6db06a
09 0000008d`71b7d210 00007ffb`21432c2b System_Private_CoreLib_ni+0x6db583
0a 0000008d`71b7d2d0 00007ffb`21432f08 System_Private_CoreLib_ni+0x6f2c2b
0b 0000008d`71b7d380 00007ffb`21432764 System_Private_CoreLib_ni+0x6f2f08
0c 0000008d`71b7d400 00007ffb`26a275e7 System_Private_CoreLib_ni+0x6f2764
0d 0000008d`71b7d470 00007ffb`26a27b93 System_Linq_Expressions+0xd75e7
0e 0000008d`71b7d4d0 00007ffb`269f9ebb System_Linq_Expressions+0xd7b93
*** WARNING: Unable to verify checksum for C:\Program Files\dotnet\sdk\1.0.0-preview2-003121\Newtonsoft.Json.dll
*** ERROR: Module load completed but symbols could not be loaded for C:\Program Files\dotnet\sdk\1.0.0-preview2-003121\Newtonsoft.Json.dll
0f 0000008d`71b7d520 00007ffb`2e6ebf20 System_Linq_Expressions+0xa9ebb
10 0000008d`71b7d550 00007ffb`2e6f6dc9 Newtonsoft_Json+0xabf20
11 0000008d`71b7d5c0 00007ffb`2e6f6ee5 Newtonsoft_Json+0xb6dc9
12 0000008d`71b7d600 00007ffb`2e6f77b5 Newtonsoft_Json+0xb6ee5
13 0000008d`71b7d640 00007ffb`2e6f7ec3 Newtonsoft_Json+0xb77b5
14 0000008d`71b7d6a0 00007ffb`2e6f59b1 Newtonsoft_Json+0xb7ec3
15 0000008d`71b7d6f0 00007ffb`2e70575f Newtonsoft_Json+0xb59b1
16 0000008d`71b7d780 00007ffb`2e6d26b6 Newtonsoft_Json+0xc575f
17 0000008d`71b7d7f0 00007ffb`2e71db9a Newtonsoft_Json+0x926b6
18 0000008d`71b7d8a0 00007ffb`2e717ef0 Newtonsoft_Json+0xddb9a
19 0000008d`71b7d900 00007ffb`2e717eca Newtonsoft_Json+0xd7ef0
*** ERROR: Module load completed but symbols could not be loaded for C:\Program Files\dotnet\sdk\1.0.0-preview2-003121\dotnet.dll
1a 0000008d`71b7d950 00007ffb`338f8a25 Newtonsoft_Json+0xd7eca
1b 0000008d`71b7d980 00007ffb`338f97b5 dotnet_7ffb33870000+0x88a25
1c 0000008d`71b7d9e0 00007ffb`338f8672 dotnet_7ffb33870000+0x897b5
1d 0000008d`71b7da30 00007ffb`338fb10c dotnet_7ffb33870000+0x88672
1e 0000008d`71b7da70 00007ffb`338fadd2 dotnet_7ffb33870000+0x8b10c
1f 0000008d`71b7dae0 00007ffb`338f84d9 dotnet_7ffb33870000+0x8add2
20 0000008d`71b7db60 00007ffb`3390ef8a dotnet_7ffb33870000+0x884d9
Unable to read dynamic function table entries
Unable to read dynamic function table entries
21 0000008d`71b7dba0 00007ffa`c4b8d93f dotnet_7ffb33870000+0x9ef8a
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries
22 0000008d`71b7dbf0 00007ffa`c4b8d7fa 0x00007ffa`c4b8d93f
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries
23 0000008d`71b7dc60 00007ffb`338fa540 0x00007ffa`c4b8d7fa
Unable to read dynamic function table entries
24 0000008d`71b7dca0 00007ffb`33910585 dotnet_7ffb33870000+0x8a540
25 0000008d`71b7dd30 00007ffb`33909c41 dotnet_7ffb33870000+0xa0585
26 0000008d`71b7dd70 00007ffb`338fbdee dotnet_7ffb33870000+0x99c41
27 0000008d`71b7de20 00007ffb`338fa34f dotnet_7ffb33870000+0x8bdee
28 0000008d`71b7de70 00007ffb`338f1d04 dotnet_7ffb33870000+0x8a34f
29 0000008d`71b7ded0 00007ffb`338f189f dotnet_7ffb33870000+0x81d04
2a 0000008d`71b7df70 00007ffb`3390da4b dotnet_7ffb33870000+0x8189f
2b 0000008d`71b7dfa0 00007ffb`33909c41 dotnet_7ffb33870000+0x9da4b
2c 0000008d`71b7dfe0 00007ffb`338f17ad dotnet_7ffb33870000+0x99c41
2d 0000008d`71b7e090 00007ffb`33907d89 dotnet_7ffb33870000+0x817ad
2e 0000008d`71b7e110 00007ffb`3390788a dotnet_7ffb33870000+0x97d89
2f 0000008d`71b7e1c0 00007ffb`24537463 dotnet_7ffb33870000+0x9788a
30 0000008d`71b7e220 00007ffb`242953e3 coreclr!CallDescrWorkerInternal+0x83
31 0000008d`71b7e260 00007ffb`2426731e coreclr!MethodDescCallSite::CallTargetWorker+0x21b
32 0000008d`71b7e370 00007ffb`242675ae coreclr!RunMain+0x226
33 0000008d`71b7e5e0 00007ffb`24217582 coreclr!Assembly::ExecuteMainMethod+0xda
34 0000008d`71b7e8b0 00007ffb`24203255 coreclr!CorHost2::ExecuteAssembly+0x1f2
35 0000008d`71b7e9b0 00007ffb`3409f2c4 coreclr!coreclr_execute_assembly+0x135
36 0000008d`71b7ea40 00007ffb`3409f8c2 hostpolicy!run+0xc44
37 0000008d`71b7f0d0 00007ffb`4733941e hostpolicy!corehost_main+0x222
38 0000008d`71b7f230 00007ffb`4733d63f hostfxr!execute_app+0xae
39 0000008d`71b7f290 00007ffb`4733cd6c hostfxr!fx_muxer_t::read_config_and_execute+0x74f
3a 0000008d`71b7f800 00007ffb`4733baa8 hostfxr!fx_muxer_t::parse_args_and_execute+0x70c
*** WARNING: Unable to verify checksum for dotnet.exe
3b 0000008d`71b7f980 00007ff6`c1eb93f6 hostfxr!fx_muxer_t::execute+0x3d8
3c 0000008d`71b7faf0 00007ff6`c1ebc9cc dotnet!run+0xe6
3d 0000008d`71b7fbb0 00007ffb`6cef8102 dotnet!operator new[]+0x20c
3e 0000008d`71b7fbf0 00007ffb`6d08c5b4 KERNEL32!BaseThreadInitThunk+0x22
3f 0000008d`71b7fc20 00000000`00000000 ntdll!RtlUserThreadStart+0x34
0:000> .load C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\sos.dll
0:000> !clrstack
OS Thread Id: 0x15d0 (0)
        Child SP               IP Call Site
0000008d71b7c7e0 00007ffb2424c6c9 [GCFrame: 0000008d71b7c7e0] 
0000008d71b7d018 00007ffb2424c6c9 [HelperMethodFrame_PROTECTOBJ: 0000008d71b7d018] System.Reflection.Emit.AssemblyBuilder.nCreateDynamicAssembly(System.AppDomain, System.Reflection.AssemblyName, System.Security.Policy.Evidence, System.Threading.StackCrawlMark ByRef, System.Security.PermissionSet, System.Security.PermissionSet, System.Security.PermissionSet, Byte[], Byte[], System.Reflection.Emit.AssemblyBuilderAccess, System.Reflection.Emit.DynamicAssemblyFlags, System.Security.SecurityContextSource)
0000008d71b7d130 00007ffb2141b06a System.Reflection.Emit.AssemblyBuilder..ctor(System.AppDomain, System.Reflection.AssemblyName, System.Reflection.Emit.AssemblyBuilderAccess, System.String, System.Security.Policy.Evidence, System.Security.PermissionSet, System.Security.PermissionSet, System.Security.PermissionSet, System.Threading.StackCrawlMark ByRef, System.Collections.Generic.IEnumerable`1, System.Security.SecurityContextSource)
0000008d71b7d210 00007ffb2141b583 System.Reflection.Emit.AssemblyBuilder.InternalDefineDynamicAssembly(System.Reflection.AssemblyName, System.Reflection.Emit.AssemblyBuilderAccess, System.String, System.Security.Policy.Evidence, System.Security.PermissionSet, System.Security.PermissionSet, System.Security.PermissionSet, System.Threading.StackCrawlMark ByRef, System.Collections.Generic.IEnumerable`1, System.Security.SecurityContextSource)
0000008d71b7d2d0 00007ffb21432c2b System.Reflection.Emit.DynamicMethod.GetDynamicMethodsModule()
0000008d71b7d380 00007ffb21432f08 System.Reflection.Emit.DynamicMethod.Init(System.String, System.Reflection.MethodAttributes, System.Reflection.CallingConventions, System.Type, System.Type[], System.Type, System.Reflection.Module, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
0000008d71b7d400 00007ffb21432764 System.Reflection.Emit.DynamicMethod..ctor(System.String, System.Type, System.Type[], Boolean)
0000008d71b7d470 00007ffb26a275e7 System.Linq.Expressions.Compiler.LambdaCompiler..ctor(System.Linq.Expressions.Compiler.AnalyzedTree, System.Linq.Expressions.LambdaExpression)
0000008d71b7d4d0 00007ffb26a27b93 System.Linq.Expressions.Compiler.LambdaCompiler.Compile(System.Linq.Expressions.LambdaExpression)
0000008d71b7d520 00007ffb269f9ebb System.Linq.Expressions.LambdaExpression.Compile()
0000008d71b7d550 00007ffb2e6ebf20 Newtonsoft.Json.Utilities.ExpressionReflectionDelegateFactory.CreateDefaultConstructor[[System.__Canon, System.Private.CoreLib]](System.Type)
0000008d71b7d5c0 00007ffb2e6f6dc9 Newtonsoft.Json.Serialization.DefaultContractResolver.GetDefaultCreator(System.Type)
0000008d71b7d600 00007ffb2e6f6ee5 Newtonsoft.Json.Serialization.DefaultContractResolver.InitializeContract(Newtonsoft.Json.Serialization.JsonContract)
0000008d71b7d640 00007ffb2e6f77b5 Newtonsoft.Json.Serialization.DefaultContractResolver.CreateDictionaryContract(System.Type)
0000008d71b7d6a0 00007ffb2e6f7ec3 Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract(System.Type)
0000008d71b7d6f0 00007ffb2e6f59b1 Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract(System.Type)
0000008d71b7d780 00007ffb2e70575f Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(Newtonsoft.Json.JsonWriter, System.Object, System.Type)
0000008d71b7d7f0 00007ffb2e6d26b6 Newtonsoft.Json.JsonSerializer.SerializeInternal(Newtonsoft.Json.JsonWriter, System.Object, System.Type)
0000008d71b7d8a0 00007ffb2e71db9a Newtonsoft.Json.Linq.JToken.FromObjectInternal(System.Object, Newtonsoft.Json.JsonSerializer)
0000008d71b7d900 00007ffb2e717ef0 Newtonsoft.Json.Linq.JObject.FromObject(System.Object, Newtonsoft.Json.JsonSerializer)
0000008d71b7d950 00007ffb2e717eca Newtonsoft.Json.Linq.JObject.FromObject(System.Object)
0000008d71b7d980 00007ffb338f8a25 Microsoft.DotNet.Tools.Build.IncrementalCache.WriteToFile(System.String)
0000008d71b7d9e0 00007ffb338f97b5 Microsoft.DotNet.Tools.Build.IncrementalManager.CacheIncrementalState(Microsoft.DotNet.Tools.Build.ProjectGraphNode)
0000008d71b7da30 00007ffb338f8672 Microsoft.DotNet.Tools.Build.DotNetProjectBuilder.ProjectSkiped(Microsoft.DotNet.Tools.Build.ProjectGraphNode)
0000008d71b7da70 00007ffb338fb10c Microsoft.DotNet.Tools.Build.ProjectBuilder.CompileWithDependencies(Microsoft.DotNet.Tools.Build.ProjectGraphNode)
0000008d71b7dae0 00007ffb338fadd2 Microsoft.DotNet.Tools.Build.ProjectBuilder.Build(Microsoft.DotNet.Tools.Build.ProjectGraphNode)
0000008d71b7db60 00007ffb338f84d9 Microsoft.DotNet.Tools.Build.DotNetProjectBuilder.Build(Microsoft.DotNet.Tools.Build.ProjectGraphNode)
0000008d71b7dba0 00007ffb3390ef8a Microsoft.DotNet.Tools.Build.ProjectBuilder+d__3.MoveNext()
0000008d71b7dbf0 00007ffac4b8d93f System.Collections.Generic.EnumerableHelpers.ToArray[[Microsoft.DotNet.Tools.Build.CompilationResult, dotnet]](System.Collections.Generic.IEnumerable`1, Int32 ByRef)
0000008d71b7dc60 00007ffac4b8d7fa System.Linq.Enumerable.ToArray[[Microsoft.DotNet.Tools.Build.CompilationResult, dotnet]](System.Collections.Generic.IEnumerable`1)
0000008d71b7dca0 00007ffb338fa540 Microsoft.DotNet.Tools.Build.BuildCommand.OnExecute(System.Collections.Generic.IEnumerable`1, System.Collections.Generic.IEnumerable`1, Microsoft.DotNet.Tools.Compiler.BuildCommandApp)
0000008d71b7dd30 00007ffb33910585 Microsoft.DotNet.Tools.Compiler.BuildCommandApp+c__DisplayClass57_0.b__0()
0000008d71b7dd70 00007ffb33909c41 Microsoft.DotNet.Cli.CommandLine.CommandLineApplication.Execute(System.String[])
0000008d71b7de20 00007ffb338fbdee Microsoft.DotNet.Tools.Compiler.BuildCommandApp.Execute(Microsoft.DotNet.Tools.Compiler.OnExecute, System.String[])
0000008d71b7de70 00007ffb338fa34f Microsoft.DotNet.Tools.Build.BuildCommand.Run(System.String[], Microsoft.DotNet.ProjectModel.BuildWorkspace)
0000008d71b7ded0 00007ffb338f1d04 Microsoft.DotNet.Tools.Run.RunCommand.RunExecutable()
0000008d71b7df70 00007ffb338f189f Microsoft.DotNet.Tools.Run.RunCommand.Start()
0000008d71b7dfa0 00007ffb3390da4b Microsoft.DotNet.Tools.Run.RunCommand+c__DisplayClass0_0.b__0()
0000008d71b7dfe0 00007ffb33909c41 Microsoft.DotNet.Cli.CommandLine.CommandLineApplication.Execute(System.String[])
0000008d71b7e090 00007ffb338f17ad Microsoft.DotNet.Tools.Run.RunCommand.Run(System.String[])
0000008d71b7e110 00007ffb33907d89 Microsoft.DotNet.Cli.Program.ProcessArgs(System.String[], Microsoft.DotNet.Cli.ITelemetry)
0000008d71b7e1c0 00007ffb3390788a Microsoft.DotNet.Cli.Program.Main(System.String[])
0000008d71b7e428 00007ffb24537463 [GCFrame: 0000008d71b7e428] 
0000008d71b7e960 00007ffb24537463 [GCFrame: 0000008d71b7e960] 
@jkotas

This comment has been minimized.

Copy link
Member

commented Jul 23, 2016

Introduced by #4387. Looks like pLoadedLayout can be null for refemit modules.

@jkotas jkotas added this to the 1.1.0 milestone Jul 23, 2016

@davidfowl

This comment has been minimized.

Copy link
Contributor

commented Jul 28, 2016

We can't use dotTrace to profile anymore.. Could this be a 1.0.x thing?

@mjsabby

This comment has been minimized.

Copy link
Member

commented Jul 28, 2016

@davidfowl you should* be able to.

I've not used dotTrace myself, but if you can find the profiler guid it uses and that path to its profiler dll you can set it up.

Or if dotTrace sets up the environment variables, then you just need to copy over the environment variables to what CoreCLR wants. Maybe try these below?

SET CORECLR_PROFILER=%COR_PROFILER%
SET CORECLR_ENABLE_PROFILING=%COR_ENABLE_PROFILING%
SET CORECLR_PROFILER_PATH=%COR_PROFILER_PATH%

cc @noahfalk @kspawa

@gkhanna79

This comment has been minimized.

Copy link
Member

commented Oct 26, 2016

@brianrob Are you getting this in for 1.1.0?

@brianrob

This comment has been minimized.

Copy link
Member

commented Oct 26, 2016

@gkhanna79, no, this one won't make it. I will move it to the next release.

@brianrob brianrob modified the milestones: 1.2.0, 1.1.0 Oct 26, 2016

@redknightlois

This comment has been minimized.

Copy link

commented Feb 8, 2017

Bump! Will this be solved by 1.2? Not being able to do dotTrace timeline profiling makes highly threaded applications like RavenDB Data Storage Engine very difficult to analyze for extra performance improvements.

@stephentoub

This comment has been minimized.

Copy link
Member

commented Feb 8, 2017

I've been hitting this as well. ☹️

@jkotas jkotas added the bug label Feb 8, 2017

@brianrob

This comment has been minimized.

Copy link
Member

commented Feb 8, 2017

Apologies for the delay on this one. I am testing a fix now.

@redknightlois

This comment has been minimized.

Copy link

commented Feb 8, 2017

Any chance this fix gets included in a service release for 1.1? 2.0 is still a few months away.

@jkotas jkotas closed this in #9418 Feb 8, 2017

jkotas added a commit that referenced this issue Feb 8, 2017

Filter RefEmit modules in SendEventsForNgenMethods (#9418)
* Filter RefEmit modules in SendEventsForNgenMethods

Fixes #6427

@jkotas jkotas reopened this Feb 8, 2017

@jkotas

This comment has been minimized.

Copy link
Member

commented Feb 8, 2017

I will check about 1.1

jkotas added a commit to jkotas/coreclr that referenced this issue Feb 8, 2017

Filter RefEmit modules in SendEventsForNgenMethods (dotnet#9418)
* Filter RefEmit modules in SendEventsForNgenMethods

Fixes dotnet#6427
@jkotas

This comment has been minimized.

Copy link
Member

commented Feb 8, 2017

Approved for 1.1

jkotas added a commit that referenced this issue Feb 9, 2017

Filter RefEmit modules in SendEventsForNgenMethods (#9418) (#9421)
* Filter RefEmit modules in SendEventsForNgenMethods

Fixes #6427
@ww898

This comment has been minimized.

Copy link
Contributor Author

commented Mar 22, 2017

Tested: v1.1.1 works

@ww898

This comment has been minimized.

Copy link
Contributor Author

commented Mar 23, 2017

However, UWP application crashed on ETW:

ModLoad: 72810000 7285e000   C:\WINDOWS\SysWOW64\mswsock.dll
ModLoad: 6c9f0000 6c9f8000   C:\WINDOWS\SysWOW64\wshqos.dll
ModLoad: 6c9e0000 6c9e7000   C:\WINDOWS\SysWOW64\wshtcpip.DLL
ModLoad: 6c9d0000 6c9d7000   C:\WINDOWS\SysWOW64\wship6.dll
ModLoad: 71ae0000 71b55000   C:\WINDOWS\SysWOW64\uxtheme.dll
The profiler was loaded successfully.  Profiler CLSID: '{0832c6f4-c669-4b6a-9474-8499dda1b3f9}'.  Process ID (decimal): 2856.  Message ID: [0x2507].ModLoad: 07ca0000 08500000   C:\Program Files\WindowsApps\Microsoft.NET.CoreRuntime.1.1_1.1.24920.0_x86__8wekyb3d8bbwe\System.Private.CoreLib.ni.dll
ModLoad: 72600000 7262f000   C:\WINDOWS\SysWOW64\rsaenh.dll
ModLoad: 01cf0000 01cfa000   C:\Users\konstantin.katsnelso\Documents\Visual Studio 2017\Projects\UWPApp2\UWPApp2\bin\x86\Debug\AppX\entrypoint\UWPApp2.exe
ModLoad: 05980000 0598c000   C:\Users\konstantin.katsnelso\Documents\Visual Studio 2017\Projects\UWPApp2\UWPApp2\bin\x86\Debug\AppX\System.Runtime.dll
ModLoad: 6b990000 6b99c000   C:\Program Files\WindowsApps\Microsoft.NET.CoreRuntime.1.1_1.1.24920.0_x86__8wekyb3d8bbwe\mscorlib.ni.dll
(b28.28ac): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00000001 ebx=00000000 ecx=013643d4 edx=00000101 esi=00000000 edi=00000000
eip=5eb57d67 esp=010fe56c ebp=010fe5ac iopl=0         nv up ei pl zr ac pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010256
CoreCLR!ETW::MethodLog::SendEventsForNgenMethods+0x49:
5eb57d67 3b7b2c          cmp     edi,dword ptr [ebx+2Ch] ds:002b:0000002c=????????
0:000> kM
 # ChildEBP RetAddr  
00 010fe5ac 5eb58673 CoreCLR!ETW::MethodLog::SendEventsForNgenMethods+0x49
01 010fe604 5eb587ca CoreCLR!ETW::EnumerationLog::IterateModule+0x53
02 010fe650 5eb55b86 CoreCLR!ETW::EnumerationLog::EnumerationHelper+0x4f
03 010fe6c4 5eb8dfec CoreCLR!ETW::LoaderLog::ModuleLoad+0x1a0
04 010fe6d0 5ec15a85 CoreCLR!Module::NotifyEtwLoadFinished+0x4d
05 010fe714 5ec13d63 CoreCLR!DomainAssembly::DeliverSyncEvents+0x39
06 010fe728 5eb366f3 CoreCLR!DomainFile::DoIncrementalLoad+0x77
07 010fe7a0 5eb365cc CoreCLR!AppDomain::TryIncrementalLoad+0x5f
08 010fe7fc 5eb3631f CoreCLR!AppDomain::LoadDomainFile+0x1ae
09 010fe854 5eb35fae CoreCLR!AppDomain::LoadDomainAssemblyInternal+0x12f
0a 010feaf4 5eb928c3 CoreCLR!AppDomain::LoadDomainAssembly+0x9b
0b 010febc0 5eb6a8f5 CoreCLR!Module::LoadAssembly+0x160
0c 010febf0 5ebfa4e3 CoreCLR!Assembly::FindModuleByExportedType+0x15a
0d 010fec08 5eb73315 CoreCLR!EEClassHashTable::UncompressModuleAndClassDef+0x33
0e 010fec90 5eb73698 CoreCLR!ClassLoader::FindClassModuleThrowing+0x260
0f 010fed08 5eb72290 CoreCLR!ClassLoader::LoadTypeHandleThrowing+0x78
10 010fed30 5eb742f3 CoreCLR!ClassLoader::LoadTypeHandleThrowIfFailed+0x1f
11 010feda0 5eb747e6 CoreCLR!ClassLoader::LoadTypeDefOrRefThrowing+0x1d6
12 010fedf0 5eb74869 CoreCLR!ClassLoader::LoadApproxTypeThrowing+0x1b4
13 010fee24 5ec45e50 CoreCLR!ClassLoader::LoadApproxParentThrowing+0x57
14 010fefc4 5eb74a82 CoreCLR!ClassLoader::CreateTypeHandleForTypeDefThrowing+0x173
15 010ff020 5eb749c5 CoreCLR!ClassLoader::CreateTypeHandleForTypeKey+0x43
16 010ff15c 5eb756e5 CoreCLR!ClassLoader::DoIncrementalLoad+0xf9
17 010ff27c 5eb7511f CoreCLR!ClassLoader::LoadTypeHandleForTypeKey_Body+0x52d
18 010ff2c0 5eb740cd CoreCLR!ClassLoader::LoadTypeHandleForTypeKey+0x78
19 010ff360 5eb74326 CoreCLR!ClassLoader::LoadTypeDefThrowing+0x2a2
1a 010ff3d8 5eb6b56a CoreCLR!ClassLoader::LoadTypeDefOrRefThrowing+0x209
1b 010ff864 5eb6b291 CoreCLR!Assembly::GetEntryPoint+0x204
1c 010ffab8 5eb1159c CoreCLR!Assembly::ExecuteMainMethod+0x83
1d 010ffb1c 6ba51dfc CoreCLR!CorHost2::ExecuteAssembly+0x124
1e 010ffb4c 00d81482 UWPHOST!ExecuteAssembly+0x3f
1f 010ffd84 00d81647 UWPApp2!wmain+0xc2
20 010ffdcc 751662c4 UWPApp2!__scrt_common_main_seh+0xf9
21 010ffde0 77a90fd9 KERNEL32!BaseThreadInitThunk+0x24
22 010ffe28 77a90fa4 ntdll!__RtlUserThreadStart+0x2f
23 010ffe38 00000000 ntdll!_RtlUserThreadStart+0x1b


5eb57d48 8d4804          lea     ecx,[eax+4]
5eb57d4b e893150000      call    CoreCLR!PEDecoder::HasReadyToRunHeader (5eb592e3)
5eb57d50 85c0            test    eax,eax
5eb57d52 0f84b7000000    je      CoreCLR!ETW::MethodLog::SendEventsForNgenMethods+0xf1 (5eb57e0f)
5eb57d58 8b9fbc020000    mov     ebx,dword ptr [edi+2BCh]
5eb57d5e 83cfff          or      edi,0FFFFFFFFh
5eb57d61 895df4          mov     dword ptr [ebp-0Ch],ebx
5eb57d64 33f6            xor     esi,esi
5eb57d66 47              inc     edi
5eb57d67 3b7b2c          cmp     edi,dword ptr [ebx+2Ch] ds:002b:0000002c=????????
5eb57d6a 0f8d27010000    jge     CoreCLR!ETW::MethodLog::SendEventsForNgenMethods+0x179 (5eb57e97)
5eb57d70 8d4dec          lea     ecx,[ebp-14h]
5eb57d73 51              push    ecx
5eb57d74 8d4324          lea     eax,[ebx+24h]
5eb57d77 57              push    edi
5eb57d78 8bc8            mov     ecx,eax
5eb57d7a e8590a0d00      call    CoreCLR!NativeFormat::NativeArray::TryGetAt (5ec287d8)
5eb57d7f 84c0            test    al,al
5eb57d81 74e3            je      CoreCLR!ETW::MethodLog::SendEventsForNgenMethods+0x48 (5eb57d66)
5eb57d83 8d45fc          lea     eax,[ebp-4]
5eb57d86 50              push    eax
5eb57d87 57              push    edi
5eb57d88 8d4b24          lea     ecx,[ebx+24h]
5eb57d8b e8480a0d00      call    CoreCLR!NativeFormat::NativeArray::TryGetAt (5ec287d8)
5eb57d90 84c0            test    al,al
@jkotas

This comment has been minimized.

Copy link
Member

commented Mar 23, 2017

The CoreCLR for UWP is update on a different schedule.

@danmosemsft danmosemsft modified the milestone: 2.0.0 Apr 26, 2017

@brianrob

This comment has been minimized.

Copy link
Member

commented Apr 26, 2017

This has been fixed in master and release/1.1.0, so closing.

@brianrob brianrob closed this Apr 26, 2017

jorive added a commit to guhuro/coreclr that referenced this issue May 4, 2017

Filter RefEmit modules in SendEventsForNgenMethods (dotnet#9418)
* Filter RefEmit modules in SendEventsForNgenMethods

Fixes dotnet#6427
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.