• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

App Crash on AIR 17 + iOS using "arguments" object

Community Beginner ,
Feb 16, 2015 Feb 16, 2015

Copy link to clipboard

Copied

I found application crash on AIR 17 beta + iOS (AOT build).

package

{

  import flash.display.Sprite;

  public class SimpleMobileApplication extends Sprite

  {

  public function SimpleMobileApplication()

  {

  stage.addChild(new BaseView());

  }

  }

}

import flash.display.Shape;

import flash.display.Sprite;

import flash.events.MouseEvent;

class BaseView extends Sprite

{

  public function BaseView()

  {

  var s:Shape = new Shape();

  s.graphics.beginFill (0xFFAAAA, 1.0);

  s.graphics.drawRect(0,0,100,100);

  addChild(s);

  addEventListener(MouseEvent.MOUSE_DOWN, doSomething);

  }

  public function doSomething(e:*):void

  {

  }

}

class ExtendedView extends BaseView

{

  public override function doSomething(e:*):void

  {

  trace(arguments);

  }

}

When tap a red rect, application will crash!

AIR17 + iOS(AOT):       crash

AIR17 + iOS(no AOT):  no problem

AIR14 + iOS(AOT):       no problem

I found workaround for this problem.

I remove arguments object in all overridden functions, and now works fine.

Could you please fix this problem in future versions of AIR?

TOPICS
Performance issues

Views

1.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 17, 2015 Feb 17, 2015

Copy link to clipboard

Copied

Thanks for reporting the issue.

We verified the issue at our end but could not reproduce the crash. Could you please let us know if its device specific or reproducible on all iOS devices.

Regards,

Jitender

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 17, 2015 Feb 17, 2015

Copy link to clipboard

Copied

Sorry.

I run this code only on debug-build.

Exported release build does not reproduce the crash.


To reproduce on release ipa package,

change BaseView#doSomething function like this.

  public function doSomething(e:*):void

  {

    trace("do something"); // Add this line

  }

Could you please try again.


I run the app on

  • iPad mini + iOS 8.1
  • AIR SDK version 17.0.0  build 96
  • Flash Builder 4.7

Regards.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 17, 2015 Feb 17, 2015

Copy link to clipboard

Copied

Thanks for valuable information,

we are able to reproduce the problem now and further investigating it.

Regards,

Jitender

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 17, 2015 Mar 17, 2015

Copy link to clipboard

Copied

We have the same problem. Using arguments.callee crashes app on iOS with useLegacyAOT no. Actually it does not depends on Air version. We have this issue with all Air versions: 14, 15, 16, 17.

As I understand we have to use new compeler to build universal binary (both armv7 and arm64) for iOS and we can not publish our app to AppStore using legacy compiler. If it is true this bug blockes publishing of new apps.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 13, 2015 Jun 13, 2015

Copy link to clipboard

Copied

The same issue here.

Please fix this issue.

It's very important.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 14, 2015 Jun 14, 2015

Copy link to clipboard

Copied

Hi,

This issue was fixed in our latest build 18.0.0.143. Can you please try this on our latest SDK.

Let me know if you still face the issue.

Thanks

Adobe AIR Team

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 15, 2015 Jun 15, 2015

Copy link to clipboard

Copied

Unfortunately was the same result.

The origin of this issue came from here: iOS • Stimulsoft Forum

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 16, 2015 Jun 16, 2015

Copy link to clipboard

Copied

LATEST

Hi,

The original issue in above thread has been fixed in our latest build 18.0.0.143 Adobe - Adobe AIR . Could you please report your issue in Bug Base Home  with sample code snippet.


Thanks

Adobe AIR Tea,

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines