[Issue 15770] New: SocketSet.add OutOfMemoryError on Posix
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Sat Mar  5 23:16:58 PST 2016
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15770
          Issue ID: 15770
           Summary: SocketSet.add OutOfMemoryError on Posix
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: andre at s-e-a-p.de
While adding a not alive socket to a SocketSet using method add() there is
following error:
ERR core.exception.OutOfMemoryError at src/core/exception.d(679): Memory
allocation failed
In some scenarios it is quite hard to find the root cause (not alive socket).
An exception like InvalidSocket instead would be quite nice.
Tested on linux.
--
    
    
More information about the Digitalmars-d-bugs
mailing list