Hello,
I have native air extension added to a project that is being used to access a third party library. The project compiles fine, but crashes immediately at runtime. I am new to creating and using ANEs and since it's a very detailed process I have been unsuccesful in it's diagnosis. I have also scoured the internet, forums, and posts looking for anything related to this before posting, and haven't had any suggestions apply or resolve the issue.
I can confirm the extensions.xml, application descriptor xml, and build packaging is setup correctly to use the ANE. I've ran this from debug both fast and standard, and a release build without getting an error for the crash. The crash log contains this:
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x00ab72c0
Triggered by Thread: 0
Thread 0 Crashed:
0 dyld 0x2bec4084 0x2beb7000 + 53380
1 dyld 0x2bec904e 0x2beb7000 + 73806
2 dyld 0x2bec95d8 0x2beb7000 + 75224
3 dyld 0x2bec9086 0x2beb7000 + 73862
4 dyld 0x2bec1622 0x2beb7000 + 42530
5 dyld 0x2bec0b3a 0x2beb7000 + 39738
6 dyld 0x2bebae5e 0x2beb7000 + 15966
7 dyld 0x2bebb940 0x2beb7000 + 18752
8 dyld 0x2beb822a 0x2beb7000 + 4650
9 dyld 0x2beb8064 0x2beb7000 + 4196
Could this be something I am doing incorrectly when compiling the ANE using adt? Or could this be something in the native library that would cause it crash like this?