Fatal error from licensing ANE.
Hi,
I have been using a licensing ANE built based on this; Licensing Adobe AIR applications on Android | Adobe Developer Connection
I have been using it without problems for a long, long while...
However, I have just discovered some devices where I cannot launch my app as as it crashes unceremoniously with "Unfortunately, <APP NAME> has stopped. OK"
No errors are found in action script, no code has changed (in AIR / Actionscript) from where it worked. Just a complete wipe-out and disappearance of the app.
I have traced through as far as ActionScript will let me and I know that the LicenseChecker.checkLicense() call not only occurs successfully, but that it returns with a value of "1" which is what I would expect from the "AndroidLicensing.java" checkLicense call.
However, shortly after this, the app dies... as in wipe-out... as in gone... dead... kaput.
I've done some digging and found (through adb logcat) that there is a fatal error as per the below, so...
I know that something has gone badly wrong.
I know that it has happened as a result of license checking.
I haven't got a clue where to go from here.
Is this an AIR bug?
Is this a JAVA bug?
Is this an Android bug?
And...
HOW CAN I FIX IT?
HELP!
Thanks,
G
F/libc ( 349): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 349 (<APP ID>)
I/DEBUG ( 1671): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1671): Build fingerprint: 'samsung/goldenxx/golden:4.1.2/JZO54K/I8190XXAME1:user/release-keys'
I/DEBUG ( 1671): pid: 349, tid: 349, name: air.<APP ID> >>> air.<APP ID> <<<
I/DEBUG ( 1671): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
D/STATUSBAR-NetworkController( 2127): refreshSignalCluster: data=-1 bt=false
I/DEBUG ( 1671): r0 5f9c1140 r1 b8000000 r2 be9aab88 r3 be9aa64c
I/DEBUG ( 1671): r4 00000000 r5 00000000 r6 5f9c1140 r7 5f9b6348
I/DEBUG ( 1671): r8 be9aa64c r9 be9aab88 sl be9aab88 fp 00000000
I/DEBUG ( 1671): ip 000000b8 sp be9aa568 lr 5d55286d pc 5d5587d4 cpsr 80000030
I/DEBUG ( 1671): d0 0000000000000000 d1 0000000000000000
I/DEBUG ( 1671): d2 0000002800000010 d3 ffffffff00020001
I/DEBUG ( 1671): d4 6c2e64696f72646e d5 676e69736e656369
I/DEBUG ( 1671): d6 736e6563694c3a3a d7 72656b6365684365
I/DEBUG ( 1671): d8 0000000000000000 d9 3ff0000000000000
I/DEBUG ( 1671): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 1671): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 1671): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 1671): d16 3fe2309ce5400000 d17 7e37e43c8800759c
I/DEBUG ( 1671): d18 0000000000000000 d19 0000000000000000
I/DEBUG ( 1671): d20 0000000000000000 d21 3ff0000000000000
I/DEBUG ( 1671): d22 8000000000000000 d23 0000000000000000
I/DEBUG ( 1671): d24 0000000000000000 d25 8000000000000000
I/DEBUG ( 1671): d26 3ff0000000000000 d27 f8f8f8f8f8f8f8f8
I/DEBUG ( 1671): d28 0102010301020103 d29 0102010301020103
I/DEBUG ( 1671): d30 0304020703040207 d31 0304020703040207
I/DEBUG ( 1671): scr 80000013
I/DEBUG ( 1671):
I/DEBUG ( 1671): backtrace:
I/DEBUG ( 1671): #00 pc 006ae7d4 /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): #01 pc 006a886b /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): #02 pc 00580cb1 /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671):
I/DEBUG ( 1671): stack:
I/DEBUG ( 1671): be9aa528 5a2e18c8
I/DEBUG ( 1671): be9aa52c 6151d9a0
I/DEBUG ( 1671): be9aa530 6151d000
I/DEBUG ( 1671): be9aa534 5d60da7b /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): be9aa538 5a2e18c8
I/DEBUG ( 1671): be9aa53c 6151d9a0
I/DEBUG ( 1671): be9aa540 be9aa568 [stack]
I/DEBUG ( 1671): be9aa544 5e2edb50 /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): be9aa548 0000001a
I/DEBUG ( 1671): be9aa54c be9aa568 [stack]
I/DEBUG ( 1671): be9aa550 0000316c
I/DEBUG ( 1671): be9aa554 6151d9a0
I/DEBUG ( 1671): be9aa558 5e56a020
I/DEBUG ( 1671): be9aa55c 5d51fa3f /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): be9aa560 df0027ad
I/DEBUG ( 1671): be9aa564 00000000
I/DEBUG ( 1671): #00 be9aa568 6151d9a0
I/DEBUG ( 1671): be9aa56c 00000001
I/DEBUG ( 1671): be9aa570 5e2edb50 /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): be9aa574 000084d8
I/DEBUG ( 1671): be9aa578 0000ab24
I/DEBUG ( 1671): be9aa57c 000033a8
I/DEBUG ( 1671): be9aa580 5e56c53a
I/DEBUG ( 1671): be9aa584 5e577088
I/DEBUG ( 1671): be9aa588 5e56a020
I/DEBUG ( 1671): be9aa58c 00000001
I/DEBUG ( 1671): be9aa590 5d558771 /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): be9aa594 5d552849 /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): be9aa598 5d428d89 /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): be9aa59c 5df5a36c /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): be9aa5a0 00000000
I/DEBUG ( 1671): be9aa5a4 5e550000
I/DEBUG ( 1671): ........ ........
I/DEBUG ( 1671): #01 be9aa5b0 be9aa64c [stack]
I/DEBUG ( 1671): be9aa5b4 00000000
I/DEBUG ( 1671): be9aa5b8 00000001
I/DEBUG ( 1671): be9aa5bc 5d428d89 /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): be9aa5c0 5df5a36c /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): be9aa5c4 5e2edb50 /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): be9aa5c8 be9aa708 [stack]
I/DEBUG ( 1671): be9aa5cc 5d42acb3 /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): #02 be9aa5d0 00001000
I/DEBUG ( 1671): be9aa5d4 00000000
I/DEBUG ( 1671): be9aa5d8 5e328780
I/DEBUG ( 1671): be9aa5dc 5d60d699 /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671): be9aa5e0 616f3000
I/DEBUG ( 1671): be9aa5e4 5e577088
I/DEBUG ( 1671): be9aa5e8 c0000000
I/DEBUG ( 1671): be9aa5ec 5e56c53a
I/DEBUG ( 1671): be9aa5f0 00000000
I/DEBUG ( 1671): be9aa5f4 5f9c1140
I/DEBUG ( 1671): be9aa5f8 0000e928
I/DEBUG ( 1671): be9aa5fc 000011c0
I/DEBUG ( 1671): be9aa600 00001628
I/DEBUG ( 1671): be9aa604 00003bac
I/DEBUG ( 1671): be9aa608 40102e65 /system/lib/libc.so (free)
I/DEBUG ( 1671): be9aa60c 5d5945fb /data/data/air.<APP ID>/lib/libCore.so
I/DEBUG ( 1671):
I/DEBUG ( 1671): memory near r0:
I/DEBUG ( 1671): 5f9c1120 00000012 5f0deafd 00000000 00000011 ......._........
I/DEBUG ( 1671): 5f9c1130 00000000 00380080 00000005 00000000 ......8.........
I/DEBUG ( 1671): 5f9c1140 5e2c18a0 61c2667d 5d5929c1 6121fd90 ..,^}f.a.)Y]..!a
I/DEBUG ( 1671): 5f9c1150 5f9b8940 00000000 5f9b6348 5f0dde02 @17139041_....Hc._..._
I/DEBUG ( 1671): 5f9c1160 00000013 5f0deb40 00000000 00000000 ....@.._........
I/DEBUG ( 1671):
I/DEBUG ( 1671): memory near r1:
I/DEBUG ( 1671): b7ffffe0 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 1671): b7fffff0 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 1671): b8000000 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 1671): b8000010 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 1671): b8000020 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 1671):
I/DEBUG ( 1671): memory near r2:
I/DEBUG ( 1671): be9aab68 5f9c7020 61add23a be9aad0c 5d5c1b55 p._:..a....U.\]
I/DEBUG ( 1671): be9aab78 be9aadf4 00000001 00000000 00000000 ................
I/DEBUG ( 1671): be9aab88 6152e0a1 615d0c19 61b9e581 61ca7551 ..Ra..]a...aQu.a
I/DEBUG ( 1671): be9aab98 61875661 5fab3dc2 6152e0a1 0000000d aV.a.=._..Ra....
I/DEBUG ( 1671): be9aaba8 5fab3dc2 61add23a 5fab3dc2 5fab3e82 .=._:..a.=._.>._
I/DEBUG ( 1671):
I/DEBUG ( 1671): memory near r3:
I/DEBUG ( 1671): be9aa62c 5e550000 00000824 40102e5d 40102e51 ..U^$...]..@Q..@
I/DEBUG ( 1671): be9aa63c 5d59460b 5e2edb50 5d60d6cb 5d60d6b9 .FY]P..^..`]..`]
I/DEBUG ( 1671): be9aa64c be9aa708 5e2edb50 5e2edb50 5d42ab91 ....P..^P..^..B]
I/DEBUG ( 1671): be9aa65c be9aa708 0000afc8 5e550044 00000000 ........D.U^....
I/DEBUG ( 1671): be9aa66c 5e550000 00000824 5d1a1e37 ffffffff ..U^$...7..]....
I/DEBUG ( 1671):
I/DEBUG ( 1671): memory near r6:
I/DEBUG ( 1671): 5f9c1120 00000012 5f0deafd 00000000 00000011 ......._........
I/DEBUG ( 1671): 5f9c1130 00000000 00380080 00000005 00000000 ......8.........
I/DEBUG ( 1671): 5f9c1140 5e2c18a0 61c2667d 5d5929c1 6121fd90 ..,^}f.a.)Y]..!a
I/DEBUG ( 1671): 5f9c1150 5f9b8940 00000000 5f9b6348 5f0dde02 @17139041_....Hc._..._
I/DEBUG ( 1671): 5f9c1160 00000013 5f0deb40 00000000 00000000 ....@.._........
I/DEBUG ( 1671):
I/DEBUG ( 1671): memory near r7:
I/DEBUG ( 1671): 5f9b6328 5a2e1010 00000004 00000003 00000031 ...Z........1...
I/DEBUG ( 1671): 5f9b6338 0000270c 00000000 00000000 00000000 .'..............
I/DEBUG ( 1671): 5f9b6348 5e2c0070 5e56a020 5fcc7f58 5a2e1010 p.,^ .V^X.._...Z
I/DEBUG ( 1671): 5f9b6358 0000000c 0000000a 5fcc7ef8 5a2e1010 .........~._...Z
I/DEBUG ( 1671): 5f9b6368 00000004 00000001 00000000 5f9b72c8 .............r._
I/DEBUG ( 1671):
I/DEBUG ( 1671): memory near r8:
I/DEBUG ( 1671): be9aa62c 5e550000 00000824 40102e5d 40102e51 ..U^$...]..@Q..@
I/DEBUG ( 1671): be9aa63c 5d59460b 5e2edb50 5d60d6cb 5d60d6b9 .FY]P..^..`]..`]
I/DEBUG ( 1671): be9aa64c be9aa708 5e2edb50 5e2edb50 5d42ab91 ....P..^P..^..B]
I/DEBUG ( 1671): be9aa65c be9aa708 0000afc8 5e550044 00000000 ........D.U^....
I/DEBUG ( 1671): be9aa66c 5e550000 00000824 5d1a1e37 ffffffff ..U^$...7..]....
I/DEBUG ( 1671):
I/DEBUG ( 1671): memory near r9:
I/DEBUG ( 1671): be9aab68 5f9c7020 61add23a be9aad0c 5d5c1b55 p._:..a....U.\]
I/DEBUG ( 1671): be9aab78 be9aadf4 00000001 00000000 00000000 ................
I/DEBUG ( 1671): be9aab88 6152e0a1 615d0c19 61b9e581 61ca7551 ..Ra..]a...aQu.a
I/DEBUG ( 1671): be9aab98 61875661 5fab3dc2 6152e0a1 0000000d aV.a.=._..Ra....
I/DEBUG ( 1671): be9aaba8 5fab3dc2 61add23a 5fab3dc2 5fab3e82 .=._:..a.=._.>._
I/DEBUG ( 1671):
I/DEBUG ( 1671): memory near sl:
I/DEBUG ( 1671): be9aab68 5f9c7020 61add23a be9aad0c 5d5c1b55 p._:..a....U.\]
I/DEBUG ( 1671): be9aab78 be9aadf4 00000001 00000000 00000000 ................
I/DEBUG ( 1671): be9aab88 6152e0a1 615d0c19 61b9e581 61ca7551 ..Ra..]a...aQu.a
I/DEBUG ( 1671): be9aab98 61875661 5fab3dc2 6152e0a1 0000000d aV.a.=._..Ra....
I/DEBUG ( 1671): be9aaba8 5fab3dc2 61add23a 5fab3dc2 5fab3e82 .=._:..a.=._.>._
I/DEBUG ( 1671):
I/DEBUG ( 1671): memory near sp:
I/DEBUG ( 1671): be9aa548 0000001a be9aa568 0000316c 6151d9a0 ....h...l1....Qa
I/DEBUG ( 1671): be9aa558 5e56a020 5d51fa3f df0027ad 00000000 .V^?.Q].'......
I/DEBUG ( 1671): be9aa568 6151d9a0 00000001 5e2edb50 000084d8 ..Qa....P..^....
I/DEBUG ( 1671): be9aa578 0000ab24 000033a8 5e56c53a 5e577088 $....3..:.V^.pW^
I/DEBUG ( 1671): be9aa588 5e56a020 00000001 5d558771 5d552849 .V^....q.U]I(U]
I/DEBUG ( 1671):
I/DEBUG ( 1671): code around pc:
I/DEBUG ( 1671): 5d5587b4 9a013501 42aa3404 f896dd15 ea5fc036 .5...4.B....6._.
I/DEBUG ( 1671): 5d5587c4 bf58610c 0004f859 69b7d5f0 02c5eb0a .aX.Y......i....
I/DEBUG ( 1671): 5d5587d4 1005f81b 29076878 e8dfd835 2c31f001 ....xh.)5.....1,
I/DEBUG ( 1671): 5d5587e4 1b342227 b0090714 8ff0e8bd 7035f85a '"4.........Z.5p
I/DEBUG ( 1671): 5d5587f4 97069902 9f056853 e9dd9307 f8512306 ....Sh.......#Q.
I/DEBUG ( 1671):
I/DEBUG ( 1671): code around lr:
I/DEBUG ( 1671): 5d55284c 6a5db085 6918b17d 6a9bb168 91002200 ..]j}..ih..j."..
I/DEBUG ( 1671): 5d55285c 4d074629 92012401 447d9402 47a8682d )F.M.$....}D-h.G
I/DEBUG ( 1671): 5d55286c b0054620 2304bd30 600b2000 bf00e7f9 F..0..#. .`....
I/DEBUG ( 1671): 5d55287c 00da44ca 6843b510 69184614 4a03b128 .D....Ch.F.i(..J
I/DEBUG ( 1671): 5d55288c 6812447a 60204790 bd102001 00d9eedc zD.h.G `. ......
I/DEBUG ( 1671): !@dumpstate -k -t -z -d -o /data/log/dumpstate_app_native -m 349
I/BootReceiver( 2023): Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_TOMBSTONE)
I/dumpstate( 476): begin
