On 26/11/2025 21:06, Jim Ruxton wrote:
I am using Pd 0.56.0 (Linux/amd64 - single precision) version of Pure Data on Ubuntu 24.04 and having a strange issue I'm having trouble tracking down. Wondering if anyone has come across this issue and found a solution. I have a patch that I am working on and after working on it for a while I can no longer save it . If I open that patch, make a quick change and save it, that works fine. After editing it for a while doing simple things like adding comments I can go to the file menu and save it, though it appears to work it doesn't actually save the file. The way I know it hasn't saved the file is if I then go to close the file , the prompt comes up asking if I want to save the file even though I just did save it. Also at that point I can't quit the program. It again asks if I want to save the program and I say yes but it doesn't quit. I then quit it in the console with cntrl c. And when reopening see that it hasn't saved my changes. The patch is working fine before and after I try to save and close it. Except there is a strange anomaly which is that I am playing short audio wav files using Else player and each time it goes to play the file there is a message in the console saying it can't find the file. Even though it plays the file it says it can't find. I don't have other instances of PD open or other panels that would prevent me from closing PD. It is a very strange issue I've never seen but it's driving me a bit bonkers as it appears pretty random when it decides it can no longer be saved. Any thoughts on what could be causing this strangeness?
my guess would be that your Pd process has run out of file-handles.
to check, get the PID of the pd process ("ps aux | grep -w pd"), and
then use lsof -p $PID, or simply "ls -lha /proc/$PID/fd".
to see the allowed number of simultaneously open files, use "prlimit -p $PID", or simply "cat /proc/$PID/limits".
most likely a bug in some external, that opens files but doesn't close them (i would have expected this to pop up earlier/more often, if it was a problem in Pd itself)
gamdsr IOhannes