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

[interp][corlib] Assert during corlib test suite. #9109

Closed
kumpera opened this issue Jun 12, 2018 · 2 comments
Closed

[interp][corlib] Assert during corlib test suite. #9109

kumpera opened this issue Jun 12, 2018 · 2 comments

Comments

@kumpera
Copy link
Contributor

kumpera commented Jun 12, 2018

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

Looks like this:

***** MonoTests.System.Reflection.Emit.TypeBuilderTest.TypeResolveGenericInstances
***** MonoTests.System.Reflection.Emit.TypeBuilderTest.TypeWithFieldRVAWorksUnderSgen
* Assertion at mono-internal-hash.c:126, condition `0' not met
...

Thread 3 (Thread 0x7f7efe5fb700 (LWP 111601)):
#0  0x00007f7f018b7b3a in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00005571c4b83ba1 in mono_handle_native_crash (signal=0x5571c4dd87c6 "SIGABRT", ctx=<optimized out>, info=<optimized out>) at mini-exceptions.c:3156
#2  <signal handler called>
#3  0x00007f7f01323fff in raise () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x00007f7f0132542a in abort () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x00005571c4da05b4 in mono_log_write_logfile (log_domain=<optimized out>, level=<optimized out>, hdr=<optimized out>, message=0x7f7ef801ad10 "* Assertion at mono-internal-hash.c:126, condition `0' not met\n") at mono-log-common.c:135
#6  0x00005571c4db4a2e in monoeg_g_logstr (msg=<optimized out>, log_level=G_LOG_LEVEL_ERROR, log_domain=0x0) at goutput.c:117
#7  monoeg_g_logv_nofree (log_domain=log_domain@entry=0x0, log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x5571c4dbe098 "* Assertion at %s:%d, condition `%s' not met\n", args=args@entry=0x7f7efe5fab28) at goutput.c:128
#8  0x00005571c4db4e36 in monoeg_assertion_message (format=format@entry=0x5571c4dbe098 "* Assertion at %s:%d, condition `%s' not met\n") at goutput.c:163
#9  0x00005571c4da09dc in mono_internal_hash_table_remove (table=table@entry=0x5571c6c746e8, key=key@entry=0x5571cab59810) at mono-internal-hash.c:126
#10 0x00005571c4b01b05 in mono_jit_free_method (domain=0x5571c6c6faa0, method=0x5571cab59810) at mini-runtime.c:2486
#11 0x00005571c4cc7c9a in mono_runtime_free_method (domain=0x5571c6c6faa0, method=0x5571cab59810) at object.c:767
#12 0x00005571c4d0daed in free_dynamic_method (dynamic_method=0x5571cab56910) at sre.c:3967
#13 0x00005571c4d31e54 in reference_queue_proccess (queue=queue@entry=0x5571c925faf0) at gc.c:1129
#14 0x00005571c4d32308 in reference_queue_proccess_all () at gc.c:1143
#15 0x00005571c4d3286b in mono_runtime_do_background_work () at gc.c:872
#16 finalizer_thread (unused=unused@entry=0x0) at gc.c:909
#17 0x00005571c4cec1a2 in start_wrapper_internal (stack_ptr=<optimized out>, start_info=0x0) at threads.c:1127
#18 start_wrapper (data=0x5571c6cb5060) at threads.c:1187
#19 0x00007f7f018ae494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#20 0x00007f7f013d9acf in clone () from /lib/x86_64-linux-gnu/libc.so.6
@lewurm
Copy link
Contributor

lewurm commented Jun 13, 2018

this PR introduces the failure: #9067

akoeplinger pushed a commit that referenced this issue Jun 13, 2018
…rp code hastable (#9116)

When creating dynamic methods, we put those in a queue so they can be collected later via `mono_jit_free_method ()`. the interpreter part was assuming, as soon as we allocate a dynamic method, it will be executed eventually and therefore an InterpMethod must exist in `info.interp_code_hash`, but this isn't necessarily the case.

Fixes #9109
jonpryor pushed a commit to dotnet/android that referenced this issue Dec 6, 2018
Bumps to mono/api-snapshot@b99fc87c.
Bumps to mono/bockbuild@5af573e7.
Bumps to mono/boringssl@41221b45.
Bumps to mono/corefx@23d0b584.
Bumps to mono/corert@af496fc1.
Bumps to dotnet/linker@7af03ce0.
Bumps to mono/NUnitLite@00e259a4.
Bumps to mono/reference-assemblies@93258263.
Bumps to mono/roslyn-binaries@249709fa.
Bumps to mono/xunit-binaries@bb583470.

	$ git diff --shortstat b63e5378..23f2024a      # mono 
	 1630 files changed, 50926 insertions(+), 92212 deletions(-)

Fixes: mono/mono#6352
Fixes: mono/mono#6947
Fixes: mono/mono#6992
Fixes: mono/mono#7615
Fixes: mono/mono#8340
Fixes: mono/mono#8407
Fixes: mono/mono#8575
Fixes: mono/mono#8627
Fixes: mono/mono#8707
Fixes: mono/mono#8766
Fixes: mono/mono#8848
Fixes: mono/mono#8866
Fixes: mono/mono#8935
Fixes: mono/mono#9010
Fixes: mono/mono#9023
Fixes: mono/mono#9031
Fixes: mono/mono#9033
Fixes: mono/mono#9106
Fixes: mono/mono#9109
Fixes: mono/mono#9155
Fixes: mono/mono#9179
Fixes: mono/mono#9232
Fixes: mono/mono#9234
Fixes: mono/mono#9262
Fixes: mono/mono#9277
Fixes: mono/mono#9292
Fixes: mono/mono#9318
Fixes: mono/mono#9318
Fixes: mono/mono#9332
Fixes: mono/mono#9407
Fixes: mono/mono#9421
Fixes: mono/mono#9505
Fixes: mono/mono#9542
Fixes: mono/mono#9581
Fixes: mono/mono#9623
Fixes: mono/mono#9684
Fixes: mono/mono#9750
Fixes: mono/mono#9753
Fixes: mono/mono#9772
Fixes: mono/mono#9839
Fixes: mono/mono#9869
Fixes: mono/mono#9921
Fixes: mono/mono#9943
Fixes: mono/mono#9947
Fixes: mono/mono#9973
Fixes: mono/mono#9996
Fixes: mono/mono#10000
Fixes: mono/mono#10031
Fixes: mono/mono#10035
Fixes: mono/mono#10227
Fixes: mono/mono#10243
Fixes: mono/mono#10303
Fixes: mono/mono#10448
Fixes: mono/mono#10483
Fixes: mono/mono#10488
Fixes: mono/mono#10863
Fixes: mono/mono#11123
Fixes: mono/mono#11138
Fixes? mono/mono#11146
Fixes: mono/mono#11202
Fixes: mono/mono#11378
Fixes: mono/mono#11479
Fixes: mono/mono#11613
Fixes: #1951
Fixes: xamarin/xamarin-macios#4347
Fixes: xamarin/xamarin-macios#4617
Fixes: xamarin/xamarin-macios#4984
picenka21 pushed a commit to picenka21/runtime that referenced this issue Feb 18, 2022
…rp code hastable (mono/mono#9116)

When creating dynamic methods, we put those in a queue so they can be collected later via `mono_jit_free_method ()`. the interpreter part was assuming, as soon as we allocate a dynamic method, it will be executed eventually and therefore an InterpMethod must exist in `info.interp_code_hash`, but this isn't necessarily the case.

Fixes mono/mono#9109


Commit migrated from mono/mono@9d777bf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants