Currently I am trying to append to an array in a SampleBufferDelegate while recording from the camera, however after the 16th iteration the app just freezes and I get no errors. It does not seem like a memory from what I have learned debugging. If I limit the size of the array to 15 it won't crash, if I add an amount greater than 16 to the array in a while loop, the 16th time appending it will freeze.
App Freezing without Errors
The whole app freezes? Or just the thread doing the append?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
The whole app freezes.
OK. In that case, here’s what I recommend:The whole app freezes.
Run the app from the Home screen (not Xcode).
Reproduce the problem.
Once the app is good and frozen, press the Home button.
A few tens of seconds later, the watchdog should kill your app and generate an ‘ate bad food’ crash report. Collect that and examine it for clues.
If that doesn’t help, post the crash report here (using the paperclip icon to add it as a text attachment).
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
It is actually just seems to be that thread, I can actually exit and enter the app continuously and can append another 16 objects each time.
OK. So if you add logging to that thread then you see the log entry from before the append but not the log entry from after?It is actually just seems to be that thread
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"