Skip to main content
Participant
February 28, 2013
Question

Fatal crash with StageText on Android?

  • February 28, 2013
  • 1 reply
  • 10445 views

Hi,

I am using adobe air 3.6 and starling for a multi-platform game. And I seem to have a problem with some Android devices when using stageText.

I am using the feathers TextInput component which uses a StageText instance, and the problem occurs when I come across the first TextInput item.

I select it, everything works fine, can type text and all... the problem occurs when I tab on something else in the site, either clicking on the background or another TextInput. So it seems to be the focusOut event of the StageText?

On all devices it runs fine (including a bunch of Android devices as well), except for a Nexus 4 with Android 4.2.2.

With a bit of googling on the error it could be something with a missing texture or something?

Any help is appreciated...

This is the error/backtrace:

W/Adreno200-ES20(30792): <__load_uniform_matrix:809>: GL_INVALID_OPERATION

F/libc    (30792): Fatal signal 11 (SIGSEGV) at 0x00000008 (code=1), thread 30792 (.endemol.pingel)

I/DEBUG   (  157): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

I/DEBUG   (  157): Build fingerprint: 'google/occam/mako:4.2.2/JDQ39/573038:user/release-keys'

I/DEBUG   (  157): Revision: '10'

I/DEBUG   (  157): pid: 30792, tid: 30792, name: .endemol.pingel  >>> air.com.endemol.pingel <<<

I/DEBUG   (  157): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000008

I/DEBUG   (  157):     r0 7a864f40  r1 00000008  r2 00000018  r3 00000000

I/DEBUG   (  157):     r4 00000000  r5 00000040  r6 00000038  r7 00000008

I/DEBUG   (  157):     r8 00000000  r9 722ffd58  sl 00000010  fp 72009eac

I/DEBUG   (  157):     ip 62164f40  sp bee9c160  lr 6215b6e7  pc 402156a0  cpsr 20000010

I/DEBUG   (  157):     d0  0000000000000000  d1  3f80000000000000

I/DEBUG   (  157):     d2  0000000042480080  d3  000000000000003f

I/DEBUG   (  157):     d4  4302800000000082  d5  000000003f800000

I/DEBUG   (  157):     d6  4302000044154000  d7  3f8000003f800000

I/DEBUG   (  157):     d8  4302000044154000  d9  437f000044154000

I/DEBUG   (  157):     d10 42820200c1010000  d11 0000000041a6304c

I/DEBUG   (  157):     d12 0000000000000000  d13 0000000000000000

I/DEBUG   (  157):     d14 0000000000000000  d15 0000000000000000

I/DEBUG   (  157):     d16 000000000007eeb3  d17 0000000000000001

I/DEBUG   (  157):     d18 0000000000000000  d19 0000000000000000

I/DEBUG   (  157):     d20 0000000000000000  d21 3ff0000000000000

I/DEBUG   (  157):     d22 8000000000000000  d23 0000000000000000

I/DEBUG   (  157):     d24 0000000000000000  d25 8000000000000000

I/DEBUG   (  157):     d26 3ff0000000000000  d27 bfc99999dce7b0bb

I/DEBUG   (  157):     d28 3fd55555809a4184  d29 004b0049004a0049

I/DEBUG   (  157):     d30 0056005600560056  d31 0000000000000000

I/DEBUG   (  157):     scr 20000093

I/DEBUG   (  157):

I/DEBUG   (  157): backtrace:

I/DEBUG   (  157):     #00  pc 000186a0  /system/lib/libc.so (memcpy+160)

I/DEBUG   (  157):     #01  pc 000046e3  /system/lib/libgsl.so (ioctl_kgsl_sharedmem_write+114)

I/DEBUG   (  157):     #02  pc 0004776d  /system/lib/egl/libGLESv2_adreno200.so (rb_vbo_cache_vertex_attrib+364)

I/DEBUG   (  157):     #03  pc 0001ba6f  /system/lib/egl/libGLESv2_adreno200.so (cache_vertex_array+388)

I/DEBUG   (  157):     #04  pc 0001eaa1  /system/lib/egl/libGLESv2_adreno200.so (glDrawArraysInstancedXXX+220)

I/DEBUG   (  157):     #05  pc 0001889f  /system/lib/libhwui.so

I/DEBUG   (  157):     #06  pc 0001ac25  /system/lib/libhwui.so

I/DEBUG   (  157):     #07  pc 00011bfd  /system/lib/libhwui.so

I/DEBUG   (  157):     #08  pc 0001211b  /system/lib/libhwui.so

I/DEBUG   (  157):     #09  pc 0001211b  /system/lib/libhwui.so

I/DEBUG   (  157):     #10  pc 0001211b  /system/lib/libhwui.so

I/DEBUG   (  157):     #11  pc 0001211b  /system/lib/libhwui.so

I/DEBUG   (  157):     #12  pc 0001211b  /system/lib/libhwui.so

I/DEBUG   (  157):     #13  pc 0005bccf  /system/lib/libandroid_runtime.so

I/DEBUG   (  157):     #14  pc 0001e290  /system/lib/libdvm.so (dvmPlatformInvoke+112)

I/DEBUG   (  157):     #15  pc 0004d411  /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+396)

I/DEBUG   (  157):     #16  pc 000276a0  /system/lib/libdvm.so

I/DEBUG   (  157):     #17  pc 0002b57c  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)

I/DEBUG   (  157):     #18  pc 0005ff07  /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+374)

I/DEBUG   (  157):     #19  pc 000677e1  /system/lib/libdvm.so

I/DEBUG   (  157):     #20  pc 000276a0  /system/lib/libdvm.so

I/DEBUG   (  157):     #21  pc 0002b57c  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)

I/DEBUG   (  157):     #22  pc 0005fc31  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)

I/DEBUG   (  157):     #23  pc 000499fb  /system/lib/libdvm.so

I/DEBUG   (  157):     #24  pc 00046871  /system/lib/libandroid_runtime.so

I/DEBUG   (  157):     #25  pc 00047533  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+390)

I/DEBUG   (  157):     #26  pc 00000db7  /system/bin/app_process

I/DEBUG   (  157):     #27  pc 0001271f  /system/lib/libc.so (__libc_init+38)

I/DEBUG   (  157):     #28  pc 00000ae8  /system/bin/app_process

I/DEBUG   (  157):

I/DEBUG   (  157): stack:

I/DEBUG   (  157):          bee9c120  00000000 

I/DEBUG   (  157):          bee9c124  00000000 

I/DEBUG   (  157):          bee9c128  00000000 

I/DEBUG   (  157):          bee9c12c  3f800000 

I/DEBUG   (  157):          bee9c130  7a864f00  /dev/kgsl-3d0

I/DEBUG   (  157):          bee9c134  6215b6e7  /system/lib/libgsl.so (ioctl_kgsl_sharedmem_write+118)

I/DEBUG   (  157):          bee9c138  44154000  /dev/ashmem/dalvik-heap (deleted)

I/DEBUG   (  157):          bee9c13c  00000000 

I/DEBUG   (  157):          bee9c140  3f800000 

I/DEBUG   (  157):          bee9c144  735bbd68 

I/DEBUG   (  157):          bee9c148  00000001 

I/DEBUG   (  157):          bee9c14c  00000000 

I/DEBUG   (  157):          bee9c150  00000000 

I/DEBUG   (  157):          bee9c154  00000000 

I/DEBUG   (  157):          bee9c158  df0027ad 

I/DEBUG   (  157):          bee9c15c  00000000 

I/DEBUG   (  157):     #00  bee9c160  7a864f40  /dev/kgsl-3d0

I/DEBUG   (  157):          bee9c164  6215b6e7  /system/lib/libgsl.so (ioctl_kgsl_sharedmem_write+118)

I/DEBUG   (  157):     #01  bee9c168  721ed018 

I/DEBUG   (  157):          bee9c16c  73ad7eb0 

I/DEBUG   (  157):          bee9c170  73ad7e90 

I/DEBUG   (  157):          bee9c174  40084c6c 

I/DEBUG   (  157):          bee9c178  73ad7eb0 

I/DEBUG   (  157):          bee9c17c  00000008 

I/DEBUG   (  157):          bee9c180  73ad7e90 

I/DEBUG   (  157):          bee9c184  40084c6c 

I/DEBUG   (  157):          bee9c188  73ad7eb0 

I/DEBUG   (  157):          bee9c18c  71fb3771  /system/lib/egl/libGLESv2_adreno200.so (rb_vbo_cache_vertex_attrib+368)

I/DEBUG   (  157):     #02  bee9c190  00000010 

I/DEBUG   (  157):          bee9c194  00000001 

I/DEBUG   (  157):          bee9c198  00000000 

I/DEBUG   (  157):          bee9c19c  00000054 

I/DEBUG   (  157):          bee9c1a0  00000000 

I/DEBUG   (  157):          bee9c1a4  00000001 

