[Mono-bugs] [Bug 664093] New: Regression in git master causes ASP.NET MVC 2 App fail to load

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 12 17:09:05 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=664093

https://bugzilla.novell.com/show_bug.cgi?id=664093#c0


           Summary: Regression in git master causes ASP.NET MVC 2 App fail
                    to load
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: dredd422 at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.10
(KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10

Recently, my ASP.NET MVC 2 Application started to fail to load using git
master.  It used to work with git master, and it works if I revert to Mono
2.8.2

Works with this:
Mono JIT compiler version 2.8.2 (tarball Tue Jan  4 18:34:28 UTC 2011)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  x86
    Disabled:      none
    Misc:          debugger softdebug 
    LLVM:          yes(2.8svn-mono)
    GC:            Included Boehm (with typed GC and Parallel Mark)

Doesn't work with this:
Mono JIT compiler version 2.9 (master/1a16bb1 Wed Jan 12 13:59:06 PST 2011)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  x86
    Disabled:      none
    Misc:          softdebug 
    LLVM:          supported, not enabled.
    GC:            Included Boehm (with typed GC and Parallel Mark)


Reproducible: Always

Steps to Reproduce:
1. Attempt to start the attached sample web application within Monodevelop.
Actual Results:  
Server Error in '/' Application

Could not load type 'System.ServiceModel.Dispatcher.ChannelDispatcher' from
assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'.

Description: HTTP 500. Error processing request.

Stack Trace:

System.TypeLoadException: Could not load type
'System.ServiceModel.Dispatcher.ChannelDispatcher' from assembly
'System.ServiceModel, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'.
  at (wrapper managed-to-native) System.Type:type_is_assignable_from
(System.Type,System.Type)
  at System.Type.IsAssignableFrom (System.Type c) [0x00090] in
/home/djsell/play/mono/mono/mcs/class/corlib/System/Type.cs:885 
  at System.Web.Mvc.AreaRegistration.IsAreaRegistrationType (System.Type type)
[0x00000] in <filename unknown>:0 
  at
System.Web.Mvc.TypeCacheUtil+<>c__DisplayClass1.<FilterTypesInAssemblies>b__0
(System.Type type) [0x00000] in <filename unknown>:0 
  at
System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.Type].MoveNext
() [0x00059] in
/home/djsell/play/mono/mono/mcs/class/System.Core/System.Linq/Enumerable.cs:3014 
  at System.Collections.Generic.List`1[System.Type].AddEnumerable
(IEnumerable`1 enumerable) [0x0001a] in
/home/djsell/play/mono/mono/mcs/class/corlib/System.Collections.Generic/List.cs:126 
  at System.Collections.Generic.List`1[System.Type]..ctor (IEnumerable`1
collection) [0x0002f] in
/home/djsell/play/mono/mono/mcs/class/corlib/System.Collections.Generic/List.cs:63 
  at System.Linq.Enumerable.ToList[Type] (IEnumerable`1 source) [0x00006] in
/home/djsell/play/mono/mono/mcs/class/System.Core/System.Linq/Enumerable.cs:2851 
  at System.Web.Mvc.TypeCacheUtil.GetFilteredTypesFromAssemblies (System.String
cacheName, System.Predicate`1 predicate, IBuildManager buildManager) [0x00000]
in <filename unknown>:0 
  at System.Web.Mvc.AreaRegistration.RegisterAllAreas
(System.Web.Routing.RouteCollection routes, IBuildManager buildManager,
System.Object state) [0x00000] in <filename unknown>:0 
  at System.Web.Mvc.AreaRegistration.RegisterAllAreas (System.Object state)
[0x00000] in <filename unknown>:0 
  at System.Web.Mvc.AreaRegistration.RegisterAllAreas () [0x00000] in <filename
unknown>:0 
  at DefaultAspNetMvc2.MvcApplication.Application_Start () [0x00000] in
/home/djsell/Download/DefaultAspNetMvc2/DefaultAspNetMvc2/Global.asax.cs:29 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x000d0] in
/home/djsell/play/mono/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:226 
Version information: Mono Runtime Version: 2.9 (master/1a16bb1 Wed Jan 12
13:59:06 PST 2011); ASP.NET Version: 2.0.50727.1433

Expected Results:  
Webpage displays

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list