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

Air 24 Beta crashing in iOS

Participant ,
Nov 01, 2016 Nov 01, 2016

Copy link to clipboard

Copied

My Starling application crashes in iOS device (version 9.3.1) with error

exception, information=ArgumentError: Error #3672: Buffer creation failed. Internal error.

I also tested a blank Starling project with a single Quad on stage. That did not produce the error, but the quad only quickly shows and then the screen goes black.

My application and the blank test project both work perfectly in Emulator.

My app and test project work as expected in the test device when using Air 23.

TOPICS
Air beta

Views

7.9K

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 ,
Nov 01, 2016 Nov 01, 2016

Copy link to clipboard

Copied

Hi Jarkko,

I tried reproducing the same problem using a sample project and AIRSDK 24 Beta.

But I am not able to reproduce the problem. I tested a sample starling project on iOS 9.2.1(iPad Pro), 9.3.1 (iPhone 6 plus) and 10.x (iPhone 6).

It will be very helpful for us if you can share a sample project to reproduce the same problem at our end.

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
Participant ,
Nov 01, 2016 Nov 01, 2016

Copy link to clipboard

Copied

Thank you. Here's the test project that goes black after quickly showing a red rectangle:

Dropbox - Test.zip

As you can see, there's nothing special in it.

Libraries / SDK:

  • Air SDK 24.0.0.148
  • Starling 2.1 SWC (Also tested with Starling 2.0.1 version)

Computer used:

  • MacBook Pro (Retina, 15-inch, Mid 2015)
  • OS X El Capitan Version 10.11.6

Test devices:

  • Apple iPad 4 (MD525KS/A) with iOS 9.3.1
  • Apple iPad 3 (MD368B/A) with iOS 9.3.4
  • Apple iPad 2 (MC979KS/A) with iOS 8.0.2
  • Apple iPad Mini (MD531KS/A) with iOS 7.1.1

It makes no difference if I use standard or fast packaging.

Is there some other info that could be useful?

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 ,
Nov 02, 2016 Nov 02, 2016

Copy link to clipboard

Copied

Hi Jarkko,

I have created a sample Flash Builder Project using the code that you provided in a test project. Please find my sample application at below location:

Dropbox - StarlingSample

I have tested the sample Project keeping below development environment:

Computer Used: Mac Book Pro (10.12.1)

Device Used: iPhone 6 Plus ( iOS 9.3)

                      iPad AIR 1 (iOS 8.4.1)

                      iPad AIR 2 (iOS 9.3.5)

AIR SDK Used: 24.0.0.148

IDE : Adobe Flash Builder

Starling 2.1 SWC

It works fine on all the devices at my end. Please find the attached project and package the swf and application file using command line and run it on the different devices at your end.

Kindly share results with us. It will help us for further investigation.

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
Participant ,
Nov 02, 2016 Nov 02, 2016

Copy link to clipboard

Copied

With the sample application you provided I'm still getting exactly the same behavior (screen shows a fraction of a second and then goes black) when compiling through the following commands with Air 24 Beta:

mxmlc  -library-path+=../../bin/starling.swc +configname=airmobile ./StarlingSample.as

adt -package -target ipa-ad-hoc -provisioning-profile [mobileprovision file] -storetype pkcs12 -keystore [keystore file]  -storepass [password] StarlingSample.ipa StarlingSample-app.xml StarlingSample.swf

adt -installApp -platform ios -package StarlingSample.ipa

When using exact same commands using Air SDK version 23.0.0.257 it works as expected.

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 ,
Nov 03, 2016 Nov 03, 2016

Copy link to clipboard

Copied

Hi Jarkko,

I also tried packaging the same application on Mac Book Pro (10.11) Machine but couldn't reproduce.

Could you please confirm which Java version you are using at your end?

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
Participant ,
Nov 04, 2016 Nov 04, 2016

Copy link to clipboard

Copied

Could you please confirm which Java version you are using at your end?

Running "java -version" in terminal returns:

java version "1.6.0_65"

Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468-11M4828a)

Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)

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
Participant ,
Nov 04, 2016 Nov 04, 2016

Copy link to clipboard

Copied

I also tried with the newest java version, with same result.

java version "1.8.0_112"

Java(TM) SE Runtime Environment (build 1.8.0_112-b16)

Java HotSpot(TM) 64-Bit Server VM (build 25.112-b16, mixed mode)

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 ,
Nov 04, 2016 Nov 04, 2016

Copy link to clipboard

Copied

Hi Jarkko,

We are continuously trying to reproduce the bug at our end.

When I run your sample code at my end, I get below red rectangle. Is it the expected behavior?

IMG_1981.PNG