I/DEBUG   (  157):          bee9c1a8  721ed018 

I/DEBUG   (  157):          bee9c1ac  00000001 

I/DEBUG   (  157):          bee9c1b0  00000004 

I/DEBUG   (  157):          bee9c1b4  00000008 

I/DEBUG   (  157):          bee9c1b8  00000000 

I/DEBUG   (  157):          bee9c1bc  00000000 

I/DEBUG   (  157):          bee9c1c0  00000000 

I/DEBUG   (  157):          bee9c1c4  7217a670 

I/DEBUG   (  157):          bee9c1c8  40084c6c 

I/DEBUG   (  157):          bee9c1cc  72179008 

I/DEBUG   (  157):          ........  ........

I/DEBUG   (  157):

I/DEBUG   (  157): memory near r0:

I/DEBUG   (  157):     7a864f20 43c03bde 43530000 3f800000 3f800000 

I/DEBUG   (  157):     7a864f30 3f800000 3f800000 3f4e0000 3b000000 

I/DEBUG   (  157):     7a864f40 00000000 44344000 3f800000 3f800000 

I/DEBUG   (  157):     7a864f50 3f800000 3f800000 3b000000 3f7f8000 

I/DEBUG   (  157):     7a864f60 43c03bde 44344000 3f800000 3f800000 

I/DEBUG   (  157):     7a864f70 3f800000 3f800000 3f4e0000 3f7f8000 

I/DEBUG   (  157):     7a864f80 00010000 00010002 00020003 3f800000 

I/DEBUG   (  157):     7a864f90 3f800000 3f800000 00000000 00000000 

I/DEBUG   (  157):     7a864fa0 43c00000 00000000 3f800000 3f800000 

I/DEBUG   (  157):     7a864fb0 3f800000 3f800000 3f400000 00000000 

I/DEBUG   (  157):     7a864fc0 00000254 00000000 3f800000 3f800000 

I/DEBUG   (  157):     7a864fd0 4cca6881 51000400 04200000 00000000 

I/DEBUG   (  157):     7a864fe0 12aba000 12eda000 12fea000 13032000 

I/DEBUG   (  157):     7a864ff0 13046000 1304c000 1304e000 1304e800 

I/DEBUG   (  157):     7a865000 1304ec00 1304ee00 1304f000 12aba000 

I/DEBUG   (  157):     7a865010 00000000 00000000 00000000 721ec630 

I/DEBUG   (  157):

I/DEBUG   (  157): memory near r9:

I/DEBUG   (  157):     722ffd38 00000000 00000000 00000000 00000000 

I/DEBUG   (  157):     722ffd48 00000000 00000000 00000001 000000d3 

I/DEBUG   (  157):     722ffd58 00000008 00000038 00000000 72f49350 

I/DEBUG   (  157):     722ffd68 00000ae8 00000000 00000000 00000000 

I/DEBUG   (  157):     722ffd78 00000000 00000000 00000000 00000000 

I/DEBUG   (  157):     722ffd88 00000000 00000000 00000000 00000000 

I/DEBUG   (  157):     722ffd98 00000000 00000000 00000000 00000000 

I/DEBUG   (  157):     722ffda8 00000000 00000000 00000000 00000000 

I/DEBUG   (  157):     722ffdb8 00000000 00000000 00000000 00000000 

I/DEBUG   (  157):     722ffdc8 00000000 00000000 00000000 00000000 

I/DEBUG   (  157):     722ffdd8 00000000 00000000 00000000 00000000 

I/DEBUG   (  157):     722ffde8 00000000 00000000 00000000 00000000 

I/DEBUG   (  157):     722ffdf8 00000000 00000000 00000000 00000000 

I/DEBUG   (  157):     722ffe08 00000000 00000000 00000000 00000000 

I/DEBUG   (  157):     722ffe18 00004036 0000404d 000000d0 00000013 

I/DEBUG   (  157):     722ffe28 00000000 76c5f8c0 000000cf 000000ab 

I/DEBUG   (  157):

I/DEBUG   (  157): memory near fp:

I/DEBUG   (  157):     72009e8c 71fe22d1 71fe22e9 71fe018d 71fe01a5 

I/DEBUG   (  157):     72009e9c 71fe01af 71fe01b7 71fe01c1 4020aa24 

I/DEBUG   (  157):     72009eac 00000000 00000000 00000000 4021e761 

I/DEBUG   (  157):     72009ebc 4021e651 6215b901 6215b9b1 6215bdbb 

I/DEBUG   (  157):     72009ecc 6215bad1 4021a5b5 4021570c 4021b0f1 

