Created attachment 23314 [details]
Log from user
1) Download https://github.com/IronLanguages/main/releases/download/ipy-2.7.7/IronPython-2.7.7-win.zip
3) mono --trace ./ipy.exe
Expected (and behavior under 4.8): an IronPython REPL will start
Actual: stackoverflow/core dump
The exact same binaries will start a REPL on 4.8, but have a stackoverflow from some weird recursive call. This is a regression in mono 5.0.
Also, see https://github.com/IronLanguages/ironpython2/issues/37 for the issue reported by a user.
I can reproduce with the information you provided. The change in Mono is we switched the System.Linq.Expressions implementation from ReferenceSource to CoreFX.
From a conversation with Alex:
> So, for this issue, the interesting thing is if I BUILD the code using
> the newer mono version, I don't see the issue, it's only if I run a
> version of IPy that was built with 4.8 that the issue arises
is that something supposed to work? Also:
> It works fine to build something on 5.x and then run under 4.8
So the other way around works.
from a conversation with Marek:
> Marek Safar [23:04]:
> @lewurm interesting, this is the first time we have this kind of issue
> it’s supported unless it’s a bug which in this case would probably have to mcs bug or some really obscure bcl hole
I can still reproduce it with Mono 5.4. Running bundled ipy (which is what we build and distribute) fails for me
$ ipy --version
Traceback (most recent call last):
TypeError: Value cannot be null.
Parameter name: method
Does mono build the latest ipy? The repository changed to IronLanguages/ironpython2 instead of IronLanguages/main, so just want to make sure that you are grabbing the correct code for distribution.
We are building it using our script at https://github.com/mono/mono/blob/master/packaging/MacSDK/ironlangs.py
That looks like an incredibly old version to me. IronRuby is no longer supported at all and there is no longer an IronPython.Mono.sln. Is this only distributed on macOS?