Comment 6 for bug 806306

Revision history for this message
Bryce Harrington (bryce) wrote :

#1 0x00007f08dd022a56 in g_hash_table_lookup_node (hash_table=0x41ec880, key=0x41ec890, notify=1) at /build/buildd/glib2.0-2.28.6/./glib/ghash.c:313
        node = <value optimized out>
        node_index = <value optimized out>
        hash_value = <value optimized out>
        step = 0

313: hash_value = (* hash_table->hash_func) (key);
314: if (G_UNLIKELY (hash_value <= 1))
315: hash_value = 2;
316:
317: node_index = hash_value % hash_table->mod;

Can hash_table->hash_func == NULL ?

Line 313 has been since changed by this patch:
http://git.gnome.org/browse/glib/commit/glib/ghash.c?id=88f23fb1d9aa0f84cbeebe086db022864a7eb3be