I/DEBUG   (  157):     72009edc 40219f35 4020f771 6215bab5 6215baad 

I/DEBUG   (  157):     72009eec 6215b999 6215ba99 6215bbe9 6215bc25 

I/DEBUG   (  157):     72009efc 6215bdbf 6215bae9 6215bb91 6215ba9d 

I/DEBUG   (  157):     72009f0c 6215b941 62160b09 6215baa5 6215bfed 

I/DEBUG   (  157):     72009f1c 40235bd4 6215aacd 6215a509 6215a4d1 

I/DEBUG   (  157):     72009f2c 40235c9c 40235d78 4027f770 40236a2c 

I/DEBUG   (  157):     72009f3c 6215baa9 6215c0b9 6215be35 6215baa1 

I/DEBUG   (  157):     72009f4c 6215bab1 4021a635 4021a6f5 4021a6b9 

I/DEBUG   (  157):     72009f5c 6215a341 6215a3f9 6215a499 40215600 

I/DEBUG   (  157):     72009f6c 4021a111 6215a309 6215a229 6215a1e9 

I/DEBUG   (  157):     72009f7c 62159f79 6215a939 6215a0e1 6215a889 

I/DEBUG   (  157):

I/DEBUG   (  157): memory near ip:

I/DEBUG   (  157):     62164f20 40213ec4 40218d53 40218d93 40209ef5 

I/DEBUG   (  157):     62164f30 40209f1d 40209f09 40209f31 40209f45 

I/DEBUG   (  157):     62164f40 40215600 402151a4 402220c5 40222081 

I/DEBUG   (  157):     62164f50 402159a4 40235bb3 40216560 40222257 

I/DEBUG   (  157):     62164f60 4021e94d 40221629 4022221d 4021e29d 

I/DEBUG   (  157):     62164f70 4020a41c 4020a470 4020a524 4020a430 

I/DEBUG   (  157):     62164f80 4020afe8 4020ad50 4020b068 4020b0a4 

I/DEBUG   (  157):     62164f90 4020b0c0 4020b49c 4020b5fc 4020b6cc 

I/DEBUG   (  157):     62164fa0 4020b8a8 4020b7fc 40219e21 4020a0c0 

I/DEBUG   (  157):     62164fb0 4020aa24 4020a830 4021476c 4020bd75 

I/DEBUG   (  157):     62164fc0 40235c9c 40136f59 40137019 40214e20 

I/DEBUG   (  157):     62164fd0 402144cc 40214494 40106ced 4021eb51 

I/DEBUG   (  157):     62164fe0 401370ad 40136f49 40221949 4021bb2d 

I/DEBUG   (  157):     62164ff0 4021fcf1 4021a2ad 4021ebe5 40109431 

I/DEBUG   (  157):     62165000 62165000 636e7973 636f6c62 74756d6b 

I/DEBUG   (  157):     62165010 00007865 00000000 00000000 00000000 

I/DEBUG   (  157):

I/DEBUG   (  157): memory near sp:

I/DEBUG   (  157):     bee9c140 3f800000 735bbd68 00000001 00000000 

I/DEBUG   (  157):     bee9c150 00000000 00000000 df0027ad 00000000 

I/DEBUG   (  157):     bee9c160 7a864f40 6215b6e7 721ed018 73ad7eb0 

I/DEBUG   (  157):     bee9c170 73ad7e90 40084c6c 73ad7eb0 00000008 

I/DEBUG   (  157):     bee9c180 73ad7e90 40084c6c 73ad7eb0 71fb3771 

I/DEBUG   (  157):     bee9c190 00000010 00000001 00000000 00000054 

I/DEBUG   (  157):     bee9c1a0 00000000 00000001 721ed018 00000001 

I/DEBUG   (  157):     bee9c1b0 00000004 00000008 00000000 00000000 

I/DEBUG   (  157):     bee9c1c0 00000000 7217a670 40084c6c 72179008 

I/DEBUG   (  157):     bee9c1d0 73ad7e90 00000001 00000000 00000003 

I/DEBUG   (  157):     bee9c1e0 00000001 71f87a73 40084c6c 722ffd58 

I/DEBUG   (  157):     bee9c1f0 00000001 00000000 00000038 0000002c 

I/DEBUG   (  157):     bee9c200 00000001 00000028 7217a688 00000000 

I/DEBUG   (  157):     bee9c210 00000004 00000001 9d400000 72179008 

I/DEBUG   (  157):     bee9c220 00000001 00000005 7217a670 00000000 

