Peter added the comment:
OK I recompiled with "./configure --prefix=/usr/local --enable-shared
--with-pydebug" and reran the test, unfortunately...
$ LD_LIBRARY_PATH=/usr/local/src/Python-3.4.3 ./python -m test test_hash
[1/1] test_hash
1 test OK.
I then applied the patch in msg239385, this resulted in the same crash, I
couldn't see any difference in gdb.
I then tried each of the patches in msg239384, with -munaligned-doubles and
with -mnounaligned-doubles, again no difference.
I did notice that two tests failed in test_hash prior to the core dump, so here
are the outputs from those in case that helps.
<3.4.3 ./python -m test -v test_hash.DatetimeDatetimeTests
test_hash.DatetimeTimeTests
== CPython 3.4.3 (default, Mar 27 2015, 08:45:04) [GCC 4.6.2]
== Solaris-2.11-sun4v-sparc-32bit-ELF big-endian
== hash algorithm: fnv 32bit
== /usr/local/src/Python-3.4.3/build/test_python_10340
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0,
dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0,
verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0)
[1/2] test_hash.DatetimeDatetimeTests
test test_hash.DatetimeDatetimeTests crashed -- Traceback (most recent call
last):
File "<frozen importlib._bootstrap>", line 2218, in _find_and_load_unlocked
AttributeError: 'module' object has no attribute '__path__'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/src/Python-3.4.3/Lib/test/regrtest.py", line 1271, in
runtest_inner
the_module = importlib.import_module(abstest)
File "/usr/local/src/Python-3.4.3/Lib/importlib/__init__.py", line 109, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2221, in _find_and_load_unlocked
ImportError: No module named 'test.test_hash.DatetimeDatetimeTests';
'test.test_hash' is not a package
[2/2/1] test_hash.DatetimeTimeTests
test test_hash.DatetimeTimeTests crashed -- Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 2218, in _find_and_load_unlocked
AttributeError: 'module' object has no attribute '__path__'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/src/Python-3.4.3/Lib/test/regrtest.py", line 1271, in
runtest_inner
the_module = importlib.import_module(abstest)
File "/usr/local/src/Python-3.4.3/Lib/importlib/__init__.py", line 109, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2221, in _find_and_load_unlocked
ImportError: No module named 'test.test_hash.DatetimeTimeTests';
'test.test_hash' is not a package
2 tests failed:
test_hash.DatetimeDatetimeTests test_hash.DatetimeTimeTests
Thanks guys!
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue23786>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com