openframeworks/openFrameworks

audioOutputExample crashes in iOS

lmtanco opened this issue · 3 comments

Hi there!

I am using nightly version of_v20240109_ios_release. When running audioOutputExample it crashes, tested on iOS 16.7.2, iPad Pro, built with Xcode 14.3.1.

I put breakpoints in setup, update and draw. The breakpoint in draw is sometimes reached, most of the time it's not. It crashes in a Thread for which I have no source code, see screenshot.

image

Many many thanks,

Luis.

Testing on iPhone 8, iOS 16.3, the crash seems to consistently be in ofGLRenderer::drawRectangle:

image

Try Programmable Renderer
main.mm:
settings.glesVersion = OFXIOS_RENDERER_ES2; // type of renderer to use, ES1, ES2, etc.

Try and offset the Draw for 3 frames (int counter) - debug if its not initialised yet in
Make sure OpenGL ES is added in project in frameworks

Alternative try and see if ios/GLKit example works for your setup

Hi there!
@danoli3 sorry I totally missed your message of Jan 22! 🙏
This no longer crashes in my iPhone 8 iOS 16.3, and is fixed in the current nightly thanks to #7902
IMG_881442ED6AE9-1

Many many thanks! ❤️

P.S. It doesn't actually sound! I want to test it on the iPad which I don't currently have with me, then if I'm sure it's not my fault I would open a different issue?