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

Andrew Pennebaker andrew.pennebaker@REDACTED
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("andrew.pennebaker@REDACTED").
    -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.htm>
-------------- 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.obj>


More information about the erlang-bugs mailing list