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

Mono error on Linux #449

Closed
crisfervil opened this issue Jun 28, 2016 · 3 comments
Closed

Mono error on Linux #449

crisfervil opened this issue Jun 28, 2016 · 3 comments

Comments

@crisfervil
Copy link

crisfervil commented Jun 28, 2016

Hi,

I'm getting an error when trying to run any .net code with edge. I've tried several examples and I get the same error:No managed allocator, but we need one for AOT.

It started failing after the last mono release. 4.4.1.0

I've tried with a previous version 4.2.3 and it works well.

This is the stack trace:

Error: No managed allocator, but we need one for AOT.
Are you using non-standard GC options?
Stacktrace:
  at <unknown> <0xffffffff>
  at System.Globalization.CultureInfo..cctor () <0x00014>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0x00062>
  at <unknown> <0xffffffff>
  at System.Text.RegularExpressions.Regex..ctor (string,System.Text.RegularExpressions.RegexOptions,System.TimeSpan,bool) <0x000c4>
  at System.Text.RegularExpressions.Regex..ctor (string,System.Text.RegularExpressions.RegexOptions) <0x0003b>
  at EdgeCompiler..cctor () <0x00047>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0x00062>
Native stacktrace:
    /usr/lib/libmonosgen-2.0.so.1(+0xdac0d) [0x7f8e2db22c0d]
    /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f8e3e62bcb0]
    /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f8e3e294035]
    /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7f8e3e29779b]
    /usr/lib/libmonosgen-2.0.so.1(+0x26c1d9) [0x7f8e2dcb41d9]
    /usr/lib/libmonosgen-2.0.so.1(+0x26c3e7) [0x7f8e2dcb43e7]
    /usr/lib/libmonosgen-2.0.so.1(+0x26c492) [0x7f8e2dcb4492]
    /usr/lib/libmonosgen-2.0.so.1(+0xc6170) [0x7f8e2db0e170]
    /usr/lib/libmonosgen-2.0.so.1(+0xc91f4) [0x7f8e2db111f4]
    /usr/lib/libmonosgen-2.0.so.1(+0xcfefb) [0x7f8e2db17efb]
    /usr/lib/libmonosgen-2.0.so.1(+0xdccdd) [0x7f8e2db24cdd]
    [0x4106fc15]
Debug info from gdb:

Any Ideas, hits, clue about what may be causing this?

This is a travis-ci detailed log: https://travis-ci.org/crisfervil/DynamicsNode/builds/139892709

Regards,

Cristhian

@turbo
Copy link

turbo commented Jul 4, 2016

cc this

@turbo
Copy link

turbo commented Jul 4, 2016

Duplicates closed, main Bug is now 42169. Consider adding you logs there if your issue is drastically different.

@tjanczuk
Copy link
Owner

Unfortunately Mono regressed after 4.2.4. The 42169 appears to be fixed in 4.6, but pulling it from the alpha channel results in 43473. I suppose we need to wait for stable release of Mono that fixes all the issues. In the meantime pinning to 4.2.4 is a workaround. Check out Dockerfile for how it is done.

@agracio agracio closed this as completed Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants