Bug or wrong code?


#1

echo-server.jl:

@everywhere function parallel_echo_server(port::Int=8080; debug::Bool=false)
  (port, server) = listenany(port)
  debug && println(STDERR, "[SERVER] Server started!")
  n = nprocs()
  while true
    let conn::TCPSocket = accept(server)
      debug && println(STDERR, "[SERVER] Connection $server:$port open")
      @parallel for i=1:n
        try
          while isopen(conn)
            local line = readline(conn)
            if line == "quit" || line == "exit"
              break
            end
            println(conn, line)
          end
        catch err
          debug && println(STDERR, "[SERVER] connection ended with error $err")
        finally
          isopen(conn) && close(conn)
          debug && println(STDERR, "[SERVER] Connection $server:$port closed")
        end
      end
    end
  end
end

@everywhere function echo_check(port::Int=8080;
                                debug::Bool=false,
                                msg::AbstractString = "Echo client/server test message: Hello Julia!")::Bool
  try
    local client::TCPSocket = connect(port)
    debug && println(STDERR, "[CLIENT] Connection $client:$port opened")
    try
      println(client, msg)
      local line = readline(client)
      println(client, "quit")
      @assert msg == line "[CLIENT] '$msg' != '$line'"
      true
    catch err
      debug && println(STDERR, "[CLIENT] connection ended with error $err")
      false
    finally
      isopen(client) && close(client)
      debug && println(STDERR, "[CLIENT] Connection $client:$port closed")
    end
  catch err
    debug && println(STDERR, "[CLIENT] connection don't started with error $err")
    false
  end
end


function serial_test(n::Int, port::Int=8080; debug::Bool=false)
  a = falses(n)
  for i in 3:n
    setindex!(a, echo_check(port; debug=debug), i)
  end
  n - countnz(a)
end

log:

               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.7.0-DEV.1486 (2017-08-24 18:15 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 03c5d7df22* (21 days old master)
|__/                   |  x86_64-w64-mingw32

julia> include("echo-server.jl");

julia> addprocs(2)
2-element Array{Int64,1}:
 6
 7

julia> @spawn parallel_echo_server(;debug=true)
Future(2, 1, 24, Nullable{Any}())

julia>  From worker 2:  [SERVER] Server started!
julia> serial_test(3;debug=true)
[CLIENT] Connection TCPSocket(Base.Libc.WindowsRawSocket(Ptr{Void} @0x00000000000001e8) open, 0 bytes waiting):8080 opened
        From worker 2:  [SERVER] Connection Base.TCPServer(Base.Libc.WindowsRawSocket(Ptr{Void} @0x000000000000026c) active):8080 open
[CLIENT] Connection TCPSocket(Base.Libc.WindowsRawSocket(Ptr{Void} @0xffffffffffffffff) closed, 0 bytes waiting):8080 closed
2

julia>  From worker 2:  [SERVER] Connection Base.TCPServer(Base.Libc.WindowsRawSocket(Ptr{Void} @0x000000000000026c) active):8080 closed
        From worker 2:  [SERVER] Connection Base.TCPServer(Base.Libc.WindowsRawSocket(Ptr{Void} @0x000000000000026c) active):8080 closed
        From worker 3:
        From worker 3:  Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.

        From worker 3:  Exception: EXCEPTION_ACCESS_VIOLATION at 0x65014720 -- uv_fileno at /home/Administrator/buildbot/slave/package_win6_2-x64/buil
d/deps/srccache/libuv-52d72a52cc7ccd570929990f010ed16e2ec604c8/src/win\core.c:434
        From worker 3:  while loading no file, in expression starting on line 0
        From worker 3:  uv_fileno at /home/Administrator/buildbot/slave/package_win6_2-x64/build/deps/srccache/libuv-52d72a52cc7ccd570929990f010ed16e2
ec604c8/src/win\core.c:434
        From worker 3:  _fd at .\stream.jl:1003 [inlined]
        From worker 3:  show at .\stream.jl:193 [inlined]
        From worker 3:  print at .\strings\io.jl:30
        From worker 3:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 3:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 3:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 3:  #print_to_string#245 at .\strings\io.jl:104
        From worker 3:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 3:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 3:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 3:  jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1447 [inlined]
        From worker 3:  jl_f__apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\builtins.c:440
        From worker 3:  print_to_string at .\strings\io.jl:93
        From worker 3:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 3:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 3:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 3:  jl_apply_2va at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\rtutils.c:287
        From worker 3:  string at .\strings\io.jl:123
        From worker 3:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 3:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 3:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 3:  macro expansion at .\Users\kavenchuk.yaroslav\Documents\Julia\echo-server.jl:21 [inlined]
        From worker 3:  #2 at .\distributed\macros.jl:268
        From worker 3:  #172 at .\distributed\macros.jl:43
        From worker 3:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 3:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 3:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 3:  jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1447 [inlined]
Worker 3 terminated.    From worker 3:  jl_f__apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\builtins.c:440

        From worker 3:  #111 at .\distributed\process_messages.jl:267ERROR (unhandled task failure): EOFError: read end of file

        From worker 3:  run_work_thunk at .\distributed\process_messages.jl:56
        From worker 3:  unknown function (ip: 0000000013A600DD)
        From worker 3:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 3:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 3:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 3:  run_work_thunk at .\distributed\process_messages.jl:65
        From worker 3:  #104 at .\event.jl:96
        From worker 3:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 3:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 3:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 3:  jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1447 [inlined]
        From worker 3:  start_task at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:268
        From worker 3:  Allocations: 349641 (Pool: 349484; Big: 157); GC: 0
        From worker 2:  [SERVER] Connection Base.TCPServer(Base.Libc.WindowsRawSocket(Ptr{Void} @0x000000000000026c) active):8080 closed
        From worker 4:
        From worker 4:  Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.

        From worker 4:  Exception: EXCEPTION_ACCESS_VIOLATION at 0x65014720 -- uv_fileno at /home/Administrator/buildbot/slave/package_win6_2-x64/buil
d/deps/srccache/libuv-52d72a52cc7ccd570929990f010ed16e2ec604c8/src/win\core.c:434
        From worker 4:  while loading no file, in expression starting on line 0
        From worker 4:  uv_fileno at /home/Administrator/buildbot/slave/package_win6_2-x64/build/deps/srccache/libuv-52d72a52cc7ccd570929990f010ed16e2
ec604c8/src/win\core.c:434
        From worker 4:  _fd at .\stream.jl:1003 [inlined]
        From worker 4:  show at .\stream.jl:193 [inlined]
        From worker 4:  print at .\strings\io.jl:30
        From worker 4:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]Worker
