Illegal instruction in lCrypto/Math/_IntegerGMP.py
Axel Rau
Axel.Rau at Chaos1.DE
Fri Mar 20 18:31:48 UTC 2020
Reverting to gmp-6.1.2_1 fixes it.
Axel
> Am 19.03.2020 um 18:27 schrieb Axel Rau <Axel.Rau at chaos1.de>:
>
> 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 = 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/_IntegerGMP.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/dnskeybase.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/DNSKEY.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/__init__.py", line 2352 in resolve
> File "/usr/local/py_venv/dskm_p37/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2346 in load
> File "/usr/local/py_venv/dskm_p37/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2728 in load_entry_point
> File "/usr/local/py_venv/dskm_p37/lib/python3.7/site-packages/pkg_resources/__init__.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 ☀ computing @ chaos claudius
>
---
PGP-Key: CDE74120 ☀ computing @ chaos claudius
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-python/attachments/20200320/6b8c3356/attachment.sig>
More information about the freebsd-python
mailing list