[Mono-bugs] [Bug 597230] [regression] WebClient.DownloadData timeouts unexpectedly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 19 10:19:38 EDT 2010



Gonzalo Paniagua Javier <gonzalo at novell.com> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Gonzalo Paniagua Javier <gonzalo at novell.com> 2010-04-19 14:19:37 UTC ---
The two warnings might cause the timeout because they can make a threadpool
thread exit without notice.

What you can do to verify that the right System.dll and Mono.Security.dll are
used is to check /proc/[PID]/maps (as root) while the program is still running
(PID is the pid of your program). Verify that the System.dll and
Mono.Security.dll come from the /opt/mono2.6/lib/mono/gac/... directory.

As for your test:
gonzalo at laptop:/tmp$ which mono
gonzalo at laptop:/tmp$ mono --version
Mono JIT compiler version 2.6.4 (/branches/mono-2-6/mono r155633 Fri Apr 16
11:27:38 EDT 2010)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    GC:            Included Boehm (with typed GC and Parallel Mark)
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  x86
    Disabled:      none
gonzalo at laptop:/tmp$ cat > a.cs << EOF
public class MainClass {
    public static void Main (string[] args) {
        var clt = new System.Net.WebClient ();
        clt.DownloadData ("http://www.google.com/");
        System.Console.WriteLine ("OK");
        System.Environment.Exit (0);
gonzalo at laptop:/tmp$ gmcs a.cs
gonzalo at laptop:/tmp$ mono a.exe

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