iOS audio loop crash

I’m on the latest version of hxcpp/lime/openfl, and when I try to loop an audio file (I’ve tried .ogg and .wav files of different lengths) I get a hard crash when the file reaches the end (presumably when it is trying to loop to the beginning).

The audio loops properly when I run for mac, but crashes on an iOS native build. I’ve pasted the crash message below. Any help is appreciated.

(lldb) libc++abi.dylib: terminating with unexpected exception of type int
(lldb) * thread #1: tid = 0x322a8f, 0x0000000191da7014 libsystem_kernel.dylib`__pthread_kill + 8, queue = ‘com.apple.main-thread’, stop reason = signal SIGABRT

  • frame #0: 0x0000000191da7014 libsystem_kernel.dylib__pthread_kill + 8 frame #1: 0x0000000191d1b400 libsystem_c.dylibabort + 140
    frame #2: 0x00000001917e52d4 libc++abi.dylib<redacted> + 132 frame #3: 0x0000000191802cc0 libc++abi.dylib + 304
    frame #4: 0x0000000191810860 libobjc.A.dylib<redacted> + 152 frame #5: 0x00000001917ff66c libc++abi.dylib + 16
    frame #6: 0x00000001917ff6dc libc++abi.dylibstd::terminate() + 64 frame #7: 0x0000000191802cdc libc++abi.dylib + 28
    frame #8: 0x00000001917ff628 libc++abi.dylib<redacted> + 12 frame #9: 0x00000001917fff80 libc++abi.dylib__cxa_call_unexpected + 124
    frame #10: 0x0000000100a56c34 jmlval_call0 + 72 frame #11: 0x0000000100057cb8 jmllime::SDLApplication::HandleEvent(SDL_Event*) + 512
    frame #12: 0x0000000100058958 jmllime::SDLApplication::Update() + 116 frame #13: 0x000000019602ef24 QuartzCore + 44
    frame #14: 0x000000019602edd0 QuartzCore<redacted> + 444 frame #15: 0x0000000193046094 IOKitIODispatchCalloutFromCFMessage + 372
    frame #16: 0x0000000192d6ee50 CoreFoundation<redacted> + 180 frame #17: 0x0000000192d87218 CoreFoundation + 56
    frame #18: 0x0000000192d869cc CoreFoundation<redacted> + 436 frame #19: 0x0000000192d844b0 CoreFoundation + 1840
    frame #20: 0x0000000192cb22b8 CoreFoundationCFRunLoopRunSpecific + 444 frame #21: 0x0000000194766198 GraphicsServicesGSEventRunModal + 180
    frame #22: 0x0000000198cf97fc UIKit<redacted> + 684 frame #23: 0x0000000198cf4534 UIKitUIApplicationMain + 208
    frame #24: 0x000000010024b398 jmlmain + 248 frame #25: 0x0000000191c955b8 libdyld.dylib + 4

Thank you, I’ll take a look!