[Mono-bugs] [Bug 642310] New: Running on iPhone crashes with exception

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 28 11:03:46 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=642310

https://bugzilla.novell.com/show_bug.cgi?id=642310#c0


           Summary: Running on iPhone crashes with exception
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rainer at qythyx.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer
           Blocker: Yes


Description of Problem:
I can run fine in the simulator, but when I try to run on my iPhone 4 (iOS 4.1)
it crashes with the exception shown at the bottom of this report.


Steps to reproduce the problem:
1. I haven't tried a simple repro myself, but it seems the problem is using a
OpenTK.Vector2 type as the key in a Dictionary.


Actual Results: n/a


Expected Results: n/a


How often does this happen?
Every time in my program.


Additional Information:
Tue Sep 28 23:46:25 unknown kernel[0] <Debug>: launchd[9744] Builtin profile:
container (sandbox) Tue Sep 28 23:46:25 unknown kernel[0] <Debug>:
launchd[9744] Container:
/private/var/mobile/Applications/478863D8-A953-4D5A-84FD-AF8C096DC363 [69]
(sandbox) Tue Sep 28 23:46:27 unknown UIKitApplication:launcher[0x114c][9744]
<Notice>: Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for
System.Collections.Generic.EqualityComparer`1 --->
System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> System.ExecutionEngineException: Attempting to
JIT compile method
'System.Collections.Generic.GenericEqualityComparer`1<OpenTK.Vector2>:.ctor ()'
while running with --aot-only.
Tue Sep 28 23:46:27 unknown UIKitApplication:launcher[0x114c][9744] <Notice>:  
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
Tue Sep 28 23:46:27 unknown UIKitApplication:launcher[0x114c][9744] <Notice>:  
--- End of inner exception stack trace ---
Tue Sep 28 23:46:27 unknown UIKitApplication:launcher[0x114c][9744] <Notice>:  
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
Tue Sep 28 23:46:27 unknown UIKitApplication:launcher[0x114c][9744] <Notice>:  
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
System.Reflect
Tue Sep 28 23:46:27 unknown UIKitApplication:launcher[0x114c][9744] <Notice>:
ion.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo
culture) [0x00000] in <filename unknown>:0 
Tue Sep 28 23:46:27 unknown UIKitApplication:launcher[0x114c][9744] <Notice>:  
at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters)
[0x00000] in <filename unknown>:0 
Tue Sep 28 23:46:27 unknown UIKitApplication:launcher[0x114c][9744] <Notice>:  
at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
[0x00000] in <filename unknown>:0 
Tue Sep 28 23:46:27 unknown UIKitApplication:launcher[0x114c][9744] <Notice>:  
at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename
unknown>:0 
Tue Sep 28 23:46:27 unknown UIKitApplication:launcher[0x114c][9744] <Notice>:  
at System.Collections.Generic.EqualityComparer`1[OpenTK.Vector2]..cctor ()
[0x00000] in <filename unknown>:0 
Tue Sep 28 23:46:27 unknown UIKitApplication:launcher[0x114c][9744] <Notice>:  
--- End of inner exception stack trace ---
Tue Sep 28 23:46:27 unknown UIKitApplication:launcher[0x114c][9744] <Notice>:  
at
System.Collections.Generic.Dictionary`2[OpenTK.Vector2,Qythyx.Zoing.Game.Wall].Init
(Int32 capacity, IEqualityComparer`1 hcp) [0x00000] in <filename unknown>:0 
Tue Sep 28 23:46:27 unknown UIKitApplication:launcher[0x114c][9744] <Notice>:  
at
System.Collections.Generic.Dictionary`2[OpenTK.Vector2,Qythyx.Zoing.Game.Wall]..ctor
() [0x00000] in <filename unknown>:0

There is more after this, but it is my code and not relevant, I believe.

-- 
Configure bugmail: https://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.


More information about the mono-bugs mailing list