• 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 15 Android 4.4 Galaxy Tab 3/4 7" Native Crash

New Here ,
Nov 09, 2014 Nov 09, 2014

Copy link to clipboard

Copied

Hello,

since we moved to Air 15 from Air 4.0 we getting a lot of native crashes on Google Developer Console only with Android 4.4 and Galaxy Tab 3 and 4 with 7 inch display

we used air sdk 15.0.302 and 15.0.349 beta with stage 3d initiated with :

stage.stage3Ds[0].requestContext3DMatchingProfiles(Vector.<String>([Context3DProfile.BASELINE, Context3DProfile.BASELINE_EXTENDED]));

users reporting that the game automatically closing after opening and randomly crashing.

the first error that happens a lot is :

Native crash at /system/lib/egl/libEGL_MRVL.so

in /system/lib/egl/libEGL_MRVL.so (eglMakeCurrent+204), /system/lib/egl/libEGL_MRVL.so (eglMakeCurrent+144)

Build fingerprint: 'samsung/degaswifiue/degaswifiue:4.4.2/KOT49H/T230NUUEU0ANH1:user/release-keys'

Revision: '3'

pid: 21365, tid: 21365, name: mygame >>> air.com.mygame <<<

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr e7cb7b04

and dump of registers state , backtrack, code around pc and lr


the other error happens less :

java.lang.IllegalStateException

java.lang.IllegalStateException: eglMakeCurrent failed EGL_BAD_CONTEXT

at android.view.HardwareRenderer$GlRenderer.createSurface(HardwareRenderer.java:1362)

at android.view.HardwareRenderer$GlRenderer.createEglSurface(HardwareRenderer.java:1243)

at android.view.HardwareRenderer$GlRenderer.initialize(HardwareRenderer.java:1060)

at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1877)

at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1256)

at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6632)

at android.view.Choreographer$CallbackRecord.run(Choreographer.java:813)

at android.view.Choreographer.doCallbacks(Choreographer.java:613)

at android.view.Choreographer.doFrame(Choreographer.java:583)

at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)

at android.os.Handler.handleCallback(Handler.java:733)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:146)

at android.app.ActivityThread.main(ActivityThread.java:5598)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:515)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)

at dalvik.system.NativeStart.main(Native Method)


my guess it's some how related to Marvell processor or to implementation of the driver on Android 4.4

any one experience this problem?

any suggestions for solution?

Thank you,

TOPICS
Air beta

Views

3.4K

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 18, 2014 Nov 18, 2014

Copy link to clipboard

Copied

I have the same problem. My app works on all devices except Galaxy Tab 3 and Tab 4. When I use Air 14, everything works O.K. This happens only on some Galaxy Tab 3/Tab 4 tablets. It looks that these versions are affected:

Galaxy Tab 3:

lt02wifi

lt023g

lt02wifiue

lt023gub

Galaxy Tab 4:

degaswifiue

degaswifi

degas3gxx

Other Galaxy tab 3 devices are O.K. (for example Galaxy Tab 3 Lite "goyawifiue" with Android 4.2.2.).

This error happens mostly when I exit the app and run it again.

I have also similar errors reported for Samsung Express, LG 730 and Acer Iconia A500.

It looks that cheaper tablets and some older devices have ofte problems with apps compiled by Air 15 or Air 16 beta.

Because Galaxy Tab 3 and Tab 4 are extremely popular devices, we cannot use Air 15/16 until this will be ressolved.

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 ,
Jan 10, 2015 Jan 10, 2015

Copy link to clipboard

Copied

Any updates or bug I can vote on?  Almost all errors and poor comments are from these devices.

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 ,
Jan 26, 2015 Jan 26, 2015

Copy link to clipboard

Copied

Same problem here with AIR SDK 16.0.0.283

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

Build fingerprint: 'samsung/degas3gxx/degas3g:4.4.2/KOT49H/T231XXU0ANJ4:user/release-keys'

Revision: '3'

pid: 4090, tid: 4090, name: .mygame >>> air.com.mygame <<<

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 010203a4

  r0 00000001 r1 00000000 r2 00000000 r3 00000000

  r4 726c7d18 r5 73ffca58 r6 73ac67f8 r7 7fda9c68

  r8 7fda9c68 r9 7fda9c68 sl 811219b8 fp bebfc3fc

  ip 010203a0 sp bebfc300 lr 726dc72c pc 726dc764 cpsr 200e0010

  d0 7463656a624f6563 d1 ffffffff00000043

  d2 000030c200000072 d3 00000a0100003065

  d4 0000000100000001 d5 0000000000000020

  d6 0000058700000000 d7 0000000100000000

  d8 0000000000000000 d9 0000000000000000

  d10 0000000000000000 d11 0000000000000000

  d12 0000000000000000 d13 0000000000000000

  d14 0000000000000000 d15 0000000000000000

  d16 ffffffffffb3b4c0 d17 0001328ffdb768d2

  d18 0000000000000000 d19 0000000000000000

  d20 0000000000000000 d21 0000000000000000

  d22 0000000000000000 d23 0000000000000000

  d24 0000000000000000 d25 0000000000000000

  d26 0000000000000000 d27 0000000000000000

  d28 0000000000000000 d29 0000000000000000

  d30 0000000000000000 d31 0000000000000000

  scr 6000001b

backtrace:

  #00 pc 00006764 /system/lib/egl/libEGL_MRVL.so (eglMakeCurrent+204)

  #01 pc 00006728 /system/lib/egl/libEGL_MRVL.so (eglMakeCurrent+144)

code around pc:

  726dc744 e1922003 1a000025 e3550000 0a000023 

  726dc754 e594c02c e35c0000 1a000003 ea000025 

  726dc764 e59cc004 e35c0000 0a000022 e155000c 

  726dc774 1afffffa e59731c8 e3530000 1a00000f 

  726dc784 e59831c8 e3530000 1a00000c e5963020 

  726dc794 e3530000 1a000026 e5963028 e3530000 

  726dc7a4 0a000001 e1550003 0a000194 e5953008 

  726dc7b4 e3530000 0a00002b e1560003 0a000029 

  726dc7c4 e59f37e0 e1a00004 e5863004 ebfffe55 

  726dc7d4 e3a00000 eaffffc4 e3550000 0a0000fd 

  726dc7e4 e59f37c4 e1a00004 e5863004 ebfffe4d 

  726dc7f4 e3a00000 eaffffbc e59f37b0 e1a00004 

  726dc804 e5863004 ebfffe47 e3a00000 eaffffb6 

  726dc814 e59f279c e59f179c e08f2002 e08f1001 

  726dc824 e282203c e3a03e51 ebfff359 e1a00006 

  726dc834 eaffffad e5962008 e59f377c e1520003 

code around lr:

  726dc70c e5932014 e3520000 0a000004 e5922010 

  726dc71c e3520000 15930028 11a0e00f 112fff12 

  726dc72c e2773001 33a03000 e2782001 33a02000 

  726dc73c e1120003 1a000025 e1922003 1a000025 

  726dc74c e3550000 0a000023 e594c02c e35c0000 

  726dc75c 1a000003 ea000025 e59cc004 e35c0000 

  726dc76c 0a000022 e155000c 1afffffa e59731c8 

  726dc77c e3530000 1a00000f e59831c8 e3530000 

  726dc78c 1a00000c e5963020 e3530000 1a000026 

  726dc79c e5963028 e3530000 0a000001 e1550003 

  726dc7ac 0a000194 e5953008 e3530000 0a00002b 

  726dc7bc e1560003 0a000029 e59f37e0 e1a00004 

  726dc7cc e5863004 ebfffe55 e3a00000 eaffffc4 

  726dc7dc e3550000 0a0000fd e59f37c4 e1a00004 

  726dc7ec e5863004 ebfffe4d e3a00000 eaffffbc 

  726dc7fc e59f37b0 e1a00004 e5863004 ebfffe47 

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 ,
Feb 12, 2015 Feb 12, 2015

Copy link to clipboard

Copied

We're seeing the same result for Android 4.4 users with a Galaxy Tab 3 and 4.

Our app is using AIR 16.

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 ,
Feb 12, 2015 Feb 12, 2015

