[erlang-questions] Fwd: erl crash on long PATH
Michael Santos
michael.santos@REDACTED
Tue Jan 25 22:35:04 CET 2011
On Tue, Jan 25, 2011 at 09:43:26PM +0100, johan munk wrote:
> I just noticed the following crash of 'erl' when my PATH bash var gets longer:
>
> [johan@REDACTED:~] uname -a
> SunOS skuffe 5.11 snv_97 i86pc i386 i86pc
> [johan@REDACTED:~] erl
> Erlang R13B03 (erts-5.7.4) [source] [rq:1] [async-threads:0] [hipe]
> [kernel-poll:false]
>
> Eshell V5.7.4 ?(abort with ^G)
> 1>
> BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
> ? ? ? (v)ersion (k)ill (D)b-tables (d)istribution
> [johan@REDACTED:~] export PATH=$PATH:$PATH
> [johan@REDACTED:~] export PATH=$PATH:$PATH
> [johan@REDACTED:~] export PATH=$PATH:$PATH
> [johan@REDACTED:~] export PATH=$PATH:$PATH
> [johan@REDACTED:~] erl
> Segmentation Fault (core dumped)
> [johan@REDACTED:~]
Should be fixed as of R14B01:
$ export PATH=$PATH:$(perl -e 'print "x"x10000')
$ erl
Erlang R14B02 (erts-5.8.3) [source] [smp:2:2] [rq:2] [async-threads:0]
[hipe] [kernel-poll:false]
Eshell V5.8.3 (abort with ^G)
1> halt().
More information about the erlang-questions
mailing list