[Mono-bugs] [Bug 324781] TcpChannel deadlocks on Windows

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 5 14:02:28 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=324781#c3


Robert Jordan <robertj at gmx.net> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |robertj at gmx.net




--- Comment #3 from Robert Jordan <robertj at gmx.net>  2007-11-05 12:02:28 MST ---
BTW, it does not block on new TcpChannel(). The following test case
is printing "ready" before it blocks.

using System.Runtime.Remoting.Channels.Tcp;
namespace Test {
    class Program {
        static void Main(string[] args) {
            TcpChannel channel = new TcpChannel(1234);
            System.Console.WriteLine ("ready"); 
        }
    }
} 

It's rather the listener thread of the TcpChannel that doesn't get
properly killed upon programm's termination.

The following works:

using System.Runtime.Remoting.Channels.Tcp;
namespace Test {
    class Program {
        static void Main(string[] args) {
            TcpChannel channel = new TcpChannel(1234);
            channel.StopListening (null);
        }
    }
} 


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list