3 Replies Latest reply on Nov 9, 2014 10:29 PM by Kutir Mobility

    RhoMobile generated Rhodes App crashes using the Native Android Emulator

    Juan C. Hidalgo

      I tried to run my very first "Hello World" Rhodes 5.0.2 app using the Native Android Emulator but the app crashes upon loading in the screen. Then I tried with the one that is generated automatically by RhoStudio (no modifications at all), but resulted in the same behaviour.

       

      This is the log from the console at the time of the crash

       

      I/dalvikvm(  470):   at java.lang.Thread.run(Thread.java:1019)

       

      I/dalvikvm(  470):

       

      E/dalvikvm(  470): VM aborting

       

      I/DEBUG   (  429): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

       

      I/DEBUG   (  429): Build fingerprint: 'generic/sdk/generic:2.3.3/GRI34/101070:eng/test-keys'

       

      I/DEBUG   (  429): pid: 470, tid: 479  >>> com.rhomobile.mytest <<<

       

      I/DEBUG   (  429): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00d

       

      I/DEBUG   (  429):  r0 fffffec4  r1 deadd00d  r2 00000026  r3 00000000

       

      I/DEBUG   (  429):  r4 800a45c0  r5 40512ff8  r6 80085acc  r7 002b1a08

       

      I/DEBUG   (  429):  r8 442b2b58  r9 43eb8ecc  10 43eb8eb4  fp 41edd8a0

       

      I/DEBUG   (  429):  ip 800a4720  sp 442b2410  lr afd19375  pc 80045a4a  cpsr 20000030

       

      I/DEBUG   (  429):          #00  pc 00045a4a  /system/lib/libdvm.so

       

      I/DEBUG   (  429):          #01  pc 00037748  /system/lib/libdvm.so

       

      I/DEBUG   (  429):          #02  pc 00039a10  /system/lib/libdvm.so

       

      I/DEBUG   (  429):          #03  pc 0003a4ec  /system/lib/libdvm.so

       

      I/DEBUG   (  429):          #04  pc 002989d6  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #05  pc 002120a4  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #06  pc 00113216  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #07  pc 00212b70  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #08  pc 002c79c6  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #09  pc 002ca646  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #10  pc 002d0bfa  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #11  pc 0010c7da  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #12  pc 0010c860  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #13  pc 00110e6a  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #14  pc 0003de0a  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #15  pc 0003df68  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #16  pc 0003e0ae  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #17  pc 0004af30  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #18  pc 0004afa2  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #19  pc 00060d2a  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #20  pc 001e0c96  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #21  pc 00057c9e  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #22  pc 0011e64c  /system/lib/libwebcore.so

       

      I/DEBUG   (  429):          #23  pc 00017d74  /system/lib/libdvm.so

       

      I/DEBUG   (  429):          #24  pc 00048f08  /system/lib/libdvm.so

       

      I/DEBUG   (  429):          #25  pc 00041ab6  /system/lib/libdvm.so

       

      I/DEBUG   (  429):          #26  pc 0001cfd4  /system/lib/libdvm.so

       

      I/DEBUG   (  429):          #27  pc 000220dc  /system/lib/libdvm.so

       

      I/DEBUG   (  429):          #28  pc 00020fd0  /system/lib/libdvm.so

       

      I/DEBUG   (  429):          #29  pc 0005f430  /system/lib/libdvm.so

       

      I/DEBUG   (  429):          #30  pc 0005f656  /system/lib/libdvm.so

       

      I/DEBUG   (  429):          #31  pc 00053b4e  /system/lib/libdvm.so

       

      I/DEBUG   (  429):

       

      I/DEBUG   (  429): code around pc:

       

      I/DEBUG   (  429): 80045a28 447a4479 ed0cf7d1 20004c09 ee34f7d1

       

      I/DEBUG   (  429): 80045a38 447c4808 6bdb5823 d0002b00 49064798

       

      I/DEBUG   (  429): 80045a48 700a2226 eea0f7d1 000436b7 00045275

       

      I/DEBUG   (  429): 80045a58 0005eb82 fffffec4 deadd00d b510b40e

       

      I/DEBUG   (  429): 80045a68 4c0a4b09 447bb083 aa05591b 6b5bca02

       

      I/DEBUG   (  429):

       

      I/DEBUG   (  429): code around lr:

       

      I/DEBUG   (  429): afd19354 b0834a0d 589c447b 26009001 686768a5

       

      I/DEBUG   (  429): afd19364 220ce008 2b005eab 1c28d003 47889901

       

      I/DEBUG   (  429): afd19374 35544306 d5f43f01 2c006824 b003d1ee

       

      I/DEBUG   (  429): afd19384 bdf01c30 000281a8 ffffff88 1c0fb5f0

       

      I/DEBUG   (  429): afd19394 43551c3d a904b087 1c16ac01 604d9004

       

      I/DEBUG   (  429):

       

      I/DEBUG   (  429): stack:

       

      I/DEBUG   (  429):     442b23d0  00000015 

       

      I/DEBUG   (  429):     442b23d4  afd18407  /system/lib/libc.so

       

      I/DEBUG   (  429):     442b23d8  afd42604  /system/lib/libc.so

       

      I/DEBUG   (  429):     442b23dc  afd46880 

       

      I/DEBUG   (  429):     442b23e0  00000000 

       

      I/DEBUG   (  429):     442b23e4  afd19375  /system/lib/libc.so

       

      I/DEBUG   (  429):     442b23e8  002b1868  [heap]

       

      I/DEBUG   (  429):     442b23ec  afd183d9  /system/lib/libc.so

       

      I/DEBUG   (  429):     442b23f0  002b1a08  [heap]

       

      I/DEBUG   (  429):     442b23f4  0005eb82  [heap]

       

      I/DEBUG   (  429):     442b23f8  40512ff8  /dev/ashmem/dalvik-heap (deleted)

       

      I/DEBUG   (  429):     442b23fc  80085acc  /system/lib/libdvm.so

       

      I/DEBUG   (  429):     442b2400  002b1a08  [heap]

       

      I/DEBUG   (  429):     442b2404  afd18437  /system/lib/libc.so

       

      I/DEBUG   (  429):     442b2408  df0027ad 

       

      I/DEBUG   (  429):     442b240c  00000000 

       

      I/DEBUG   (  429): #00 442b2410  00000001 

       

      I/DEBUG   (  429):     442b2414  8003774d  /system/lib/libdvm.so

       

      I/DEBUG   (  429): #01 442b2418  00000001 

       

      I/DEBUG   (  429):     442b241c  80039a15  /system/lib/libdvm.so

       

      D/dalvikvm(  381): GC_EXPLICIT freed 322K, 55% free 2532K/5511K, external 1625K/2137K, paused 859ms

       

      D/Zygote  (   33): Process 470 terminated by signal (11)

       

      I/ActivityManager(   70): Process com.rhomobile.mytest (pid 470) has died.

       

      W/ActivityManager(   70): Scheduling restart of crashed service com.rhomobile.mytest/com.rhomobile.rhodes.RhodesService in 5000ms

       

      I am using a AVD as follows

      Target: Android 2.3.3 (API level 10)

      Skin: WVG800

      CPU/ABI: ARM (armeabi)

       

      and the NDK is the android-ndk-r9d-windows-x86_64

       

      I am attaching the whole log for reference.

       

      Thank you in advance for any suggestion or if I am doing something wrong.

       

      -JC