[erlang-questions] Fwd: erl crash on long PATH

Johan Munk <>
Tue Jan 25 22:50:31 CET 2011


Ah - perfect, thanks.
I've not yet had the time to upgrade to latest version.

On 2011-01-25 22:35, Michael Santos wrote:
> 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:
>>
>> [:~] uname -a
>> SunOS skuffe 5.11 snv_97 i86pc i386 i86pc
>> [:~] 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
>> [:~] export PATH=$PATH:$PATH
>> [:~] export PATH=$PATH:$PATH
>> [:~] export PATH=$PATH:$PATH
>> [:~] export PATH=$PATH:$PATH
>> [:~] erl
>> Segmentation Fault (core dumped)
>> [:~]
> 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