I have no idea how to solve this. I am not using many local variables, yet I am hitting the 512 KiB stack size limit for secondary threads. My app has already been close to hitting this, now it's definitely hitting it.
How the heck do I trace this down? Instruments has nothing about stack memory usage.