[Mono-bugs] [Bug 690357] WebClient and SOAP calls lock up in MonoTouch 4.0.0 and 4.0.1. Works in 3.2.6. Prevents my app from being shipped

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 28 17:20:03 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=690357#c4


Geoff Norton <gnorton at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|mono-bugs at lists.ximian.com  |gonzalo at novell.com

--- Comment #4 from Geoff Norton <gnorton at novell.com> 2011-04-28 21:20:01 UTC ---
gonzalo,

  Could you please look at this?  I can repo this on mono-2.10 for OSX.

Desktop repo:


using System;
using System.IO;
using System.Threading;
using System.Net;
using System.Collections.Generic;
using System.Linq;

namespace iOSTest
{
    public class Application
    {   
        static void Main (string[] args)
        {   
            Thread t = new Thread (delegate () {
                int i = 0;
                while (true) {
                    WebClient wc = new WebClient (); 
                    wc.DownloadFile(new
Uri("http:www.wildsau.net/image.axd?picture=2011%2f4%2fDSC05178.JPG"),
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal),
"test.jpg"));
                    Console.WriteLine (i++);
                }   
            }); 

            t.Start (); 

            Thread.Sleep (-1);
        }   
    }   
}

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