Message239347
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/test_hash.py", line 89 in test_unaligned_buffers
File "/usr/local/src/Python-3.4.3/Lib/unittest/case.py", line 577 in run
File "/usr/local/src/Python-3.4.3/Lib/unittest/case.py", line 625 in __call__
File "/usr/local/src/Python-3.4.3/Lib/unittest/suite.py", line 122 in run
File "/usr/local/src/Python-3.4.3/Lib/unittest/suite.py", line 84 in __call__
File "/usr/local/src/Python-3.4.3/Lib/unittest/suite.py", line 122 in run
File "/usr/local/src/Python-3.4.3/Lib/unittest/suite.py", line 84 in __call__
File "/usr/local/src/Python-3.4.3/Lib/unittest/suite.py", line 122 in run
File "/usr/local/src/Python-3.4.3/Lib/unittest/suite.py", line 84 in __call__
File "/usr/local/src/Python-3.4.3/Lib/unittest/runner.py", line 168 in run
File "/usr/local/src/Python-3.4.3/Lib/test/support/__init__.py", line 1769 in _run_suite
File "/usr/local/src/Python-3.4.3/Lib/test/support/__init__.py", line 1803 in run_unittest
File "/usr/local/src/Python-3.4.3/Lib/test/regrtest.py", line 1279 in test_runner
File "/usr/local/src/Python-3.4.3/Lib/test/regrtest.py", line 1280 in runtest_inner
File "/usr/local/src/Python-3.4.3/Lib/test/regrtest.py", line 978 in runtest
File "/usr/local/src/Python-3.4.3/Lib/test/regrtest.py", line 763 in main
File "/usr/local/src/Python-3.4.3/Lib/test/regrtest.py", line 1564 in main_in_temp_cwd
File "/usr/local/src/Python-3.4.3/Lib/test/__main__.py", line 3 in <module>
File "/usr/local/src/Python-3.4.3/Lib/runpy.py", line 85 in _run_code
File "/usr/local/src/Python-3.4.3/Lib/runpy.py", 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;
385
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:05 | petriborg | set | recipients:
+ petriborg, jcea, christian.heimes |
2015-03-26 17:57:05 | petriborg | set | messageid: <1427392625.69.0.0373265565708.issue23786@psf.upfronthosting.co.za> |
2015-03-26 17:57:05 | petriborg | link | issue23786 messages |
2015-03-26 17:57:05 | petriborg | create | |
|