ANE crashes app immediately

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?

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

Similar Messages

  • My apps launches then crashes almost immediately. i have iOS 5.0.1

    please help. i dont know what to.. i have my apps working fine a minute ago. then now they crash almost immediately after i reopen them... all of my FREE downloaded apps crash....

    Try a hard reset first.  To do this, press and hold both the Sleep/Wake and Home buttons together long enough for the Apple logo to appear.
    If that doesn't work, try downloading another app from the App Store and see if that helps.
    B-rock

  • I updated my iPod touch 4g 64gb to iOS 6.1 and now it's been very slow, safari keeps crashing, apps being very slow and crashing ? Can anyone help ?

    I updated my iPod touch 4g 64gb to iOS 6.1 and now it's been very slow, safari keeps crashing, apps being very slow and crashing ? Can anyone help ?

    Next
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>Safari and Clear Cookies, Data and History
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.

  • Game center apps immediately close on launch

    Game center game apps immediately close upon launch.

    Try a hard reset.  To do this, press and hold both the Sleep/Wake and Home buttons together long enough for the Apple logo to appear.
    If you are still having issues, try removing and redownloading each of the Apps you are having issues with.
    B-rock

  • When I am trying to activate my membership which was bought in the states, I am told that the membership cannot be activated, as my Adobe ID is linked to a different country. I need the creative cloud apps immediately. What should I do to start working/ac

    When I am trying to activate my membership which was bought in the states, I am told that the membership cannot be activated, as my Adobe ID is linked to a different country. I need the creative cloud apps immediately. What should I do to start working/activate my membership?

    Make sure that EVERY DETAIL is the same in every place you enter your information
    Verify Account https://forums.adobe.com/thread/1465499 may help
    -http://helpx.adobe.com/x-productkb/policy-pricing/change-country-associated-with-adobe-id. html
    -Credit card https://helpx.adobe.com/utilities/credit-card.html
    -email address https://forums.adobe.com/thread/1446019

  • Premiere Pro CC updated  - crashes almost immediately on my mac OS X Yosemite 10.10.3. Crashes at startup, crashes with media import, crashes when creating a sequence. NEED HELP FAST I have tried many troubleshooting solutions I found online nothing has

    Premiere Pro CC updated  - crashes almost immediately on my mac OS X Yosemite 10.10.3. Crashes at startup, crashes with media import, crashes when creating a sequence. NEED HELP FAST> I have tried many troubleshooting solutions I found online nothing has worked.

    Hi,
    Sorry to hear about the experience. Please provide your computer configuration details.
    Memory, Processor, Graphics card, Exact version of Premiere Pro, Error message that you are get. If you can post screenshots of the error report that would be helpful.
    Thanks,
    Rameez

  • HT201412 Since downloading i06, the Shopping List App immediately quits once I try to open to a list.  There are no updates for the app.  Is it just not compatable with the new operating system?

    Help, since downloading i06, the Shopping List app immediately quits when attempting to start a list.  There's no update for the app.  What do I do next? (I've already removed and downloaded it again.) Any solution?

    Help, since downloading i06, the Shopping List app immediately quits when attempting to start a list.  There's no update for the app.  What do I do next? (I've already removed and downloaded it again.) Any solution?

  • HT1222 i completed a software update yesterday and whenever I try and launch iTunes now it crashes almost immediately. I have tried downloading an installing the latest version but to no avail - any ideas?

    i completed a software update yesterday and whenever I try and launch iTunes now it crashes almost immediately. I have tried downloading an installing the latest version but to no avail - any ideas?

    Have you tried temporarily turning off your firewall and antivirus software until the download has completed ?

  • Why does my iPod touch 4g crash apps

    My iPod touch 4 gen crashes apps even when my task bar is empty and when I reboot it doesn't help me so I need help?

    Apps crashing
    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • NSCFString crash app when secondary used

    Hello! NSCFString from plist crash my program when i using it in the second time. I have cocos2d project (attach) with one scene and one object. And one .plist file
    HelloWorldLayer.h & .m (instantiate from CCLayer)
    NodeObject.h & .m (instantiate from CCNode)
    Test.plist
    In NodeObject i have one local string and two method
    @interface NodeObject : CCNode
        NSString *stringForPrint;
    -(void)createObjWithString:[NSString *)string;
    -(void)printString;
    In this both method we print string obtained in parameter string
    -(void)createObjWithString:[NSString *)string
        stringForPrint = string;
        NSLog(@"NodeObject.createObjWithString stringForPrint >> %@", stringForPrint);
    -(void)printString
        NSLog(@"NodeObject.printString stringForPrint >> %@", stringForPrint);
    Plis content is one array with one dictionary whit item type string.
    Root
    -TestArray <Array>
    --item 0 <Dictionary>
    ---type <String> == "This is string from plist"
    For test, into the scene i'm create NodeObject and get dada from plist. And print this string. It's work correctly.
    if ([testDictionary objectForKey:@"TestArray"]) {
                for (NSDictionary *tempItemData in [testDictionary objectForKey:@"TestArray"]) {                //It's cool work. True string from plist.
                    NSLog(@"type form plist in for loop > %@", [tempItemData objectForKey:@"type"]);            }
    I create my NodeObject into the loop. And it's work again.
    if ([testDictionary objectForKey:@"TestArray"]) {
                for (NSDictionary *tempItemData in [testDictionary objectForKey:@"TestArray"]) {
                    NodeObject *testObj = [NodeObject node];
                    //and send it string from plist
                    [testObj createObjWithString:[tempItemData objectForKey:@"type"]];
    BUT! if i have tried use this string in the printString method form NodeObject, app will crash without log. [testObj printString]; //crash app
    I have check object from plist using:
        NSLog(@"Description %@ and class %@",[[tempItemData objectForKey:@"type"]description],    [[tempItemData objectForKey:@"type"]class]);
    I repeat. Object creation with manual string work. If using string from plist it's crash. I broke my head. And only in the second method. In the createObjWithStrig it work.
        //Work
        NodeObject *testObj = [NodeObject node];
        [testObj createObjWithString:@"manual string object"];
        [testObj printString]; // Print correct string
        //Crash
        NodeObject *testObj = [NodeObject node];
        [testObj createObjWithString:[tempItemData objectForKey:@"type"]];
        [testObj printString]; //Crash here
    I'm attach project file. Can test this

    Thank you wery match!
    Only this forum help me. Stackowerflow not halped, cocos2d-iphone not helped. Thaks @etresoft
    stringForPrint = [string retain];
    solved problem.

  • Resetting Crashed Apps in 3.0

    In previous versions of the iPhone OS one could reset a crashed or frozen app by holding down the home button. Now that procedure causes the voice control screen to come up. Does anyone know how to escape from a frozen or crashed app in 3.0?

    Hold down the power button until the red "Slide to Power Off" slider comes down. Do not slide it. Instead, once the slider has appeared, release the power button and hold down the home button until the app quits.

  • Find crashing apps

    Does someone knows how to find crashing apps on your devise?? When I took my iPad to an Apple Store in Florida they found apps that make my iPad's battery drain, nnow I'm having the same issue and I don't know how to find those apps.
    IPad4 with retina display , iOS 8.1.2

    Did you check Settings/General/Usage/Battery and scroll down to find the apps listed that used your battery in the last 24 hours or the last 7 days?
    Probably apps running in the background are causing this, sometimes Mail get's stuck connecting to the mail server, or some social media app like Facebook can also be a reason for prolonged background activity.
    Try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again. You will not lose any data by resetting, but it can cure some glitches.
    If this does not help, setting it up as new device would be the next step:
    How to erase your iOS device and then set it up as a new device or restore it from backups
    Maybe also take a look at this page about battery drainage

  • IPad (original) running 5.1.1 crashing apps

    Hoping someone can help. I have a second hand iPad 1 which was running fine until I updated it to 5.1.1. Now it crashes apps every couple of minutes and is basically unuseable. The app that crashes the most is actually Apples own app, the App Store. I see I am not the only one having this kind of problem. I have closed all open apps, "reset" using back and home buttons, and even restored the software before restoring the iPad from my backup. It still crashes. Unsure what to do next. Any ideas?

    Can I say, don't bother hoping that they can fix it?
    I've got my firmware restored 4 times, and the app store still crashes.
    But my iPad2 running on 5.1.1 doesn't seems to be having this issue.
    And so does my wife's iPad3.
    It gave me an impression that they wanted to abandon the original iPad support discreetly... unless someone can provide me a satisfactory answer AND a solution.

  • Firefox was upgraded to 3.6.15. Now whenever I start it it coms up then crashes almost immediately. No error message it just dies. Sometime it may stay up a few minutes before it dies. But it always crashes.

    Firefox was upgraded to 3.6.15. Now whenever I start it it coms up then crashes almost immediately. No error message it just dies. Sometime it may stay up a few minutes before it dies. But it always crashes.
    It crashes on any web page even on the upgrade splash screen. I don't need to do anything but start it. It does not even generate a crash report. It happens in safe mode also

    Firefox was upgraded to 3.6.15. Now whenever I start it it coms up then crashes almost immediately. No error message it just dies. Sometime it may stay up a few minutes before it dies. But it always crashes.
    It crashes on any web page even on the upgrade splash screen. I don't need to do anything but start it. It does not even generate a crash report. It happens in safe mode also

  • Facebook timed out while writing a post.  Any attempt to open FB, now shows post that was in progress and immediately crashes app.  Cannot clear timed out item.  Have power failed and done warm reboot on iPad.   Is Delete/Reinstall only option?

    Was writing post, as part of sharing article from my newsfeed.   While writing, Facebook timed out.  Display cleared.  App recycled and returned to newsfeed.  This has happened previously and for all purposes, the original post, since it had never been "loaded" onto FB servers effectively was deleted from iPad memory.  That appeared to be the case yesterday; as I was able to continue reading, sharing and commenting on other articles. 
    Later, as I was shutting iPad down for the night, scrolled through open Apps and discovered the original FB window was still "open" I'd apparently been working on a 2nd or mirror version of the app.  Attempting to access the original page; it opens, but I am unable to "interact" with the display/app, pressing "cancel" on my original post has no effect.  Within 5-6 seconds FB crashes.   
    I power failed the iPad, left it over night and today am encountering the same problem.   Tapping FB icon, brings up the post that was timed out.  It displays for 2-3 seconds max, then original article and partial post disappear.  Newsfeed appears to be loading as that and contact columns are visible in light font indicating they are preparing to load.   2-3 seconds, that vanishes.  Am left with blue header band, spinning wheel indicating it is trying to communicate or process something.   2-3 seconds and then screen goes black and I'm returned to my app desktop. 
    If I immediately tap icon to reopen I get white screen, with blue header band.   2-3 seconds, black screen, back to app desktop.   If I wait 2 minutes, I get the full shared article, partial post as described above.  I've confirmed in the problem log that this is failing in Thread 0 and showing up as system crash. 
    Based on feedback to somewhat similar FB problem I found in forum; in addition to doing power fail.  I also did warm reboot (Home and Sleep keys) in hope app would reboot along with ios.  No change.
    At this point, I'm assuming my only viable option is to delete the app and reinstall it from App Store.  Easy enough to accomplish.  But wanted to see if there were any other recommendations, or whether anyone else has experienced a similar failure with FaceBook.
    Thanks for your assistance.

    Was writing post, as part of sharing article from my newsfeed.   While writing, Facebook timed out.  Display cleared.  App recycled and returned to newsfeed.  This has happened previously and for all purposes, the original post, since it had never been "loaded" onto FB servers effectively was deleted from iPad memory.  That appeared to be the case yesterday; as I was able to continue reading, sharing and commenting on other articles. 
    Later, as I was shutting iPad down for the night, scrolled through open Apps and discovered the original FB window was still "open" I'd apparently been working on a 2nd or mirror version of the app.  Attempting to access the original page; it opens, but I am unable to "interact" with the display/app, pressing "cancel" on my original post has no effect.  Within 5-6 seconds FB crashes.   
    I power failed the iPad, left it over night and today am encountering the same problem.   Tapping FB icon, brings up the post that was timed out.  It displays for 2-3 seconds max, then original article and partial post disappear.  Newsfeed appears to be loading as that and contact columns are visible in light font indicating they are preparing to load.   2-3 seconds, that vanishes.  Am left with blue header band, spinning wheel indicating it is trying to communicate or process something.   2-3 seconds and then screen goes black and I'm returned to my app desktop. 
    If I immediately tap icon to reopen I get white screen, with blue header band.   2-3 seconds, black screen, back to app desktop.   If I wait 2 minutes, I get the full shared article, partial post as described above.  I've confirmed in the problem log that this is failing in Thread 0 and showing up as system crash. 
    Based on feedback to somewhat similar FB problem I found in forum; in addition to doing power fail.  I also did warm reboot (Home and Sleep keys) in hope app would reboot along with ios.  No change.
    At this point, I'm assuming my only viable option is to delete the app and reinstall it from App Store.  Easy enough to accomplish.  But wanted to see if there were any other recommendations, or whether anyone else has experienced a similar failure with FaceBook.
    Thanks for your assistance.

Maybe you are looking for