Description
Hi,
First of all, thanks for maintaining psutil
. It's a wonderful cross-platform library and I'm pretty sure that every Python programmer used it at least once, if not daily.
Back to the point. It looks like bdcde7e introduced a regression which causes nasty 'maximum recursion depth exceeded' crashes on both Linux and Windows.
As crashing code seems to be in Popen.__del__()
, I'm having trouble tracing it or creating a simple script to reproduce crash, but hopefully i would be able to craft one later today or tomorrow.
I'm pretty sure the issue is in Popen.__del__()
, though, because I tried to inherit a CustomPopen
class from psutil.Popen
, created a dummy __del__()
implementation (that doesn't call parent's __del__()
) — and my program doesn't crash anymore. Also, if I downgrade psutil to 4.3.1 — there are no crashes too.