Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2020 19:31:23 +0100
From:      Axel Rau <Axel.Rau@Chaos1.DE>
To:        python@FreeBSD.org
Subject:   Re: Illegal instruction in lCrypto/Math/_IntegerGMP.py
Message-ID:  <B7EEE3D7-2ADD-43E5-9B35-3E12750C1BCA@Chaos1.DE>
In-Reply-To: <FB58BCDF-CB55-4F8F-9FC6-A99401007817@Chaos1.DE>
References:  <FB58BCDF-CB55-4F8F-9FC6-A99401007817@Chaos1.DE>

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


--Apple-Mail=_9B6EF0B9-D4A4-4704-8889-4CC0DE41E96A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Reverting to gmp-6.1.2_1 fixes it.

Axel

> Am 19.03.2020 um 18:27 schrieb Axel Rau <Axel.Rau@chaos1.de>:
>=20
> 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
>=20
> 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
>=20
> dnspython    1.16.0
> pycryptodome  3.9.7
>=20
> Is this a bug?
>=20
> Any pointers welcome,
> Axel
> ---
> PGP-Key: CDE74120  =E2=98=80  computing @ chaos claudius
>=20

---
PGP-Key: CDE74120  =E2=98=80  computing @ chaos claudius


--Apple-Mail=_9B6EF0B9-D4A4-4704-8889-4CC0DE41E96A
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

iQIzBAEBCAAdFiEEl5evOTfnjZdhkBzKaPxTRM3nQSAFAl51C/sACgkQaPxTRM3n
QSDPwQ//f28X1+gsYoEX8E9j8shMXeWHmxibfIkjvGYyzQVUN6OXKWh46b6YWCLc
oPwdny7UnYufelwtfec8S1vO65NTKpcPkn1S5+j+ngfzsZx7a168PDra1lotCSMm
+6N00QMoryD4Dhd39aTbzMB9TUAAKTf4CsjNO6vWtvwS83eSF8aX8lmIevBUhlVp
pRlN8iQzh/F5wqQ6O60MVagQLrLGlSqdlD4X5tcqRNcqApT5CI1ToB7VJlOjxkPS
s+t4wktxYF5RR3PbD3q/eUtBWzIiRvlDkPGlDK6GxWnOROvoY+pcJZKNjpZstUaS
aGV/jt50TPQzs75xG3a8BbqkJIucOsf0Do/3XE0Lh3utyPM0wyoFwOE544/WxMp9
e9NEz6zLGIElbZMFaTNB3CfsBTcGIrFTDP5/WxP5HzJhvOniP56JogMotINefzZK
5oTVG0L+QAKkI+diAeaqwuQ4xnNl/qkZ4fXpPmvF8Io2U3V8GSHv/nfry0HJeNnj
FEhEoeNehyuObZC6F0lHtivHOdchd1nAF0ovDgRw5C8ti36JuR/pjq7SdWpsrK8r
n20tCvXWpSnnUzJILK4I+4D2KBCzjjxCkcz7v74GPow6GpTPxqOMBoAtvBGrtJEU
z/YAD2sDuZ15aPGrML/iaYCLmQZ4mRkbg3u5a/g7p63Sg6qlLpE=
=TEd8
-----END PGP SIGNATURE-----

--Apple-Mail=_9B6EF0B9-D4A4-4704-8889-4CC0DE41E96A--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B7EEE3D7-2ADD-43E5-9B35-3E12750C1BCA>