Skip to main content
April 10, 2014
Question

ANE crashes app immediately

  • April 10, 2014
  • 1 reply
  • 419 views

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?

This topic has been closed for replies.

1 reply

User Unknow
Legend
April 10, 2014

I'm not strong in Objective-C but google telling that you try to get access to deallocated object. What kind of ANE you developing?

April 10, 2014

My search results indicated the same thing in regards to deallocation. The ANE is being used to communicate with another background app silently running. For now it only attempts to access a couple methods from that particular library.

User Unknow
Legend
April 10, 2014

I have no clue what about you ))) I worked only with URI Shemas like app2:// so I can send message from my app to app2

Where I can read about this?

P.S. you can debug in simulator from xcode