{"action":"created","issue":{"url":"https://api.github.com/repos/zeromq/ezmq/issues/32","repository_url":"https://api.github.com/repos/zeromq/ezmq","labels_url":"https://api.github.com/repos/zeromq/ezmq/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/zeromq/ezmq/issues/32/comments","events_url":"https://api.github.com/repos/zeromq/ezmq/issues/32/events","html_url":"https://github.com/zeromq/ezmq/issues/32","id":132794763,"number":32,"title":"Problem running hwclient on Windows","user":{"login":"drozzy","id":140710,"avatar_url":"https://avatars.githubusercontent.com/u/140710?v=3","gravatar_id":"","url":"https://api.github.com/users/drozzy","html_url":"https://github.com/drozzy","followers_url":"https://api.github.com/users/drozzy/followers","following_url":"https://api.github.com/users/drozzy/following{/other_user}","gists_url":"https://api.github.com/users/drozzy/gists{/gist_id}","starred_url":"https://api.github.com/users/drozzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drozzy/subscriptions","organizations_url":"https://api.github.com/users/drozzy/orgs","repos_url":"https://api.github.com/users/drozzy/repos","events_url":"https://api.github.com/users/drozzy/events{/privacy}","received_events_url":"https://api.github.com/users/drozzy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-10T19:30:01Z","updated_at":"2016-02-11T00:42:00Z","closed_at":"2016-02-11T00:42:00Z","body":"When trying the [example](https://raw.githubusercontent.com/zeromq/ezmq/master/examples/hwclient.erl) codewith rebar and ezmq on Windows (in msysgit bash):\r\n\r\nI execute:\r\n\r\n`erl -pa ebin -pa deps/ezmq/ebin -pa deps/gen_listener_tcp/ebin -pa deps/goldrush/ebin/ -pa deps/lager/ebin/`\r\n\r\nI get this\r\n\r\n```\r\n1> hwclient:main().\r\n\r\n=PROGRESS REPORT==== 10-Feb-2016::14:38:01 ===\r\n          supervisor: {local,sasl_safe_sup}\r\n             started: [{pid,<0.38.0>},\r\n                       {id,alarm_handler},\r\n                       {mfargs,{alarm_handler,start_link,[]}},\r\n                       {restart_type,permanent},\r\n                       {shutdown,2000},\r\n                       {child_type,worker}]\r\n\r\n=PROGRESS REPORT==== 10-Feb-2016::14:38:01 ===\r\n          supervisor: {local,sasl_safe_sup}\r\n             started: [{pid,<0.39.0>},\r\n                       {id,overload},\r\n                       {mfargs,{overload,start_link,[]}},\r\n                       {restart_type,permanent},\r\n                       {shutdown,2000},\r\n                       {child_type,worker}]\r\n\r\n=PROGRESS REPORT==== 10-Feb-2016::14:38:01 ===\r\n          supervisor: {local,sasl_sup}\r\n             started: [{pid,<0.37.0>},\r\n                       {id,sasl_safe_sup},\r\n                       {mfargs,\r\n                           {supervisor,start_link,\r\n                               [{local,sasl_safe_sup},sasl,safe]}},\r\n                       {restart_type,permanent},\r\n                       {shutdown,infinity},\r\n                       {child_type,supervisor}]\r\n\r\n=PROGRESS REPORT==== 10-Feb-2016::14:38:01 ===\r\n          supervisor: {local,sasl_sup}\r\n             started: [{pid,<0.40.0>},\r\n                       {id,release_handler},\r\n                       {mfargs,{release_handler,start_link,[]}},\r\n                       {restart_type,permanent},\r\n                       {shutdown,2000},\r\n                       {child_type,worker}]\r\n\r\n=PROGRESS REPORT==== 10-Feb-2016::14:38:01 ===\r\n         application: sasl\r\n          started_at: nonode@nohost\r\n\r\n=PROGRESS REPORT==== 10-Feb-2016::14:38:01 ===\r\n         application: gen_listener_tcp\r\n          started_at: nonode@nohost\r\n\r\n=PROGRESS REPORT==== 10-Feb-2016::14:38:01 ===\r\n          supervisor: {local,inet_gethost_native_sup}\r\n             started: [{pid,<0.45.0>},{mfa,{inet_gethost_native,init,[[]]}}]\r\n\r\n=PROGRESS REPORT==== 10-Feb-2016::14:38:01 ===\r\n          supervisor: {local,kernel_safe_sup}\r\n             started: [{pid,<0.44.0>},\r\n                       {id,inet_gethost_native_sup},\r\n                       {mfargs,{inet_gethost_native,start_link,[]}},\r\n                       {restart_type,temporary},\r\n                       {shutdown,1000},\r\n                       {child_type,worker}]\r\n\r\n=ERROR REPORT==== 10-Feb-2016::14:38:01 ===\r\n** Generic server <0.43.0> terminating\r\n** Last message in was {connect,tcp,{127,0,0,1},5555,[]}\r\n** When Server state == {ezmq_socket,\r\n                            {2,0},\r\n                            <0.31.0>,req,\r\n                            {fsm_state,ezmq_socket_req,idle,{state,none}},\r\n                            <<>>,false,passive,[],none,[],none,[],[],[],[]}\r\n** Reason for termination ==\r\n** {{noproc,{gen_server,call,[ezmq_link_sup,{start_child,[]},infinity]}},\r\n    [{gen_server,call,3,[{file,\"gen_server.erl\"},{line,212}]},\r\n     {ezmq,do_connect,2,[{file,\"src/ezmq.erl\"},{line,463}]},\r\n     {ezmq,handle_call,3,[{file,\"src/ezmq.erl\"},{line,274}]},\r\n     {gen_server,try_handle_call,4,[{file,\"gen_server.erl\"},{line,629}]},\r\n     {gen_server,handle_msg,5,[{file,\"gen_server.erl\"},{line,661}]},\r\n     {proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,240}]}]}\r\n\r\n=CRASH REPORT==== 10-Feb-2016::14:38:01 ===\r\n  crasher:\r\n    initial call: ezmq:init/1\r\n    pid: <0.43.0>\r\n    registered_name: []\r\n    exception exit: {noproc,\r\n                        {gen_server,call,\r\n                            [ezmq_link_sup,{start_child,[]},infinity]}}\r\n      in function  gen_server:terminate/7 (gen_server.erl, line 826)\r\n    ancestors: [<0.31.0>]\r\n    messages: []\r\n    links: [<0.31.0>]\r\n    dictionary: []\r\n    trap_exit: true\r\n    status: running\r\n    heap_size: 987\r\n    stack_size: 27\r\n    reductions: 222\r\n  neighbours:\r\n    neighbour: [{pid,<0.31.0>},\r\n                  {registered_name,[]},\r\n                  {initial_call,{erlang,apply,2}},\r\n                  {current_function,{gen,do_call,4}},\r\n                  {ancestors,[]},\r\n                  {messages,[]},\r\n                  {links,[<0.25.0>,<0.43.0>]},\r\n                  {dictionary,[]},\r\n                  {trap_exit,false},\r\n                  {status,waiting},\r\n                  {heap_size,376},\r\n                  {stack_size,37},\r\n                  {reductions,666}]\r\n** exception exit: {noproc,\r\n                       {gen_server,call,\r\n                           [ezmq_link_sup,{start_child,[]},infinity]}}\r\n```\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/zeromq/ezmq/issues/comments/182658310","html_url":"https://github.com/zeromq/ezmq/issues/32#issuecomment-182658310","issue_url":"https://api.github.com/repos/zeromq/ezmq/issues/32","id":182658310,"user":{"login":"drozzy","id":140710,"avatar_url":"https://avatars.githubusercontent.com/u/140710?v=3","gravatar_id":"","url":"https://api.github.com/users/drozzy","html_url":"https://github.com/drozzy","followers_url":"https://api.github.com/users/drozzy/followers","following_url":"https://api.github.com/users/drozzy/following{/other_user}","gists_url":"https://api.github.com/users/drozzy/gists{/gist_id}","starred_url":"https://api.github.com/users/drozzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drozzy/subscriptions","organizations_url":"https://api.github.com/users/drozzy/orgs","repos_url":"https://api.github.com/users/drozzy/repos","events_url":"https://api.github.com/users/drozzy/events{/privacy}","received_events_url":"https://api.github.com/users/drozzy/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T00:42:00Z","updated_at":"2016-02-11T00:42:00Z","body":"Ok, nevermind. Seems the issue was with rebar2.\r\n\r\nUsing rebar3 everything works."}}