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

Interpreter crashes when encountering build-in types #14246

Closed
rolfbjarne opened this issue Apr 26, 2019 · 1 comment · Fixed by #14501 or xamarin/xamarin-android#3117

Comments

@rolfbjarne
Copy link
Member

@rolfbjarne rolfbjarne commented Apr 26, 2019

Steps to Reproduce

  1. Build xamarin-macios/master as of today (for instance xamarin/xamarin-macios@6c36746)
  2. cd tests && make runner to launch the test runner in the browser
  3. Run any of the monotouch-test/iOS Unified 64-bits - device/*interpreter* tests.

Current Behavior

The tests run for a while, then crashes with:

monotouchtest[810:229200] error: MonoTouchFixtures.CoreGraphics.RectTest:Inflate (): CEE_RET: value type stack: 96 vs. 0

Application Output
Crash report

Expected Behavior

No crash

@akoeplinger akoeplinger added this to the 2019-02 (6.0.xx) milestone Apr 26, 2019
mandel-macaque referenced this issue in xamarin/xamarin-macios Apr 29, 2019
* [jenkins] Add support to build.sh for timing out the build.

* Test timeout support

* [jenkins] Tell the world what happened.

* [jenkins] Minor announcement fix + disable test mode.
mandel-macaque referenced this issue in xamarin/xamarin-macios Apr 29, 2019
Some code now need to be initialized a few lines earlier... otherwise we
end up with an error like:

```
/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/bin/mmp --version
error MM0000: Unexpected error - Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
System.InvalidOperationException: Nullable object must have a value.
  at System.Nullable`1[T].get_Value () [0x0000d] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-02/external/bockbuild/builds/mono-x64/external/corefx/src/Common/src/CoreLib/System/Nullable.cs:48
  at Xamarin.Bundler.Driver.get_TargetFramework () [0x00001] in /Users/poupou/git/xamarin/xamarin-macios/tools/common/Driver.cs:198
  at Xamarin.Bundler.Application.get_Platform () [0x00001] in /Users/poupou/git/xamarin/xamarin-macios/tools/common/Application.cs:62
  at Xamarin.Bundler.RuntimeOptions.ParseHttpMessageHandler (Xamarin.Bundler.Application app, System.String value) [0x0002f] in /Users/poupou/git/xamarin/xamarin-macios/src/ObjCRuntime/RuntimeOptions.cs:43
  at Xamarin.Bundler.RuntimeOptions.Create (Xamarin.Bundler.Application app, System.String http_message_handler, System.String tls_provider) [0x00007] in /Users/poupou/git/xamarin/xamarin-macios/src/ObjCRuntime/RuntimeOptions.cs:34
  at Xamarin.Bundler.Driver.Main2 (System.String[] args) [0x00a78] in /Users/poupou/git/xamarin/xamarin-macios/tools/mmp/driver.cs:377
  at Xamarin.Bundler.Driver.Main (System.String[] args) [0x00015] in /Users/poupou/git/xamarin/xamarin-macios/tools/mmp/driver.cs:211
```
mandel-macaque referenced this issue in xamarin/xamarin-macios May 6, 2019
mandel-macaque referenced this issue in xamarin/xamarin-macios May 6, 2019
@lewurm

This comment has been minimized.

Copy link
Member

@lewurm lewurm commented May 8, 2019

output of env MONO_VERBOSE_METHOD=Inflate: https://gist.github.com/lewurm/7aae267515fa979ceadb8696c48e24df

@rolfbjarne rolfbjarne referenced this issue May 9, 2019
4 of 5 tasks complete
monojenkins added a commit that referenced this issue May 18, 2019
[interp] disable inlining for built-in types

Fixes #14246
monojenkins added a commit that referenced this issue May 20, 2019
[2019-04] [interp] disable inlining for built-in types

Fixes #14246

Backport of #14501.

/cc @lewurm
monojenkins added a commit that referenced this issue May 20, 2019
[2019-02] [interp] disable inlining for built-in types

Fixes #14246

Backport of #14501.

/cc @lewurm
jonpryor added a commit to jonpryor/xamarin-android that referenced this issue May 23, 2019
jonpryor added a commit to xamarin/xamarin-android that referenced this issue May 23, 2019
Fixes: mono/mono#14246
Fixes: #2780
jonpryor added a commit to xamarin/xamarin-android that referenced this issue May 23, 2019
Fixes: mono/mono#14246
Fixes: #2780
@marek-safar marek-safar changed the title Interpreter crashes when running monotouch-test Interpreter crashes when encountering build-in types Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.