generic-shared2

Neale Ferguson <[email protected]> Mon, 14 Aug 2017 17:28:30 +0000
Newsgroups gmane.comp.gnome.mono.devel
Message-ID <D5B755F7.A50A7%[email protected]>
I am attempting to work out why s390x (sometimes) SEGVs on the
generic-shared2 test. I came across the following code in ghashtable.c
(g_hash_table_lookup_extended):

                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.

Neale




_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.dot.net/mailman/listinfo/mono-devel-list