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

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


           Summary: 64-bit mono Windows, crashs when using System.Net,
                    WinForms ...
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: x86-64
        OS/Version: Windows
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: misc
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16

64-bit mono Windows built with msvc, crashs when using some assemblies.
(System.Net, System.Windows.Forms, ...)

Example:

    static string GetHtml(string url)
    {
        HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create(url);
        WebResponse response = myReq.GetResponse();

        Stream ReceiveStream = response.GetResponseStream();

        Encoding encode = System.Text.Encoding.GetEncoding("utf-8");
        StreamReader readStream = new StreamReader(ReceiveStream, encode);

        string content = readStream.ReadToEnd();

        response.Close();
        readStream.Dispose();
        ReceiveStream.Dispose();

        return content;
    }

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to