[Mono-bugs] [Bug 77549][Wis] Changed - mcs crashes if a dependency of a referenced assembly is missing

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Feb 14 07:44:00 EST 2006


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 flipper98 at gmx.net.

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

--- shadow/77549	2006-02-14 07:28:57.000000000 -0500
+++ shadow/77549.tmp.2809	2006-02-14 07:44:00.000000000 -0500
@@ -102,6 +102,104 @@
 
 I just discovered that gmcs compiles the use-case fine if you place
 the .net 2.0 System.Transactions assembly in the build directory. I
 did not need to specify System.Transactions as a reference.
 So gmcs just crashed if a dependency referenced by a dependency is
 missing.
+
+------- Additional Comments From flipper98 at gmx.net  2006-02-14 07:44 -------
+just for the sake of completeness, here is the crash dump:
+
+[csc] Compiling 1 files to 'D:\Dev\test\bin\Release\test.dll'.
+      [csc] 
+      [csc] **
+(C:\Programme\Mono-1.1.13.2\lib\mono/2.0/gmcs.exe:2456): WARNING **:
+The following assembly referenced from
+D:\Dev\test\bin\Release\System.Data.SQLite.DLL could not be loaded:
+      [csc]      Assembly:   System.Transactions    (assemblyref_index=2)
+      [csc]      Version:    2.0.0.0
+      [csc]      Public Key: b77a5c561934e089
+      [csc] 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 (D:\Dev\test\bin\Release).
+      [csc] 
+      [csc] 
+      [csc] **
+(C:\Programme\Mono-1.1.13.2\lib\mono/2.0/gmcs.exe:2456): WARNING **:
+The class System.Transactions.Transaction could not be loaded, used in
+System.Transactions, Version=2.0.0.0, Culture=neutral,
+PublicKeyToken=b77a5c561934e089
+      [csc] 
+      [csc]
+=================================================================
+      [csc] Got a SIGSEGV while executing native code. This usually
+indicates
+      [csc] a fatal error in the mono runtime or one of the native
+libraries 
+      [csc] used by your application.
+      [csc]
+=================================================================
+      [csc] 
+      [csc] Stacktrace:
+      [csc] 
+      [csc] in <0x4> (wrapper managed-to-native)
+System.Reflection.Assembly:InternalGetType
+(System.Reflection.Module,string,bool,bool)
+      [csc] in <0xffffffc6> (wrapper managed-to-native)
+System.Reflection.Assembly:InternalGetType
+(System.Reflection.Module,string,bool,bool)
+      [csc] in <0x26> System.Reflection.Assembly:GetType
+(string,bool,bool)
+      [csc] in <0x14> System.Reflection.Assembly:GetType (string)
+      [csc] in <0x1c> Mono.CSharp.RootNamespace:GetTypeInAssembly
+(System.Reflection.Assembly,string)
+      [csc] in <0x83>
+Mono.CSharp.GlobalRootNamespace:LookupTypeReflection
+(string,Mono.CSharp.Location)
+      [csc] in <0x131> Mono.CSharp.Namespace:LookupType
+(string,Mono.CSharp.Location)
+      [csc] in <0x64> Mono.CSharp.Namespace:Lookup
+(Mono.CSharp.DeclSpace,string,Mono.CSharp.Location)
+      [csc] in <0x165> Mono.CSharp.NamespaceEntry:Lookup
+(Mono.CSharp.DeclSpace,string,Mono.CSharp.Location,bool)
+      [csc] in <0x30> Mono.CSharp.NamespaceEntry:LookupNamespaceOrType
+(Mono.CSharp.DeclSpace,string,Mono.CSharp.Location,bool)
+      [csc] in <0x128> Mono.CSharp.DeclSpace:LookupType
+(string,Mono.CSharp.Location,bool)
+      [csc] in <0x77> Mono.CSharp.SimpleName:ResolveAsTypeStep
+(Mono.CSharp.EmitContext,bool)
+      [csc] in <0x36> Mono.CSharp.Expression:ResolveAsTypeTerminal
+(Mono.CSharp.EmitContext,bool)
+      [csc] in <0x10> Mono.CSharp.Expression:ResolveAsTypeTerminal
+(Mono.CSharp.EmitContext)
+      [csc] in <0x89> Mono.CSharp.New:DoResolve (Mono.CSharp.EmitContext)
+      [csc] in <0xe3> Mono.CSharp.Expression:Resolve
+(Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags)
+      [csc] in <0x12> Mono.CSharp.Expression:Resolve
+(Mono.CSharp.EmitContext)
+      [csc] in <0xd7> Mono.CSharp.Assign:DoResolve
+(Mono.CSharp.EmitContext)
+      [csc] in <0xe3> Mono.CSharp.Expression:Resolve
+(Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags)
+      [csc] in <0x12> Mono.CSharp.Expression:Resolve
+(Mono.CSharp.EmitContext)
+      [csc] in <0x13> Mono.CSharp.ExpressionStatement:ResolveStatement
+(Mono.CSharp.EmitContext)
+      [csc] in <0x1f> Mono.CSharp.StatementExpression:Resolve
+(Mono.CSharp.EmitContext)
+      [csc] in <0x1d9> Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
+      [csc] in <0x122> Mono.CSharp.EmitContext:ResolveTopBlock
+(Mono.CSharp.EmitContext,Mono.CSharp.ToplevelBlock,Mono.CSharp.Parameters,Mono.CSharp.IMethodData,bool&)
+      [csc] in <0x4b> Mono.CSharp.EmitContext:EmitTopBlock
+(Mono.CSharp.IMethodData,Mono.CSharp.ToplevelBlock)
+      [csc] in <0x299> Mono.CSharp.Constructor:Emit ()
+      [csc] in <0x585> Mono.CSharp.TypeContainer:EmitType ()
+      [csc] in <0x226> Mono.CSharp.RootContext:EmitCode ()
+      [csc] in <0xa9f> Mono.CSharp.Driver:MainDriver (string[])
+      [csc] in <0x51> Mono.CSharp.Driver:Main (string[])
+      [csc] in <0xf0b3bfe> (wrapper runtime-invoke)
+System.Object:runtime_invoke_int_string[] (object,intptr,intptr,intptr)
+      [csc] 
+      [csc] This application has requested the Runtime to terminate it
+in an unusual way.
+      [csc] Please contact the application's support team for more
+information.


More information about the mono-bugs mailing list