4 terminated.

        From worker 4:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
ERROR (unhandled task failure): EOFError: read end of file
        From worker 4:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 4:  #print_to_string#245 at .\strings\io.jl:104
        From worker 4:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 4:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 4:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 4:  jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1447 [inlined]
        From worker 4:  jl_f__apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\builtins.c:440
        From worker 4:  print_to_string at .\strings\io.jl:93
        From worker 4:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 4:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 4:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 4:  jl_apply_2va at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\rtutils.c:287
        From worker 4:  string at .\strings\io.jl:123
        From worker 4:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 4:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 4:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 4:  macro expansion at .\Users\kavenchuk.yaroslav\Documents\Julia\echo-server.jl:21 [inlined]
        From worker 4:  #2 at .\distributed\macros.jl:268
        From worker 4:  #172 at .\distributed\macros.jl:43
        From worker 4:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 4:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 4:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 4:  jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1447 [inlined]
        From worker 4:  jl_f__apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\builtins.c:440
        From worker 4:  #111 at .\distributed\process_messages.jl:267
        From worker 4:  run_work_thunk at .\distributed\process_messages.jl:56
        From worker 4:  unknown function (ip: 0000000013BB00DD)
        From worker 4:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 4:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 4:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 4:  run_work_thunk at .\distributed\process_messages.jl:65
        From worker 4:  #104 at .\event.jl:96
        From worker 4:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 4:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 4:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 4:  jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1447 [inlined]
        From worker 4:  start_task at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:268
        From worker 4:  Allocations: 349652 (Pool: 349494; Big: 158); GC: 0
        From worker 5:
        From worker 5:  Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.

        From worker 5:  Exception: EXCEPTION_ACCESS_VIOLATION at 0x65014720 -- uv_fileno at /home/Administrator/buildbot/slave/package_win6_2-x64/buil
d/deps/srccache/libuv-52d72a52cc7ccd570929990f010ed16e2ec604c8/src/win\core.c:434
        From worker 5:  while loading no file, in expression starting on line 0
        From worker 5:  uv_fileno at /home/Administrator/buildbot/slave/package_win6_2-x64/build/deps/srccache/libuv-52d72a52cc7ccd570929990f010ed16e2
