I'm running under 10.5.2, and seem to be having problems with the sfrecord~ object. In the patch I'm working on, sfrecord~ is used to capture a buffered audio stream to disc at different intervals over long periods of time. The system works great for an hour or so, capturing a hundred or more samples. But, it will eventually go into spin-lock, and will require a force quit and relaunch in order to continue. This also happens if I run the patch using the Max runtime instead of in the IDE.
I find it interesting that when I do a process sample using the Sampler utility in the Developer tools, it shows the sfrecord~ process taking up 100% of the cpu time. I've attached a screenshot that illustrates this.
Has anyone else encountered problems like this with sfrecord~? I've down quite a bit of debugging, and don't think it's something in my patch, though that possibility always exists. I can post a barebones example if it will help get to the root of the problem.
Oh, and I have also tested the patch under 10.4.11, and the same thing occurs...
Thanks for any input,