Copy link to clipboard

Copied

We're having issues with Air 17 + Starling on Samsung Galaxy Tab 3 (SM-T210).

It works on all other android devices we have, and this device with the same code works on Air 15.

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

  at flash.display3D::Context3D/createVertexBuffer()

  at starling.display::QuadBatch/createBuffers()[/Users/x/Workspace/extensions/Starling-Framework/starling/src/starling/display/QuadBatch.as:173]

  at starling.display::QuadBatch/syncBuffers()[/Users/x/Workspace/extensions/Starling-Framework/starling/src/starling/display/QuadBatch.as:202]

  at starling.display::QuadBatch/renderCustom()[/Users/x/Workspace/extensions/Starling-Framework/starling/src/starling/display/QuadBatch.as:220]

  at starling.core::RenderSupport/finishQuadBatch()[/Users/x/Workspace/extensions/Starling-Framework/starling/src/starling/core/RenderSupport.as:501]

  at starling.core::Starling/render()[/Users/x/Workspace/extensions/Starling-Framework/starling/src/starling/core/Starling.as:539]

And the log spams with,

D/v_gal   (21100): [tid=21100] gl2mERROR: result=0x0501 @ glshVertexAttribArray(136)

Tried making a simple scene with just two 256x256 textures, but with the same result.

Thanks!

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 ,
Feb 12, 2015 Feb 12, 2015

Copy link to clipboard

Copied

I did some testing with AIR 17 and AIR 16. It looks that this problem happens only when you enable hardware accelaration in the xml file: <application android:hardwareAccelerated="true"/>

When it's disabled, everything works O.K. on these devices.

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 ,
Mar 24, 2015 Mar 24, 2015

Copy link to clipboard

Copied

ClaytonW4 I don't see that entry in the xml file. Is hardwareAccelerated true by default?

I'm having the same crashes with AIR 17 here on Galaxy 4 7", but not if I use AIR 14.

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 ,
Mar 30, 2015 Mar 30, 2015

Copy link to clipboard

Copied

We're having the same issue. Devices:

Galaxy Tab4 7.0 (degaswifiue)

Galaxy Tab3 7.0 (lt02wifi)

Galaxy Tab4 7.0 (degas3g)

Ellipsis 8 (QTAQZ3)

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 ,
Mar 30, 2015 Mar 30, 2015

Copy link to clipboard

Copied

Hi,

I tried reproducing this issue on Galaxy Tab 4 7" , but couldn't find the crash. I had used "requestContext3DMatchingProfiles(Vector.<String>([Context3DProfile.BASEL INE, Context3DProfile.BASELINE_EXTENDED]));" as mentioned above.

Can you please provide a sample project so that we may know the exact scenario, and also the app.xml file ?

-Tushar,

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
Explorer ,
Mar 31, 2015 Mar 31, 2015

Copy link to clipboard

Copied

I'm sorry I'm not able to provide you a sample project at the moment, but maybe someone else who has encountered the issue..?

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 ,
Mar 31, 2015 Mar 31, 2015

Copy link to clipboard

Copied

Hey Guys,

Please provide a sample project in which you are able to reproduce the issue.

I'm providing a small sample app that I used to investigate the issue. Please go trough it, and inform me if this is the case where you have been facing the problem.

Dropbox - requestContext3DMatchingProfiles_test.zip

-Tushar

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 ,
Apr 21, 2015 Apr 21, 2015

Copy link to clipboard

Copied

Really, problem happens only when we tried enable hardware accelaration in the xml file: <application android:hardwareAccelerated="true"/>

When we've disabled it we've breathed a sigh of relief.

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 ,
Apr 21, 2015 Apr 21, 2015

Copy link to clipboard

Copied

LATEST

Hi ,

In the sample project that I have provided earlier, I have enabled hardware acceleration, but didn't find the crash.

Though, I remember a similar bug being fixed in previous releases.

Till then, please try the sample project and your own project once with latest AIRSDK released (ie. 17.0.0.144).

http://www.adobe.com/devnet/air/air-sdk-download.html‌

If you are still finding the crash with the latest release, please share a sample project with us, on which you can reproduce the crash

-Tushar,

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