New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dir] still leaks file handles #478
Comments
I'm afraid I don't know how to test this. I don't know what "lsof -c pd | wc -l" is :) - help? |
On a Linux machine, you can enter the whole line into a terminal.
which will show something like:
which means that the pd process has currently 93 files open. Then I send 'reset, open ., dump' to [dir] and execute above line again. If the number has increased, some filehandles are being leaked. It's probably possible to do something similar on macOS, but I'm not sure about what name should be used for the pd process (the -c option for lsof). |
seems to be working, and I get an extra open file every time I use the 'open' message, how about you? |
actually, it's whenever using the 'dump' message |
well, this seems to have fixed it for me f8bfadb |
hopefully it's time to ditch ggee and moocow for good :) |
Cool! Thanks, looks good here, too. |
I'm afraid the bug isn't fixed. [dir] still leaks file handles. However, the process to trigger the leak is a bit different:
It seems one file handle doesn't get properly closed when doing the above, as can seen with
Each iteration leaks exactly one handle.
The text was updated successfully, but these errors were encountered: