Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on #1851

Closed
ghost opened this issue Nov 5, 2013 · 12 comments
Closed

Crash on #1851

ghost opened this issue Nov 5, 2013 · 12 comments

Comments

@ghost
Copy link

ghost commented Nov 5, 2013

On Windows 7 x64.

>iex
{"init terminating in do_boot",{undef,[{elixir,start_cli,[],[]},{init,start_it,1,[{file,"init.erl"},{line,1054}]},{init,
start_em,1,[{file,"init.erl"},{line,1034}]}]}}

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

erl_crash.dump

@ericmj
Copy link
Member

ericmj commented Nov 5, 2013

@shancat Erlang cannot find the elixir compiled files. Are you compiling from source or using a precompiled package? Make sure $PATH is correct.

@ghost
Copy link
Author

ghost commented Nov 5, 2013

Precompiled Erlang & Elixir. Both are in PATH -- I checked and I am running iex and erl from a completely different directory.

@josevalim
Copy link
Member

Thanks @shancat! Are you running on cygwin or regular windows shell? Also, can you try to run "iex.bat" to verify it is running the windows version and not the unix one?

Also, can anyone running Windows (/cc @ericmj @ToJans) help us very verify we didn't screw it up in the previous release? :)

@ghost
Copy link
Author

ghost commented Nov 5, 2013

Plain ol' Windows. Same result with iex.bat. Sorry for the lack of any good
information

@josevalim
Copy link
Member

@shancat That's ok. You could try an older precompiled binary and let us know if it works, that would at least help us know if it is a regression or not. Btw, can you post a link from where you downloaded them?

@ghost
Copy link
Author

ghost commented Nov 5, 2013

v0.11.0 Precompiled (zip) https://github.com/elixir-lang/elixir/releases/
Windows 64 bit binary file http://www.erlang.org/download.html

v.0.10.3 works.

@ToJans
Copy link
Contributor

ToJans commented Nov 5, 2013

I tried the pre-compiled zip, and it works on my machine 😉. Which version of Erlang are you using?

To find this out, open a command window and type the following:

erl -eval "io:format(\"~p~n\", [erlang:system_info(otp_release)])." -eval "halt()."

(Tip: copy it, right-click on the cmd window, press paste).

This is my output:

C:\Users\Tom\Downloads\v0.11.0\bin>erl -eval "io:format(\"~p~n\", [erlang:system_info(otp_release)])." -eval "halt()."
Eshell V5.10.1  (abort with ^G)
"R16B"

@ghost
Copy link
Author

ghost commented Nov 5, 2013

On my phone at the moment but if you check the dump it says this on line 4
'System version: Erlang R16B02 (erts-5.10.3) [64-bit] [smp:8:8] [async-threads:10]'

@ToJans
Copy link
Contributor

ToJans commented Nov 5, 2013

Ah, my apologies; I missed the dump file... I was just exploring the obvious thing...
Can you perform a where when you get back at your pc:

C:\Users\Tom\Downloads\v0.11.0\bin>where iex
C:\Users\Tom\Downloads\v0.11.0\bin\iex
C:\Users\Tom\Downloads\v0.11.0\bin\iex.bat
c:\dev\elixir\elixir\bin\iex
c:\dev\elixir\elixir\bin\iex.bat

C:\Users\Tom\Downloads\v0.11.0\bin>where erl
c:\Program Files\erl5.10.1\bin\erl.exe

C:\Users\Tom\Downloads\v0.11.0\bin>

@ghost
Copy link
Author

ghost commented Nov 5, 2013

>where erl
C:\Program Files\erl5.10.3\bin\erl.exe

>where iex
C:\Elixir\bin\iex
C:\Elixir\bin\iex.bat

@ghost
Copy link
Author

ghost commented Nov 5, 2013

Uhhh, this is weird. It seems to be working perfectly now. I didn't even do anything. 😖

@ToJans
Copy link
Contributor

ToJans commented Nov 5, 2013

No worries... If you would close it, that would be great!

@ghost ghost closed this as completed Nov 5, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants