Bug 39806 - Mono nighlty Crash since 4.3.3.509
Summary: Mono nighlty Crash since 4.3.3.509
Status: RESOLVED NORESPONSE
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: 4.2.0 (C6)
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: julien
URL:
Depends on:
Blocks:
 
Reported: 2016-03-21 13:34 UTC by julien
Modified: 2017-09-26 15:00 UTC (History)
5 users (show)

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description julien 2016-03-21 13:34:44 UTC
Hi 

On apache my app crash since 4.3.3.509 on previous no problem 4.3.3.148

this is the stask trace

icall.c:5484: Could not load file or assembly or one of its dependencies. assembly:Microsoft.Practices.ServiceLocation, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 type:<unknown type> member:<none>

Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (System.Reflection.Assembly,bool) <IL 0x00014, 0x00060>
  at System.Reflection.Assembly.GetTypes () [0x00000] in /builddir/build/BUILD/mono-4.5.0/mcs/class/corlib/System.Reflection/ExceptionHandlingClause.cs:82
  at System.Web.Mvc.TypeCacheUtil.FilterTypesInAssemblies (System.Web.Mvc.IBuildManager,System.Predicate`1<System.Type>) <IL 0x00034, 0x00145>
  at System.Web.Mvc.TypeCacheUtil.GetFilteredTypesFromAssemblies (string,System.Predicate`1<System.Type>,System.Web.Mvc.IBuildManager) <IL 0x00017, 0x00087>
  at System.Web.Mvc.AreaRegistration.RegisterAllAreas (System.Web.Routing.RouteCollection,System.Web.Mvc.IBuildManager,object) <IL 0x00012, 0x0009b>
  at System.Web.Mvc.AreaRegistration.RegisterAllAreas (object) <IL 0x0000b, 0x00043>
  at System.Web.Mvc.AreaRegistration.RegisterAllAreas () <IL 0x00000, 0x0000b>
  at Coriolis.Ui.Coripes.MvcCoriolis.Application_Start () <IL 0x00049, 0x0011b>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004f, 0x000c8>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <IL 0x00016, 0x0006c>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x0003c] in /builddir/build/BUILD/mono-4.5.0/mcs/class/corlib/System.Reflection/StrongNameKeyPair.cs:171
  at System.Reflection.MethodBase.Invoke (object,object[]) [0x00000] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/reflection/methodinfo.cs:129
  at System.Web.HttpApplicationFactory.FireEvent (string,object,object[]) [0x00038] in /builddir/build/BUILD/mono-4.5.0/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs:181
  at System.Web.HttpApplicationFactory.FireOnAppStart (System.Web.HttpContext) [0x0003a] in /builddir/build/BUILD/mono-4.5.0/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs:193
  at System.Web.HttpApplicationFactory.GetApplication (System.Web.HttpContext) [0x000ce] in /builddir/build/BUILD/mono-4.5.0/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs:485
  at System.Web.HttpRuntime.Process (System.Web.HttpWorkerRequest) [0x0005e] in /builddir/build/BUILD/mono-4.5.0/mcs/class/System.Web/System.Web/HttpRuntime.cs:452
  at System.Web.HttpRuntime.RealProcessRequest (object) [0x00028] in /builddir/build/BUILD/mono-4.5.0/mcs/class/System.Web/System.Web/HttpRuntime.cs:425
  at System.Web.HttpRuntime.ProcessRequest (System.Web.HttpWorkerRequest) [0x0002b] in /builddir/build/BUILD/mono-4.5.0/mcs/class/System.Web/System.Web/HttpRuntime.cs:504
  at Mono.WebServer.MonoWorkerRequest.ProcessRequest () [0x00012] in /builddir/build/BUILD/xsp-4.2/src/Mono.WebServer/MonoWorkerRequest.cs:390
  at Mono.WebServer.BaseApplicationHost.ProcessRequest (Mono.WebServer.MonoWorkerRequest) [0x00038] in /builddir/build/BUILD/xsp-4.2/src/Mono.WebServer/BaseApplicationHost.cs:108
  at Mono.WebServer.ModMonoApplicationHost.ProcessRequest (int,string,string,string,string,string,int,string,int,string,string[],string[],object) [0x00177] in /builddir/build/BUILD/xsp-4.2/src/Mono.WebServer.Apache/ModMonoApplicationHost.cs:109
  at (wrapper remoting-invoke-with-check) Mono.WebServer.ModMonoApplicationHost.ProcessRequest (int,string,string,string,string,string,int,string,int,string,string[],string[],object) <IL 0x00049, 0x001fb>
  at Mono.WebServer.Apache.ModMonoWorker.InnerRun () [0x002a2] in /builddir/build/BUILD/xsp-4.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:244
  at Mono.WebServer.Apache.ModMonoWorker.Run (object) [0x00003] in /builddir/build/BUILD/xsp-4.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:90
  at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (object) [0x00000] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/timespan.cs:351
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <IL 0x0008f, 0x0022e>
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <IL 0x00004, 0x00028>
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00029] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/timespan.cs:343
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/timespan.cs:221
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/timespan.cs:321
  at (wrapper runtime-invoke) <Module>.runtime_invoke_bool (object,intptr,intptr,intptr) <IL 0x0001f, 0x0005a>

Native stacktrace:

        /usr/bin/mono() [0x4b0642]
        /lib64/libpthread.so.0(+0xf100) [0x7f788a668100]
        /lib64/libc.so.6(gsignal+0x37) [0x7f788a0b75f7]
        /lib64/libc.so.6(abort+0x148) [0x7f788a0b8ce8]
        /usr/bin/mono() [0x656de9]
        /usr/bin/mono() [0x65705c]
        /usr/bin/mono() [0x65712f]
        /usr/bin/mono() [0x648c36]
        /usr/bin/mono() [0x546502]
        /usr/bin/mono() [0x54d993]
        [0x40d78301]

Debug info from gdb:


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

[Mon Mar 21 14:19:40.003271 2016] [:error] [pid 55530] (70014)End of file found: read_data failed
[Mon Mar 21 14:19:40.003314 2016] [:error] [pid 55530] Command stream corrupted, last command was 1





or other 



icall.c:5484: Could not load file or assembly or one of its dependencies. assembly:AutoMapper, Version=3.3.1.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005 type:<unknown type> member:<none>

Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (System.Reflection.Assembly,bool) <IL 0x00014, 0x00060>
  at System.Reflection.Assembly.GetTypes () [0x00000] in /builddir/build/BUILD/mono-4.5.0/mcs/class/corlib/System.Reflection/ExceptionHandlingClause.cs:82
  at System.Web.Http.Dispatcher.DefaultHttpControllerTypeResolver.GetTypes (System.Reflection.Assembly) <IL 0x00001, 0x00013>
  at System.Web.Http.Tracing.Tracers.DefaultHttpControllerTypeResolverTracer.GetTypesAndTrace (System.Reflection.Assembly) <IL 0x00000, 0x0002b>
  at System.Web.Http.Dispatcher.DefaultHttpControllerTypeResolver.GetControllerTypes (System.Web.Http.Dispatcher.IAssembliesResolver) <IL 0x0004a, 0x00177>
  at System.Web.Http.WebHost.WebHostHttpControllerTypeResolver.GetControllerTypes (System.Web.Http.Dispatcher.IAssembliesResolver) <IL 0x0001f, 0x0008f>
  at System.Web.Http.Tracing.Tracers.DefaultHttpControllerTypeResolverTracer/<>c__DisplayClass3.<GetControllerTypes>b__2 () <IL 0x00012, 0x0001f>
  at System.Web.Http.Tracing.ITraceWriterExtensions.TraceBeginEnd (System.Web.Http.Tracing.ITraceWriter,System.Net.Http.HttpRequestMessage,string,System.Web.Http.Tracing.TraceLevel,string,string,System.Action`1<System.Web.Http.Tracing.TraceRecord>,System.Action,System.Action`1<System.Web.Http.Tracing.TraceRecord>,System.Action`1<System.Web.Http.Tracing.TraceRecord>) <IL 0x0005c, 0x00256>
  at System.Web.Http.Tracing.Tracers.DefaultHttpControllerTypeResolverTracer.GetControllerTypes (System.Web.Http.Dispatcher.IAssembliesResolver) <IL 0x00042, 0x001b7>
  at System.Web.Http.Dispatcher.HttpControllerTypeCache.InitializeCache () <IL 0x00024, 0x00053>
  at System.Lazy`1<T_REF>.CreateValue () [0x00075] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/Lazy.cs:437
  at System.Lazy`1<T_REF>.LazyInitValue () [0x0009a] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/Lazy.cs:388
  at System.Lazy`1<T_REF>.get_Value () [0x00042] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/Lazy.cs:339
  at System.Web.Http.Dispatcher.HttpControllerTypeCache.get_Cache () <IL 0x00006, 0x00021>
  at System.Web.Http.Dispatcher.DefaultHttpControllerSelector.InitializeControllerInfoCache () <IL 0x00012, 0x00117>
  at System.Lazy`1<T_REF>.CreateValue () [0x00075] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/Lazy.cs:437
  at System.Lazy`1<T_REF>.LazyInitValue () [0x0009a] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/Lazy.cs:388
  at System.Lazy`1<T_REF>.get_Value () [0x00042] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/Lazy.cs:339
  at System.Web.Http.Dispatcher.DefaultHttpControllerSelector.GetControllerMapping () <IL 0x00006, 0x00021>
  at System.Web.Http.Tracing.Tracers.HttpControllerSelectorTracer.System.Web.Http.Dispatcher.IHttpControllerSelector.GetControllerMapping () <IL 0x00006, 0x00021>
  at System.Web.Http.Routing.AttributeRoutingMapper.AddRouteEntries (System.Web.Http.Routing.SubRouteCollection,System.Web.Http.HttpConfiguration,System.Web.Http.Routing.IInlineConstraintResolver,System.Web.Http.Routing.IDirectRouteProvider) <IL 0x0000d, 0x00076>
  at System.Web.Http.Routing.AttributeRoutingMapper/<>c__DisplayClass2/<>c__DisplayClass4.<MapAttributeRoutes>b__1 () <IL 0x00032, 0x00093>
  at System.Web.Http.Routing.RouteCollectionRoute.EnsureInitialized (System.Func`1<System.Collections.Generic.IReadOnlyCollection`1<System.Web.Http.Routing.IHttpRoute>>) <IL 0x0001a, 0x00045>
  at System.Web.Http.Routing.AttributeRoutingMapper/<>c__DisplayClass2.<MapAttributeRoutes>b__0 (System.Web.Http.HttpConfiguration) <IL 0x00034, 0x0012b>
  at System.Web.Http.HttpConfiguration.EnsureInitialized () <IL 0x00017, 0x0002a>
  at System.Web.Http.GlobalConfiguration.Configure (System.Action`1<System.Web.Http.HttpConfiguration>) <IL 0x0001e, 0x00037>
  at Coriolis.Server.WebApiCoriolis.Application_Start () <IL 0x0005b, 0x00177>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004f, 0x000c8>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <IL 0x00016, 0x0006c>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x0003c] in /builddir/build/BUILD/mono-4.5.0/mcs/class/corlib/System.Reflection/StrongNameKeyPair.cs:171
  at System.Reflection.MethodBase.Invoke (object,object[]) [0x00000] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/reflection/methodinfo.cs:129
  at System.Web.HttpApplicationFactory.FireEvent (string,object,object[]) [0x00038] in /builddir/build/BUILD/mono-4.5.0/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs:181
  at System.Web.HttpApplicationFactory.FireOnAppStart (System.Web.HttpContext) [0x0003a] in /builddir/build/BUILD/mono-4.5.0/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs:193
  at System.Web.HttpApplicationFactory.GetApplication (System.Web.HttpContext) [0x000ce] in /builddir/build/BUILD/mono-4.5.0/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs:485
  at System.Web.HttpRuntime.Process (System.Web.HttpWorkerRequest) [0x0005e] in /builddir/build/BUILD/mono-4.5.0/mcs/class/System.Web/System.Web/HttpRuntime.cs:452
  at System.Web.HttpRuntime.RealProcessRequest (object) [0x00028] in /builddir/build/BUILD/mono-4.5.0/mcs/class/System.Web/System.Web/HttpRuntime.cs:425
  at System.Web.HttpRuntime.ProcessRequest (System.Web.HttpWorkerRequest) [0x0002b] in /builddir/build/BUILD/mono-4.5.0/mcs/class/System.Web/System.Web/HttpRuntime.cs:504
  at Mono.WebServer.MonoWorkerRequest.ProcessRequest () [0x00012] in /builddir/build/BUILD/xsp-4.2/src/Mono.WebServer/MonoWorkerRequest.cs:390
  at Mono.WebServer.BaseApplicationHost.ProcessRequest (Mono.WebServer.MonoWorkerRequest) [0x00038] in /builddir/build/BUILD/xsp-4.2/src/Mono.WebServer/BaseApplicationHost.cs:108
  at Mono.WebServer.ModMonoApplicationHost.ProcessRequest (int,string,string,string,string,string,int,string,int,string,string[],string[],object) [0x00177] in /builddir/build/BUILD/xsp-4.2/src/Mono.WebServer.Apache/ModMonoApplicationHost.cs:109
  at (wrapper remoting-invoke-with-check) Mono.WebServer.ModMonoApplicationHost.ProcessRequest (int,string,string,string,string,string,int,string,int,string,string[],string[],object) <IL 0x00049, 0x001fb>
  at Mono.WebServer.Apache.ModMonoWorker.InnerRun () [0x002a2] in /builddir/build/BUILD/xsp-4.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:244
  at Mono.WebServer.Apache.ModMonoWorker.Run (object) [0x00003] in /builddir/build/BUILD/xsp-4.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:90
  at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (object) [0x00000] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/timespan.cs:351
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <IL 0x0008f, 0x0022e>
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <IL 0x00004, 0x00028>
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00029] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/timespan.cs:343
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/timespan.cs:221
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in /builddir/build/BUILD/mono-4.5.0/external/referencesource/mscorlib/system/timespan.cs:321
  at (wrapper runtime-invoke) <Module>.runtime_invoke_bool (object,intptr,intptr,intptr) <IL 0x0001f, 0x0005a>

