[Mono-bugs] [Bug 634790] New: Nasty finalizer crash related either to exception being thrown in HttpWebRequest, or problems AlertDialog

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 26 11:53:19 EDT 2010


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

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


           Summary: Nasty finalizer crash related either to exception
                    being thrown in HttpWebRequest, or problems
                    AlertDialog
    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: mbaxterreynolds at amxsoftware.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8)
Gecko/20100722 Firefox/3.6.8

See attached VS solution.

The problem here is that I have an HttpWebRequest that is improperly configured
and (correctly) throws an exception in GetRequestStream.

There is an exception handler that attempts to show the string representation
of the exception using an AlertDialog.   

I have had this both bombing out, and hanging.  The console output shows:

In mgmain JNI_OnLoad
Stacktrace:

  at (wrapper managed-to-native) object.wrapper_native_0xad02a1c9
(intptr,intptr) <IL 0x00024, 0xffffffff>
  at Android.Runtime.JNIEnv.DeleteLocalRef (intptr) [0x00015] in
/home/jpobst/Desktop/mondroid/Mono.Android/src/Runtime/JNIEnv.cs:170
  at Java.Lang.CharSequence.Finalize () [0x00020] in
/home/jpobst/Desktop/mondroid/Mono.Android/src/Java.Lang/CharSequence.cs:15
  at (wrapper runtime-invoke) object.runtime_invoke_virtual_void__this__
(object,intptr,intptr,intptr) <IL 0x0001b, 0x0014b>


Reproducible: Always

Steps to Reproduce:
Download and run project in attachment.

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