alchemist.el icon indicating copy to clipboard operation
alchemist.el copied to clipboard

IEx hung my Emacs completly.

Open crabonature opened this issue 6 years ago • 12 comments

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

crabonature avatar Oct 03 '17 15:10 crabonature

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

michaelstalker avatar Oct 10 '17 15:10 michaelstalker

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

crabonature avatar Oct 10 '17 17:10 crabonature

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

michaelstalker avatar Oct 12 '17 16:10 michaelstalker

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

narendraj9 avatar Nov 07 '17 15:11 narendraj9

having the same issue

cs-miller avatar Nov 09 '17 20:11 cs-miller

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

narendraj9 avatar Dec 04 '17 16:12 narendraj9

Same issue here, any update?

turlando avatar Dec 06 '17 19:12 turlando

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

khoerling avatar Dec 12 '17 23:12 khoerling

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

maruks avatar Dec 18 '17 10:12 maruks

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.

maruks avatar Dec 18 '17 12:12 maruks

I have this issue as well:

  • Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
  • Elixir 1.5.3
  • GNU Emacs 25.3.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2017-09-12
  • macOS High Sierra

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

sammcmahon avatar Dec 21 '17 05:12 sammcmahon

@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?

the-kenny avatar Apr 18 '18 09:04 the-kenny