This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petriborg
Recipients christian.heimes, jcea, petriborg
Date 2015-03-26.17:57:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I went and recompiled with:
$ ./configure --prefix=/usr/local --enable-shared --with-hash-algorithm=siphash24

But this crashed as well.

test_unaligned_buffers (test.test_hash.HashEqualityTestCase) ... Fatal Python error: Bus error

Current thread 0x00000001 (most recent call first):
  File "/usr/local/src/Python-3.4.3/Lib/test/", line 89 in test_unaligned_buffers
  File "/usr/local/src/Python-3.4.3/Lib/unittest/", line 577 in run
  File "/usr/local/src/Python-3.4.3/Lib/unittest/", line 625 in __call__
  File "/usr/local/src/Python-3.4.3/Lib/unittest/", line 122 in run
  File "/usr/local/src/Python-3.4.3/Lib/unittest/", line 84 in __call__
  File "/usr/local/src/Python-3.4.3/Lib/unittest/", line 122 in run
  File "/usr/local/src/Python-3.4.3/Lib/unittest/", line 84 in __call__
  File "/usr/local/src/Python-3.4.3/Lib/unittest/", line 122 in run
  File "/usr/local/src/Python-3.4.3/Lib/unittest/", line 84 in __call__
  File "/usr/local/src/Python-3.4.3/Lib/unittest/", line 168 in run
  File "/usr/local/src/Python-3.4.3/Lib/test/support/", line 1769 in _run_suite
  File "/usr/local/src/Python-3.4.3/Lib/test/support/", line 1803 in run_unittest
  File "/usr/local/src/Python-3.4.3/Lib/test/", line 1279 in test_runner
  File "/usr/local/src/Python-3.4.3/Lib/test/", line 1280 in runtest_inner
  File "/usr/local/src/Python-3.4.3/Lib/test/", line 978 in runtest
  File "/usr/local/src/Python-3.4.3/Lib/test/", line 763 in main
  File "/usr/local/src/Python-3.4.3/Lib/test/", line 1564 in main_in_temp_cwd
  File "/usr/local/src/Python-3.4.3/Lib/test/", line 3 in <module>
  File "/usr/local/src/Python-3.4.3/Lib/", line 85 in _run_code
  File "/usr/local/src/Python-3.4.3/Lib/", line 170 in _run_module_as_main
Bus Error (core dumped)

test_unaligned_buffers (test.test_hash.HashEqualityTestCase) ...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0xff25d3d8 in siphash24 (src=0x1d2809, src_sz=<optimized out>) at Python/pyhash.c:387
387             PY_UINT64_T mi = _le64toh(*in);
(gdb) bt
#0  0xff25d3d8 in siphash24 (src=0x1d2809, src_sz=<optimized out>) at Python/pyhash.c:387
#1  0xff25dfa0 in _Py_HashBytes (src=0x1d2809, len=127) at Python/pyhash.c:186
#2  0xff1a7ce4 in memory_hash (self=0xfdfc5dc0) at Objects/memoryobject.c:2793
#3  0xff1afa40 in PyObject_Hash (v=0xfdfc5dc0) at Objects/object.c:757
#4  0xff22b6fc in builtin_hash (self=0xfee23600, v=0xfdfc5dc0) at Python/bltinmodule.c:1269
#5  0xff236a70 in call_function (oparg=<optimized out>, pp_stack=0xffbfcd64) at Python/ceval.c:4224
#6  PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:2838
#7  0xff237790 in fast_function (nk=<optimized out>, na=<optimized out>, n=1, pp_stack=0xffbfce5c,
    func=<optimized out>) at Python/ceval.c:4334

(gdb) list
382         PY_UINT64_T t;
383         PY_UINT8_T *pt;
384         PY_UINT8_T *m;
386         while (src_sz >= 8) {
387             PY_UINT64_T mi = _le64toh(*in);
388             in += 1;
389             src_sz -= 8;
390             v3 ^= mi;
391             DOUBLE_ROUND(v0,v1,v2,v3);
Date User Action Args
2015-03-26 17:57:05petriborgsetrecipients: + petriborg, jcea, christian.heimes
2015-03-26 17:57:05petriborgsetmessageid: <>
2015-03-26 17:57:05petriborglinkissue23786 messages
2015-03-26 17:57:05petriborgcreate