Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

ebadf if agnerized rebar run under nohup #280

Open
gleber opened this Issue · 0 comments

1 participant

@gleber

I've got a new issue with rebar which got introduced somewhere in the master branch lately. Error message:

gleber@first:~/code/opensource/cowboy$ cat nohup.out 
==> Entering directory `/home/gleber/code/opensource/cowboy/deps/proper'
==> proper (get-deps)
==> Leaving directory `/home/gleber/code/opensource/cowboy/deps/proper'
==> cowboy (get-deps)
==> Entering directory `/home/gleber/code/opensource/cowboy/deps/proper'
==> proper (compile)
==> Leaving directory `/home/gleber/code/opensource/cowboy/deps/proper'
==> cowboy (compile)
{error_logger,{{2012,5,9},{13,8,53}},supervisor_report,[{supervisor,{<0.22.0>,user_sup}},{errorContext,child_terminated},{reason,ebadf},{offender,[{pid,<0.23.0>},{mod,user_sup}]}]}
{error_logger,{{2012,5,9},{13,8,53}},"** Generic server ~p terminating \n** Last message in was ~p~n** When Server state == ~p~n** Reason for termination == ~n** ~p~n",[<0.22.0>,{'EXIT',<0.23.0>,ebadf},{state,user_sup,undefined,<0.23.0>,{<0.22.0>,user_sup}},ebadf]}
{error_logger,{{2012,5,9},{13,8,53}},crash_report,[[{initial_call,{supervisor_bridge,user_sup,['Argument__1']}},{pid,<0.22.0>},{registered_name,[]},{error_info,{exit,ebadf,[{gen_server,terminate,6,[{file,"gen_server.erl"},{line,737}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}},{ancestors,[kernel_sup,<0.9.0>]},{messages,[]},{links,[<0.10.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,377},{stack_size,24},{reductions,177}],[]]}
{error_logger,{{2012,5,9},{13,8,53}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,child_terminated},{reason,ebadf},{offender,[{pid,<0.22.0>},{name,user},{mfargs,{user_sup,start,[]}},{restart_type,temporary},{shutdown,2000},{child_type,supervisor}]}]}

It happens when I run nohup rebar compile, but doesn't happen when running just rebar compile.

It happens for rebars of versions

gleber@jupiter:~$ rebar --version
rebar version: 2 date: 20120416_075043 vcs: git 0b8ca93
gleber@first:~/code/opensource/cowboy$ rebar --version
rebar version: 2 date: 20120509_110631 vcs: git 4ee2f6e

on Erlang (installed via kerl):

gleber@jupiter:~$ erl
Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:8:8] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.9.1  (abort with ^G)
1> q().
ok

But it doesn't happen with non-agnerized rebar.

Cheers,
Gleb Peregud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.