Closed mdboom closed 1 year ago
Thanks for the bug report. Can you check that you don't have left over extensions installed from a build of upstream CPython? I've run into that crash when I have psutil-5.9.5-cp36-abi3-...
installed. That binary is not ABI compatible and pip will properly exclude it (different ABI flags), but the runtime import mechanism will still try to load it. (And crash because the PyModuleDef layout is different than expected.)
I ran the steps above without a crash.
Indeed, that was it. Thanks!
Crash report
It's understandable that some extension modules would break on this fork, but this one is critical to get good, reproducible benchmarking results.
Segfault in psutil when running
python -m pyperf system tune
.I tested this with commit d595911.
Error messages
Backtrace:
Your environment
Ubuntu 20.04