• All Community
    • All Community
    • Forums
    • Ideas
    • Blogs
Advanced

Not what you are looking for? Ask the experts!

Kudos0

Socket creation returns POSIX error ENOMEM when "Application Blocking" is enabled

I've installed Norton Internet Security 5 for Mac Version 5.6 (25) running on a MacBook Pro on Mavericks 10.9.2.

The MacBook is a developer machine running Xcode and third party Unit Test software. For UI testing I've installed Frank. In order to provide its facilities, the Frank  test runner client communicates with a WebServer installed on the device, respectively on the Simulator.  

When running the test, I get an error deeply in the implementation (Ruby system library code) when trying to establishing a connection. The failure happens when creating a TCP socket, which returns an error ENOMEM. This error seems a bit strange, and not reasonable under the current scenario.

The error does not occur when "Application Blocking" is disabled. In the History List, there are no events which causes Norton to block it. Instead, the History List contains the application wich tries to connect to the server and let it pass.

If it helps, here is the Ruby stack trace:

      Cannot allocate memory - connect(2) (Errno::ENOMEM)

      /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:878:in `initialize'

      /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:878:in `open'

      /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:878:in `block in connect'

      /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:52:in `timeout'

      /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:877:in `connect'

      /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:862:in `do_start'

      /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:851:in `start'

      /Library/Ruby/Gems/2.0.0/gems/frank-cucumber-1.2.3/lib/frank-cucumber/gateway.rb:85:in `make_http_request'

When disabling "Application Blocking" the error disappears. Again, there is no application listed in the History List which has been blocked.

Thanks in advance for knowing a workaround.