[Mono-bugs] [Bug 641912] New: mono/mini/m ini.c:2373 Caused By HttpWebRequest.Create/WebClient.UploadString Causes Process Termination

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Sep 25 18:54:22 EDT 2010



           Summary: mono/mini/m ini.c:2373 Caused By
                    HttpWebRequest.Create/WebClient.UploadString Causes
                    Process Termination
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: pdbarnett at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Beta-Customer
           Blocker: Yes

Description of Problem:

When calling HttpWebRequest.Create or WebClient.UploadString, the application
terminates.  adb logcat output shows an assertion failure:

F/mono    (  546): * Assertion: should not be reached at
D/Zygote  (   33): Process 546 terminated by signal (11)
I/ActivityManager(   59): Process com.company.app (pid
546) has died.

Steps to reproduce the problem:
1. Create a new blank MonoDroid project
2. Add code similar to the following, such as in the default button's Click
event handler:

Webclient webClient = new WebClient();
string postContent = string.Format
username, password);
Uri uri = new Uri("https://www.google.com/accounts/ClientLogin");
return webClient.UploadString(uri, postContent);


HttpWebRequest request =

3. Run the app in the debugger and execute the above code.
4. Observe the assertion noted above following by app termination.

Actual Results:
Assertion followed by app termination.

Expected Results:
Success, or a catchable managed exception if something unexpected happens.

How often does this happen? 

Additional Information:

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