Comment 11 for bug 1620754

Revision history for this message
Matthias Klose (doko) wrote :

with a -O0 build:

Program received signal SIGBUS, Bus error.
0x001a761e in siphash24 (src=0xf74e6fcd, src_sz=10) at ../Python/pyhash.c:384
384 uint64_t mi = _le64toh(*in);
(gdb) info locals
mi = 12884829592
k0 = 2790264422508071935
k1 = 4214380634785109344
b = 720575940379279360
in = 0xf74e6fcd
v0 = 6185254077475221130
v1 = 6778778058880104973
v2 = 5386417098822285726
v3 = 5627556395274645523
t = 1
pt = 0xf74b0320 ""
m = 0x1 <error: Cannot access memory at address 0x1>
(gdb) info args
src = 0xf74e6fcd
src_sz = 10

where _le64toh is defined as
# define _le64toh(x) ((uint64_t)(x))