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

http://bugzilla.novell.com/show_bug.cgi?id=536593#c4


Ted Unangst <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Ted Unangst <[email protected]> 2009-12-10 16:10:53 UTC ---
We ran into this as well, except we didn't get an error, we got a crash.

It was indeed caused by trying to link against an obfuscated assembly.  In our
case, we took care to not have any publicly exposed classes with multiple field
names.  But this didn't help, as mono continuted looking inside the assembly
and building type info for classes that our external code didn't link against.

I just threw some try/catch blocks around the HastTable.Add calls and ignored
the issue.

(0,0) : error :   at System.Collections.Hashtable.PutImpl (System.Object key,
Sy
stem.Object value, Boolean overwrite) [0x00000] 
(0,0) : error :   at System.Collections.Hashtable.Add (System.Object key,
System
Object value) [0x00000] 
(0,0) : error :   at Mono.CSharp.TypeInfo+StructInfo..ctor (System.Type type)
[0
x00000] 
(0,0) : error :   at Mono.CSharp.TypeInfo+StructInfo.GetStructInfo (System.Type 
type) [0x00000] 
(0,0) : error :   at Mono.CSharp.TypeInfo..ctor (System.Type type) [0x00000] 
(0,0) : error :   at Mono.CSharp.TypeInfo.GetTypeInfo (System.Type type)
[0x0000
0] 
(0,0) : error :   at Mono.CSharp.VariableInfo..ctor (System.String name,
System.
Type type, Int32 offset) [0x00000] 
(0,0) : error :   at Mono.CSharp.VariableInfo..ctor (Mono.CSharp.LocalInfo
local
_info, Int32 offset) [0x00000] 
(0,0) : error :   at Mono.CSharp.Block.ResolveMeta (Mono.CSharp.EmitContext ec, 
Int32 offset) [0x00000] 
(0,0) : error :   at Mono.CSharp.Block.ResolveMeta (Mono.CSharp.EmitContext ec, 
Int32 offset) [0x00000] 
(0,0) : error :   at Mono.CSharp.Block.ResolveMeta (Mono.CSharp.EmitContext ec, 
Int32 offset) [0x00000] 
(0,0) : error :   at Mono.CSharp.ToplevelBlock.ResolveMeta
(Mono.CSharp.EmitCont
ext ec, Mono.CSharp.Parameters ip) [0x00000] 
(0,0) : error :   at Mono.CSharp.EmitContext.ResolveTopBlock
(Mono.CSharp.EmitCo
ntext anonymous_method_host, Mono.CSharp.ToplevelBlock block,
Mono.CSharp.Parame
ters ip, IMethodData md, System.Boolean& unreachable) [0x00000]

-- 
Configure bugmail: http://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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to