[erlang-questions] R11B-2: one more bug with the "-smp" switch

Serge Aleynikov <>
Thu Jan 4 17:03:32 CET 2007


For some reason I can't reproduce it today on the same machine either. 
Sorry, must be a New Year thingy... :-(

Rickard Green wrote:
> I haven't been able to reproduce this. Have this happened just once or 
> does this happen all the time? Have you set any environment variables 
> affecting the emulator such as ERL_FLAGS? If so, what values do you use?
> 
> BR,
> Rickard Green, Erlang/OTP
> 
> Serge Aleynikov wrote:
>> Happy New bug, everyone!  ;-)
>>
>> $ uname -a
>> Linux xxxxxx 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 
>> i686 i386 GNU/Linux
>>
>> $ cat test.erl
>> -module(test).
>> -export([f/1]).
>>
>> f(Args) ->
>>      io:format("~s~n", [filename:join(Args)]).
>>
>> $ erl -noshell -run test f "/usr" "local" -s erlang halt
>> /usr/local
>> $ erl -smp -noshell -run test f "/usr" "local" -s erlang halt
>> {"init terminating in 
>> do_boot",{undef,[{test,f,[["/usr","local"]]},{init,start_it,1},{init,start_em,1}]}} 
>>
>>
>> Crash dump was written to: erl_crash.dump
>> init terminating in do_boot ()
>>
>>
>> Regards,
>>
>> Serge
>>
> 

-- 
Serge Aleynikov
Routing R&D, IDT Telecom
Tel: +1 (973) 438-3436
Fax: +1 (973) 438-1464



More information about the erlang-questions mailing list