NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/51569: crypto tests randomly failing on amd64 with openssl 1.0.2j



The following reply was made to PR lib/51569; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: spz%NetBSD.org@localhost
Subject: Re: lib/51569: crypto tests randomly failing on amd64 with openssl 1.0.2j
Date: Wed, 28 Dec 2016 19:21:37 +0200

 Running 
 
   cd /usr/tests/crypto/libcrypto
   ./t_libcrypto bn
 
 on a physical machine yielded a core file and a backtrace:
 
   (gdb) where
   #0  0x00007d4b35f735ca in bn_GF2m_mul_2x2 () from /usr/lib/libcrypto.so.12
   #1  0x00007d4b35f6ebb7 in BN_GF2m_mod_mul_arr () from /usr/lib/libcrypto.so.12
   #2  0x00007d4b35f6f7ce in BN_GF2m_mod_mul () from /usr/lib/libcrypto.so.12
   #3  0x0000000003407cb7 in test_gf2m_mod_mul ()
   #4  0x0000000003409e99 in main ()
   (gdb) x/i $pc
   => 0x7d4b35f735ca <bn_GF2m_mul_2x2+42>:	pclmullqlqdq %xmm1,%xmm0
   (gdb)
 
 Wikipedia says pclmullqlqdq (I hope I will never have to pronounce
 that) was introduced around 2010, but the CPU on this machine (an
 Intel Core 2 Quad Q6600) is older than that, so it looks like there
 is something wrong with the CPU feature detection.
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index