VLC for Android Running Error - libvlcjni.so Problems

*nix specific usage questions
kaishu
New Cone
New Cone
Posts: 4
Joined: 29 Oct 2011 00:00

VLC for Android Running Error - libvlcjni.so Problems

Postby kaishu » 29 Oct 2011 00:10

Hi,
I have successfully built VLC for Android on Ubuntu machine by instructions of the page:
http://wiki.videolan.org/AndroidCompile
PS: I have set export NO_NEON=1

But when I tried to run VLC-debug.apk or VLC-debug-unaligned.apk on emulator,
(I tried Andorid 2.2 and Android 2.3.3)
The program quits immediately after I run.
Then, I tried to run them on real phone (HTC Wildfire, with Android 2.2)
The result is same. (and a application error popup shows)

I used DDMS LogCat of eclipse to check if any strange messages; I found:

10-25 15:16:27.007: I/ActivityManager(70): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.videolan.vlc.android/.MainActivity }
10-25 15:16:27.067: I/ActivityManager(70): Start proc org.videolan.vlc.android for activity org.videolan.vlc.android/.MainActivity: pid=3918 uid=10036 gids={3003}
10-25 15:16:27.807: D/dalvikvm(3918): GC_EXTERNAL_ALLOC freed 874 objects / 59912 bytes in 141ms
10-25 15:16:28.097: D/dalvikvm(3918): Trying to load lib /data/data/org.videolan.vlc.android/lib/libvlcjni.so 0x44f3eb48
10-25 15:16:28.167: D/dalvikvm(3918): Added shared lib /data/data/org.videolan.vlc.android/lib/libvlcjni.so 0x44f3eb48
10-25 15:16:28.167: V/VLC/LibVLC(3918): Initializing LibVLC
10-25 15:16:28.402: I/DEBUG(30): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-25 15:16:28.402: I/DEBUG(30): Build fingerprint: 'generic/sdk/generic/:2.2/FRF91/43546:eng/test-keys'
10-25 15:16:28.402: I/DEBUG(30): pid: 3918, tid: 3918 >>> org.videolan.vlc.android <<<
10-25 15:16:28.402: I/DEBUG(30): signal 4 (SIGILL), fault addr 8236c06c
10-25 15:16:28.402: I/DEBUG(30): r0 002fbc18 r1 002fbc80 r2 00000000 r3 00000040
10-25 15:16:28.402: I/DEBUG(30): r4 002fbc18 r5 0027f2a8 r6 82e7379c r7 00286ea8
10-25 15:16:28.402: I/DEBUG(30): r8 00001630 r9 bebfa71c 10 00000040 fp 0027f280
10-25 15:16:28.402: I/DEBUG(30): ip 00000020 sp bebfa270 lr 00000040 pc 8236c06c cpsr 60000010
10-25 15:16:28.467: I/DEBUG(30): #00 pc 8236c06c /data/data/org.videolan.vlc.android/lib/libvlcjni.so
10-25 15:16:28.477: I/DEBUG(30): #01 lr 00000040 <unknown>
10-25 15:16:28.477: I/DEBUG(30): code around pc:
10-25 15:16:28.477: I/DEBUG(30): 8236c04c e1a00005 e1a01007 ebfffcf5 e2504000
10-25 15:16:28.477: I/DEBUG(30): 8236c05c 0a00004f e35a0000 1a000025 e5943018
10-25 15:16:28.477: I/DEBUG(30): 8236c06c e6ef0073 e3500010 0a000031 e1a00005
10-25 15:16:28.477: I/DEBUG(30): 8236c07c e28da038 e1a01004 ebfffed4 e1a0000a
10-25 15:16:28.477: I/DEBUG(30): 8236c08c e5941014 e1a0e00f e591f004 e1c420d8
10-25 15:16:28.477: I/DEBUG(30): code around lr:
10-25 15:16:28.477: I/DEBUG(30): 00000020 ffffffff ffffffff ffffffff ffffffff
10-25 15:16:28.477: I/DEBUG(30): 00000030 ffffffff ffffffff ffffffff ffffffff
10-25 15:16:28.477: I/DEBUG(30): 00000040 ffffffff ffffffff ffffffff ffffffff
10-25 15:16:28.477: I/DEBUG(30): 00000050 ffffffff ffffffff ffffffff ffffffff
10-25 15:16:28.477: I/DEBUG(30): 00000060 ffffffff ffffffff ffffffff ffffffff
10-25 15:16:28.477: I/DEBUG(30): stack:
10-25 15:16:28.477: I/DEBUG(30): bebfa230 0027f3a4 [heap]
10-25 15:16:28.477: I/DEBUG(30): bebfa234 8236bb94 /data/data/org.videolan.vlc.android/lib/libvlcjni.so
10-25 15:16:28.487: I/DEBUG(30): bebfa238 0027f3a4 [heap]
10-25 15:16:28.487: I/DEBUG(30): bebfa23c 82375410 /data/data/org.videolan.vlc.android/lib/libvlcjni.so
10-25 15:16:28.487: I/DEBUG(30): bebfa240 bebfa25c [stack]
10-25 15:16:28.487: I/DEBUG(30): bebfa244 0027f2a8 [heap]
10-25 15:16:28.487: I/DEBUG(30): bebfa248 82e7379c /data/data/org.videolan.vlc.android/lib/libvlcjni.so
10-25 15:16:28.487: I/DEBUG(30): bebfa24c 00286ea8 [heap]
10-25 15:16:28.487: I/DEBUG(30): bebfa250 00001630
10-25 15:16:28.487: I/DEBUG(30): bebfa254 8236b470 /data/data/org.videolan.vlc.android/lib/libvlcjni.so
10-25 15:16:28.487: I/DEBUG(30): bebfa258 00001630
10-25 15:16:28.487: I/DEBUG(30): bebfa25c 00286ea8 [heap]
10-25 15:16:28.487: I/DEBUG(30): bebfa260 00000040
10-25 15:16:28.487: I/DEBUG(30): bebfa264 000003f8
10-25 15:16:28.487: I/DEBUG(30): bebfa268 df002777
10-25 15:16:28.487: I/DEBUG(30): bebfa26c e3a070ad
10-25 15:16:28.487: I/DEBUG(30): bebfa270 002fbc18 [heap]
10-25 15:16:28.487: I/DEBUG(30): bebfa274 8236cd60 /data/data/org.videolan.vlc.android/lib/libvlcjni.so
10-25 15:16:28.487: I/DEBUG(30): bebfa278 00000002
10-25 15:16:28.487: I/DEBUG(30): bebfa27c 82e7379c /data/data/org.videolan.vlc.android/lib/libvlcjni.so
10-25 15:16:28.487: I/DEBUG(30): bebfa280 00000014
10-25 15:16:28.487: I/DEBUG(30): bebfa284 002fc050 [heap]
10-25 15:16:28.487: I/DEBUG(30): bebfa288 82e7379c /data/data/org.videolan.vlc.android/lib/libvlcjni.so
10-25 15:16:28.487: I/DEBUG(30): bebfa28c 0027f2a8 [heap]
10-25 15:16:28.487: I/DEBUG(30): bebfa290 003007e8 [heap]
10-25 15:16:28.487: I/DEBUG(30): bebfa294 00001630
10-25 15:16:28.487: I/DEBUG(30): bebfa298 bebfa71c [stack]
10-25 15:16:28.487: I/DEBUG(30): bebfa29c 00286ea8 [heap]
10-25 15:16:28.487: I/DEBUG(30): bebfa2a0 bebfa6fc [stack]
10-25 15:16:28.487: I/DEBUG(30): bebfa2a4 823658bc /data/data/org.videolan.vlc.android/lib/libvlcjni.so
10-25 15:16:28.497: I/DEBUG(30): bebfa2a8 82b28f04 /data/data/org.videolan.vlc.android/lib/libvlcjni.so
10-25 15:16:28.497: I/DEBUG(30): bebfa2ac 00000000
10-25 15:16:28.497: I/DEBUG(30): bebfa2b0 00000000
10-25 15:16:28.497: I/DEBUG(30): bebfa2b4 00000477
10-25 15:16:28.497: I/DEBUG(30): bebfa2b8 000016c8
10-25 15:16:28.497: I/DEBUG(30): bebfa2bc 00003ab4
10-25 15:16:28.497: I/DEBUG(30): bebfa2c0 002fa358 [heap]
10-25 15:16:28.497: I/DEBUG(30): bebfa2c4 00000006
10-25 15:16:28.497: I/DEBUG(30): bebfa2c8 00001630
10-25 15:16:28.497: I/DEBUG(30): bebfa2cc 000032a4
10-25 15:16:28.497: I/DEBUG(30): bebfa2d0 00000000
10-25 15:16:28.497: I/DEBUG(30): bebfa2d4 00002edc
10-25 15:16:28.497: I/DEBUG(30): bebfa2d8 0000157c
10-25 15:16:28.497: I/DEBUG(30): bebfa2dc 00000000
10-25 15:16:28.497: I/DEBUG(30): bebfa2e0 82b5bc40 /data/data/org.videolan.vlc.android/lib/libvlcjni.so
10-25 15:16:28.497: I/DEBUG(30): bebfa2e4 00000000
10-25 15:16:28.497: I/DEBUG(30): bebfa2e8 00000000
10-25 15:16:28.497: I/DEBUG(30): bebfa2ec 00002814
10-25 15:16:28.497: I/DEBUG(30): bebfa2f0 000027e8
10-25 15:16:28.497: I/DEBUG(30): bebfa2f4 002fa358 [heap]
10-25 15:16:28.497: I/DEBUG(30): bebfa2f8 00119b60 [heap]
10-25 15:16:28.497: I/DEBUG(30): bebfa2fc 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa300 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa304 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa308 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa30c 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa310 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa314 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa318 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa31c 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa320 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa324 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa328 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa32c 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa330 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa334 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa338 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa33c 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa340 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa344 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa348 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa34c 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa350 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa354 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa358 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa35c 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa360 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa364 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa368 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa36c 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa370 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa374 00000000
10-25 15:16:28.507: I/DEBUG(30): bebfa378 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa37c 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa380 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa384 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa388 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa38c 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa390 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa394 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa398 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa39c 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3a0 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3a4 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3a8 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3ac 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3b0 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3b4 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3b8 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3bc 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3c0 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3c4 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3c8 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3cc 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3d0 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3d4 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3d8 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3dc 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3e0 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3e4 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3e8 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3ec 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3f0 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3f4 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3f8 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa3fc 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa400 002914a8 [heap]
10-25 15:16:28.517: I/DEBUG(30): bebfa404 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa408 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa40c 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa410 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa414 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa418 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa41c 0029bd70 [heap]
10-25 15:16:28.517: I/DEBUG(30): bebfa420 00296fc0 [heap]
10-25 15:16:28.517: I/DEBUG(30): bebfa424 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa428 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa42c 00296678 [heap]
10-25 15:16:28.517: I/DEBUG(30): bebfa430 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa434 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa438 00000000
10-25 15:16:28.517: I/DEBUG(30): bebfa43c 00000000
10-25 15:16:28.538: I/DEBUG(30): bebfa440 00000000
10-25 15:16:28.917: D/Zygote(32): Process 3918 terminated by signal (4)
10-25 15:16:28.917: I/ActivityManager(70): Process org.videolan.vlc.android (pid 3918) has died.
10-25 15:16:28.927: I/UsageStats(70): Unexpected resume of com.android.launcher while already resumed in org.videolan.vlc.android

It looks like the main library libvlcjni.so can not be loaded.
Do I have to change any settings of building/compiling?
Thanks :)

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: VLC for Android Running Error - libvlcjni.so Problems

Postby XilasZ » 16 Nov 2011 15:20

without changing anything, vlc is built for processors with NEON instruction. The emulator doesn't support that, you have to rebuild everything with NO_NEON=1 (or something like that, don't remember the exact spelling).


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests