Rejected by Amazon during KF testing

9 replies [Last post]
chrislott
User offline. Last seen 5 weeks 3 days ago. Offline
Joined: 19 Feb 2010

I kinda took over the other person's thread (sorry) so I decided to start my own... both my apps were rejected for KF. I used the new "Build for KF" feature in Corona build 689. The APKs work fantastic on our KF devices(and many other android devices), but doesnt work at all on the "Amazon testers" devices.

Here's a logcat:

11-23 09:56:45.828 D/dalvikvm(16886): GC_CONCURRENT freed 726K, 48% free 3554K/6727K, external 1342K/1785K, paused 2ms+3ms
11-23 09:56:45.953 W/IInputConnectionWrapper(16886): finishComposingText on inactive InputConnection
11-23 09:56:46.062 D/LatinKeyboard( 1462): Setting IME options
11-23 09:56:46.289 D/dalvikvm(16886): GC_CONCURRENT freed 533K, 46% free 3698K/6727K, external 1356K/1785K, paused 1ms+6ms
11-23 09:56:47.781 D/LAB126 ( 1453): got home button softkey click!
11-23 09:56:47.781 D/LAB126 ( 1453): collapse softkeys
11-23 09:56:47.797 D/LAB126 ( 1453): send key Down/Up, code: 3
11-23 09:56:47.812 D/ActivityManager( 1377): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.amazon.kindle.otter/.Launcher } from pid 1377
11-23 09:56:48.086 I/LAB126 ( 1453): StatusBarService hears intent. action: com.lab126.intent.TOP_WINDOW_CHANGED
11-23 09:56:48.086 I/LAB126 ( 1453): window changed
11-23 09:56:48.148 W/IInputConnectionWrapper(16886): showStatusIcon on inactive InputConnection
11-23 09:56:48.922 D/IconMerger( 1453): notification for com.amazon.kindle.otter (1)
11-23 09:56:48.922 D/IconMerger( 1453): notification for com.nolanlawson.logcat (1)
11-23 09:56:48.922 D/IconMerger( 1453): sum of notifications: 2
11-23 09:56:50.101 D/ActivityManager( 1377): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=org.pogi.shapebuilder cmp=org.pogi.shapebuilder/com.ansca.corona.CoronaActivity } from pid 15956
11-23 09:56:50.156 I/ActivityManager( 1377): Start proc org.pogi.shapebuilder for activity org.pogi.shapebuilder/com.ansca.corona.CoronaActivity: pid=16918 uid=10047 gids={3003}
11-23 09:56:50.234 I/LAB126 ( 1453): StatusBarService hears intent. action: com.lab126.intent.TOP_WINDOW_CHANGED
11-23 09:56:50.234 I/LAB126 ( 1453): window changed
11-23 09:56:50.234 I/LAB126 ( 1453): don't set softkey config for 'Starting...' window
11-23 09:56:50.359 I/ActivityThread(16918): Pub org.pogi.shapebuilder.ppy_cache: com.papaya.social.PPYSocialContentProvider
11-23 09:56:50.375 D/ContentProvider(16918): Videos folder exist
11-23 09:56:50.375 D/ContentProvider(16918): Pictures folder exists
11-23 09:56:50.375 I/ActivityThread(16918): Pub org.pogi.shapebuilder.files: com.ansca.corona.FileContentProvider
11-23 09:56:50.375 D/ContentProvider(16918): Videos folder exist
11-23 09:56:50.375 D/ContentProvider(16918): Pictures folder exists
11-23 09:56:50.383 D/dalvikvm(16918): Trying to load lib /data/data/org.pogi.shapebuilder/lib/libopenal.so 0x405152e8
11-23 09:56:50.398 D/dalvikvm(16918): Added shared lib /data/data/org.pogi.shapebuilder/lib/libopenal.so 0x405152e8
11-23 09:56:50.398 D/dalvikvm(16918): Trying to load lib /data/data/org.pogi.shapebuilder/lib/libmpg123.so 0x405152e8
11-23 09:56:50.398 D/dalvikvm(16918): Added shared lib /data/data/org.pogi.shapebuilder/lib/libmpg123.so 0x405152e8
11-23 09:56:50.398 D/dalvikvm(16918): No JNI_OnLoad found in /data/data/org.pogi.shapebuilder/lib/libmpg123.so 0x405152e8, skipping init
11-23 09:56:50.398 D/dalvikvm(16918): Trying to load lib /data/data/org.pogi.shapebuilder/lib/libvorbisidec.so 0x405152e8
11-23 09:56:50.398 D/dalvikvm(16918): Added shared lib /data/data/org.pogi.shapebuilder/lib/libvorbisidec.so 0x405152e8
11-23 09:56:50.398 D/dalvikvm(16918): No JNI_OnLoad found in /data/data/org.pogi.shapebuilder/lib/libvorbisidec.so 0x405152e8, skipping init
11-23 09:56:50.398 D/dalvikvm(16918): Trying to load lib /data/data/org.pogi.shapebuilder/lib/libalmixer.so 0x405152e8
11-23 09:56:50.398 D/dalvikvm(16918): Added shared lib /data/data/org.pogi.shapebuilder/lib/libalmixer.so 0x405152e8
11-23 09:56:50.398 D/dalvikvm(16918): No JNI_OnLoad found in /data/data/org.pogi.shapebuilder/lib/libalmixer.so 0x405152e8, skipping init
11-23 09:56:50.398 D/dalvikvm(16918): Trying to load lib /data/data/org.pogi.shapebuilder/lib/libcorona.so 0x405152e8
11-23 09:56:50.414 D/dalvikvm(16918): Added shared lib /data/data/org.pogi.shapebuilder/lib/libcorona.so 0x405152e8
11-23 09:56:50.461 D/dalvikvm(16918): GC_CONCURRENT freed 202K, 44% free 3338K/5959K, external 847K/1181K, paused 2ms+3ms
11-23 09:56:50.578 D/dalvikvm(16886): GC_CONCURRENT freed 741K, 47% free 3643K/6855K, external 1356K/1785K, paused 2ms+4ms
11-23 09:56:50.648 D/libEGL (16918): loaded /system/lib/egl/libGLES_android.so
11-23 09:56:50.656 D/libEGL (16918): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
11-23 09:56:50.656 D/libEGL (16918): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
11-23 09:56:50.664 D/libEGL (16918): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
11-23 09:56:50.734 I/ActivityManager( 1377): Displayed org.pogi.shapebuilder/com.ansca.corona.CoronaActivity: +602ms
11-23 09:56:50.734 D/dalvikvm(16918): Note: class Landroid/opengl/GLWrapperBase; has 211 unimplemented (abstract) methods
11-23 09:56:50.742 I/LAB126 ( 1453): StatusBarService hears intent. action: com.lab126.intent.TOP_WINDOW_CHANGED
11-23 09:56:50.742 I/LAB126 ( 1453): window changed
11-23 09:56:50.804 D/dalvikvm(16918): GC_FOR_MALLOC freed 222K, 45% free 3403K/6087K, external 847K/1181K, paused 46ms
11-23 09:56:50.812 I/dalvikvm-heap(16918): Grow heap (frag case) to 6.833MB for 328768-byte allocation
11-23 09:56:50.867 W/dalvikvm(16918): JNI WARNING: 0x405f2fa8 is not a valid JNI reference
11-23 09:56:50.867 W/dalvikvm(16918): in Lcom/ansca/corona/JavaToNativeShim;.nativeResize (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;III)V (ReleaseByteArrayElements)
11-23 09:56:50.867 I/dalvikvm(16918): "GLThread 12" prio=5 tid=11 RUNNABLE
11-23 09:56:50.867 I/dalvikvm(16918): | group="main" sCount=0 dsCount=0 obj=0x405d42a0 self=0x8eba8
11-23 09:56:50.867 I/dalvikvm(16918): | sysTid=16928 nice=0 sched=0/0 cgrp=default handle=1028328
11-23 09:56:50.867 I/dalvikvm(16918): at com.ansca.corona.JavaToNativeShim.nativeResize(Native Method)
11-23 09:56:50.867 I/dalvikvm(16918): at com.ansca.corona.JavaToNativeShim.resize(JavaToNativeShim.java:-1)
11-23 09:56:50.867 I/dalvikvm(16918): at com.ansca.corona.CoronaRenderer.onSurfaceChanged(CoronaRenderer.java:-1)
11-23 09:56:50.867 I/dalvikvm(16918): at android.opengl.derived.SwapGLSurfaceView$GLThread.guardedRun(SwapGLSurfaceView.java:-1)
11-23 09:56:50.867 I/dalvikvm(16918): at android.opengl.derived.SwapGLSurfaceView$GLThread.run(SwapGLSurfaceView.java:-1)
11-23 09:56:50.867 I/dalvikvm(16918):
11-23 09:56:50.867 E/dalvikvm(16918): VM aborting
11-23 09:56:50.867 D/dalvikvm(16918): GC_FOR_MALLOC freed 4K, 43% free 3719K/6471K, external 847K/1181K, paused 43ms
11-23 09:56:50.968 I/DEBUG (16874): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-23 09:56:50.968 I/DEBUG (16874): Build fingerprint: 'generic/blaze/blaze:2.3.4/GINGERBREAD/6.1_eng_2017200:eng/test-keys'
11-23 09:56:50.968 I/DEBUG (16874): pid: 16918, tid: 16928 >>> org.pogi.shapebuilder <<<
11-23 09:56:50.968 I/DEBUG (16874): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00d
11-23 09:56:50.968 I/DEBUG (16874): r0 fffffe84 r1 deadd00d r2 00000026 r3 00000000
11-23 09:56:50.968 I/DEBUG (16874): r4 800a5600 r5 405f2fa8 r6 8008804c r7 00000000
11-23 09:56:50.968 I/DEBUG (16874): r8 00000000 r9 00050430 10 405f2fb8 fp 4698b7a0
11-23 09:56:50.968 I/DEBUG (16874): ip 800a570c sp 4698b6a0 lr afd19401 pc 80046328 cpsr 20000130
11-23 09:56:50.968 I/DEBUG (16874): d0 74726f6261204d69 d1 75534c477061776e
11-23 09:56:50.968 I/DEBUG (16874): d2 6569566563616667 d3 657268544c47240a
11-23 09:56:50.968 I/DEBUG (16874): d4 79656b6e6f447365 d5 00676e702e36305f
11-23 09:56:50.968 I/DEBUG (16874): d6 6b614d0000001804 d7 4473657061685365
11-23 09:56:50.968 I/DEBUG (16874): d8 0000000000000000 d9 0000000000000000
11-23 09:56:50.968 I/DEBUG (16874): d10 0000000000000000 d11 0000000000000000
11-23 09:56:50.968 I/DEBUG (16874): d12 0000000000000000 d13 0000000000000000
11-23 09:56:50.968 I/DEBUG (16874): d14 0000000000000000 d15 0000000000000000
11-23 09:56:50.968 I/DEBUG (16874): d16 00000007405f2fa8 d17 3fe999999999999a
11-23 09:56:50.968 I/DEBUG (16874): d18 42eccefa43de3400 d19 3fbc71c71c71c71c
11-23 09:56:50.968 I/DEBUG (16874): d20 4008000000000000 d21 3fd99a27ad32ddf5
11-23 09:56:50.968 I/DEBUG (16874): d22 3fd24998d6307188 d23 3fcc7288e957b53b
11-23 09:56:50.968 I/DEBUG (16874): d24 3fc74721cad6b0ed d25 3fc39a09d078c69f
11-23 09:56:50.968 I/DEBUG (16874): d26 0000000000000000 d27 0000000000000000
11-23 09:56:50.968 I/DEBUG (16874): d28 0000000000000000 d29 0000000000000000
11-23 09:56:50.968 I/DEBUG (16874): d30 0000000000000000 d31 0000000000000000
11-23 09:56:50.968 I/DEBUG (16874): scr 60000012
11-23 09:56:50.968 I/DEBUG (16874):
11-23 09:56:51.031 I/DEBUG (16874): #00 pc 00046328 /system/lib/libdvm.so
11-23 09:56:51.031 I/DEBUG (16874): #01 pc 000376f4 /system/lib/libdvm.so
11-23 09:56:51.031 I/DEBUG (16874): #02 pc 0003867e /system/lib/libdvm.so
11-23 09:56:51.031 I/DEBUG (16874): #03 pc 000386ae /system/lib/libdvm.so
11-23 09:56:51.031 I/DEBUG (16874): #04 pc 00039aaa /system/lib/libdvm.so
11-23 09:56:51.031 I/DEBUG (16874): #05 pc 0003bec2 /system/lib/libdvm.so
11-23 09:56:51.031 I/DEBUG (16874): #06 pc 000c2000 /data/data/org.pogi.shapebuilder/lib/libcorona.so
11-23 09:56:51.039 I/DEBUG (16874): #07 pc 00103d54 /data/data/org.pogi.shapebuilder/lib/libcorona.so
11-23 09:56:51.039 I/DEBUG (16874): #08 pc 0011602c /data/data/org.pogi.shapebuilder/lib/libcorona.so
11-23 09:56:51.039 I/DEBUG (16874): #09 pc 0010e300 /data/data/org.pogi.shapebuilder/lib/libcorona.so
11-23 09:56:51.039 I/DEBUG (16874): #10 pc 0010e45c /data/data/org.pogi.shapebuilder/lib/libcorona.so
11-23 09:56:51.039 I/DEBUG (16874): #11 pc 000becbc /data/data/org.pogi.shapebuilder/lib/libcorona.so
11-23 09:56:51.039 I/DEBUG (16874): #12 pc 00017e34 /system/lib/libdvm.so
11-23 09:56:51.039 I/DEBUG (16874):
11-23 09:56:51.039 I/DEBUG (16874): code around pc:
11-23 09:56:51.039 I/DEBUG (16874): 80046308 447a4479 f7d14c0b 2000e922 ea26f7d1
11-23 09:56:51.039 I/DEBUG (16874): 80046318 447c4809 6bdb5823 4798b103 22264902
11-23 09:56:51.039 I/DEBUG (16874): 80046328 f7d1700a bf00ea8e deadd00d 000439db
11-23 09:56:51.039 I/DEBUG (16874): 80046338 00045599 0005f2e2 fffffe84 4b09b40e
11-23 09:56:51.039 I/DEBUG (16874): 80046348 4c09b517 aa05447b f852591b 6b5b1b04
11-23 09:56:51.039 I/DEBUG (16874):
11-23 09:56:51.039 I/DEBUG (16874): code around lr:
11-23 09:56:51.039 I/DEBUG (16874): afd193e0 4a0e4b0d e92d447b 589c41f0 26004680
11-23 09:56:51.039 I/DEBUG (16874): afd193f0 686768a5 f9b5e006 b113300c 47c04628
11-23 09:56:51.039 I/DEBUG (16874): afd19400 35544306 37fff117 6824d5f5 d1ef2c00
11-23 09:56:51.054 I/DEBUG (16874): afd19410 e8bd4630 bf0081f0 0002813c ffffff88
11-23 09:56:51.054 I/DEBUG (16874): afd19420 b086b570 f602fb01 9004460c a804a901
11-23 09:56:51.054 I/DEBUG (16874):
11-23 09:56:51.054 I/DEBUG (16874): stack:
11-23 09:56:51.054 I/DEBUG (16874): 4698b660 afd42684
11-23 09:56:51.054 I/DEBUG (16874): 4698b664 000aa0c0
11-23 09:56:51.054 I/DEBUG (16874): 4698b668 00000015
11-23 09:56:51.054 I/DEBUG (16874): 4698b66c afd184c9 /system/lib/libc.so
11-23 09:56:51.054 I/DEBUG (16874): 4698b670 afd4272c
11-23 09:56:51.054 I/DEBUG (16874): 4698b674 afd426d8
11-23 09:56:51.054 I/DEBUG (16874): 4698b678 00000000
11-23 09:56:51.054 I/DEBUG (16874): 4698b67c afd19401 /system/lib/libc.so
11-23 09:56:51.054 I/DEBUG (16874): 4698b680 0005f2e2
11-23 09:56:51.054 I/DEBUG (16874): 4698b684 405f2fa8
11-23 09:56:51.054 I/DEBUG (16874): 4698b688 8008804c /system/lib/libdvm.so
11-23 09:56:51.054 I/DEBUG (16874): 4698b68c 00000000
11-23 09:56:51.054 I/DEBUG (16874): 4698b690 00000000
11-23 09:56:51.062 I/DEBUG (16874): 4698b694 afd184f9 /system/lib/libc.so
11-23 09:56:51.062 I/DEBUG (16874): 4698b698 df002777
11-23 09:56:51.062 I/DEBUG (16874): 4698b69c e3a070ad
11-23 09:56:51.062 I/DEBUG (16874): #00 4698b6a0 8008804c /system/lib/libdvm.so
11-23 09:56:51.062 I/DEBUG (16874): 4698b6a4 800376f9 /system/lib/libdvm.so
11-23 09:56:51.062 I/DEBUG (16874): #01 4698b6a8 8008804c /system/lib/libdvm.so
11-23 09:56:51.062 I/DEBUG (16874): 4698b6ac 80038683 /system/lib/libdvm.so
11-23 09:56:51.109 D/dalvikvm(16886): GC_FOR_MALLOC freed 417K, 48% free 3623K/6855K, external 1347K/1785K, paused 69ms
11-23 09:56:51.109 I/dalvikvm-heap(16886): Grow heap (frag case) to 7.256MB for 32596-byte allocation
11-23 09:56:51.172 D/dalvikvm(16886): GC_FOR_MALLOC freed 21K, 48% free 3633K/6919K, external 1347K/1785K, paused 63ms
11-23 09:56:51.875 W/dalvikvm(16918): threadid=6: spin on suspend #1 threadid=11 (pcf=0)
11-23 09:56:52.023 E/InputDispatcher( 1377): channel '408bd8a0 org.pogi.shapebuilder/com.ansca.corona.CoronaActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
11-23 09:56:52.023 E/InputDispatcher( 1377): channel '408bd8a0 org.pogi.shapebuilder/com.ansca.corona.CoronaActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
11-23 09:56:52.023 I/WindowManager( 1377): WINDOW DIED Window{408bd8a0 org.pogi.shapebuilder/com.ansca.corona.CoronaActivity paused=false}
11-23 09:56:52.054 D/Zygote ( 1292): Process 16918 terminated by signal (11)
11-23 09:56:52.070 I/ActivityManager( 1377): Process org.pogi.shapebuilder (pid 16918) has died.
11-23 09:56:52.101 I/WindowManager( 1377): WIN DEATH: Window{408f2088 SurfaceView paused=false}
11-23 09:56:52.328 W/InputManagerService( 1377): Got RemoteException sending setActive(false) notification to pid 16918 uid 10047
11-23 09:56:52.398 I/LAB126 ( 1453): StatusBarService hears intent. action: com.lab126.intent.TOP_WINDOW_CHANGED
11-23 09:56:52.398 I/LAB126 ( 1453): window changed
11-23 09:56:55.179 D/ActivityManager( 1377): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=com.nolanlawson.logcat cmp=com.nolanlawson.logcat/.LogcatActivity } from pid 15956
11-23 09:56:55.289 I/LAB126 ( 1453): StatusBarService hears intent. action: com.lab126.intent.TOP_WINDOW_CHANGED
11-23 09:56:55.289 I/LAB126 ( 1453): window changed
11-23 09:56:55.445 D/dalvikvm(16886): GC_CONCURRENT freed 591K, 47% free 3688K/6919K, external 1329K/1785K, paused 2ms+3ms
11-23 09:56:56.593 D/LAB126 ( 1453): got menu button softkey click!
11-23 09:56:56.593 D/LAB126 ( 1453): collapse because of menu
11-23 09:56:56.593 D/LAB126 ( 1453): collapse softkeys
11-23 09:56:56.617 D/LAB126 ( 1453): send key Down/Up, code: 82
11-23 09:56:56.687 W/KeyCharacterMap(16886): No keyboard for id 0
11-23 09:56:56.687 W/KeyCharacterMap(16886): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
11-23 09:56:57.609 D/IconMerger( 1453): notification for com.amazon.kindle.otter (1)
11-23 09:56:57.609 D/IconMerger( 1453): sum of notifications: 1

Replies

cublah
User offline. Last seen 1 day 17 hours ago. Offline
Joined: 5 Sep 2010

Ok now that's disturbing!

kennw
User offline. Last seen 1 day 2 hours ago. Offline
Joined: 9 Jan 2011

... Ok found this thread... I guess you don't need to answer me in my thread about the rejection info then. :-)

And no clue on this ... but maybe try again with 691 ??

chrislott
User offline. Last seen 5 weeks 3 days ago. Offline
Joined: 19 Feb 2010

Oops.. thanks Kenn. Just replied in the other thread. Lol. I'll do another 691 build and submit it.

Joshua Quick
User offline. Last seen 3 hours 29 min ago. Offline
Staff
Joined: 31 Jan 2011

Everyone,

I think this is a new bug as of build 678. We made some fixes to the JNI bridge (the interface between our C++ and Java code) and notice that the logcat states an invalid JNI reference. Looks like we introduced a race condition where the garbage collector thread is collecting an object before we're done using it. I'll look into this today.

Joshua Quick
User offline. Last seen 3 hours 29 min ago. Offline
Staff
Joined: 31 Jan 2011

Chris,

Are you using the Lua "crypto" API in your application?

chrislott
User offline. Last seen 5 weeks 3 days ago. Offline
Joined: 19 Feb 2010

Nope. Only thing weird is the analytics api I think. Everything else is just plain o'l corona stuff (audio.play, display.newImage, etc)

Joshua Quick
User offline. Last seen 3 hours 29 min ago. Offline
Staff
Joined: 31 Jan 2011

I discovered what was causing the issue. Corona was triggering JNI warnings, which you could see in the "adb logcat". Those JNI warnings cause the app to crash if the Android device has "CheckJNI" enabled. You can reproduce this issue by enabling "CheckJNI" on your own Android device via the instructions provided by Google via the link below...

http://android-developers.blogspot.com/2011/07/debugging-android-jni-with-checkjni.html

This issue is now fixed and the fix will be made available in build #695.

cublah
User offline. Last seen 1 day 17 hours ago. Offline
Joined: 5 Sep 2010

Is this going to affect all Kindle Fire Apps and cause them to be rejected?

Joshua Quick
User offline. Last seen 3 hours 29 min ago. Offline
Staff
Joined: 31 Jan 2011

It's possible, but Amazon's app testing hasn't been consistent. I say this because I know some Corona apps have already passed Amazon's Kindle Fire tests. The fix we've added to build #695 will help ensure it passes.

Viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.