[Mono-bugs] [Bug 464145] Cannot create more than ~1000 sockets

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 7 10:04:37 EST 2009


User amcgovern at novell.com added comment

Alan McGovern <amcgovern at novell.com> changed:

           What    |Removed                                         |Added
         OS/Version|Other                                           |openSUSE 11.0

--- Comment #2 from Alan McGovern <amcgovern at novell.com>  2009-01-07 08:04:37 MST ---
In the catch statement in the testcase, but a Console.ReadLine () just before
the return statement.

When the exception is thrown and you hit the readline, mono will explode with
this error:

System.Net.Sockets.SocketException: Too many open files
  at System.Net.Sockets.Socket.Accept () [0x00000] 
  at System.Net.Sockets.TcpListener.AcceptSocket () [0x00000] 
  at Test.MainClass.Main (System.String[] args) [0x00000] 
libgcc_s.so.1 must be installed for pthread_cancel to work

** (Main.exe:15819): WARNING **: Thread (nil) may have been prematurely

Native stacktrace:

** ERROR:(mini-exceptions.c:1399):mono_handle_native_sigsegv: assertion failed:
(res != -1)

** (Main.exe:15819): WARNING **: Thread (nil) may have been prematurely

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