Native stacktrace:

        /usr/bin/mono() [0x4b0642]
        /lib64/libpthread.so.0(+0xf100) [0x7fc63e0df100]
        /lib64/libc.so.6(gsignal+0x37) [0x7fc63db2e5f7]
        /lib64/libc.so.6(abort+0x148) [0x7fc63db2fce8]
        /usr/bin/mono() [0x656de9]
        /usr/bin/mono() [0x65705c]
        /usr/bin/mono() [0x65712f]
        /usr/bin/mono() [0x648c36]
        /usr/bin/mono() [0x546502]
        /usr/bin/mono() [0x54d993]
        [0x4022c7b1]

Debug info from gdb:


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

[Mon Mar 21 14:31:27.541934 2016] [:error] [pid 55531] (70014)End of file found: read_data failed
[Mon Mar 21 14:31:27.541976 2016] [:error] [pid 55531] Command stream corrupted, last command was 1
Comment 1 Zoltan Varga 2016-03-23 20:38:56 UTC
I think this was fixed by mono eac8dbdb7702454a4a06c90524e35af832bde535.
Comment 2 julien 2016-03-24 14:35:22 UTC
maybe the same problem id: 39568
Comment 3 Alexander Köplinger [MSFT] 2016-04-04 16:29:08 UTC
@julien: can you please provide a sample app or code where you see this problem? Or try in latest nightly build? Thank you.
Comment 4 Ludovic Henry 2017-09-26 15:00:13 UTC
Please provide a reproduction case so we can have a look at it. Thank you