Android XBMC on Exynos5250 having Arm15, android 4.2.2, Run ERROR
#1
I have successfully build the XBMC. It is running on smartphones. But when i tried to run on Arndale board it getting crash.

V/threaded_app( 1557): Start: 0x7616fd78
W/dalvikvm( 1557): JNI WARNING: illegal class name 'android.net.ConnectivityManager' (FindClass)
W/dalvikvm( 1557): (should be formed like 'dalvik/system/DexFile')
W/dalvikvm( 1557): or '[Ldalvik/system/DexFile;' or '[[B')
I/dalvikvm( 1557): "Thread-198" prio=5 tid=14 NATIVE
I/dalvikvm( 1557): | group="main" sCount=0 dsCount=0 obj=0x426bc9b8 self=0x70f18b40
I/dalvikvm( 1557): | sysTid=1581 nice=0 sched=0/0 cgrp=apps handle=1981496288
I/dalvikvm( 1557): | state=R schedstat=( 1227999 2006835 14 ) utm=0 stm=0 core=0
I/dalvikvm( 1557): #00 pc 000012a0 /system/lib/libcorkscrew.so (unwind_backtrace_thread+27)
I/dalvikvm( 1557): #01 pc 0005fd44 /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+35)
I/dalvikvm( 1557): #02 pc 00053ba8 /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+303)
I/dalvikvm( 1557): #03 pc 00053c42 /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25)
I/dalvikvm( 1557): #04 pc 00038bba /system/lib/libdvm.so
I/dalvikvm( 1557): #05 pc 000418c2 /system/lib/libdvm.so
I/dalvikvm( 1557): #06 pc 009a059c /data/app-lib/org.xbmc.xbmc-1/libxbmc.so (CJNIConnectivityManager:TongueopulateStaticFields()+32)
I/dalvikvm( 1557): #07 pc 00997f0c /data/app-lib/org.xbmc.xbmc-1/libxbmc.so (CJNIContext:TongueopulateStaticFields()+32)
I/dalvikvm( 1557): #08 pc 00997fb0 /data/app-lib/org.xbmc.xbmc-1/libxbmc.so (CJNIContext::CJNIContext(ANativeActivity const*)+124)
I/dalvikvm( 1557): #09 pc 00993d70 /data/app-lib/org.xbmc.xbmc-1/libxbmc.so (CXBMCApp::CXBMCApp(ANativeActivity*)+52)
I/dalvikvm( 1557): #10 pc 003d4430 /data/app-lib/org.xbmc.xbmc-1/libxbmc.so (android_main+56)
I/dalvikvm( 1557): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 1557):
E/dalvikvm( 1557): VM aborting
F/libc ( 1557): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 1581 (org.xbmc.xbmc)
I/InputDispatcher( 368): Dropping event because there is no touched window.
I/DEBUG ( 111): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 111): Build fingerprint: 'Android/full_smdk5250/smdk5250:4.2.2/JDQ39/eng.root.20130918.104307:eng/test-keys'
I/DEBUG ( 111): Revision: '2'
I/DEBUG ( 111): pid: 1557, tid: 1581, name: org.xbmc.xbmc >>> org.xbmc.xbmc <<<
I/DEBUG ( 111): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00d
I/DEBUG ( 111): r0 00000000 r1 00000000 r2 deadd00d r3 00000000
I/DEBUG ( 111): r4 408401b0 r5 0000020c r6 00000000 r7 00000001
I/DEBUG ( 111): r8 1d200236 r9 00100000 sl 761b3b48 fp 7778fee4
I/DEBUG ( 111): ip 00004000 sp 7778fbc8 lr 40092229 pc 407d7cd0 cpsr 60000030
I/DEBUG ( 111): d0 2065766974614e28 d1 0a29646f6874654d
I/DEBUG ( 111): d2 000000007577e178 d3 0000000000000000
I/DEBUG ( 111): d4 0000000000000000 d5 0000000000000000
I/DEBUG ( 111): d6 0000000000000000 d7 4481000000000408
I/DEBUG ( 111): d8 000007803f800000 d9 000004083f000000
I/DEBUG ( 111): d10 000000003fe62507 d11 0000000000000000
I/DEBUG ( 111): d12 0000000000000000 d13 3e7ad7f29abcaf48
I/DEBUG ( 111): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 111): d16 0000000b0000000a d17 0000000000000000
I/DEBUG ( 111): d18 000000007616b0f8 d19 0000000000000000
I/DEBUG ( 111): d20 00000000000001c0 d21 0000000000000000
I/DEBUG ( 111): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 111): d24 3fa99999a0000000 d25 0000000000000000
I/DEBUG ( 111): d26 0000000000000000 d27 ff000000ff000000
I/DEBUG ( 111): d28 ff000000ff000000 d29 ff000000ff000000
I/DEBUG ( 111): d30 ff000000ff000000 d31 ff000000ff000000
I/DEBUG ( 111): scr 6000009c
I/DEBUG ( 111):
I/DEBUG ( 111): backtrace:
I/DEBUG ( 111): #00 pc 00045cd0 /system/lib/libdvm.so (dvmAbort+75)
I/DEBUG ( 111): #01 pc 000418c3 /system/lib/libdvm.so
I/DEBUG ( 111): #02 pc 009a059c /data/app-lib/org.xbmc.xbmc-1/libxbmc.so (CJNIConnectivityManager:TongueopulateStaticFields()+32)
I/DEBUG ( 111):
I/DEBUG ( 111): stack:


