[Issue 15770] SocketSet.add OutOfMemoryError on Posix
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Mon Jul 10 15:31:49 PDT 2017
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15770
Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME
--- Comment #1 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
I can't reproduce this:
/////////////////////////// test.d //////////////////////////
import std.socket;
void main()
{
    auto ss = new SocketSet;
    auto s = new TcpSocket;
    ss.add(s);              // succeeds
    ss.add(TcpSocket.init); // segmentation fault as expected
}
/////////////////////////////////////////////////////////////
Please reopen if you can provide a reproducible test case.
--
    
    
More information about the Digitalmars-d-bugs
mailing list