[erlang-bugs] erl -s <module> crashes

Andrew Pennebaker <>
Wed May 29 03:30:21 CEST 2013


When I try to `erl -s` any module, Erlang crashes. Dump attached.

Trace:

    $ cat hello.erl
    %% 22 Feb 2011

    -module(hello).
    -author("").
    -export([main/1]).

    main(_) -> io:format("Hello World!~n", []).

    $ erlc hello.erl

    $ erl -s hello
    Erlang R15B03 (erts-5.9.3.1) [source] [64-bit] [smp:2:2]
[async-threads:0] [hipe] [kernel-poll:false] [dtrace]

    {"init terminating in
do_boot",{undef,[{hello,start,[],[]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

    Crash dump was written to: erl_crash.dump
    init terminating in do_boot ()

System:

    $ specs erlang os
    Specs:

    specs 0.4
    https://github.com/mcandre/specs#readme

    rebar -V
    rebar 2.1.0-pre R15B03 20130528_213220 git 2.1.0-pre-46-g78fa8fc

    erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().'
-noshell
    "R15B03"

    system_profiler SPSoftwareDataType | grep 'System Version'
    System Version: OS X 10.8.3 (12D78)

-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20130528/3297a76b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: erl_crash.dump
Type: application/octet-stream
Size: 341771 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20130528/3297a76b/attachment-0001.obj>


More information about the erlang-bugs mailing list