[Mono-dev] generic-shared2

Neale Ferguson neale at sinenomine.net
Mon Aug 14 17:28:30 UTC 2017

I am attempting to work out why s390x (sometimes) SEGVs on the
generic-shared2 test. I came across the following code in ghashtable.c

                if ((*equal)(s->key, key)){

This results in a call to mono_generic_inst_equal_full which expects 3
arguments. Now this is not the cause of the crash (the s->key is -1) but
it could lead to undefined behavior if that third value (signature_only)
is not passed.


More information about the Mono-devel-list mailing list