[Mono-bugs] [Bug 675693] New: Pointer Reuse Crash

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 28 15:19:04 EST 2011



           Summary: Pointer Reuse Crash
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mkestner at novell.com
        ReportedBy: jpobst at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

The attached case can be made to crash with this stack trace:

I/monodroid(21885): Activating instance of type PointerReuseCrash.Activity1
I/monodroid(21885): signature
I/monodroid(21885): o Android.Graphics.PointF
I/monodroid(21885): parms is zero
E/mono    (21885): [0xafd4a828:] EXCEPTION handling:
eption: Object does not match target type.
E/mono    (21885):
E/mono    (21885): Unhandled Exception: System.Reflection.TargetException:
t does not match target type.
E/mono    (21885):   at System.Reflection.MonoCMethod.Invoke (System.Object
 BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[]
eters, System.Globalization.CultureInfo culture) [0x00000] in <filename
E/mono    (21885):   at System.Reflection.MethodBase.Invoke (System.Object obj,
System.Object[] parameters) [0x00000] in <filename unknown>:0
E/mono    (21885):   at Android.Runtime.TypeManager.n_Activate (IntPtr jnienv,
ntPtr jclass, IntPtr typename_ptr, IntPtr signature_ptr, IntPtr jobject, IntPtr
parameters_ptr) [0x00000] in <filename unknown>:0
E/mono    (21885):   at (wrapper native-to-managed)
n_Activate (intptr,intptr,intptr,intptr,intptr,intptr)
I/ActivityManager(   86): Process PointerReuseCrash.PointerReuseCrash (pid
) has died.

You can rotate the screen as much as you want, and things are fine, *until* the
GC runs.  Then if you rotate the screen, you will get this crash.

It is trying to instantiate the activity, passing a PointF, when the activity
does not have a PointF constructor.

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