Hello all,
I have an app that's rendering QuickTime movies based on AVFoundation. It's
multi-threaded via GCD, and has up 6 renders going at the same time.
I am getting un-explained crashes, or at least I can't explain them. The
crashing thread is usually something deep in AVFoundation. I get
On May 8, 2013, at 3:03 PM, Rainer Standke li...@standke.com wrote:
When the crashes happen the has something like 2000 threads going, according
to Activity Monitor, and all the Free RAM is used up.
Running out of RAM is probably the cause. It wouldn't surprise me at all to
see crashes in
If that's a POSIX error code it's reporting, then 35 maps to either EAGAIN
or EWOULDBLOCK.
I thought it might be you're hitting the max file limit (256 by default)
but that would cause open() to return EMFILE. However, pthread_create() can
return EAGAIN, and with 2000+ threads you might be
On May 8, 2013, at 3:03 PM, Rainer Standke wrote:
When the crashes happen the has something like 2000 threads going, according
to Activity Monitor, and all the Free RAM is used up.
Even with 6 renders going on in parallel there's no way you should have 2000
threads. Something you're doing