larsendt/hashtable

hashtable-test segfaults on stress test section

Closed this issue · 2 comments

Appears to have been caused by 44942c0

Valgrind gives the following output

vex amd64->IR: unhandled instruction bytes: 0xFA 0xDC 0x3 0x5 0x0 0x0 0x0 0x0
vex amd64->IR:   REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
vex amd64->IR:   VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=NONE
vex amd64->IR:   PFX.66=0 PFX.F2=0 PFX.F3=0
==4481== valgrind: Unrecognised instruction at address 0x7fefffd50.
==4481==    at 0x7FEFFFD50: ???
==4481==    by 0x503D106: ht_insert_he (hashtable.c:162)
==4481==    by 0x503D855: ht_resize (hashtable.c:379)
==4481==    by 0x503D2B0: ht_insert_he (hashtable.c:202)
==4481==    by 0x503D0CA: ht_insert (hashtable.c:152)
==4481==    by 0x401500: main (main.c:93)

Have a look on #7 for my comment on this!

Fixed by 998fb71