I/DEBUG   (  157):     bee9c230 72bdf7b0 00000000 731c7370 71f8aaa5 

I/DEBUG   (  157):

I/DEBUG   (  157): code around pc:

I/DEBUG   (  157):     40215680 f5d1f100 e2522040 f400022d f400422d 

I/DEBUG   (  157):     40215690 2afffff8 e2822040 e2522020 3a000003 

I/DEBUG   (  157):     402156a0 f421020d e2522020 f400022d 2afffffb 

I/DEBUG   (  157):     402156b0 e2822020 e3120010 0a000001 f4210a0d 

I/DEBUG   (  157):     402156c0 f4000a2d e1b0ce82 3a000001 f421070d 

I/DEBUG   (  157):     402156d0 f400070d aa000001 f4a1030d f480030d 

I/DEBUG   (  157):     402156e0 e1b0cf82 44d13001 24d1c001 24d1e001 

I/DEBUG   (  157):     402156f0 44c03001 24c0c001 24c0e001 e8bd4001 

I/DEBUG   (  157):     40215700 e12fff1e e1a02001 e3a01000 e92d40f1 

I/DEBUG   (  157):     40215710 e2603000 e2133003 e1530002 81a03002 

I/DEBUG   (  157):     40215720 e1a01c01 e1811421 e1811821 e1b0cf83 

I/DEBUG   (  157):     40215730 24c01001 24c01001 44c01001 e0522003 

I/DEBUG   (  157):     40215740 98bd40f1 912fff1e e1a0c001 e1a0e001 

I/DEBUG   (  157):     40215750 e1a04001 e1a05001 e1a06001 e1a07001 

I/DEBUG   (  157):     40215760 e2603000 e213301c 0a000008 e1530002 

I/DEBUG   (  157):     40215770 8202301c e0422003 e1b03e03 28a04002 

I/DEBUG   (  157):

I/DEBUG   (  157): code around lr:

I/DEBUG   (  157):     6215b6c4 f2404478 9001434b 95042002 fc8cf000 

I/DEBUG   (  157):     6215b6d4 30fff04f 6800e006 46111840 f000461a 

I/DEBUG   (  157):     6215b6e4 4620f9d9 bd70b006 00007ca7 00005fde 

I/DEBUG   (  157):     6215b6f4 000061e7 00005fba 00007c79 000061ed 

I/DEBUG   (  157):     6215b704 4604b530 4608b087 4918b97c 48184622 

I/DEBUG   (  157):     6215b714 44794b18 90004478 2002447b f2409301 

I/DEBUG   (  157):     6215b724 94024363 fc60f000 68a5e014 42a91859 

I/DEBUG   (  157):     6215b734 4a11d913 447a4911 4a119200 90024479 

I/DEBUG   (  157):     6215b744 447a2002 92019303 4369f240 95042200 

I/DEBUG   (  157):     6215b754 fc4af000 30fff04f 6821e006 46111808 

I/DEBUG   (  157):     6215b764 f000461a 2000f999 bd30b007 00005f58 

I/DEBUG   (  157):     6215b774 00007c90 000061d9 00007c6e 00005f2e 

I/DEBUG   (  157):     6215b784 000061da b5080799 f7ffd003 2000fae1 

I/DEBUG   (  157):     6215b794 f06fbd08 bd080004 2100b510 22044604 

I/DEBUG   (  157):     6215b7a4 f97af000 20002301 bd106023 2304b57f 

I/DEBUG   (  157):     6215b7b4 22019200 a8009003 eb0d9201 91020203 

This topic has been closed for replies.

1 reply

Participant
March 19, 2013

We had a similar problem under the exact same setup. We determined this occurred if we enabled Android hardware acceleration in the Android manifest section of our AIR application descriptor XML file. Setting it to false:

...

<application android:enabled="true" android:hardwareAccelerated="false">

...

Resolved the issue. Fortunately we didn't need this enabled for our app.

Hope this helps.

chris.campbell
Legend
March 19, 2013

Do you know if this is new behavior for 3.6?  Regardless, could you please open a new bug report on this over at bugbase.adobe.com?  When adding the bug, please include sample code and/or your application so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly (ccampbel@adobe.com). 

Once added, please post back with the URL so that others affected can add their comments and votes.

Thanks,

Chris

Participating Frequently
April 22, 2013

I ran into the EXACT same problem.  Chris, did you manage to find a solution?  My problem is that I need hardware acceleration in order to play video in my app.  So I can't use daleicious' solution