[Mono-bugs] [Bug 530963] New: Application crashes due to linker error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 13 13:51:45 EDT 2009


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


           Summary: Application crashes due to linker error
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: x86
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Tools
        AssignedTo: gnorton at novell.com
        ReportedBy: ermau88 at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us)
AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19

Including this class:
http://anonsvn.mono-project.com/viewvc/trunk/rocks/Mono.Rocks/ReadOnlyDictionary.cs?view=markup
in a MonoTouch project without -nolink produces an error (in actual results) on
startup.

Reproducible: Always

Steps to Reproduce:
1. Include the listed file in a MonoTouch project
2. Attempt to run the project
Actual Results:  
Symbol file /Users/tester/Library/Application Support/iPhone
Simulator/User/Applications/1A42F757-FA33-4498-9041-5D9E0ABF6631/Gablarski.Clients.iPhone.app/mscorlib.dll.mdb
doesn't match image /Users/tester/Library/Application Support/iPhone
Simulator/User/Applications/1A42F757-FA33-4498-9041-5D9E0ABF6631/Gablarski.Clients.iPhone.app/mscorlib.dllSymbol
file /Users/tester/Library/Application Support/iPhone
Simulator/User/Applications/1A42F757-FA33-4498-9041-5D9E0ABF6631/Gablarski.Clients.iPhone.app/iPhone.exe.mdb
doesn't match image /Users/tester/Library/Application Support/iPhone
Simulator/User/Applications/1A42F757-FA33-4498-9041-5D9E0ABF6631/Gablarski.Clients.iPhone.app/iPhone.exeSymbol
file /Users/tester/Library/Application Support/iPhone
Simulator/User/Applications/1A42F757-FA33-4498-9041-5D9E0ABF6631/Gablarski.Clients.iPhone.app/monotouch.dll.mdb
doesn't match image /Users/tester/Library/Application Support/iPhone
Simulator/User/Applications/1A42F757-FA33-4498-9041-5D9E0ABF6631/Gablarski.Clients.iPhone.app/monotouch.dllSymbol
file /Users/tester/Library/Application Support/iPhone
Simulator/User/Applications/1A42F757-FA33-4498-9041-5D9E0ABF6631/Gablarski.Clients.iPhone.app/System.Core.dll.mdb
doesn't match image /Users/tester/Library/Application Support/iPhone
Simulator/User/Applications/1A42F757-FA33-4498-9041-5D9E0ABF6631/Gablarski.Clients.iPhone.app/System.Core.dllSymbol
file /Users/tester/Library/Application Support/iPhone
Simulator/User/Applications/1A42F757-FA33-4498-9041-5D9E0ABF6631/Gablarski.Clients.iPhone.app/System.dll.mdb
doesn't match image /Users/tester/Library/Application Support/iPhone
Simulator/User/Applications/1A42F757-FA33-4498-9041-5D9E0ABF6631/Gablarski.Clients.iPhone.app/System.dll
at slot 33: System.Collections.IEnumerable.GetEnumerator (35) overrides
GetEnumerator (0)
 at slot 33:
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.get_IsReadOnly
(21) overrides get_IsReadOnly (1)
no implementation for interface method
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>>::GetEnumerator()
in class Mono.Rocks.ReadOnlyDictionary`2
METHOD .ctor(System.Collections.Generic.IDictionary`2<TKey, TValue>)
METHOD
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.get_IsReadOnly()
METHOD System.Collections.IEnumerable.GetEnumerator()
METHOD Add(TKey,TValue)
METHOD ContainsKey(TKey)
METHOD Remove(TKey)
METHOD TryGetValue(TKey,TValue&)
METHOD get_Item(TKey)
METHOD set_Item(TKey,TValue)
METHOD Add(System.Collections.Generic.KeyValuePair`2<TKey, TValue>)
METHOD Clear()
METHOD Contains(System.Collections.Generic.KeyValuePair`2<TKey, TValue>)
METHOD CopyTo(System.Collections.Generic.KeyValuePair`2<TKey, TValue>[],int)
METHOD get_Count()
METHOD Remove(System.Collections.Generic.KeyValuePair`2<TKey, TValue>)

Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes
in the module cannot be loaded.
  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] 
  at MonoTouch.ObjCRuntime.Runtime.RegisterAssembly (System.Reflection.Assembly
a) [0x00000]

Expected Results:  
No error

-- 
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