tonini / alchemist.el

Elixir Tooling Integration Into Emacs
http://www.alchemist-elixir.org
906 stars 103 forks source link

IEx hung my Emacs completly. #326

Open crabonature opened 6 years ago

crabonature commented 6 years ago

There is some problem. When I use IEx on my Emacs through alchemist it always hang.

Steps to reproduce:

M-x alchemist-iex-run
iex(1)> 1 + 1
1 + 1
2
iex(2)> 1 ++ 1
1 ++ 1
** (ArgumentError) argument error
    :erlang.++(1, 1)
iex(2)> 1 + 1      <-------------------- after Enter here it always hang forever 
(it always hang next instruction after instruction with some error or exception)

Erlang/OTP 20 [erts-9.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Elixir 1.5.2

GNU Emacs 25.3

macOS Sierra

michaelstalker commented 6 years ago

This happens for me, as well.

@crabonature I can kill the IEx process without having to restart Emacs by hitting C-g twice and C-c four times.

Elixir 1.5.1 GNU Emacs 24.5.1 and 25.3.1 macOS Sierra 10.12.6

crabonature commented 6 years ago

@michaelstalker Thanks for a nice working tip. So I can kill it gracefully.

michaelstalker commented 6 years ago

A friend could replicate the issue on Elixir 1.5.1, but not on 1.4.0.

narendraj9 commented 6 years ago

@michaelraskansky Any information on why this happens? Looks like it hangs every time after there is an Exception.

cs-miller commented 6 years ago

having the same issue

narendraj9 commented 6 years ago

@tonini Any change of you looking into this issue in the near future?

turlando commented 6 years ago

Same issue here, any update?

khoerling commented 6 years ago

Ditto and applying this pull request didn't fix the issue for me: https://github.com/tonini/alchemist.el/pull/314

UPDATE: thank you @maruks, works perfectly after recompiling

maruks commented 6 years ago

Happens with Elixir 1.5.2. GNU Emacs 25.1.1, Mac OS Sierra.

maruks commented 6 years ago

Pull request https://github.com/tonini/alchemist.el/pull/314 solves this problem. Why is it not merged? Make sure you delete old alchemist elc files after applying this fix.

ghost commented 6 years ago

I have this issue as well:

EDIT: I can confirm as well #314 fixed this issue for me.

the-kenny commented 6 years ago

@tonini It looks like the issue got fixed after the last release. As this issue is quite big, would it be possible to make another release?