Bug 52240 - Invalid IL code in (wrapper dynamic-method) object:lambda_method
Summary: Invalid IL code in (wrapper dynamic-method) object:lambda_method
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: General (show other bugs)
Version: 4.4.2 (C7SR1)
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-02-02 02:46 UTC by Albert
Modified: 2017-02-02 02:46 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Albert 2017-02-02 02:46:53 UTC
I get this error after few seconds/minutes. 

mono 4.4.2 / EFcore 1.1

2017-02-02 08:07:48 [Error] Invalid IL code in (wrapper dynamic-method) object:lambda_method (System.Runtime.CompilerServices.Closure,Microsoft.EntityFrameworkCore.Storage.ValueBuffer): IL_0000: ldarga.s  1

 -   at (wrapper managed-to-native) System.Delegate:CreateDelegate_internal (System.Type,object,System.Reflection.MethodInfo,bool)
  at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, Boolean throwOnBindFailure, Boolean allowClosed) <0x400d7640 + 0x00773> in <filename unknown>:0
  at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method) <0x400d7600 + 0x00023> in <filename unknown>:0
  at System.Reflection.Emit.DynamicMethod.CreateDelegate (System.Type delegateType, System.Object target) <0x40073f10 + 0x00043> in <filename unknown>:0
  at (wrapper dynamic-method) System.Object:lambda_method (System.Runtime.CompilerServices.Closure,Microsoft.EntityFrameworkCore.Query.QueryContext)
  at Microsoft.EntityFrameworkCore.Query.QueryMethodProvider+<>c__DisplayClass30_0`1[T].<_Include>b__0 (System.Func`2 f) <0x40395d00 + 0x0001d> in <filename unknown>:0
  at System.Linq.Enumerable+WhereSelectArrayIterator`2[TSource,TResult].MoveNext () <0x40084b80 + 0x000ad> in <filename unknown>:0
  at System.Linq.Buffer`1[TElement]..ctor (IEnumerable`1 source) <0x4001ade0 + 0x001b6> in <filename unknown>:0
  at System.Linq.Enumerable.ToArray[TSource] (IEnumerable`1 source) <0x4001ad20 + 0x0004b> in <filename unknown>:0
  at Microsoft.EntityFrameworkCore.Query.QueryMethodProvider+<_Include>d__30`1[T].MoveNext () <0x40395720 + 0x0022f> in <filename unknown>:0
  at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider+<_TrackEntities>d__15`2[TOut,TIn].MoveNext () <0x40394200 + 0x005bc> in <filename unknown>:0
  at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider+ExceptionInterceptor`1+EnumeratorExceptionInterceptor[T].MoveNext () <0x40393d10 + 0x00060> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x4020f060 + 0x0002b> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x4020ec10 + 0x000cf> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x4020ea80 + 0x00097> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x402029e0 + 0x0003b> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x4020ea10 + 0x00017> in <filename unknown>:0
  at System.Web.Http.Controllers.ApiControllerActionInvoker+<InvokeActionAsyncCore>d__0.MoveNext () <0x40435580 + 0x0036f> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x4020f060 + 0x0002b> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x4020ec10 + 0x000cf> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x4020ea80 + 0x00097> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x402029e0 + 0x0003b> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x4020ea10 + 0x00017> in <filename unknown>:0
  at System.Web.Http.Controllers.ActionFilterResult+<ExecuteAsync>d__2.MoveNext () <0x40433a00 + 0x005ab> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x4020f060 + 0x0002b> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x4020ec10 + 0x000cf> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x4020ea80 + 0x00097> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x402029e0 + 0x0003b> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x4020ea10 + 0x00017> in <filename unknown>:0
  at System.Web.Http.Controllers.ExceptionFilterResult+<ExecuteAsync>d__0.MoveNext () <0x404324b0 + 0x002ab> in <filename unknown>:0
2017-02-02 08:07:48 [Error] Invalid IL code in (wrapper dynamic-method) object:lambda_method (System.Runtime.CompilerServices.Closure,Microsoft.EntityFrameworkCore.Storage.ValueBuffer): IL_0000: ldarga.s  1

 -   at (wrapper managed-to-native) System.Delegate:CreateDelegate_internal (System.Type,object,System.Reflection.MethodInfo,bool)
  at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, Boolean throwOnBindFailure, Boolean allowClosed) <0x400d7640 + 0x00773> in <filename unknown>:0
  at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method) <0x400d7600 + 0x00023> in <filename unknown>:0
  at System.Reflection.Emit.DynamicMethod.CreateDelegate (System.Type delegateType, System.Object target) <0x40073f10 + 0x00043> in <filename unknown>:0
  at (wrapper dynamic-method) System.Object:lambda_method (System.Runtime.CompilerServices.Closure,Microsoft.EntityFrameworkCore.Query.QueryContext)
  at Microsoft.EntityFrameworkCore.Query.QueryMethodProvider+<>c__DisplayClass30_0`1[T].<_Include>b__0 (System.Func`2 f) <0x40395d00 + 0x0001d> in <filename unknown>:0
  at System.Linq.Enumerable+WhereSelectArrayIterator`2[TSource,TResult].MoveNext () <0x40084b80 + 0x000ad> in <filename unknown>:0
  at System.Linq.Buffer`1[TElement]..ctor (IEnumerable`1 source) <0x4001ade0 + 0x001b6> in <filename unknown>:0
  at System.Linq.Enumerable.ToArray[TSource] (IEnumerable`1 source) <0x4001ad20 + 0x0004b> in <filename unknown>:0
  at Microsoft.EntityFrameworkCore.Query.QueryMethodProvider+<_Include>d__30`1[T].MoveNext () <0x40395720 + 0x0022f> in <filename unknown>:0
  at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider+<_TrackEntities>d__15`2[TOut,TIn].MoveNext () <0x40394200 + 0x005bc> in <filename unknown>:0
  at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider+ExceptionInterceptor`1+EnumeratorExceptionInterceptor[T].MoveNext () <0x40393d10 + 0x00060> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x4020f060 + 0x0002b> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x4020ec10 + 0x000cf> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x4020ea80 + 0x00097> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x402029e0 + 0x0003b> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x4020ea10 + 0x00017> in <filename unknown>:0
  at System.Web.Http.Controllers.ApiControllerActionInvoker+<InvokeActionAsyncCore>d__0.MoveNext () <0x40435580 + 0x0036f> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x4020f060 + 0x0002b> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x4020ec10 + 0x000cf> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x4020ea80 + 0x00097> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x402029e0 + 0x0003b> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x4020ea10 + 0x00017> in <filename unknown>:0
  at System.Web.Http.Controllers.ActionFilterResult+<ExecuteAsync>d__2.MoveNext () <0x40433a00 + 0x005ab> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x4020f060 + 0x0002b> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x4020ec10 + 0x000cf> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x4020ea80 + 0x00097> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x402029e0 + 0x0003b> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x4020ea10 + 0x00017> in <filename unknown>:0
  at System.Web.Http.Controllers.ExceptionFilterResult+<ExecuteAsync>d__0.MoveNext () <0x404324b0 + 0x002ab> in <filename unknown>:0
Stacktrace:


Native stacktrace:

        mono() [0x49ffe0]
        mono() [0x4f8e3a]
        mono() [0x415189]
        /lib64/libpthread.so.0(+0xf7e0) [0x7ffff753f7e0]
        mono() [0x435eeb]
        mono() [0x502216]
        mono() [0x5038c9]
        mono() [0x418856]
        mono() [0x418bab]
        mono() [0x53f258]
        [0x400d8494]

Debug info from gdb:


=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Aborted (core dumped)

Note You need to log in before you can comment on or make changes to this bug.