[Mono-bugs] [Bug 77071][Wis] New - mcs loading problem when referenced from Microsoft.JScript.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Dec 22 15:02:47 EST 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by cnataren at novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77071

--- shadow/77071	2005-12-22 15:02:47.000000000 -0500
+++ shadow/77071.tmp.18654	2005-12-22 15:02:47.000000000 -0500
@@ -0,0 +1,68 @@
+Bug#: 77071
+Product: Mono: Compilers
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: cnataren at novell.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs loading problem when referenced from Microsoft.JScript.
+
+Description of Problem:
+
+I encountered this problem when trying to use mjs for compiling JS code on
+the fly (see attached test case); but apparentely is independent of it.
+
+The runtime can't load mcs.exe arguing that a field is missing (see 'Actual
+result').
+
+At Microsoft.JScript/Microsoft.JScript/Import.cs we use the method 
+Mono.CSharp.RootNamespace.Global.IsNamespace
+
+
+Steps to reproduce the problem:
+1. Compile test case with: mcs /r:Microsoft.JScript /r:Microsoft.Vsa test.cs
+
+Actual Results:
+      cesar at itaca:~/src> mono engine.exe
+ 
+      ** (engine.exe:4638): WARNING **: The following assembly referenced
+from
+/usr/local/lib/mono/gac/Microsoft.JScript/7.0.5000.0__b03f5f7f11d50a3a/Microsoft.JScript.dll
+could not be loaded:
+ 
+           Assembly:   mcs    (assemblyref_index=3)
+ 
+           Version:    1.1.11.0
+            Public Key: (none)
+ 
+      The assembly was not found in the Global Assembly Cache, a path
+listed in the MONO_PATH environment variable, or in the location of the
+executing assembly
+(/usr/local/lib/mono/gac/Microsoft.JScript/7.0.5000.0__b03f5f7f11d50a3a).
+       
+      ** (engine.exe:4638): WARNING **: Missing field Global in class
+Mono.CSharp.RootNamespace (typeref index 88)
+ 
+      ** ERROR **: file mini.c: line 9639 (mono_jit_compile_method_inner):
+should not be reached
+  
+      aborting...
+
+      Aborted 
+
+Expected Results:
+
+Proceed with execution.
+
+How often does this happen? 
+
+Always.


More information about the mono-bugs mailing list