Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2020 18:27:05 +0100
From:      Axel Rau <Axel.Rau@Chaos1.DE>
To:        python@FreeBSD.org
Subject:   Illegal instruction in lCrypto/Math/_IntegerGMP.py
Message-ID:  <FB58BCDF-CB55-4F8F-9FC6-A99401007817@Chaos1.DE>

next in thread | raw e-mail | index | archive | help


--Apple-Mail=_2033197A-8387-410E-8164-FA7FC858D5B6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

This happens during initialization befor calling load_entry_point():
- - -
/usr/local/py_venv/dskm_p37/lib/python3.7/site.py:165: =
DeprecationWarning: 'U' mode is deprecated
  f =3D open(fullname, "rU")
Fatal Python error: Illegal instruction

Current thread 0x0000000800a24000 (most recent call first):
  File =
"/usr/local/py_venv/dskm_p37/lib/python3.7/site-packages/Crypto/Math/_Inte=
gerGMP.py", line 163 in __init__
  File =
"/usr/local/py_venv/dskm_p37/lib/python3.7/site-packages/Crypto/PublicKey/=
ECC.py", line 123 in init_p256
  File =
"/usr/local/py_venv/dskm_p37/lib/python3.7/site-packages/Crypto/PublicKey/=
ECC.py", line 138 in <module>
  File "<frozen importlib._bootstrap>", line 219 in =
_call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in =
_find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File =
"/usr/local/py_venv/dskm_p37/lib/python3.7/site-packages/Crypto/Signature/=
DSS.py", line 42 in <module>
  File "<frozen importlib._bootstrap>", line 219 in =
_call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in =
_find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in =
_call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1035 in _handle_fromlist
  File =
"/usr/local/py_venv/dskm_p37/lib/python3.7/site-packages/dns/dnssec.py", =
line 484 in <module>
  File "<frozen importlib._bootstrap>", line 219 in =
_call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in =
_find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File =
"/usr/local/py_venv/dskm_p37/lib/python3.7/site-packages/dns/rdtypes/dnske=
ybase.py", line 22 in <module>
  File "<frozen importlib._bootstrap>", line 219 in =
_call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in =
_find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File =
"/usr/local/py_venv/dskm_p37/lib/python3.7/site-packages/dns/rdtypes/ANY/D=
NSKEY.py", line 18 in <module>
  File "<frozen importlib._bootstrap>", line 219 in =
_call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in =
_find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/usr/local/src/DSKM/DSKM/zone.py", line 37 in <module>
  File "<frozen importlib._bootstrap>", line 219 in =
_call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in =
_find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/usr/local/src/DSKM/DSKM/operate.py", line 32 in <module>
  File "<frozen importlib._bootstrap>", line 219 in =
_call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in =
_find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File =
"/usr/local/py_venv/dskm_p37/lib/python3.7/site-packages/pkg_resources/__i=
nit__.py", line 2352 in resolve
  File =
"/usr/local/py_venv/dskm_p37/lib/python3.7/site-packages/pkg_resources/__i=
nit__.py", line 2346 in load
  File =
"/usr/local/py_venv/dskm_p37/lib/python3.7/site-packages/pkg_resources/__i=
nit__.py", line 2728 in load_entry_point
  File =
"/usr/local/py_venv/dskm_p37/lib/python3.7/site-packages/pkg_resources/__i=
nit__.py", line 487 in load_entry_point
  File "/usr/local/py_venv/dskm_p37/bin/operate_dskm", line 11 in =
<module>
Illegal instruction (core dumped)
#
Versions:
gmp-6.2.0

dnspython    1.16.0
pycryptodome  3.9.7

Is this a bug?

Any pointers welcome,
Axel
---
PGP-Key: CDE74120  =E2=98=80  computing @ chaos claudius


--Apple-Mail=_2033197A-8387-410E-8164-FA7FC858D5B6
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2
Comment: GPGTools - http://gpgtools.org

iQIzBAEBCAAdFiEEl5evOTfnjZdhkBzKaPxTRM3nQSAFAl5zq2kACgkQaPxTRM3n
QSBuKw/+M3brWCNsK9XAJUSyA0glwmdG9ogcgw00zBS9ArdU5fD1wvKToQxd7Obn
vWO04VNNZ0cOKKwyGlsfFKx18GN8Nfmn5iqFN1HVvGkRXKZNy17WXZ5b4tu92o6B
XEGKqKIr2wcRP0WtATUZf2pahPKC91ek6U7UVc70DQ2uwIwQy6OIV4rNYC80pQrr
jrw5IfNEM+amKGAl6zSvBvEZ7s0jlOPARXseX3LNWCqro2TWk82GCnUrJ2jZKyeM
nZiKq4M7exOs7kDN52qbjju/pecf+N3iwSy/hr/bW7rwAzE1DuVJrZHI1eTyZcFu
lCR5j1zZbBCf7xLFNQeNMpIsGxy/HQNNdC/MJkVwTmRYIugelu8bPK4gswbUWwzL
DEaMn3vxNNf7Q31PnG5PFH6ogmbhLS8aJKChV7uVlYYAI/+frVdsM1X3gIdJVMgA
+pcDXRCUT3YQN5zYr0YRzcEmMme7+oEiYtIlokkKqGZBeecNkUuLmhKlxpjYwV0T
SnvyMGEr7/VcLFPgBCRcnhz6gZi9t3Qw+iPEBHMtA2BAHJi87cCXZOJ1aMbRL52U
6BKef1Q8QU/OiCJ+eWW7k0dhPMA0zQij+8nCL0lpP4EVriRHj9G5M4XnDxiso5B4
dzcp6K7H23nre45fVVFvY9lJrnFgqMy+zcvYiFuoKKEsujTRJZo=
=vlFR
-----END PGP SIGNATURE-----

--Apple-Mail=_2033197A-8387-410E-8164-FA7FC858D5B6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FB58BCDF-CB55-4F8F-9FC6-A99401007817>