Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reg. FFMPEG crash on Froyo #17

Open
jaga-zz opened this issue Jan 25, 2011 · 1 comment
Open

Reg. FFMPEG crash on Froyo #17

jaga-zz opened this issue Jan 25, 2011 · 1 comment

Comments

@jaga-zz
Copy link

jaga-zz commented Jan 25, 2011

Hi,

I have ported the source onto Froyo - Nexus one baseline build. When I launch the application I see the following message and the player crashes:

I/ActivityManager( 90): Starting activity: Intent { cmp=cz.havlena.ffmpeg.ui/.FFMpegPlayerActivity (has extras) }
I/WindowManager( 90): Setting rotation to 1, animFlags=1
I/ActivityManager( 90): Config changed: { scale=1.0 imsi=404/41 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=2 layout=34 uiMode=17 seq=4}
D/dalvikvm( 372): No JNI_OnLoad found in /system/lib/libjniaudio.so 0x45074420, skipping init
D/dalvikvm( 372): No JNI_OnLoad found in /system/lib/libjnivideo.so 0x45074420, skipping init
I/ffmpeg_onLoad( 372): loading . . .
I/DEBUG ( 56): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 56): Build fingerprint: 'unknown'
I/DEBUG ( 56): pid: 372, tid: 372 >>> cz.havlena.ffmpeg.ui <<<
I/DEBUG ( 56): signal 11 (SIGSEGV), fault addr 0000002c
I/DEBUG ( 56): r0 00000007 r1 00000001 r2 80ced4ab r3 aca48564
I/DEBUG ( 56): r4 00000000 r5 aca9b3f4 r6 80ced4ab r7 80ced4b2
I/DEBUG ( 56): r8 aca10fc0 r9 0000ccd0 10 4186bbf8 fp bedc8868
I/DEBUG ( 56): ip aca42fe0 sp bedc84d8 lr aca485cb pc aca42ff6 cpsr 80000030
I/DEBUG ( 56): d0 6472656767756265 d1 0046002f00700000
I/DEBUG ( 56): d2 00650070004d005d d3 00700061002e0000
I/DEBUG ( 56): d4 007300730061006c d5 00640061006f004c
I/DEBUG ( 56): d6 002f005b00720065 d7 0074007300790073
I/DEBUG ( 56): d8 41a8000042900000 d9 0000000000000000
I/DEBUG ( 56): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 56): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 56): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 56): d16 4186bbc445097a00 d17 c053000000000000
I/DEBUG ( 56): d18 0000000000000000 d19 0000000000000000
I/DEBUG ( 56): d20 3ff0000000000000 d21 8000000000000000
I/DEBUG ( 56): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 56): d24 8000000000000000 d25 bff0000000000000
I/DEBUG ( 56): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 56): d28 0000000000000000 d29 3ff0000000000000
I/DEBUG ( 56): d30 0000000000000000 d31 3ff0000000000000
I/DEBUG ( 56): scr 80000012
I/DEBUG ( 56):
I/DEBUG ( 56): #00 pc 00042ff6 /system/lib/libdvm.so
I/DEBUG ( 56): #1 pc 00015602 /system/lib/libffmpeg_jni.so
I/DEBUG ( 56): #2 pc 000139d6 /system/lib/libffmpeg_jni.so
I/DEBUG ( 56): #3 pc 00044502 /system/lib/libdvm.so
I/DEBUG ( 56): #4 pc 0005df04 /system/lib/libdvm.so
I/DEBUG ( 56): #5 pc 00015d58 /system/lib/libdvm.so
I/DEBUG ( 56): #6 pc 0001c754 /system/lib/libdvm.so
I/DEBUG ( 56): #7 pc 0001b5f4 /system/lib/libdvm.so
I/DEBUG ( 56): #8 pc 0005674e /system/lib/libdvm.so
I/DEBUG ( 56): #9 pc 0005ed2c /system/lib/libdvm.so
I/DEBUG ( 56): #10 pc 00015d58 /system/lib/libdvm.so
I/DEBUG ( 56): #11 pc 0001c754 /system/lib/libdvm.so
I/DEBUG ( 56): #12 pc 0001b5f4 /system/lib/libdvm.so
I/DEBUG ( 56): #13 pc 0005658c /system/lib/libdvm.so
I/DEBUG ( 56): #14 pc 00041c56 /system/lib/libdvm.so
I/DEBUG ( 56): #15 pc 0002d894 /system/lib/libandroid_runtime.so
I/DEBUG ( 56): #16 pc 0002e990 /system/lib/libandroid_runtime.so
I/DEBUG ( 56): #17 pc 00008ca8 /system/bin/app_process
I/DEBUG ( 56): #18 pc 0000d3c0 /system/lib/libc.so
I/DEBUG ( 56):
I/DEBUG ( 56): code around pc:
I/DEBUG ( 56): aca42fd4 fffe7aa5 bf006900 0c00f20f 460cb5f0
I/DEBUG ( 56): aca42fe4 4d2ab085 461f2101 46164465 f0059003
I/DEBUG ( 56): aca42ff4 6ae3fadd d0052b07 f01f4620 b908f963
I/DEBUG ( 56): aca43004 e03c4604 46314620 f020463a 4603fca9
I/DEBUG ( 56): aca43014 4620b930 463a4631 fc9af020 b1e04603
I/DEBUG ( 56):
I/DEBUG ( 56): code around lr:
I/DEBUG ( 56): aca485a8 00052e90 0000039c 4604b570 b910460d
I/DEBUG ( 56): aca485b8 ff72f7ff 2d014604 d1026866 f7ff4620
I/DEBUG ( 56): aca485c8 6065ffc7 bd704630 b087b5f0 f7ff4607
I/DEBUG ( 56): aca485d8 4d27ff63 4a27a400 58ae192d 46046941
I/DEBUG ( 56): aca485e8 03c0f8d6 f0129104 9b04f905 d03d4283
I/DEBUG ( 56):
I/DEBUG ( 56): stack:
I/DEBUG ( 56): bedc8498 00000001
I/DEBUG ( 56): bedc849c 0000a000 [heap]
I/DEBUG ( 56): bedc84a0 aca10fc0 /system/lib/libdvm.so
I/DEBUG ( 56): bedc84a4 0000ccd0 [heap]
I/DEBUG ( 56): bedc84a8 4186bbf8
I/DEBUG ( 56): bedc84ac afd0be0d /system/lib/libc.so
I/DEBUG ( 56): bedc84b0 0000ccd0 [heap]
I/DEBUG ( 56): bedc84b4 00000001
I/DEBUG ( 56): bedc84b8 00000007
I/DEBUG ( 56): bedc84bc 80ced4b2 /system/lib/libffmpeg_jni.so
I/DEBUG ( 56): bedc84c0 aca10fc0 /system/lib/libdvm.so
I/DEBUG ( 56): bedc84c4 aca485cb /system/lib/libdvm.so
I/DEBUG ( 56): bedc84c8 00000000
I/DEBUG ( 56): bedc84cc aca9b3f4 /system/lib/libdvm.so
I/DEBUG ( 56): bedc84d0 df002777
I/DEBUG ( 56): bedc84d4 e3a070ad
I/DEBUG ( 56): #00 bedc84d8 0000ccd0 [heap]
I/DEBUG ( 56): bedc84dc aca43321 /system/lib/libdvm.so
I/DEBUG ( 56): bedc84e0 0000aa50 [heap]
I/DEBUG ( 56): bedc84e4 0000ccd0 [heap]
I/DEBUG ( 56): bedc84e8 a712ec97
I/DEBUG ( 56): bedc84ec aca42fd9 /system/lib/libdvm.so
I/DEBUG ( 56): bedc84f0 80d219d8 /system/lib/libffmpeg_jni.so
I/DEBUG ( 56): bedc84f4 0000aa50 [heap]
I/DEBUG ( 56): bedc84f8 80c1399d /system/lib/libffmpeg_jni.so
I/DEBUG ( 56): bedc84fc 80c15605 /system/lib/libffmpeg_jni.so
I/DEBUG ( 56): #1 bedc8500 80d219d8 /system/lib/libffmpeg_jni.so
I/DEBUG ( 56): bedc8504 80ced250 /system/lib/libffmpeg_jni.so
I/DEBUG ( 56): bedc8508 45074420 /dev/ashmem/mspace/dalvik-heap/2 (deleted)
I/DEBUG ( 56): bedc850c 80c139db /system/lib/libffmpeg_jni.so
I/ActivityManager( 90): Process cz.havlena.ffmpeg.ui (pid 372) has died.
I/WindowManager( 90): Setting rotation to 0, animFlags=1

Can you please help - I see that all the libas are part of /system/lib and the build compiles / links fine. Not sure why the application cannot find the JNI...

I placed the .so both in root of the build folder and in the default libs/armeabi... but still i see this issue.

The build is based on Nexus one and not NDK, so I have made all NDK related flags to false and also using only player, not the converter.

Can you please help.
Thanks

@jaga-zz
Copy link
Author

jaga-zz commented Jan 27, 2011

Hi,

Can you please help??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant