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 Crash on Reference Source System.Web.Extensions #14079

Closed
steveisok opened this issue Apr 16, 2019 · 3 comments · Fixed by #14142 or xamarin/xamarin-android#3041
Assignees

Comments

@steveisok
Copy link
Contributor

@steveisok steveisok commented Apr 16, 2019

During the jenkins build for #12619, there was an interesting interpreter crash that I wasn't able to reproduce.

Steps to Reproduce

  1. Pull branch from #12619
  2. Run interpreter test for System.Web.Extensions (make -w -C mcs/class/System.Web.Extensions run-test V=1)

Current Behavior

A crash is reported for MonoTests.System.Web.UI.WebControls.ListViewTest.Bug_535701_2

https://gist.github.com/steveisok/6cc918de0b0243bf59c5418be489a25f

https://jenkins.mono-project.com/job/test-mono-pull-request-interpreter/16479/parsed_console/log.html

Expected Behavior

It shouldn't crash

On which platforms did you notice this

[ ] macOS
[X] Linux
[ ] Windows

@lewurm

This comment has been minimized.

Copy link
Member

@lewurm lewurm commented Apr 16, 2019

The relevant bits from the crash

Thread 1 (Thread 0x7fd4eac65740 (LWP 21816)):
#0  0x00007fd4ea132b5a in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x000055ed6fad6700 in dump_native_stacktrace (mctx=mctx@entry=0x7ffd8c6ebf00, signal=0x55ed6fd4e578 "SIGABRT") at mini-posix.c:1111
#2  0x000055ed6fad6801 in mono_dump_native_crash_info (signal=signal@entry=0x55ed6fd4e578 "SIGABRT", mctx=mctx@entry=0x7ffd8c6ebf00, info=info@entry=0x7ffd8c6ec1f0) at mini-posix.c:1153
#3  0x000055ed6fa838d9 in mono_handle_native_crash (signal=signal@entry=0x55ed6fd4e578 "SIGABRT", mctx=mctx@entry=0x7ffd8c6ebf00, info=info@entry=0x7ffd8c6ec1f0) at mini-exceptions.c:3324
#4  0x000055ed6fad5b8f in sigabrt_signal_handler (_dummy=6, _info=0x7ffd8c6ec1f0, context=0x7ffd8c6ec0c0) at mini-posix.c:234
#5  <signal handler called>
#6  0x00007fd4e9b9efff in raise () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007fd4e9ba042a in abort () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007fd4e9bdcc00 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x00007fd4e9be2fc6 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x00007fd4e9be380e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x000055ed6fb7b76f in generate (error=<optimized out>, generic_context=<optimized out>, rtm=0x7ffd8c6ecbf0, header=<optimized out>, method=<optimized out>) at interp/transform.c:5776
#12 mono_interp_transform_method (imethod=0x7ffd8c6ecbf0, context=context@entry=0x55ed70ff03f0, error=error@entry=0x7ffd8c6ece10) at interp/transform.c:5896
#13 0x000055ed6fb5116e in do_transform_method (frame=0x7ffd8c6ed470, context=0x55ed70ff03f0) at interp/interp.c:2289
#14 0x000055ed6fb6457c in interp_exec_method_full (frame=0x7ffd8c6ed470, context=0x55ed70ff03f0, clause_args=0x0) at interp/interp.c:2870
#15 0x000055ed6fb57438 in interp_exec_method_full (frame=0x7ffd8c6ed7c0, context=0x55ed70ff03f0, clause_args=0x0) at interp/interp.c:3109
#16 0x000055ed6fb57438 in interp_exec_method_full (frame=0x7ffd8c6edb00, context=0x55ed70ff03f0, clause_args=0x0) at interp/interp.c:3109
#17 0x000055ed6fb5295c in interp_exec_method_full (frame=0x7ffd8c6ede60, context=0x55ed70ff03f0, clause_args=0x0) at interp/interp.c:3296
#18 0x000055ed6fb5295c in interp_exec_method_full (frame=0x7ffd8c6ee190, context=0x55ed70ff03f0, clause_args=0x0) at interp/interp.c:3296

/cc @BrzVlad

@marek-safar

This comment has been minimized.

Copy link
Member

@marek-safar marek-safar commented Apr 18, 2019

@BrzVlad any update on this crash?

@BrzVlad

This comment has been minimized.

Copy link
Member

@BrzVlad BrzVlad commented Apr 18, 2019

didn't look into it yet

@BrzVlad BrzVlad self-assigned this Apr 18, 2019
BrzVlad added a commit to BrzVlad/mono that referenced this issue Apr 19, 2019
BrzVlad added a commit that referenced this issue Apr 21, 2019
monojenkins added a commit to monojenkins/mono that referenced this issue Apr 21, 2019
BrzVlad added a commit to BrzVlad/mono that referenced this issue Apr 23, 2019
jaykrell pushed a commit to jaykrell/mono that referenced this issue Apr 23, 2019
BrzVlad added a commit that referenced this issue Apr 23, 2019
BrzVlad added a commit that referenced this issue Apr 24, 2019
Fixes #14079
jonpryor added a commit to jonpryor/xamarin-android that referenced this issue Apr 29, 2019
Fixes: mono/mono#13654
Fixes: mono/mono#14079
Fixes: xamarin/xamarin-macios#5809

Context: https://github.com/xamarin/monodroid/runs/113546526
Context: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=2629299

Most importantly, we *hope* that mono/mono@0136ead will fix a
Xamarin.Android Designer integration bug which prevented
`libmonosgen-2.0.dll` from being loaded on Windows because
`libmonosgen-2.0.dll` was (1) referencing `libgcc_s_seh-1.dll`, and
(2) `libgcc_s_seh-1.dll` could not be found (it wasn't packaged).

Commit mono/mono@0136ead *should* remove the dependency on
`libgcc_s_seh-1.dll`, thus fixing the Designer tests on Windows.
jonpryor added a commit to xamarin/xamarin-android that referenced this issue Apr 30, 2019
Fixes: mono/mono#13654
Fixes: mono/mono#14079
Fixes: xamarin/xamarin-macios#5809

Context: https://github.com/xamarin/monodroid/runs/113546526
Context: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=2629299

Most importantly, we *hope* that mono/mono@0136ead will fix a
Xamarin.Android Designer integration bug which prevented
`libmonosgen-2.0.dll` from being loaded on Windows because
`libmonosgen-2.0.dll` was (1) referencing `libgcc_s_seh-1.dll`, and
(2) `libgcc_s_seh-1.dll` could not be found (it wasn't packaged).

Commit mono/mono@0136ead *should* remove the dependency on
`libgcc_s_seh-1.dll`, thus fixing the Designer tests on Windows.
jonpryor added a commit to xamarin/xamarin-android that referenced this issue Apr 30, 2019
Fixes: mono/mono#13654
Fixes: mono/mono#14079
Fixes: xamarin/xamarin-macios#5809

Context: https://github.com/xamarin/monodroid/runs/113546526
Context: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=2629299

Most importantly, we *hope* that mono/mono@0136ead will fix a
Xamarin.Android Designer integration bug which prevented
`libmonosgen-2.0.dll` from being loaded on Windows because
`libmonosgen-2.0.dll` was (1) referencing `libgcc_s_seh-1.dll`, and
(2) `libgcc_s_seh-1.dll` could not be found (it wasn't packaged).

Commit mono/mono@0136ead *should* remove the dependency on
`libgcc_s_seh-1.dll`, thus fixing the Designer tests on Windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.