[Mono-bugs] [Bug 679842] New: 64-bit mono Windows, crashs when using System.Net, WinForms ...

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 15 13:20:22 EDT 2011


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: mono-bugs at lists.ximian.com
        ReportedBy: ghamrouni at iptech-offshore.com
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list