[Mono-bugs] [Bug 600214] New: Error running simple ASP.NET application with references (amd64 build)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 27 14:46:16 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=600214

http://bugzilla.novell.com/show_bug.cgi?id=600214#c0


           Summary: Error running simple ASP.NET application with
                    references (amd64 build)
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: curtis.wensley at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=357196)
 --> (http://bugzilla.novell.com/attachment.cgi?id=357196)
Sample xsp application to reproduce the issue

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us)
AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

When running a simple asp.net application on trunk using
--host=x86_64-apple-darwin10, xsp crashes.

Reproducible: Always

Steps to Reproduce:
1. Extract sample application
2. Run with trunk amd64 build of mono on OSX using xsp2
3. Click button or press refresh on the browser a few times
Actual Results:  
XSP asserts with the following:
Stacktrace:

Native stacktrace:

    0   mono                                0x00000001000844e4
mono_handle_native_sigsegv + 292
    1   mono                                0x0000000100003433
mono_sigsegv_signal_handler + 339
    2   libSystem.B.dylib                   0x00007fff8510d80a _sigtramp + 26
    3   ???                                 0x0000000000000000 0x0 + 0
    4   ???                                 0x00000001030d7080 0x0 + 4346179712
    5   mono                                0x000000010000bc42
mono_jit_runtime_invoke + 1090
    6   mono                                0x000000010015aadb
mono_runtime_invoke + 75
    7   mono                                0x000000010018ecb2 start_wrapper +
434
    8   mono                                0x00000001001beb37
thread_start_routine + 151
    9   mono                                0x00000001001ebf7e GC_start_routine
+ 107
    10  libSystem.B.dylib                   0x00007fff850e68b6 _pthread_start +
331
    11  libSystem.B.dylib                   0x00007fff850e6769 thread_start +
13



Expected Results:  
Application should run.

This may have something to do with loading/jiting the included dll?

Using xsp4 instead of xsp2 seems to cause the issue to happen even on the first
page load.

On a larger application, seems to have similar issues (problems loading
assemblies).. however gives a page compilation error:

Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes
in the module cannot be loaded.
  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes
(System.Reflection.Assembly*,bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in
/Users/cwensley/Projects/External/mono-trunk/mcs/class/corlib/System.Reflection/Assembly.cs:347 
  at Mono.CSharp.RootNamespace.ImportAssembly (System.Reflection.Assembly
assembly) [0x0007e] in
/Users/cwensley/Projects/External/mono-trunk/mcs/mcs/namespace.cs:94 
  at Mono.CSharp.RootNamespace.ImportTypes (Mono.CSharp.CompilerContext ctx)
[0x00012] in
/Users/cwensley/Projects/External/mono-trunk/mcs/mcs/namespace.cs:53 
  at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces
(Mono.CSharp.CompilerContext ctx) [0x0001e] in
/Users/cwensley/Projects/External/mono-trunk/mcs/mcs/namespace.cs:169 
  at Mono.CSharp.Driver.LoadReferences () [0x00100] in
/Users/cwensley/Projects/External/mono-trunk/mcs/mcs/driver.cs:490 
  at Mono.CSharp.Driver.Compile () [0x001a7] in
/Users/cwensley/Projects/External/mono-trunk/mcs/mcs/driver.cs:1708 
  at Mono.CSharp.Driver.Main (System.String[] args) [0x0003c] in
/Users/cwensley/Projects/External/mono-trunk/mcs/mcs/driver.cs:308 

Version information: Mono Runtime Version: 2.7 (/trunk/mono r156181 Tue 27 Apr
2010 08:25:05 PDT); ASP.NET Version: 2.0.50727.1433

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


More information about the mono-bugs mailing list