Kindly share your swf and app.xml file using which you are reproducing the issue at your end. And it will also be very helpful if you can share a video with us showing the exact 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
Participant ,
Nov 04, 2016 Nov 04, 2016

Copy link to clipboard

Copied

Yes, that is the expected behavior. Here's a  package made with Air 24 including the source, swf and app.xml Dropbox - StarlingSample.zip

Did you notice that I already shared generated swf and IPA files made with Air 23 (working) and Air 24 (not working) privately with you before? Could re-sign the non-working ipa and try reproducing the bug in your device?

Here's a video recording of the bug:

The (stylish) green color is the stage color and the red is starling quad.

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
Participant ,
Nov 07, 2016 Nov 07, 2016

Copy link to clipboard

Copied

deesharm​ some additional info:

  • When SWF is created with Air 23 and packaged with Air 24 Beta adt, the bug is still there.
  • If the SWF is created with Air 24  (with mxmlc or amxmlc with parameter -swf-version=34) and then packaged with Air 23 it works.
  • Air 24 Beta packaging for Android works fine.

So basically we can assume that the problem is with adt and how app is packaged as ipa.

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 ,
Nov 07, 2016 Nov 07, 2016

Copy link to clipboard

Copied

Hi JarSyr,

Thanks for sharing the information. I would suggest you to recompile your application code with latest AIR 24 Beta Build.

  • Create SWF using AIR 24 and package it with same AIR 24 Beta Build keeping the -swf-version=35

Please try above combination and let us know if the bug still persists at your end.

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
Participant ,
Nov 07, 2016 Nov 07, 2016

Copy link to clipboard

Copied

It appears that updating the SDK to 24.0.0.153 did not help.

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
Participant ,
Nov 14, 2016 Nov 14, 2016

Copy link to clipboard

Copied

Still same problem with latest Beta SDK (24.0.0.162 from Nov 11th).

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 ,
Nov 14, 2016 Nov 14, 2016

Copy link to clipboard

Copied

Hello.

Tryed AIR SDK 24.0.0.162.

iPhone 6 works well.

iPhone 5 and iPad mini goes into black screen right after app started.

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
Explorer ,
Nov 02, 2016 Nov 02, 2016

Copy link to clipboard

Copied

I can reproduce the issue JarSyr​ reported, both with the sample project as well as other Starling powered project - the screen goes black shortly after showing the initial content. I used the latest AIR beta 24.0.0.148 on iPad 3 (iOS 8.4) and iPhone 4s (iOS 9.3.5)

Using AIR 23 works just fine.

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 ,
Nov 13, 2016 Nov 13, 2016

Copy link to clipboard

Copied

deesharm,

You can reproduce the error on lower end iOS devices.

AIR SDK 24.

iPhone 6 works.  No error.

iPhone 4S:

ArgumentError: Error #3672: Buffer creation failed. Internal error.

at flash.display3D::Context3D/createVertexBuffer()

at starling.rendering::VertexData/createVertexBuffer()

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 ,
Nov 04, 2016 Nov 04, 2016

Copy link to clipboard

Copied

My app is crashing the same way

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 ,
Nov 04, 2016 Nov 04, 2016

Copy link to clipboard

Copied

Hi Miguel,

Could you please share the development environment that you are keeping at your end?

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
New Here ,
Nov 04, 2016 Nov 04, 2016

Copy link to clipboard

Copied

java version "1.8.0_111"

Java(TM) SE Runtime Environment (build 1.8.0_111-b14)

Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

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
Explorer ,
Nov 07, 2016 Nov 07, 2016

Copy link to clipboard

Copied

Same problem here with Beta SDK 24.0.0.153.

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 ,
Nov 09, 2016 Nov 09, 2016

Copy link to clipboard

Copied

Also seeing this issue.  On the latest beta SDK.

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 ,
Nov 10, 2016 Nov 10, 2016

Copy link to clipboard

Copied

Hello. I have the same bug with latest beta SDK.

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
Explorer ,
Nov 13, 2016 Nov 13, 2016

Copy link to clipboard

Copied

When I use the Beta SDK 24.0.0.153 to build my app and run it in my iphone5C, it is crashing and showing black screen. It seems the same problem to others. But my app in the iphone6/6S/7 is well.

And when I used SDK 23 to build my app, it is all right in my iphone5c and other iphones.

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
Explorer ,
Nov 14, 2016 Nov 14, 2016

Copy link to clipboard

Copied

I also tried AIR SDK 24.0.0.162.

My iphone5c and ipad2 still show black screen, but have not got the error in flash builder and the background music is still playing. It meens only can not show but others are well.

And it has relationship with the device, iphone6/6s/7 are showing well.

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