ec604c8/src/win\core.c:434
        From worker 5:  _fd at .\stream.jl:1003 [inlined]
        From worker 5:  show at .\stream.jl:193 [inlined]
        From worker 5:  print at .\strings\io.jl:30
        From worker 5:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 5:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 5:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 5:  #print_to_string#245 at .\strings\io.jl:104
        From worker 5:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 5:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 5:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 5:  jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1447 [inlined]
        From worker 5:  jl_f__apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\builtins.c:440
        From worker 5:  print_to_string at .\strings\io.jl:93
        From worker 5:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]Worker
5 terminated.

        From worker 5:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
ERROR (unhandled task failure): EOFError: read end of file
        From worker 5:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 5:  jl_apply_2va at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\rtutils.c:287
        From worker 5:  string at .\strings\io.jl:123
        From worker 5:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 5:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 5:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 5:  macro expansion at .\Users\kavenchuk.yaroslav\Documents\Julia\echo-server.jl:21 [inlined]
        From worker 5:  #2 at .\distributed\macros.jl:268
        From worker 5:  #172 at .\distributed\macros.jl:43
        From worker 5:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 5:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 5:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 5:  jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1447 [inlined]
        From worker 5:  jl_f__apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\builtins.c:440
        From worker 5:  #111 at .\distributed\process_messages.jl:267
        From worker 5:  run_work_thunk at .\distributed\process_messages.jl:56
        From worker 5:  unknown function (ip: 00000000139B00DD)
        From worker 5:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 5:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 5:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 5:  run_work_thunk at .\distributed\process_messages.jl:65
        From worker 5:  #104 at .\event.jl:96
        From worker 5:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 5:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 5:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 5:  jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1447 [inlined]
        From worker 5:  start_task at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:268
        From worker 5:  Allocations: 349683 (Pool: 349524; Big: 159); GC: 0
        From worker 6:
        From worker 6:  Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.

        From worker 6:  Exception: EXCEPTION_ACCESS_VIOLATION at 0x65014720 -- uv_fileno at /home/Administrator/buildbot/slave/package_win6_2-x64/buil
d/deps/srccache/libuv-52d72a52cc7ccd570929990f010ed16e2ec604c8/src/win\core.c:434
        From worker 6:  while loading no file, in expression starting on line 0
        From worker 6:  uv_fileno at /home/Administrator/buildbot/slave/package_win6_2-x64/build/deps/srccache/libuv-52d72a52cc7ccd570929990f010ed16e2
ec604c8/src/win\core.c:434
        From worker 6:  _fd at .\stream.jl:1003 [inlined]
        From worker 6:  show at .\stream.jl:193 [inlined]
        From worker 6:  print at .\strings\io.jl:30
        From worker 6:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 6:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 6:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 6:  #print_to_string#245 at .\strings\io.jl:104
        From worker 6:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 6:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 6:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 6:  jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1447 [inlined]
        From worker 6:  jl_f__apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\builtins.c:440
        From worker 6:  print_to_string at .\strings\io.jl:93
Worker 6 terminated.    From worker 6:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366
[inlined]

        From worker 6:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]ERROR
 (unhandled task failure): EOFError: read end of file

        From worker 6:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 6:  jl_apply_2va at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\rtutils.c:287
        From worker 6:  string at .\strings\io.jl:123
        From worker 6:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 6:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 6:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 6:  macro expansion at .\Users\kavenchuk.yaroslav\Documents\Julia\echo-server.jl:21 [inlined]
        From worker 6:  #2 at .\distributed\macros.jl:268
        From worker 6:  #172 at .\distributed\macros.jl:43
        From worker 6:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 6:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 6:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 6:  jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1447 [inlined]
        From worker 6:  jl_f__apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\builtins.c:440
        From worker 6:  #111 at .\distributed\process_messages.jl:267
        From worker 6:  run_work_thunk at .\distributed\process_messages.jl:56
        From worker 6:  unknown function (ip: 00000000139AD84D)
        From worker 6:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 6:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 6:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 6:  run_work_thunk at .\distributed\process_messages.jl:65
        From worker 6:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 6:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 6:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940 [inlined]
        From worker 6:  jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1447 [inlined]
        From worker 6:  jl_invoke at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:51
        From worker 6:  #104 at .\event.jl:96
        From worker 6:  jl_call_fptr_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:366 [inlined]
        From worker 6:  jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:385 [inlined]
        From worker 6:  jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1940
        From worker 6:  jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1447 [inlined]
        From worker 6:  start_task at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:268
        From worker 6:  Allocations: 308471 (Pool: 308325; Big: 146); GC: 0