Please help me out why this is happening.
Thanks//
Reply
#2
It's a bug, indeed. I'll fix it.
Reply
#3
Thanks for your reply,
Can you give me some information about the bug, i.e. which part of the code having issue. And why this is happening?

Thanks
Vikash
Reply
#4
It's a JNI typo: "JNI WARNING: illegal class name 'android.net.ConnectivityManager' (FindClass)"
Should be "android/net/ConnectivityManager" for "FindClass"
Reply
#5
Hi Koying,

I have build the Frodo RC2 and its running on the above mentioned hardware. But the current source Gotham_alpha7, have above crash log.
Reply
#6
Hi Koying,

I am compiling the Goatham Alpha10 current source. I am getting these errors.

CPP xbmc/android/activity/AndroidKey.o
CPP xbmc/android/activity/AndroidJoyStick.o
In file included from AndroidJoyStick.cpp:22:0:
AndroidExtra.h:25:25: error: expected identifier before numeric constant
#define AKEYCODE_ESCAPE 111
^
AndroidExtra.h:25:25: error: expected '}' before numeric constant
AndroidExtra.h:25:25: error: expected unqualified-id before numeric constant
In file included from /home/Development/xbmc/android-toolchain/android-17/sysroot/usr/include/android/input.h:45:0,
from /Development/xbmc/android-toolchain/android-17/sysroot/usr/include/android/native_activity.h:27,
from XBMCApp.h:27,
from AndroidJoyStick.cpp:23:
/Development/xbmc/android-toolchain/android-17/sysroot/usr/include/android/keycodes.h:272:1: error: expected declaration before '}' token
}
^
make[1]: *** [AndroidJoyStick.o] Error 1
make: *** [xbmc/android/activity/activity.a] Error 2
vikash@vikash:~/Development/xbmc/xbmc-android$
Reply
#7
I believe I saw similar error when I built for Android.
Most likely you are using the wrong version of the NDK and of the toolchain, so because you don't have the right header you see this error.
I am using NDK r9 (r9b has the error in my case) and toolchain 4.8 and it builds fine.

Here is where I found the information: http://forum.xbmc.org/showthread.php?tid=177292
Image
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

Image
Reply
#8
I also had this compile error compiling with ndkr9b.

I resolved it by compiling with ndkr9.

-rdg
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC on Exynos5250 having Arm15, android 4.2.2, Run ERROR1