NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-macppc/55165: libcrypto/t_ciphers:evp test case fails on macppc
>Number: 55165
>Category: port-macppc
>Synopsis: libcrypto/t_ciphers:evp test case fails on macppc
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-macppc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 11 13:10:01 +0000 2020
>Originator: Paul Goyette
>Release: NetBSD 9.99.52
>Organization:
+--------------------+--------------------------+-----------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost |
+--------------------+--------------------------+-----------------------+
>Environment:
System: NetBSD 9.99.55 (GETHSEMANE) #36: Tue Apr 7 13:34:10 CEST 2020 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/macppc/compile/GETHSEMANE
Architecture: macppc
Machine: macppc
>Description:
The libcrypto/t_ciphers:evp test case reliably fails on macppc. Martin
indicates that "openssl powerpc cpu type detection is wrong somehow."
The failure results in the following back-trace (from the core dump of
the h_evp_test helper program):
Core was generated by `h_evp_test'.
Program terminated with signal SIGILL, Illegal instruction.
#0 0xfdd5a160 in SHA3_absorb () from /usr/lib/libcrypto.so.14
(gdb) bt
#0 0xfdd5a160 in SHA3_absorb () from /usr/lib/libcrypto.so.14
#1 0xfdd4c3f8 in sha3_final (evp_ctx=<optimized out>,
md=0xfd884000 "\375\351x|\377\377\377\377")
at $SRC/crypto/external/bsd/openssl/dist/crypto/evp/m_sha3.c:123
#2 0xfdcf54d4 in EVP_DigestFinal_ex (ctx=0xfdb8c020, md=<optimized out>,
size=0xffffd860)
at $SRC/crypto/external/bsd/openssl/dist/crypto/evp/digest.c:174
#3 0xfdcf5584 in EVP_DigestFinal (ctx=ctx@entry=0xfdb8c020,
md=md@entry=0xfd884000 "\375\351x|\377\377\377\377",
size=size@entry=0xffffd860)
at $SRC/crypto/external/bsd/openssl/dist/crypto/evp/digest.c:163
#4 0x01807398 in digest_test_run (t=0xfd8b0000)
at $SRC/crypto/external/bsd/openssl/dist/test/evp_test.c:434
#5 0x01804f44 in run_test (t=0xfd8b0000)
at $SRC/crypto/external/bsd/openssl/dist/test/evp_test.c:2546
#6 run_file_tests (i=<optimized out>)
at $SRC/crypto/external/bsd/openssl/dist/test/evp_test.c:2701
#7 0x01809940 in run_tests (test_prog_name=<optimized out>)
at $SRC/crypto/external/bsd/openssl/dist/test/testutil/driver.c:239
#8 0x0180fc08 in main (argc=<optimized out>, argv=0xffffe9b4)
at $SRC/crypto/external/bsd/openssl/dist/test/testutil/main.c:51
>How-To-Repeat:
cd /usr/tests/crypto
atf-run t_libcrypto
>Fix:
unknown
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index