alexbw / novocaine

Painless high-performance audio on iOS and Mac OS X
http://alexbw.github.com/novocaine/
MIT License
2.23k stars 274 forks source link

Crash on iOS 8 #95

Closed el-hoshino closed 8 years ago

el-hoshino commented 10 years ago

I tested my app on iOS 8 GM, and it sometimes gets crashed at ExtAudioFileRead(self.inputFile, &framesRead, &incomingAudio); in bufferNewAudio. The crash is EXC_BAD_ACCESS. It's not every time, just sometimes. I tested it both build on Xcode 5 and Xcode 6. The hardware is iPod touch 5th generation (I haven't test it on other devices yet but since it looks like a memory issue, probably it's very liked to happen on iPod touch 5 and iPad 3rd gen often).

Please let me know if you need any further information.

alexbw commented 10 years ago

Need steps to reliably reproduce. Can you induce EXC_BAD_ACCESS reliably, as in every time? Otherwise I can't track it down.

Could you check memory usage, and maybe paste pictures of memory usage graphs, to verify your idea?

el-hoshino commented 10 years ago

Sorry for being late. The say I tested it is to switch music very frequently, say every second, and then after several times of switching, this occurs.

Here's the screenshot while crashed. 2014-09-16 20 34 18 2014-09-16 20 35 10

The reason why I guess it was a memory issue is because it seems that iOS 8 releases objects much more often than iOS 7 on iPod touch 5, that sometimes if I don't retain an object it'll be released soon.

alexbw commented 8 years ago

Still an issue? Resolved?

el-hoshino commented 8 years ago

sorry for being late. actually I'm not on that project anymore, so I'm not sure if it's resolved but I don't hear about this issue from the developers so I guess it should be resolved.