The option "Enable assembly optimizations for your CPU" causes the crash of gmp-6.2.0 on an Intel(R) Atom(TM) CPU C2758. This does not happen on gmp-6.1.2_1. The crash happens in python3.7/site-packages/Crypto/Math/_IntegerGMP.py We have tried to find the cause in related Python packages here: https://github.com/Legrandin/pycryptodome/issues/394 https://github.com/rthalley/dnspython/issues/446 but had no luck. Stacktrace and part of dmesg below. ------------- 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) -------------------- From dmesg: ----------- Copyright (c) 1992-2019 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.1-RELEASE-p3 GENERIC amd64 FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) VT(efifb): resolution 1024x768 CPU: Intel(R) Atom(TM) CPU C2758 @ 2.40GHz (2400.07-MHz K8-class CPU) Origin="GenuineIntel" Id=0x406d8 Family=0x6 Model=0x4d Stepping=8 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x43d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,RDRAND> AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM> AMD Features2=0x101<LAHF,Prefetch> Structured Extended Features=0x2282<TSCADJ,SMEP,ERMS,NFPUSG> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) avail memory = 8228855808 (7847 MB) -----------------
Do you have any kind of optimization set in /etc/make.conf ? Do you get any failures if you run make test?
> Do you have any kind of optimization set in /etc/make.conf ? No. > Do you get any failures if you run make test? No.
As suggested by others, you should try to reproduce the issue with a small C program and submit a bug report to mpfr. I cannot help you with ASM optimizations in MPFR code. The quick workaround is to disable CPU specific ASM code, obviously.
> As suggested by others, you should try to reproduce the issue with a small C program and submit a bug report to mpfr.I cannot help you with ASM optimizations in MPFR code. My Python application is 3 levels above that code and I have no experience with that low level stuff. > The quick workaround is to disable CPU specific ASM code, obviously. I did this already. (-; Maybe warning other people by an addition to the options text? Axel
From what I can tell py-cryptodome does offer some kind of unit tests so perhaps it's worth trying to add that to the port to pin it down where it actually fails since gmp itself seems to be fine.
..also suggested on irc is that you make sure you have the latest microcode for your cpu loaded/installed which might fix the issue. https://www.freshports.org/sysutils/devcpu-data/ If you cannot update bios or if your the manufactorer doesn't provide an updated version.
Just FIY, this is giving troubles on an i5-3470 too (12.2/amd64). The following are stack traces of crashes of emacs, XFCE and Salt minion: #0 thr_kill () at thr_kill.S:3 #1 0x0000000801b8f084 in __raise (s=4) at /usr/src/lib/libc/gen/raise.c:52 #2 0x0000000000367230 in () #3 0x0000000000387c4e in () #4 0x0000000000387cc3 in () #5 0x0000000000386209 in () #6 0x0000000800f89b70 in handle_signal (actp=0x7fffffffc440, sig=4, info=0x7fffffffc830, ucp=0x7fffffffc4c0) at /usr/src/lib/libthr/thread/thr_sig.c:248 #7 0x0000000800f8913f in thr_sighandler (sig=4, info=0x7fffffffc830, _ucp=0x7fffffffc4c0) at /usr/src/lib/libthr/thread/thr_sig.c:191 #8 0x00007ffffffff003 in <signal handler called> () #9 0x000000080198b9d8 in __gmpz_n_pow_ui () at /usr/local/lib/libgmp.so.10 #10 0x00000008019921df in __gmpz_ui_pow_ui () at /usr/local/lib/libgmp.so.10 #11 0x00000000004403b6 in () #12 0x0000000000440ecf in () #13 0x0000000000442089 in () #14 0x00000000003f2cfd in () #15 0x00000000003f22bc in () #16 0x000000000042e949 in () #17 0x00000000003f2254 in () #18 0x000000000042e949 in () #19 0x00000000003f2254 in () #20 0x000000000042e949 in () #21 0x00000000003f2254 in () #22 0x000000000042e949 in () #23 0x00000000003f2254 in () #24 0x000000000042e949 in () #25 0x00000000003f2254 in () #26 0x000000000042e949 in () #27 0x00000000003f2254 in () #28 0x000000000042e949 in () #29 0x00000000003f2254 in () #30 0x00000000003f2989 in () #31 0x00000000003fd3c9 in () #32 0x00000000003fd7fb in () #33 0x00000000003f2cfd in () #34 0x00000000003f22bc in () #35 0x000000000042e949 in () #36 0x00000000003f2254 in () #37 0x000000000042e949 in () #38 0x00000000003f1b1e in () #39 0x00000000003ee555 in () #40 0x00000000003f1850 in () #41 0x00000000003f0b3c in () #42 0x000000000037acd2 in () #43 0x00000000003f04b2 in () #44 0x000000000036a095 in () #45 0x0000000000369fda in () #46 0x000000000036a23f in () #47 0x0000000000369164 in () #48 0x0000000000270b30 in () #49 0x00000008004af000 in () #50 0x0000000000000000 in () Core was generated by `/usr/local/lib/xfce4/panel/wrapper-2.0 /usr/local/lib/xfce4/panel/plugins/libwea'. Program terminated with signal SIGILL, Illegal instruction. #0 0x00000008053df309 in __gmpn_sqr_basecase () at /usr/local/lib/libgmp.so.10 #1 0x0000000805393cd0 in _nettle_secp_256r1 () at /usr/local/lib/libhogweed.so.6 #2 0x00007fffdf9fa370 in () #3 0x00007fffdf9fa440 in () #4 0x00000008039cf0a0 in () #5 0x00007fffdf9fa4a0 in () #6 0x0000000805389fb5 in _nettle_ecc_mod_sqr () at /usr/local/lib/libhogweed.so.6 #0 0x0000000803e8ce2e in __gmpz_set_str () from /usr/local/lib/libgmp.so.10 #1 0x0000000803ecf8c8 in __gmp_doscan () from /usr/local/lib/libgmp.so.10 #2 0x0000000803ecfc45 in __gmp_sscanf () from /usr/local/lib/libgmp.so.10 #3 0x0000000802b0f455 in ?? () from /usr/local/lib/libffi.so.7 #4 0x0000000802b0ebe6 in ?? () from /usr/local/lib/libffi.so.7 #5 0x0000000803aebe2c in ?? () from /usr/local/lib/python3.7/site-packages/_cffi_backend.so #6 0x000000080036ad92 in _PyObject_FastCallKeywords () from /usr/local/lib/libpython3.7m.so.1.0 #7 0x000000080042b8ab in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #8 0x0000000800428b3c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #9 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #10 0x000000080036bf03 in _PyObject_Call_Prepend () from /usr/local/lib/libpython3.7m.so.1.0 #11 0x00000008003bcd50 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #12 0x00000008003b88a1 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #13 0x000000080036ad92 in _PyObject_FastCallKeywords () from /usr/local/lib/libpython3.7m.so.1.0 #14 0x000000080042b8ab in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #15 0x0000000800428bd8 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #16 0x000000080042c228 in _PyEval_EvalCodeWithName () from /usr/local/lib/libpython3.7m.so.1.0 #17 0x000000080036af43 in _PyFunction_FastCallKeywords () from /usr/local/lib/libpython3.7m.so.1.0 #18 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #19 0x0000000800428bd8 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #20 0x000000080042c228 in _PyEval_EvalCodeWithName () from /usr/local/lib/libpython3.7m.so.1.0 #21 0x000000080036af43 in _PyFunction_FastCallKeywords () from /usr/local/lib/libpython3.7m.so.1.0 #22 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #23 0x0000000800428bd8 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #24 0x000000080042c228 in _PyEval_EvalCodeWithName () from /usr/local/lib/libpython3.7m.so.1.0 #25 0x000000080036af43 in _PyFunction_FastCallKeywords () from /usr/local/lib/libpython3.7m.so.1.0 #26 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #27 0x0000000800428bd8 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #28 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #29 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #30 0x0000000800428bd8 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #31 0x000000080042c228 in _PyEval_EvalCodeWithName () from /usr/local/lib/libpython3.7m.so.1.0 #32 0x000000080036af43 in _PyFunction_FastCallKeywords () from /usr/local/lib/libpython3.7m.so.1.0 #33 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #34 0x0000000800428b3c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #35 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #36 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #37 0x0000000800428bd8 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #38 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #39 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #40 0x0000000800428b22 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #41 0x0000000800379a44 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #42 0x00000008004206b4 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #43 0x000000080036bc22 in _PyMethodDef_RawFastCallKeywords () from /usr/local/lib/libpython3.7m.so.1.0 #44 0x000000080036af89 in _PyCFunction_FastCallKeywords () from /usr/local/lib/libpython3.7m.so.1.0 #45 0x000000080042b846 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #46 0x0000000800428bd8 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #47 0x000000080042c228 in _PyEval_EvalCodeWithName () from /usr/local/lib/libpython3.7m.so.1.0 #48 0x000000080036af43 in _PyFunction_FastCallKeywords () from /usr/local/lib/libpython3.7m.so.1.0 #49 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #50 0x0000000800428c7c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #51 0x0000000800379a44 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #52 0x00000008004206b4 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #53 0x000000080036bc22 in _PyMethodDef_RawFastCallKeywords () from /usr/local/lib/libpython3.7m.so.1.0 #54 0x000000080036af89 in _PyCFunction_FastCallKeywords () from /usr/local/lib/libpython3.7m.so.1.0 #55 0x000000080042b846 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #56 0x0000000800428bd8 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #57 0x000000080042c228 in _PyEval_EvalCodeWithName () from /usr/local/lib/libpython3.7m.so.1.0 #58 0x000000080036aa16 in _PyFunction_FastCallDict () from /usr/local/lib/libpython3.7m.so.1.0 #59 0x000000080036bf03 in _PyObject_Call_Prepend () from /usr/local/lib/libpython3.7m.so.1.0 #60 0x000000080036b0a9 in PyObject_Call () from /usr/local/lib/libpython3.7m.so.1.0 #61 0x0000000800428e18 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #62 0x000000080042c228 in _PyEval_EvalCodeWithName () from /usr/local/lib/libpython3.7m.so.1.0 #63 0x000000080036aa16 in _PyFunction_FastCallDict () from /usr/local/lib/libpython3.7m.so.1.0 #64 0x000000080049f4ef in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #65 0x000000080036ad92 in _PyObject_FastCallKeywords () from /usr/local/lib/libpython3.7m.so.1.0 #66 0x000000080042b8ab in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #67 0x0000000800428bd8 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #68 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #69 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #70 0x0000000800428b22 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #71 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #72 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #73 0x0000000800428b22 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #74 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #75 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #76 0x0000000800428b22 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #77 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #78 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #79 0x0000000800428b22 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #80 0x000000080042c228 in _PyEval_EvalCodeWithName () from /usr/local/lib/libpython3.7m.so.1.0 #81 0x000000080036af43 in _PyFunction_FastCallKeywords () from /usr/local/lib/libpython3.7m.so.1.0 #82 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #83 0x0000000800428b22 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #84 0x000000080042c228 in _PyEval_EvalCodeWithName () from /usr/local/lib/libpython3.7m.so.1.0 #85 0x000000080036aa16 in _PyFunction_FastCallDict () from /usr/local/lib/libpython3.7m.so.1.0 #86 0x0000000800428e18 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #87 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #88 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #89 0x0000000800428b22 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #90 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #91 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #92 0x0000000800428b22 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #93 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #94 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #95 0x0000000800428b22 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #96 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #97 0x000000080036bf03 in _PyObject_Call_Prepend () from /usr/local/lib/libpython3.7m.so.1.0 #98 0x00000008003bcd50 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #99 0x00000008003b88a1 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #100 0x000000080036ad92 in _PyObject_FastCallKeywords () from /usr/local/lib/libpython3.7m.so.1.0 #101 0x000000080042b8ab in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #102 0x0000000800428bd8 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #103 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #104 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #105 0x0000000800428b3c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #106 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #107 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #108 0x0000000800428b3c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #109 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #110 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #111 0x0000000800428b22 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #112 0x000000080036b424 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #113 0x000000080042b8b2 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #114 0x0000000800428bd8 in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.7m.so.1.0 #115 0x000000080042c228 in _PyEval_EvalCodeWithName () from /usr/local/lib/libpython3.7m.so.1.0 #116 0x0000000800422563 in PyEval_EvalCode () from /usr/local/lib/libpython3.7m.so.1.0 #117 0x000000080045e0ae in PyRun_FileExFlags () from /usr/local/lib/libpython3.7m.so.1.0 #118 0x000000080045d62b in PyRun_SimpleFileExFlags () from /usr/local/lib/libpython3.7m.so.1.0 #119 0x000000080047ea84 in ?? () from /usr/local/lib/libpython3.7m.so.1.0 #120 0x000000080047f275 in _Py_UnixMain () from /usr/local/lib/libpython3.7m.so.1.0 #121 0x00000000002017c0 in _start () Disabling this options solves everything. I have the latest microcode and nothing strange in make.conf. Perhaps the compiler generates some instruction which is not available in such old processors? I'm fine now, just keeping this disabled. However, may I suggest a warning is added to this option? It would have saved my Poudriere a day of work :)