For some reason I cannot get Native (C/C++) address / stack traces happening on the ICS devices I have here.
On my Nexus 7 nothing is output when a native library crashes. log.redirect-stdio is set to 1 when set through /system/default.prop and /data/local.prop, neither worked.
I tried setting log.redirect-stdio to true using the stop, setprop, start command but still no native stacktrace was output to logcat.
Google I mean come on... I loose more and more faith in Google every day just because of my buggy, unpredictable relationship with Android.
check HERE because u may have to alter the NDK/ndk-build step... by changing 'Android.mk' , 'Application.mk' files in ./jni folder.
have u tried this:
$ adb shell stop
$ adb shell setprop log.redirect-stdio true
$ adb shell start
when i do that in JB, i get stuff like the following in normal logcat...
F/libc (13345): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 13345 (bpo.media.notes)
I/DEBUG ( 121): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 121): Build fingerprint: 'google/takju/maguro:4.1.1/JRO03C/398337:user/release-keys'
I/DEBUG ( 121): pid: 13345, tid: 13345, name: bpo.media.notes >>> com.b2bpo.media.notes <<<
I/DEBUG ( 121): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
I/DEBUG ( 121): r0 4110e470 r1 dbe00019 r2 dda00021 r3 59e4d144
I/DEBUG ( 121): r4 4110e470 r5 00000000 r6 dbe00019 r7 00000000
I/DEBUG ( 121): r8 dda00021 r9 5cab8e50 sl 4110fa18 fp be95a5d4
I/DEBUG ( 121): ip 00000000 sp be95a5a0 lr 59e4bd11 pc 00000000 cpsr 48000010
I/DEBUG ( 121): d0 756f6620746f6e20 d1 203a5d333930315b
I/DEBUG ( 121): d2 207972617262694c d3 276765706d666627
I/DEBUG ( 121): d4 0066007200750053 d5 0054006500630061
I/DEBUG ( 121): d6 0000000000780065 d7 00000000c3120000
I/DEBUG ( 121): d8 000000000000040e d9 4434000000000000
I/DEBUG ( 121): d10 000000004481c000 d11 0000000000000000
I/DEBUG ( 121): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 121): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 121): d16 0000000000000001 d17 0000000000000001
I/DEBUG ( 121): d18 0000000000000002 d19 0000000000000000
I/DEBUG ( 121): d20 4062400000000000 d21 3ff0000000000000
I/DEBUG ( 121): d22 8000000000000000 d23 0000000000000000
I/DEBUG ( 121): d24 0000000000000000 d25 8000000000000000
I/DEBUG ( 121): d26 3ff0000000000000 d27 3fdb6f2281b5dfe3
I/DEBUG ( 121): d28 3fe3341cf8e40e47 d29 bfa8605c00000000
I/DEBUG ( 121): d30 40079e7e00000000 d31 3fe2b80340000000
I/DEBUG ( 121): scr 60000011
I/DEBUG ( 121):
I/DEBUG ( 121): backtrace:
I/DEBUG ( 121): #00 pc 00000000 <unknown>
I/DEBUG ( 121): #01 pc 00000d0f /data/data/com.b2bpo.media.notes/lib/libffmpeginvoke.so (Java_com_b2bpo_media_notes_RecorderActivity_run+66)
I/DEBUG ( 121): #02 pc 0001de30 /system/lib/libdvm.so (dvmPlatformInvoke+112)
I/DEBUG ( 121): #03 pc 0004d083 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+394)
I/DEBUG ( 121): #04 pc 0004f19f /system/lib/libdvm.so (dvmResolveNativeMethod(unsigned int const*, JValue*, Method const*, Thread*)+174)
I/DEBUG ( 121): #05 pc 00027260 /system/lib/libdvm.so
I/DEBUG ( 121): #06 pc 0002bb68 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
I/DEBUG ( 121): #07 pc 0005fab7 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+374)
I/DEBUG ( 121): #08 pc 0006700d /system/lib/libdvm.so
I/DEBUG ( 121): #09 pc 00027260 /system/lib/libdvm.so
I/DEBUG ( 121): #10 pc 0002bb68 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
I/DEBUG ( 121): #11 pc 0005fab7 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+374)
I/DEBUG ( 121): #12 pc 0006700d /system/lib/libdvm.so
I/DEBUG ( 121): #13 pc 00027260 /system/lib/libdvm.so
I/DEBUG ( 121): #14 pc 0002bb68 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
I/DEBUG ( 121): #15 pc 0005f7f1 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
I/DEBUG ( 121): #16 pc 00049673 /system/lib/libdvm.so
I/DEBUG ( 121): #17 pc 0004698d /system/lib/libandroid_runtime.so
I/DEBUG ( 121): #18 pc 0004746f /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+390)
I/DEBUG ( 121): #19 pc 00000dcf /system/bin/app_process
I/DEBUG ( 121):
I/DEBUG ( 121): stack:
I/DEBUG ( 121): be95a560 be95a5d4 [stack]
I/DEBUG ( 121): be95a564 4017fb61 /system/bin/linker
I/DEBUG ( 121): be95a568 4018afd0 /system/bin/linker
I/DEBUG ( 121): be95a56c 4018afeb /system/bin/linker
I/DEBUG ( 121): be95a570 40197c0c
I/DEBUG ( 121): be95a574 00000000
I/DEBUG ( 121): be95a578 00000000
I/DEBUG ( 121): be95a57c 59e4bd07 /data/data/com.b2bpo.media.notes/lib/libffmpeginvoke.so (Java_com_b2bpo_media_notes_RecorderActivity_run+58)
I/DEBUG ( 121): be95a580 59e4d144 /data/data/com.b2bpo.media.notes/lib/libffmpeginvoke.so
I/DEBUG ( 121): be95a584 4017fbfd /system/bin/linker
I/DEBUG ( 121): be95a588 00000000
I/DEBUG ( 121): be95a58c 59e4d144 /data/data/com.b2bpo.media.notes/lib/libffmpeginvoke.so
I/DEBUG ( 121): be95a590 4110e470 [heap]
I/DEBUG ( 121): be95a594 c200001d
I/DEBUG ( 121): be95a598 df0027ad
I/DEBUG ( 121): be95a59c 00000000
I/DEBUG ( 121): #00 be95a5a0 dda00021
I/DEBUG ( 121): ........ ........
I/DEBUG ( 121): #01 be95a5a0 dda00021
I/DEBUG ( 121): be95a5a4 56ddb4e0 /dev/ashmem/dalvik-LinearAlloc (deleted)
I/DEBUG ( 121): be95a5a8 4110fa08 [heap]
I/DEBUG ( 121): be95a5ac 00000000
I/DEBUG ( 121): be95a5b0 410c6cdc
I/DEBUG ( 121): be95a5b4 be95a5c0 [stack]
I/DEBUG ( 121): be95a5b8 410c6cd4
I/DEBUG ( 121): be95a5bc 4074ee34 /system/lib/libdvm.so (dvmPlatformInvoke+116)
I/DEBUG ( 121): #02 be95a5c0 410c6cd0
I/DEBUG ( 121): be95a5c4 00000001
I/DEBUG ( 121): be95a5c8 41ba41b8 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 121): be95a5cc 59e4902b /data/dalvik-cache/data#app#com.b2bpo.media.notes-2.apk#classes.dex
I/DEBUG ( 121): be95a5d0 00000019
I/DEBUG ( 121): be95a5d4 4077e087 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
I/DEBUG ( 121):
I/DEBUG ( 121): memory near r0:
I/DEBUG ( 121): 4110e450 6c436d65 0000001b 411254d8 4007c51c emCl.....T.A...#
I/DEBUG ( 121): 4110e460 74696e49 4007003b 00000018 00000023 Init;..#....#...
I/DEBUG ( 121): 4110e470 407d4970 407d4de4 00000001 4110fa08 pI}#.M}#.......A
I/DEBUG ( 121): 4110e480 00000000 58ba5a30 00000000 0000001b ....0Z.X........
I/DEBUG ( 121): 4110e490 00000000 00000000 00000000 4110e490 ...............A
I/DEBUG ( 121):
I/DEBUG ( 121): memory near r3:
I/DEBUG ( 121): 59e4d124 e0833102 e2830008 e28dd014 e8bd8000 .1..............
I/DEBUG ( 121): 59e4d134 e92d4008 ebfffac7 e92d4008 ebfffac5 .#-......#-.....
I/DEBUG ( 121): 59e4d144 6176614a 6d6f635f 6232625f 6d5f6f70 Java_com_b2bpo_m
I/DEBUG ( 121): 59e4d154 61696465 746f6e5f 525f7365 726f6365 edia_notes_Recor
I/DEBUG ( 121): 59e4d164 41726564 76697463 5f797469 7552616e derActivity_naRu
I/DEBUG ( 121):
I/DEBUG ( 121): memory near r4:
I/DEBUG ( 121): 4110e450 6c436d65 0000001b 411254d8 4007c51c emCl.....T.A...#
I/DEBUG ( 121): 4110e460 74696e49 4007003b 00000018 00000023 Init;..#....#...
I/DEBUG ( 121): 4110e470 407d4970 407d4de4 00000001 4110fa08 pI}#.M}#.......A
I/DEBUG ( 121): 4110e480 00000000 58ba5a30 00000000 0000001b ....0Z.X........
I/DEBUG ( 121): 4110e490 00000000 00000000 00000000 4110e490 ...............A
I/DEBUG ( 121):
I/DEBUG ( 121): memory near r9:
I/DEBUG ( 121): 5cab8e30 4023af08 5cab8d80 00000033 00000007 ..##...\3.......
I/DEBUG ( 121): 5cab8e40 00000002 00000000 59c61708 00000011 ...........Y....
I/DEBUG ( 121): 5cab8e50 5bd26990 4007c514 00000010 00000012 .i.[...#........
I/DEBUG ( 121): 5cab8e60 59e810b4 4007c514 00000010 00000043 ...Y...#....C...
I/DEBUG ( 121): 5cab8e70 4023aea0 5cb8a368 4023aec0 59f65d60 ..##h..\..##`].Y
I/DEBUG ( 121):
I/DEBUG ( 121): memory near sl:
I/DEBUG ( 121): 4110f9f8 00000000 00000800 4109e008 00000453 ...........AS...
I/DEBUG ( 121): 4110fa08 57c0df5a 410c6cd0 56ddb400 59c6b000 Z..W.l.A...V...Y
I/DEBUG ( 121): 4110fa18 0000007a 98b9bd7e be95a710 00000000 z...~...........
I/DEBUG ( 121): 4110fa28 be95a744 00000001 00000000 4074efc0 D.............t#
I/DEBUG ( 121): 4110fa38 00000000 00000000 4066fe70 410c1300 ........p.f#...A
I/DEBUG ( 121):
I/DEBUG ( 121): memory near fp:
I/DEBUG ( 121): be95a5b4 be95a5c0 410c6cd4 4074ee34 410c6cd0 .....l.A4.t#.l.A
I/DEBUG ( 121): be95a5c4 00000001 41ba41b8 59e4902b 00000019 .....A.A+..Y....
I/DEBUG ( 121): be95a5d4 4077e087 410c6cd0 59e49028 59e4bccd ..w#.l.A(..Y...Y
I/DEBUG ( 121): be95a5e4 4110fa18 00000000 00000000 59fe8dc0 ...A...........Y
I/DEBUG ( 121): be95a5f4 40083a4c 00000000 40048571 40048539 L:.#....q..#9..#
I/DEBUG ( 121):
I/DEBUG ( 121): memory near sp:
I/DEBUG ( 121): be95a580 59e4d144 4017fbfd 00000000 59e4d144 D..Y...#....D..Y
I/DEBUG ( 121): be95a590 4110e470 c200001d df0027ad 00000000 p..A.....'......
I/DEBUG ( 121): be95a5a0 dda00021 56ddb4e0 4110fa08 00000000 !......V...A....
I/DEBUG ( 121): be95a5b0 410c6cdc be95a5c0 410c6cd4 4074ee34 .l.A.....l.A4.t#
I/DEBUG ( 121): be95a5c0 410c6cd0 00000001 41ba41b8 59e4902b .l.A.....A.A+..Y
I/DEBUG ( 121):
I/DEBUG ( 121): code around pc:
I/DEBUG ( 121): 00000000 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121): 00000010 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121): 00000020 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121): 00000030 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121): 00000040 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121):
I/DEBUG ( 121): code around lr:
I/DEBUG ( 121): 59e4bcf0 f8d34629 460732a8 47984620 46384907 )F...2.F F.G.I8F
I/DEBUG ( 121): 59e4bd00 f7ff4479 4631efc4 46054642 47a84620 yD....1FBF.F F.G
I/DEBUG ( 121): 59e4bd10 e8bd4638 f7ff43f8 bf00bf99 00001440 8F...C......#...
I/DEBUG ( 121): 59e4bd20 e5903000 e3130101 13833102 03c33102 .0.......1...1..
I/DEBUG ( 121): 59e4bd30 e0800003 e12fff1e e92d4ff0 e59f51ac ....../..O-..Q..
I/ActivityManager(11604): Process com.b2bpo.media.notes (pid 13345) has died.
I/WindowState(11604): WIN DEATH: Window{425a34d0 com.b2bpo.media.notes/com.b2bpo.media.notes.RecorderActivity paused=false}
W/ActivityManager(11604): Force removing ActivityRecord{425839e0 com.b2bpo.media.notes/.RecorderActivity}: app died, no saved stat
Related
Very limited experience with android devices so not too sure what's happening here. I have an android device in a PCR machine (PCRmax alpha) that has suddenly refused to get past the boot loading screen. I've connected to it with adb and used adb logcat to see what the issue is. logcat shows a constant loop of:
/AndroidRuntime(11221):
D/AndroidRuntime(11221): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime(11221): CheckJNI is ON
D/dalvikvm(11221): Trying to load lib libjavacore.so 0x0
D/dalvikvm(11221): Added shared lib libjavacore.so 0x0
D/dalvikvm(11221): Trying to load lib libnativehelper.so 0x0
D/dalvikvm(11221): Added shared lib libnativehelper.so 0x0
E/dalvikvm(11221): Bad register map format 9
E/dalvikvm(11221): VM aborting
F/libc (11221): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 11221 (zygote)
I/DEBUG ( 60): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 60): Build fingerprint: 'Android/am335xevm_sk/am335xevm_sk:4.1.2/JZO54K/eng.root.20121228.060106:eng/test-keys'
I/DEBUG ( 60): pid: 11221, tid: 11221, name: zygote >>> zygote <<<
I/DEBUG ( 60): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00d
I/DEBUG ( 60): r0 00000000 r1 beb7a600 r2 deadd00d r3 00000000
I/DEBUG ( 60): r4 4080e1a8 r5 0000020c r6 00000000 r7 41544414
I/DEBUG ( 60): r8 418bb000 r9 416f1a0b sl 00000000 fp 00000000
I/DEBUG ( 60): ip 40809d78 sp beb7aa48 lr 4008fa0d pc 407a9cf8 cpsr 60000030
I/DEBUG ( 60): d0 74726f6261204d56 d1 57108a9041b7796e
I/DEBUG ( 60): d2 5710857857108475 d3 571086585710866c
I/DEBUG ( 60): d4 57108428570ce2b0 d5 57108540571084d0
I/DEBUG ( 60): d6 571085e8571085b0 d7 571086c857108690
I/DEBUG ( 60): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 60): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 60): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 60): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 60): d16 0000000000000418 d17 0000000000000418
I/DEBUG ( 60): d18 0000000000000000 d19 0000000000000000
I/DEBUG ( 60): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 60): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 60): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 60): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 60): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 60): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 60): scr 60000010
I/DEBUG ( 60):
I/DEBUG ( 60): backtrace:
I/DEBUG ( 60): #00 pc 00045cf8 /system/lib/libdvm.so (dvmAbort+75)
I/DEBUG ( 60): #01 pc 0005d083 /system/lib/libdvm.so
I/DEBUG ( 60): #02 pc 0005d6f5 /system/lib/libdvm.so (dvmRegisterMapGetNext(void const**)+8)
I/DEBUG ( 60): #03 pc 00069985 /system/lib/libdvm.so
I/DEBUG ( 60): #04 pc 00069ca7 /system/lib/libdvm.so (dvmFindClassNoInit(char const*, Object*)+214)
I/DEBUG ( 60): #05 pc 0006734d /system/lib/libdvm.so (dvmFindArrayClass(char const*, Object*)+60)
I/DEBUG ( 60): #06 pc 00069be1 /system/lib/libdvm.so (dvmFindClassNoInit(char const*, Object*)+16)
I/DEBUG ( 60): #07 pc 0006ab61 /system/lib/libdvm.so (dvmResolveClass+60)
I/DEBUG ( 60): #08 pc 000221a0 /system/lib/libdvm.so (dvmAsmSisterStart+480)
I/DEBUG ( 60): #09 pc 0002bb38 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
I/DEBUG ( 60): #10 pc 0005f5b1 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
I/DEBUG ( 60): #11 pc 0005f5db /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
I/DEBUG ( 60): #12 pc 0006a1b5 /system/lib/libdvm.so (dvmInitClass+1032)
I/DEBUG ( 60): #13 pc 0006a02b /system/lib/libdvm.so (dvmInitClass+638)
I/DEBUG ( 60): #14 pc 0002215c /system/lib/libdvm.so (dvmAsmSisterStart+412)
I/DEBUG ( 60): #15 pc 0002bb38 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
I/DEBUG ( 60): #16 pc 0005f5b1 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
I/DEBUG ( 60): #17 pc 0005f5db /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
I/DEBUG ( 60): #18 pc 0006a1b5 /system/lib/libdvm.so (dvmInitClass+1032)
I/DEBUG ( 60): #19 pc 0006af37 /system/lib/libdvm.so (dvmResolveMethod+246)
I/DEBUG ( 60): #20 pc 000228ac /system/lib/libdvm.so (dvmAsmSisterStart+2284)
I/DEBUG ( 60): #21 pc 0002bb38 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
I/DEBUG ( 60): #22 pc 0005f5b1 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
I/DEBUG ( 60): #23 pc 0005f5db /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
I/DEBUG ( 60): #24 pc 0006a1b5 /system/lib/libdvm.so (dvmInitClass+1032)
I/DEBUG ( 60): #25 pc 0006acc1 /system/lib/libdvm.so (dvmResolveStaticField+96)
I/DEBUG ( 60): #26 pc 0002266c /system/lib/libdvm.so (dvmAsmSisterStart+1708)
I/DEBUG ( 60): #27 pc 0002bb38 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
I/DEBUG ( 60): #28 pc 0005f5b1 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
I/DEBUG ( 60): #29 pc 0005f5db /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
I/DEBUG ( 60): #30 pc 0006a303 /system/lib/libdvm.so (dvmGetSystemClassLoader()+46)
I/DEBUG ( 60): #31 pc 00053245 /system/lib/libdvm.so (dvmPrepMainThread()+328)
I/DEBUG ( 60):
I/DEBUG ( 60): stack:
I/DEBUG ( 60): beb7aa08 ffffffff
I/DEBUG ( 60): beb7aa0c 4008a549 /system/lib/libc.so (dlfree+56)
I/DEBUG ( 60): beb7aa10 400b96f8 /system/lib/libc.so
I/DEBUG ( 60): beb7aa14 400b96f8 /system/lib/libc.so
I/DEBUG ( 60): beb7aa18 400bf638
I/DEBUG ( 60): beb7aa1c 4008fa0d /system/lib/libc.so (__sflush_locked+24)
I/DEBUG ( 60): beb7aa20 400b9798 /system/lib/libc.so
I/DEBUG ( 60): beb7aa24 400b96f8 /system/lib/libc.so
I/DEBUG ( 60): beb7aa28 00000000
I/DEBUG ( 60): beb7aa2c 400909e9 /system/lib/libc.so (_fwalk+32)
I/DEBUG ( 60): beb7aa30 4080e1a8 /system/lib/libdvm.so
I/DEBUG ( 60): beb7aa34 0000020c
I/DEBUG ( 60): beb7aa38 00000000
I/DEBUG ( 60): beb7aa3c 41544414 /data/dalvik-cache/system#framework#core.jar#classes.dex
I/DEBUG ( 60): beb7aa40 df0027ad
I/DEBUG ( 60): beb7aa44 00000000
I/DEBUG ( 60): #00 beb7aa48 00000001
I/DEBUG ( 60): beb7aa4c 6c756e28
I/DEBUG ( 60): beb7aa50 0000296c
I/DEBUG ( 60): beb7aa54 00000000
I/DEBUG ( 60): beb7aa58 00000000
I/DEBUG ( 60): beb7aa5c 00000000
I/DEBUG ( 60): beb7aa60 00000000
I/DEBUG ( 60): beb7aa64 00000000
I/DEBUG ( 60): beb7aa68 00000000
I/DEBUG ( 60): beb7aa6c 00000000
I/DEBUG ( 60): beb7aa70 00000000
I/DEBUG ( 60): beb7aa74 00000000
I/DEBUG ( 60): beb7aa78 00000000
I/DEBUG ( 60): beb7aa7c 00000000
I/DEBUG ( 60): beb7aa80 00000000
I/DEBUG ( 60): beb7aa84 00000000
I/DEBUG ( 60): ........ ........
I/DEBUG ( 60): #01 beb7ac60 417eca7c /data/dalvik-cache/system#framework#core.jar#classes.dex
I/DEBUG ( 60): beb7ac64 414d9028 /data/dalvik-cache/system#framework#core.jar#classes.dex
I/DEBUG ( 60): beb7ac68 415e79d0 /data/dalvik-cache/system#framework#core.jar#classes.dex
I/DEBUG ( 60): beb7ac6c 417eca7c /data/dalvik-cache/system#framework#core.jar#classes.dex
I/DEBUG ( 60): beb7ac70 beb7acc4 [stack]
I/DEBUG ( 60): beb7ac74 407c16f9 /system/lib/libdvm.so (dvmRegisterMapGetNext(void const**)+12)
I/DEBUG ( 60): #02 beb7ac78 417eca7c /data/dalvik-cache/system#framework#core.jar#classes.dex
I/DEBUG ( 60): beb7ac7c 41b88480 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 60): beb7ac80 4080e1a8 /system/lib/libdvm.so
I/DEBUG ( 60): beb7ac84 407cd989 /system/lib/libdvm.so
I/DEBUG ( 60):
I/DEBUG ( 60): memory near r1:
I/DEBUG ( 60): beb7a5e0 4004608d 407eeb7e beb7a62c 00000000 .`.#~.~#,.......
I/DEBUG ( 60): beb7a5f0 41544414 400461ab 00000000 00000006 .DTA.a.#........
I/DEBUG ( 60): beb7a600 beb7a5fc 00000001 407eeb7e 00000009 ........~.~#....
I/DEBUG ( 60): beb7a610 beb7a62c 0000000c 400c5a4c 407eeb7e ,.......LZ.#~.~#
I/DEBUG ( 60): beb7a620 00000006 4004632b beb7aa44 61204d56 ....+c.#D...VM a
I/DEBUG ( 60):
I/DEBUG ( 60): memory near r4:
I/DEBUG ( 60): 4080e188 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 60): 4080e198 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 60): 4080e1a8 41b766e8 41b766d8 00500000 10000000 .f.A.f.A..P.....
I/DEBUG ( 60): 4080e1b8 03000000 00004000 00006000 00000001 .....#...`......
I/DEBUG ( 60): 4080e1c8 00000101 00000002 00000001 00000000 ................
I/DEBUG ( 60):
I/DEBUG ( 60): memory near r7:
I/DEBUG ( 60): 415443f4 000003eb 00030010 00000379 00000000 ........y.......
I/DEBUG ( 60): 41544404 00000e8d 001c4ee8 002c3201 00000000 .....N...2,.....
I/DEBUG ( 60): 41544414 000003ed 00030000 000000fe 001d0438 ............8...
I/DEBUG ( 60): 41544424 00000e8d 001c4f20 002c325a 00000000 .... O..Z2,.....
I/DEBUG ( 60): 41544434 000003ee 00030010 000003ec 001d00c0 ................
I/DEBUG ( 60):
I/DEBUG ( 60): memory near r8:
I/DEBUG ( 60): 418bafe0 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 60): 418baff0 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 60): 418bb000 4005fc80 414d9028 418bb034 418d299c ...#(.MA4..A.).A
I/DEBUG ( 60): 418bb010 418d4eb0 418eafbc 41b76fb0 00000001 .N.A...A.o.A....
I/DEBUG ( 60): 418bb020 414d9000 0033de78 414d9000 0033de78 ..MAx.3...MAx.3.
I/DEBUG ( 60):
I/DEBUG ( 60): memory near r9:
I/DEBUG ( 60): 416f19e8 482f6c69 4d687361 48247061 4d687361 il/HashMap$HashM
I/DEBUG ( 60): 416f19f8 6e457061 3c797274 543b4b54 3b3e3b56 apEntry<TK;TV;>;
I/DEBUG ( 60): 416f1a08 4c5b2500 6176616a 6974752f 61482f6c .%[Ljava/util/Ha
I/DEBUG ( 60): 416f1a18 61746873 24656c62 68736148 6c626174 shtable$Hashtabl
I/DEBUG ( 60): 416f1a28 746e4565 003b7972 6a4c5b2d 2f617661 eEntry;.-[Ljava/
I/DEBUG ( 60):
I/DEBUG ( 60): memory near ip:
I/DEBUG ( 60): 40809d58 400ee8f7 4009f605 4008beb4 40097861 ...#...#...#ax.#
I/DEBUG ( 60): 40809d68 40082300 40087248 4008f731 40087c5c .#.#Hr.#1..#\|.#
I/DEBUG ( 60): 40809d78 4008fa21 40097627 400877d0 4010cf84 !..#'v.#.w.#...#
I/DEBUG ( 60): 40809d88 40083510 4008e68f 400886f1 40097881 .5.#...#...#.x.#
I/DEBUG ( 60): 40809d98 401421f8 40082d10 40097af5 400975dd .!.#.-.#.z.#.u.#
I/DEBUG ( 60):
I/DEBUG ( 60): memory near sp:
I/DEBUG ( 60): beb7aa28 00000000 400909e9 4080e1a8 0000020c .......#...#....
I/DEBUG ( 60): beb7aa38 00000000 41544414 df0027ad 00000000 .....DTA.'......
I/DEBUG ( 60): beb7aa48 00000001 6c756e28 0000296c 00000000 ....(null)......
I/DEBUG ( 60): beb7aa58 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 60): beb7aa68 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 60):
I/DEBUG ( 60): code around pc:
I/DEBUG ( 60): 407a9cd8 34bcf8d3 ed2ef7d7 461d2300 b1525d1a ...4.....#.F.]R.
I/DEBUG ( 60): 407a9ce8 18ad3301 7f00f5b3 e004d1f8 4a0a4798 .3...........G.J
I/DEBUG ( 60): 407a9cf8 f7d77015 490ced26 4a0c2006 44794c0c .p..&..I. .J.LyD
I/DEBUG ( 60): 407a9d08 447c447a ebd8f7d7 f7d72000 6ca3ec7e zD|D..... ..~..l
I/DEBUG ( 60): 407a9d18 d1eb2b00 bf00e7eb deadd00d 0005fe54 .+..........T...
I/DEBUG ( 60):
I/DEBUG ( 60): code around lr:
I/DEBUG ( 60): 4008f9ec bd702000 bd704628 4604b570 447e4e08 . p.(Fp.p..F.N~D
I/DEBUG ( 60): 4008f9fc 68336836 f000b10b 4620fa4c ffcaf7ff 6h3h....L. F....
I/DEBUG ( 60): 4008fa0c 68304605 4620b110 fa50f000 bd704628 .F0h.. F..P.(Fp.
I/DEBUG ( 60): 4008fa1c 00029a8a 4604b570 4811b928 e8bd4478 ....p..F(..HxD..
I/DEBUG ( 60): 4008fa2c f0004070 4e0fbfcb 6836447e b10b6833 p#.....N~D6h3h..
I/DEBUG ( 60):
I/DEBUG ( 60): memory map around fault addr deadd00d:
I/DEBUG ( 60): beb5b000-beb7c000 [stack]
I/DEBUG ( 60): (no map for address)
I/DEBUG ( 60): ffff0000-ffff1000 [vectors]
I/ServiceManager( 55): service 'media.audio_flinger' died
I/ServiceManager( 55): service 'media.player' died
I/ServiceManager( 55): service 'media.camera' died
I/Netd (11223): Netd 1.0 starting
I/mediaserver(11222): ServiceManager: 0x40d5cd80
I/AudioFlinger(11222): Using default 3000 mSec as standby time.
I/CameraService(11222): CameraService started (pid=11222)
I/AudioPolicyManagerBase(11222): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
E/audio_hw_primary(11222): Duplicate path setting '(null)'
E/audio_hw_primary(11222): Duplicate path setting '(null)'
E/audio_hw_primary(11222): Duplicate path setting '(null)'
I/AudioFlinger(11222): loadHwModule() Loaded primary audio interface from Rowboat audio HW HAL (audio) handle 1
I/AudioFlinger(11222): HAL output buffer size 880 frames, normal mix buffer size 1056 frames
I/AudioMixer(11222): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
E/BandwidthController(11223): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
E/BandwidthController(11223): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256
D/MDnsDS (11223): MDnsSdListener::Hander starting up
D/MDnsDS (11223): MDnsSdListener starting to monitor
D/MDnsDS (11223): Going to poll with pollCount 1
E/uim-sysfs(11344): uim: Inside main
E/uim-sysfs(11344): uim:BT/FM/GPS would be unavailable on system
I've tried rebooting, but keeps getting stuck here. Does anyone have an idea of what the issue might be here? Happy to provide more information if needed.
Tried rebooting the device with adb and fastboot, but continues to be stuck at this stage. I've searched for some of the errors that occur but can't make any headway with them. To my knowledge this device had not received any update before this error started to occur - the device was airgapped.
Thanks in advance!
I have a webview in a fragment. It has been working fine for a few months. I was playing around with the HTML embedded in it (a generated string) and i think it had a bad font reference.
The result is that now on one device this webview always segfaults when it displays - but only on the one device (a Galaxy Nexus) i was testing on - testing on other devices it all works fine. it load in the background in a viewpager so I know it initialises properly but when it display it always segfaults the app on this device.
So it looks like there is some cached data somewhere that is not being cleared. I cant understand why the same apk works on all other devices (all android versions - but only crashes on this one device.
i have tried to clear the cache using
_web.clearCache(true);
webSettings.setCacheMode(WebSettings.LOAD_NO_CACHE);
but no difference. Are there any other caches i can clear?
I have rebooted the phone - no difference.
Looking for any ideas on how to resolve this error - no matter how crazy!
Here is the segfault - looks to be OpenGL related -
-does the webview use opengl for fonts?
- Is there a font cache for the webview?
D/TilesManager( 5776): new EGLContext from framework: 50c5df28
D/GLWebViewState( 5776): Reinit shader
W/webcore ( 5776): skip viewSizeChanged as w is 0
D/GLWebViewState( 5776): Reinit transferQueue
D/MyPodV2 ( 5776): load page:0 - 0.0
D/MyPodV2 ( 5776): load page:720 - 100.0
F/libc ( 5776): Fatal signal 11 (SIGSEGV) at 0x00000008 (code=1), thread 5776 (nelweb.mypod.v2)
I/DEBUG ( 121): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 121): Build fingerprint: 'samsung/yakjuxw/maguro:4.1.1/JRO03C/I9250XWLH2:user/release-keys'
I/DEBUG ( 121): pid: 5776, tid: 5776, name: nelweb.mypod.v2 >>> co.uk.sentinelweb.mypod.v2 <<<
I/DEBUG ( 121): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000008
I/DEBUG ( 121): r0 00000008 r1 585b7008 r2 00000010 r3 00000004
I/DEBUG ( 121): r4 56dbdb90 r5 56dbe9c0 r6 00000001 r7 00000004
I/DEBUG ( 121): r8 00000008 r9 00000001 sl 00000004 fp 00000001
I/DEBUG ( 121): ip 00000001 sp beac4180 lr 5863688c pc 5865f774 cpsr 80000010
I/DEBUG ( 121): d0 000000003e8374f1 d1 0000000000000000
I/DEBUG ( 121): d2 3e8374f100000000 d3 0000000000000000
I/DEBUG ( 121): d4 0000000000000000 d5 000000003f800000
I/DEBUG ( 121): d6 426d42bcc1248268 d7 3f80000000000000
I/DEBUG ( 121): d8 4411c6fc438013e9 d9 4507000000000000
I/DEBUG ( 121): d10 43e72bda4481c000 d11 43e670f943e670f9
I/DEBUG ( 121): d12 43e670f943e670f9 d13 bfa2695643f6cead
I/DEBUG ( 121): d14 00000000bd134ab6 d15 0000000000000000
I/DEBUG ( 121): d16 0000000800000000 d17 0000000000000000
I/DEBUG ( 121): d18 0000000000000000 d19 0000000000000000
I/DEBUG ( 121): d20 3ff0000000000000 d21 0000000000000000
I/DEBUG ( 121): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 121): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 121): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 121): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 121): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 121): scr 20000013
I/DEBUG ( 121):
I/DEBUG ( 121): backtrace:
I/DEBUG ( 121): #00 pc 00034774 /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/DEBUG ( 121): #01 pc 0000b888 /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/DEBUG ( 121):
I/DEBUG ( 121): stack:
I/DEBUG ( 121): beac4140 03d00000
I/DEBUG ( 121): beac4144 00000000
I/DEBUG ( 121): beac4148 5c7b3dd0
I/DEBUG ( 121): beac414c 586d79f8
I/DEBUG ( 121): beac4150 56dbea6c
I/DEBUG ( 121): beac4154 585b6c7c /dev/pvrsrvkm
I/DEBUG ( 121): beac4158 00000002
I/DEBUG ( 121): beac415c 00000004
I/DEBUG ( 121): beac4160 56dbea6c
I/DEBUG ( 121): beac4164 56dbdb90
I/DEBUG ( 121): beac4168 56dbe9bc
I/DEBUG ( 121): beac416c 00000000
I/DEBUG ( 121): beac4170 00000004
I/DEBUG ( 121): beac4174 00000023
I/DEBUG ( 121): beac4178 df0027ad
I/DEBUG ( 121): beac417c 00000000
I/DEBUG ( 121): #00 beac4180 56dbdb90
I/DEBUG ( 121): ........ ........
I/DEBUG ( 121): #01 beac4180 56dbdb90
I/DEBUG ( 121): beac4184 5863688c /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/DEBUG ( 121): beac4188 56dbdb90
I/DEBUG ( 121): beac418c 00000004
I/DEBUG ( 121): beac4190 00000004
I/DEBUG ( 121): beac4194 00000000
I/DEBUG ( 121): beac4198 00000005
I/DEBUG ( 121): beac419c 5863898c /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/DEBUG ( 121): beac41a0 56dbdb90
I/DEBUG ( 121): beac41a4 00000004
I/DEBUG ( 121): beac41a8 00000000
I/DEBUG ( 121): beac41ac 5868606c /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/DEBUG ( 121): beac41b0 00000005
I/DEBUG ( 121): beac41b4 58639a70 /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so (glDrawArrays+804)
I/DEBUG ( 121): beac41b8 00000004
I/DEBUG ( 121): beac41bc 00000000
I/DEBUG ( 121):
I/DEBUG ( 121): memory near r1:
I/DEBUG ( 121): 585b6fe8 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121): 585b6ff8 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121): 585b7008 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121): 585b7018 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121): 585b7028 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121):
I/DEBUG ( 121): memory near r4:
I/DEBUG ( 121): 56dbdb70 10000298 58ec5138 5dc1229f 00000298 ....8Q.X.".]....
I/DEBUG ( 121): 56dbdb80 58ca335c 5dbf356f 00000000 00000f9b \3.Xo5.]........
I/DEBUG ( 121): 56dbdb90 00000018 0000e7fd 00001c80 00001100 ................
I/DEBUG ( 121): 56dbdba0 00001100 00000024 000003aa 00000064 ....$.......d...
I/DEBUG ( 121): 56dbdbb0 00000064 00000064 00000064 00000004 d...d...d.......
I/DEBUG ( 121):
I/DEBUG ( 121): memory near r5:
I/DEBUG ( 121): 56dbe9a0 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 121): 56dbe9b0 00000000 00000000 56dbe794 56dbe83c ...........V<..V
I/DEBUG ( 121): 56dbe9c0 56dbe86c 00000000 00000000 00000000 l..V............
I/DEBUG ( 121): 56dbe9d0 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 121): 56dbe9e0 00000002 00000003 00000003 00000004 ................
I/DEBUG ( 121):
I/DEBUG ( 121): memory near sp:
I/DEBUG ( 121): beac4160 56dbea6c 56dbdb90 56dbe9bc 00000000 l..V...V...V....
I/DEBUG ( 121): beac4170 00000004 00000023 df0027ad 00000000 ....#....'......
I/DEBUG ( 121): beac4180 56dbdb90 5863688c 56dbdb90 00000004 ...V.hcX...V....
I/DEBUG ( 121): beac4190 00000004 00000000 00000005 5863898c ..............cX
I/DEBUG ( 121): beac41a0 56dbdb90 00000004 00000000 5868606c ...V........l`hX
I/DEBUG ( 121):
I/DEBUG ( 121): code around pc:
I/DEBUG ( 121): 5865f754 e781410c e28cc001 e15c0003 3afffffa .A........\....:
I/DEBUG ( 121): 5865f764 e8bd8010 e92d4010 e3a0c000 ea000004 .....#-.........
I/DEBUG ( 121): 5865f774 e5904000 e5014008 e5904004 e0800002 .#...#...#......
I/DEBUG ( 121): 5865f784 e5014004 e15c0003 e2811008 e28cc001 .#....\.........
I/DEBUG ( 121): 5865f794 3afffff6 e8bd8010 e92d4010 e3a0c000 ...:.....#-.....
I/DEBUG ( 121):
I/DEBUG ( 121): code around lr:
I/DEBUG ( 121): 5863686c e3530000 1a000005 e1a03007 e59c0018 ..S......0......
I/DEBUG ( 121): 5863687c e59c101c e59c2014 e1a0e00f e59cf024 ..... ......$...
I/DEBUG ( 121): 5863688c e2866001 e2855004 e5942e50 e3a03001 .`...P..P....0..
I/DEBUG ( 121): 5863689c e1560002 3affffeb e2840eed e1a01008 ..V....:........
I/DEBUG ( 121): 586368ac e280000c e1a02003 e8bd41f0 eaffe178 ..... ...A..x...
I/BootReceiver( 316): Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
UPDATE 10/03/13: this is the code that i use to stop caching - obviously i am getting a bit desperate.
_web.clearCache(true);
_web.setAnimationCacheEnabled(false);
_web.setDrawingCacheEnabled(false);
_web.setAlwaysDrawnWithCacheEnabled(false);
_web.clearHistory();
_web.clearFormData();
webSettings.setJavaScriptEnabled(false);
webSettings.setCacheMode(WebSettings.LOAD_NO_CACHE);
webSettings.setAppCacheMaxSize(0);
webSettings.setAppCachePath("");
webSettings.setAppCacheEnabled(false);
getActivity().deleteDatabase("webview.db");
getActivity().deleteDatabase("webviewCache.db");
webSettings.setDomStorageEnabled(false);
webSettings.setLoadsImagesAutomatically(false);
_web.setWillNotCacheDrawing(true);
webSettings.setBuiltInZoomControls(false);
webSettings.setSupportZoom(false);
webSettings.setSaveFormData(false);
//_web.setWillNotDraw(true);// loads but stops drawing
webSettings.setRenderPriority(WebSettings.RenderPriority.LOW);
Interesting to note that _web.setWillNotDraw(true); stops the segfault but does not draw anything (which is logical) so that indicates to me that segfault must be in the webview. drawing code.
Webview caches are app-specific, so uninstalling and reinstalling the app should fix this, if it was a temporary problem as you describe.
For more detail, caches live in:
/data/data/your.package.name/cache/
which you could have a look at, but then we get into the realms of whether you have access.
If your app was built for debug, then this adb command may let you see the directory contents:
run-as your.package.name ls /data/data/your.package.name/cache/
On my Galaxy S3 the related files are called 'webviewCacheChromiumStaging' and 'com.android.renderscript.cache', so your results may vary.
The settings that I use to prevent using cache:
_web.clearCache(true);
_web.setAppCacheEnabled(false);
webSettings.setCacheMode(WebSettings.LOAD_NO_CACHE);
webSettings.setAppCacheMaxSize(0);
webSettings.setAppCacheEnabled(false);
mContext.deleteDatabase("webview.db");
mContext.deleteDatabase("webviewCache.db");
also, have a look at: this one or this one.
We're working on a project for Android jelly bean. Our platform is arm-based, and the kernel version is 3.1.10. In our development process, we found that there is very low probability that the application crash happened in dalvik. Based on the following backtrace log, the crash appeared during garbage collection function. After using addr2line to analyze the pc address, we found the obj->clazz became a violate address when the issue has happened.
The code flow is:
(dvmHeapScanMarkedObjects -> processMarkStack-> scanObject->(IS_CLASS_FLAG_SET(obj->clazz,CLASS_ISARRAY)))
Now we are stuck here and can’t find a way to solve it. So we need more suggestion and help.
Does anyone know this issue or how to keep checking on it?
The backtrace log as below:
F/libc ( 912): Fatal signal 11 (SIGSEGV) at 0x00000025 (code=1), thread 912 (zygote)
I/DEBUG ( 910): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***I/DEBUG ( 910): Revision: '32'
I/DEBUG ( 910): pid: 912, tid: 912, name: zygote >>> zygote <<<
I/DEBUG ( 910): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000025
I/DEBUG ( 910): r0 00000005 r1 41246df0 r2 44208890 r3 412471e8
I/DEBUG ( 910): r4 40e3c1b8 r5 412569c0 r6 40e3c1b8 r7 41246df0
I/DEBUG ( 910): r8 0000154c r9 00000000 sl 000798e4 fp 7fffffff
I/DEBUG ( 910): ip 51b2c044 sp bee580c0 lr 40dc5b88 pc 40dc598c cpsr 80000010
I/DEBUG ( 910): d0 6e69737275636567 d1 6f7268540000fa2e
I/DEBUG ( 910): d2 573752085737512e d3 573752785737522e
I/DEBUG ( 910): d4 5737527857375240 d5 573841a0573752b0
I/DEBUG ( 910): d6 00010000573841d8 d7 000000614ac3ff00
I/DEBUG ( 910): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 910): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 910): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 910): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 910): d16 0000000000019a5c d17 0000000000019a5c
I/DEBUG ( 910): d18 0000000000000000 d19 3fe8000000000000
I/DEBUG ( 910): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 910): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 910): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 910): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 910): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 910): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 910): scr 60000010
I/DEBUG ( 910):
I/DEBUG ( 910): backtrace:
I/DEBUG ( 910): #00 pc 0003798c /system/lib/libdvm.so
I/DEBUG ( 910): #01 pc 00037b84 /system/lib/libdvm.so
I/DEBUG ( 910): #02 pc 000298c0 /system/lib/libdvm.so (dvmCollectGarbageInternal(GcSpec const*)+196)
I/DEBUG ( 910): #03 pc 0002a0bc /system/lib/libdvm.so (dvmMalloc(unsigned int, int)+152)
I/DEBUG ( 910): #04 pc 00054f57 /system/lib/libdvm.so (dvmAllocObject+6)
I/DEBUG ( 910): #05 pc 0001ecb0 /system/lib/libdvm.so
I/DEBUG ( 910): #06 pc 0002b754 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
I/DEBUG ( 910): #07 pc 0005fe09 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
I/DEBUG ( 910): #08 pc 0005fe33 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
I/DEBUG ( 910): #09 pc 000539c9 /system/lib/libdvm.so (dvmPrepMainThread()+188)
I/DEBUG ( 910): #10 pc 00047c65 /system/lib/libdvm.so (dvmStartup(int, char const* const*, bool, _JNIEnv*)+1108)
I/DEBUG ( 910): #11 pc 0004dd8d /system/lib/libdvm.so (JNI_CreateJavaVM+544)
I/DEBUG ( 910): #12 pc 00047227 /system/lib/libandroid_runtime.so (android::AndroidRuntime::startVm(_JavaVM**, _JNIEnv**)+1626)
I/DEBUG ( 910): #13 pc 000476bd /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+176)
I/DEBUG ( 910): #14 pc 00000db7 /system/bin/app_process
I/DEBUG ( 910):
I/DEBUG ( 910): stack:
I/DEBUG ( 910): bee58080 00000000
I/DEBUG ( 910): bee58084 40dc599c /system/lib/libdvm.so
I/DEBUG ( 910): bee58088 41247f38 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 910): bee5808c 000003f0
I/DEBUG ( 910): bee58090 000000fd
I/DEBUG ( 910): bee58094 00000000
I/DEBUG ( 910): bee58098 41246ebc [heap]
I/DEBUG ( 910): bee5809c 40db7578 /system/lib/libdvm.so (dvmHeapBitmapScanWalk(HeapBitmap*, void (*)(Object*, void*, void*), void*)+128)
I/DEBUG ( 910): bee580a0 40dc5b9c /system/lib/libdvm.so
I/DEBUG ( 910): bee580a4 41247f38 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 910): bee580a8 40e3c1b8 /system/lib/libdvm.so
I/DEBUG ( 910): bee580ac 412569a0 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 910): bee580b0 40e3c1b8 /system/lib/libdvm.so
I/DEBUG ( 910): bee580b4 41246df0 [heap]
I/DEBUG ( 910): bee580b8 df0027ad
I/DEBUG ( 910): bee580bc 00000000
I/DEBUG ( 910): #00 bee580c0 51b2c048 /dev/ashmem/dalvik-mark-stack (deleted)
I/DEBUG ( 910): bee580c4 41246df0 [heap]
I/DEBUG ( 910): bee580c8 41246dd8 [heap]
I/DEBUG ( 910): bee580cc 40e3c1b8 /system/lib/libdvm.so
I/DEBUG ( 910): bee580d0 00000001
I/DEBUG ( 910): bee580d4 40dc5b88 /system/lib/libdvm.so
I/DEBUG ( 910): #01 bee580d8 40e34aa8 /system/lib/libdvm.so
I/DEBUG ( 910): bee580dc 40db78c4 /system/lib/libdvm.so (dvmCollectGarbageInternal(GcSpec const*)+200)
I/DEBUG ( 910): #02 bee580e0 bee58124 [stack]
I/DEBUG ( 910): bee580e4 40df9095 /system/lib/libdvm.so
I/DEBUG ( 910): bee580e8 5855879e /data/dalvik-cache/system#framework#core.jar#classes.dex
I/DEBUG ( 910): bee580ec 40087010
I/DEBUG ( 910): bee580f0 5855879e /data/dalvik-cache/system#framework#core.jar#classes.dex
I/DEBUG ( 910): bee580f4 410be000 /dev/ashmem/dalvik-aux-structure (deleted)
I/DEBUG ( 910): bee580f8 00000000
I/DEBUG ( 910): bee580fc 00000000
I/DEBUG ( 910): bee58100 000006db
I/DEBUG ( 910): bee58104 410be000 /dev/ashmem/dalvik-aux-structure (deleted)
I/DEBUG ( 910): bee58108 00000000
I/DEBUG ( 910): bee5810c 410f55cc /dev/ashmem/dalvik-aux-structure (deleted)
I/DEBUG ( 910): bee58110 412569d8 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 910): bee58114 41248338 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 910): bee58118 41248338 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 910): bee5811c 40e3c1b8 /system/lib/libdvm.so
I/DEBUG ( 910): ........ ........
Ah it took me quite a long time to analyse the situation for me with a similar issue. Hope my analysis help you .
With my issue , the problem is because of Memory reordering by compiler . In dalvik several threads share common memory ASHMEM . This ASHMEM might have been corrupted because of memory re-ordering by compiler for optimisation .
To avoid memory reordering at particular point execute memory barrier (AKA membar) .Check this link for executing membar
Just put a memory barrier ANDROID_MEMBAR_BARRIER() before object allocation and object freeing in Garbage-collecting memory allocator(like dalvik/vm/alloc/alloc.cpp) and in class.cpp , array.cpp and proxy.cpp in dalvik directory of android source code . This should solve the issue.
For more infomation on Memory barrier pls check following links
memory barrier
example
white paper on Hardware View of Memory Barriers
Do you mean put ANDROID_MEMBAR_FULL() behind all dvmMalloc just like code in the following?
And Where is the memory free function in the garbage collection flow? thank you
static bool createInitialClasses() {
/*
* Initialize the class Class. This has to be done specially, particularly
* because it is an instance of itself.
*/
ClassObject* clazz = (ClassObject*)
dvmMalloc(classObjectSize(CLASS_SFIELD_SLOTS), ALLOC_NON_MOVING);
ANDROID_MEMBAR_FULL();
In my project I have a requirement to play live streaming video. I have seen many comments that "live streaming is supported only from 3.0" so that I have to use emulator 3.0. But it does not play. Can anybody help for me.. This is my code:
String SrcPath="http://akamedia2.lsops.net/live/smil:cnbc_en.smil/playlist.m3u8";
myVideoView = new VideoView(this);
myVideoView.setVideoURI(Uri.parse(SrcPath));
setContentView(myVideoView);
myVideoView.setMediaController(new MediaController(this));
myVideoView.requestFocus();
myVideoView.setOnErrorListener(new OnErrorListener() {
public boolean onError(MediaPlayer mp, int what, int extra) {
// TODO Auto-generated method stub
return false;
}
});
myVideoView.setOnPreparedListener(new OnPreparedListener() {
public void onPrepared(MediaPlayer mp) {
// TODO Auto-generated method stub
myVideoView.start();
}
});
The following logcat for this:
Generated scanline__00000177:03515104_00001002_00000000 [ 87 ipp] (110 ins) at [0x477ba6f0:0x477ba8a8] in 606126 ns
V/TLINE ( 360): new: android.text.TextLine#40643358
D/MediaPlayer( 360): Couldn't open file on client side, trying server side
I/ActivityManager( 65): Displayed com.leadapps.android/.LivestreamTest: +1s834ms
D/MediaPlayer( 360): getMetadata
E/MediaPlayerService( 33): getMetadata failed -38
I/LiveSession( 33): onConnect 'http://akamedia2.lsops.net/live/smil:cnbc_en.smil/playlist.m3u8'
I/NuHTTPDataSource( 33): connect to akamedia2.lsops.net:80/live/smil:cnbc_en.smil/playlist.m3u8 #0
D/dalvikvm( 144): GC_EXPLICIT freed 929K, 13% free 14528K/16583K, paused 3ms+3ms
I/NuHTTPDataSource( 33): connect to akamedia2.lsops.net:80/live/smil:cnbc_en.smil/chunklist-b33000.m3u8?wowzasessionid=1036169757 #0
I/NuHTTPDataSource( 33): connect to akamedia2.lsops.net:80/live/smil:cnbc_en.smil/media-b33000_7023.aac?wowzasessionid=1036169757 #0
E/LiveSession( 33): This doesn't look like a transport stream...
I/LiveSession( 33): Retrying with a different bandwidth stream.
I/NuHTTPDataSource( 33): connect to akamedia2.lsops.net:80/live/smil:cnbc_en.smil/chunklist-b120000.m3u8?wowzasessionid=1036169757 #0
I/NuHTTPDataSource( 33): connect to akamedia2.lsops.net:80/live/smil:cnbc_en.smil/media-b120000_7092.ts?wowzasessionid=1036169757 #0
D/dalvikvm( 192): GC_EXPLICIT freed 148K, 5% free 6720K/7047K, paused 4ms+4ms
I/NuHTTPDataSource( 33): connect to akamedia2.lsops.net:80/live/smil:cnbc_en.smil/media-b120000_7093.ts?wowzasessionid=1036169757 #0
I/avc_utils( 33): found AVC codec config (480 x 256, Baseline-profile level 3.0)
I/ESQueue ( 33): found AAC codec config (24000 Hz, 1 channels)
F/ACodec ( 33): frameworks/base/media/libstagefright/ACodec.cpp:1594 CHECK_EQ( omx->allocateNode(componentName.c_str(), observer, &node),(status_t)OK) failed: -2147483648 vs. 0
I/DEBUG ( 31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 31): Build fingerprint: 'generic/sdk/generic:3.0/HONEYCOMB/104254:eng/test-keys'
I/DEBUG ( 31): pid: 33, tid: 371 >>> /system/bin/mediaserver <<<
I/DEBUG ( 31): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 31): r0 deadbaad r1 0000000c r2 00000027 r3 00000000
I/DEBUG ( 31): r4 00000080 r5 aff46658 r6 40706d3c r7 00000000
I/DEBUG ( 31): r8 a801c211 r9 00013000 10 00100000 fp 00000001
I/DEBUG ( 31): ip ffffffff sp 407068e0 lr aff193e9 pc aff15f58 cpsr 00000030
I/DEBUG ( 31): #00 pc 00015f58 /system/lib/libc.so
I/DEBUG ( 31): #01 pc 00001466 /system/lib/liblog.so (__android_log_assert)
I/DEBUG ( 31): #02 pc 00008d90 /system/lib/libstagefright_omx.so (_ZN7android3OMX18CallbackDispatcherC1EPNS_15OMXNodeInstanceE)
I/DEBUG ( 31):
I/DEBUG ( 31): libc base address: aff00000
I/DEBUG ( 31):
I/DEBUG ( 31): code around pc:
I/DEBUG ( 31): aff15f38 68241c23 d1fb2c00 68dae027 d0042a00
I/DEBUG ( 31): aff15f48 20014d18 6028447d 48174790 24802227
I/DEBUG ( 31): aff15f58 f7f57002 2106ea02 eb6ef7f6 0563aa01
I/DEBUG ( 31): aff15f68 60932100 91016051 1c112006 eed4f7f5
I/DEBUG ( 31): aff15f78 2200a905 f7f52002 f7f5eee0 2106e9ee
I/DEBUG ( 31):
I/DEBUG ( 31): code around lr:
I/DEBUG ( 31): aff193c8 b0834a0d 589c447b 26009001 686768a5
I/DEBUG ( 31): aff193d8 220ce008 2b005eab 1c28d003 47889901
I/DEBUG ( 31): aff193e8 35544306 d5f43f01 2c006824 b003d1ee
I/DEBUG ( 31): aff193f8 bdf01c30 00028168 ffffff8c 1c0fb5f0
I/DEBUG ( 31): aff19408 43551c3d a904b087 1c16ac01 604d9004
I/DEBUG ( 31):
I/DEBUG ( 31): stack:
I/DEBUG ( 31): 407068a0 00100000
I/DEBUG ( 31): 407068a4 0000035f
I/DEBUG ( 31): 407068a8 aff416f0 /system/lib/libc.so
I/DEBUG ( 31): 407068ac aff41690 /system/lib/libc.so
I/DEBUG ( 31): 407068b0 00000000
I/DEBUG ( 31): 407068b4 aff193e9 /system/lib/libc.so
I/DEBUG ( 31): 407068b8 00000009
I/DEBUG ( 31): 407068bc aff18459 /system/lib/libc.so
I/DEBUG ( 31): 407068c0 afc01199 /system/lib/liblog.so
I/DEBUG ( 31): 407068c4 00000000
I/DEBUG ( 31): 407068c8 aff46658
I/DEBUG ( 31): 407068cc 40706d3c
I/DEBUG ( 31): 407068d0 00000000
I/DEBUG ( 31): 407068d4 aff186e7 /system/lib/libc.so
I/DEBUG ( 31): 407068d8 df002777
I/DEBUG ( 31): 407068dc e3a070ad
I/DEBUG ( 31): #00 407068e0 407068dc
I/DEBUG ( 31): 407068e4 00000001
I/DEBUG ( 31): 407068e8 a2c386b7 /system/lib/libstagefright.so
I/DEBUG ( 31): 407068ec 00000007
I/DEBUG ( 31): 407068f0 40706914
I/DEBUG ( 31): 407068f4 fffffbdf
I/DEBUG ( 31): 407068f8 00000000
I/DEBUG ( 31): 407068fc a2c386b7 /system/lib/libstagefright.so
I/DEBUG ( 31): 40706900 00000080
I/DEBUG ( 31): 40706904 afc01469 /system/lib/liblog.so
I/DEBUG ( 31): #01 40706908 a2c386b7 /system/lib/libstagefright.so
I/DEBUG ( 31): 4070690c afc01469 /system/lib/liblog.so
I/DEBUG ( 31): 40706910 40706d2c
I/DEBUG ( 31): 40706914 6d617266
I/DEBUG ( 31): 40706918 726f7765
I/DEBUG ( 31): 4070691c 622f736b
I/DEBUG ( 31): 40706920 2f657361
I/DEBUG ( 31): 40706924 6964656d
I/DEBUG ( 31): 40706928 696c2f61
I/DEBUG ( 31): 4070692c 61747362
I/DEBUG ( 31): 40706930 72666567
I/DEBUG ( 31): 40706934 74686769
I/DEBUG ( 31): 40706938 6f43412f
I/DEBUG ( 31): 4070693c 2e636564
I/DEBUG ( 31): 40706940 3a707063
I/DEBUG ( 31): 40706944 34393531
I/DEBUG ( 31): 40706948 45484320
I/DEBUG ( 31): 4070694c 455f4b43
I/DEBUG ( 31): 40706950 6f202851
I/DEBUG ( 31): 40706954 3e2d786d
I/DEBUG ( 31): 40706958 6f6c6c61
I/DEBUG ( 31): 4070695c 65746163
I/DEBUG ( 31): 40706960 65646f4e
I/DEBUG ( 31): 40706964 6d6f6328
I/DEBUG ( 31): 40706968 656e6f70
I/DEBUG ( 31): 4070696c 614e746e
I/DEBUG ( 31): 40706970 632e656d
I/DEBUG ( 31): 40706974 7274735f
I/DEBUG ( 31): 40706978 202c2928
I/DEBUG ( 31): 4070697c 6573626f
I/DEBUG ( 31): 40706980 72657672
I/DEBUG ( 31): 40706984 6e26202c
I/DEBUG ( 31): 40706988 2965646f
I/DEBUG ( 31): 4070698c 7473282c
I/DEBUG ( 31): 40706990 73757461
I/DEBUG ( 31): 40706994 4f29745f
I/DEBUG ( 31): 40706998 6620294b
I/DEBUG ( 31): 4070699c 656c6961
I/DEBUG ( 31): 407069a0 2d203a64
I/DEBUG ( 31): 407069a4 37343132
I/DEBUG ( 31): 407069a8 36333834
I/DEBUG ( 31): 407069ac 76203834
I/DEBUG ( 31): 407069b0 30202e73
I/DEBUG ( 31): 407069b4 00000000
I/DEBUG ( 31): 407069b8 40706a40
I/DEBUG ( 31): 407069bc 00000000
I/DEBUG ( 31): 407069c0 ffffffff
I/DEBUG ( 31): 407069c4 b00094e8 /system/bin/linker
I/DEBUG ( 31): 407069c8 00000000
I/DEBUG ( 31): 407069cc 00000000
I/DEBUG ( 31): 407069d0 a801c211 /system/lib/libutils.so
I/DEBUG ( 31): 407069d4 407069d4
I/DEBUG ( 31): 407069d8 b00053d1 /system/bin/linker
I/DEBUG ( 31): 407069dc b000a04c
I/DEBUG ( 31): 407069e0 b000a087
I/DEBUG ( 31): 407069e4 b000a34b
I/DEBUG ( 31): 407069e8 0000003b
I/DEBUG ( 31): 407069ec 40706a34
I/DEBUG ( 31): 407069f0 00000002
I/DEBUG ( 31): 407069f4 38303131
I/DEBUG ( 31): 407069f8 00000000
I/DEBUG ( 31): 407069fc 80008e83 /system/lib/libstagefright_foundation.so
I/DEBUG ( 31): 40706a00 00000000
I/DEBUG ( 31): 40706a04 00000001
I/DEBUG ( 31): 40706a08 00000003
I/DEBUG ( 31): 40706a0c 40706b80
I/DEBUG ( 31): 40706a10 00000070
I/DEBUG ( 31): 40706a14 00000000
I/DEBUG ( 31): 40706a18 40706aa8
I/DEBUG ( 31): 40706a1c 000000c0
I/DEBUG ( 31): 40706a20 b000952c /system/bin/linker
I/DEBUG ( 31): 40706a24 00000454
I/DEBUG ( 31): 40706a28 40706a8c
I/DEBUG ( 31): 40706a2c b0004c35 /system/bin/linker
I/DEBUG ( 31): 40706a30 b0007120 /system/bin/linker
I/DEBUG ( 31): 40706a34 b0006bb8 /system/bin/linker
I/DEBUG ( 31): 40706a38 00000454
I/DEBUG ( 31): 40706a3c a300b042 /system/lib/libstagefright_omx.so
I/DEBUG ( 31): 40706a40 00000018
I/DEBUG ( 31): 40706a44 40706b80
I/DEBUG ( 31): 40706a48 00000003
I/DEBUG ( 31): 40706a4c 8000595b /system/lib/libstagefright_foundation.so
I/DEBUG ( 31): 40706a50 40706b80
I/DEBUG ( 31): 40706a54 40706a9c
I/DEBUG ( 31): 40706a58 00000003
I/DEBUG ( 31): 40706a5c a2c25f9d /system/lib/libstagefright.so
I/DEBUG ( 31): 40706a60 ffffffff
I/DEBUG ( 31): 40706a64 00000000
I/DEBUG ( 31): 40706a68 4089501b
I/DEBUG ( 31): 40706a6c b00094e8 /system/bin/linker
I/DEBUG ( 31): 40706a70 a78e7cd8
I/DEBUG ( 31): 40706a74 00000000
I/DEBUG ( 31): 40706a78 a78e7cd8
I/DEBUG ( 31): 40706a7c 00000000
I/DEBUG ( 31): 40706a80 000005f8
I/DEBUG ( 31): 40706a84 00000002
I/DEBUG ( 31): 40706a88 0001c2c0 [heap]
I/DEBUG ( 31): 40706a8c 7379732f
I/DEBUG ( 31): 40706a90 2f6d6574
I/DEBUG ( 31): 40706a94 2f62696c
I/DEBUG ( 31): 40706a98 7362696c
I/DEBUG ( 31): 40706a9c 65676174
I/DEBUG ( 31): 40706aa0 67697266
I/DEBUG ( 31): 40706aa4 77687468
I/DEBUG ( 31): 40706aa8 006f732e
I/DEBUG ( 31): 40706aac afb04a3c /system/lib/libcutils.so
I/DEBUG ( 31): 40706ab0 0000f438 [heap]
I/DEBUG ( 31): 40706ab4 40706afc
I/DEBUG ( 31): 40706ab8 00000009
I/DEBUG ( 31): 40706abc a8015049 /system/lib/libutils.so
I/DEBUG ( 31): 40706ac0 0000f428 [heap]
I/DEBUG ( 31): 40706ac4 0000f438 [heap]
I/DEBUG ( 31): 40706ac8 00000009
I/DEBUG ( 31): 40706acc a8015165 /system/lib/libutils.so
I/DEBUG ( 31): 40706ad0 0000f3d8 [heap]
I/DEBUG ( 31): 40706ad4 40706afc
I/DEBUG ( 31): 40706ad8 fffffffc
I/DEBUG ( 31): 40706adc 00000000
I/DEBUG ( 31): 40706ae0 40706afc
I/DEBUG ( 31): 40706ae4 a81147b5 /system/lib/libbinder.so
I/DEBUG ( 31): 40706ae8 40706c48
I/DEBUG ( 31): 40706aec a811a575 /system/lib/libbinder.so
I/DEBUG ( 31): 40706af0 00000030
I/DEBUG ( 31): 40706af4 00000000
I/DEBUG ( 31): 40706af8 00024230 [heap]
I/DEBUG ( 31): 40706afc 0000f3d8 [heap]
I/DEBUG ( 31): 40706b00 40706b18
I/DEBUG ( 31): 40706b04 40706c48
I/DEBUG ( 31): 40706b08 00000000
I/DEBUG ( 31): 40706b0c 40009028 /dev/binder
I/DEBUG ( 31): 40706b10 40009038 /dev/binder
I/DEBUG ( 31): 40706b14 a811a5a1 /system/lib/libbinder.so
I/DEBUG ( 31): 40706b18 00000000
I/DEBUG ( 31): 40706b1c a801c211 /system/lib/libutils.so
I/DEBUG ( 31): 40706b20 40706c48
I/DEBUG ( 31): 40706b24 00000010
I/DEBUG ( 31): 40706b28 40009028 /dev/binder
I/DEBUG ( 31): 40706b2c a811a5fb /system/lib/libbinder.so
I/DEBUG ( 31): 40706b30 40009038 /dev/binder
I/DEBUG ( 31): 40706b34 00000000
I/DEBUG ( 31): 40706b38 ffffff20
I/DEBUG ( 31): 40706b3c a8123204 /system/lib/libbinder.so
I/DEBUG ( 31): 40706b40 000241d0 [heap]
I/DEBUG ( 31): 40706b44 a81165b7 /system/lib/libbinder.so
I/DEBUG ( 31): 40706b48 00000001
I/DEBUG ( 31): 40706b4c a81164c1 /system/lib/libbinder.so
I/DEBUG ( 31): 40706b50 000241d0 [heap]
I/DEBUG ( 31): 40706b54 a8123204 /system/lib/libbinder.so
I/DEBUG ( 31): 40706b58 40706c78
I/DEBUG ( 31): 40706b5c 000241d0 [heap]
I/DEBUG ( 31): 40706b60 00024200 [heap]
I/DEBUG ( 31): 40706b64 40706c48
I/DEBUG ( 31): 40706b68 00000060
I/DEBUG ( 31): 40706b6c 00000000
I/DEBUG ( 31): 40706b70 00000000
I/DEBUG ( 31): 40706b74 00000000
I/DEBUG ( 31): 40706b78 00000000
I/DEBUG ( 31): 40706b7c 00000000
I/DEBUG ( 31): 40706b80 000003e8
I/DEBUG ( 31): 40706b84 00000010
I/DEBUG ( 31): 40706b88 00000004
I/DEBUG ( 31): 40706b8c 40009028 /dev/binder
I/DEBUG ( 31): 40706b90 40009038 /dev/binder
I/DEBUG ( 31): 40706b94 4ab3df53
I/DEBUG ( 31): 40706b98 00000009
I/DEBUG ( 31): 40706b9c 0000f43c [heap]
I/DEBUG ( 31): 40706ba0 ffffffff
I/DEBUG ( 31): 40706ba4 40706bfc
I/DEBUG ( 31): 40706ba8 a801c211 /system/lib/libutils.so
I/DEBUG ( 31): 40706bac afb04a3c /system/lib/libcutils.so
I/DEBUG ( 31): 40706bb0 0000f438 [heap]
I/DEBUG ( 31): 40706bb4 40706bfc
I/DEBUG ( 31): 40706bb8 0000003b
I/DEBUG ( 31): 40706bbc 0000003b
I/DEBUG ( 31): 40706bc0 b000a04c
I/DEBUG ( 31): 40706bc4 a801c211 /system/lib/libutils.so
I/DEBUG ( 31): 40706bc8 00013000 [heap]
I/DEBUG ( 31): 40706bcc 00100000
I/DEBUG ( 31): 40706bd0 00000001
I/DEBUG ( 31): 40706bd4 b00120d9
I/DEBUG ( 31): 40706bd8 40706c2c
I/DEBUG ( 31): 40706bdc b0005405 /system/bin/linker
I/DEBUG ( 31): 40706be0 b00053d1 /system/bin/linker
I/DEBUG ( 31): 40706be4 00000006
I/DEBUG ( 31): 40706be8 00000000
I/DEBUG ( 31): 40706bec aff10ed4 /system/lib/libc.so
I/DEBUG ( 31): 40706bf0 00000000
I/DEBUG ( 31): 40706bf4 aff10ed4 /system/lib/libc.so
I/DEBUG ( 31): 40706bf8 00000033
I/DEBUG ( 31): 40706bfc 000245d8 [heap]
I/DEBUG ( 31): 40706c00 000001b4
I/DEBUG ( 31): 40706c04 c0000000
I/DEBUG ( 31): 40706c08 a801c211 /system/lib/libutils.so
I/DEBUG ( 31): 40706c0c 00013000 [heap]
I/DEBUG ( 31): 40706c10 00100000
I/DEBUG ( 31): 40706c14 aff1402b /system/lib/libc.so
I/DEBUG ( 31): 40706c18 000001b4
I/DEBUG ( 31): 40706c1c c0000000
I/DEBUG ( 31): 40706c20 00000000
I/DEBUG ( 31): 40706c24 aff10ed4 /system/lib/libc.so
I/DEBUG ( 31): 40706c28 000000da
I/DEBUG ( 31): 40706c2c 00007a08
I/DEBUG ( 31): 40706c30 000001b4
I/DEBUG ( 31): 40706c34 c0000000
I/DEBUG ( 31): 40706c38 a801c211 /system/lib/libutils.so
I/DEBUG ( 31): 40706c3c 00013000 [heap]
I/DEBUG ( 31): 40706c40 00100000
I/DEBUG ( 31): 40706c44 aff12d45 /system/lib/libc.so
I/DEBUG ( 31): 40706c48 00000000
I/DEBUG ( 31): 40706c4c aff10ed4 /system/lib/libc.so
I/DEBUG ( 31): 40706c50 00000013
I/DEBUG ( 31): 40706c54 000245a8 [heap]
I/DEBUG ( 31): 40706c58 300001b4
I/DEBUG ( 31): 40706c5c 4ab3df53
I/DEBUG ( 31): 40706c60 a801c211 /system/lib/libutils.so
I/DEBUG ( 31): 40706c64 00000000
I/DEBUG ( 31): 40706c68 00000000
I/DEBUG ( 31): 40706c6c aff10ed4 /system/lib/libc.so
I/DEBUG ( 31): 40706c70 00000013
I/DEBUG ( 31): 40706c74 000245d0 [heap]
I/DEBUG ( 31): 40706c78 000001b4
I/DEBUG ( 31): 40706c7c c0000000
I/DEBUG ( 31): 40706c80 a801c211 /system/lib/libutils.so
I/DEBUG ( 31): 40706c84 00013000 [heap]
I/DEBUG ( 31): 40706c88 00100000
I/DEBUG ( 31): 40706c8c aff1402b /system/lib/libc.so
I/DEBUG ( 31): 40706c90 7fffffff
I/DEBUG ( 31): 40706c94 00000020
I/DEBUG ( 31): 40706c98 a801c211 /system/lib/libutils.so
I/DEBUG ( 31): 40706c9c 00013000 [heap]
I/DEBUG ( 31): 40706ca0 00000000
I/DEBUG ( 31): 40706ca4 aff10ed4 /system/lib/libc.so
I/DEBUG ( 31): 40706ca8 000245c8 [heap]
I/DEBUG ( 31): 40706cac 000245c8 [heap]
I/DEBUG ( 31): 40706cb0 00000010
I/DEBUG ( 31): 40706cb4 000000a0
I/DEBUG ( 31): 40706cb8 00000000
I/DEBUG ( 31): 40706cbc aff10ed4 /system/lib/libc.so
I/DEBUG ( 31): 40706cc0 000245c8 [heap]
I/DEBUG ( 31): 40706cc4 000245c8 [heap]
I/DEBUG ( 31): 40706cc8 000000a8
I/DEBUG ( 31): 40706ccc 000000c0
I/DEBUG ( 31): 40706cd0 a801c211 /system/lib/libutils.so
I/DEBUG ( 31): 40706cd4 00013000 [heap]
I/DEBUG ( 31): 40706cd8 00100000
I/DEBUG ( 31): 40706cdc aff14461 /system/lib/libc.so
I/DEBUG ( 31): 40706ce0 00000000
I/DEBUG ( 31): 40706ce4 000245d0 [heap]
I/DEBUG ( 31): 40706ce8 00000011
I/DEBUG ( 31): 40706cec 000245a8 [heap]
I/DEBUG ( 31): 40706cf0 00000000
I/DEBUG ( 31): 40706cf4 a801c211 /system/lib/libutils.so
I/DEBUG ( 31): 40706cf8 00013000 [heap]
I/DEBUG ( 31): 40706cfc 00100000
I/DEBUG ( 31): 40706d00 00000001
I/DEBUG ( 31): 40706d04 0002465f [heap]
I/DEBUG ( 31): 40706d08 40706d3c
I/DEBUG ( 31): 40706d0c 8000774b /system/lib/libstagefright_foundation.so
I/DEBUG ( 31): 40706d10 40706d48
I/DEBUG ( 31): 40706d14 4ab3df53
I/DEBUG ( 31): 40706d18 000245a8 [heap]
I/DEBUG ( 31): 40706d1c a3008d95 /system/lib/libstagefright_omx.so
I/DEBUG ( 31): 40706d20 40706d48
I/DEBUG ( 31): 40706d24 a2b4d3a3 /system/lib/libstagefright.so
W/AudioSystem( 65): AudioPolicyService server died!
W/AudioSystem( 360): AudioFlinger server died!
W/IMediaDeathNotifier( 360): media server died
E/MediaPlayer( 360): error (100, 0)
E/MediaPlayer( 360): Error (100,0)
D/VideoView( 360): Error: 100,0
I/ee ( 360): ==============100
W/AudioSystem( 131): AudioFlinger server died!
W/AudioSystem( 131): AudioPolicyService server died!
I/ServiceManager( 28): service 'media.audio_flinger' died
I/ServiceManager( 28): service 'media.player' died
I/ServiceManager( 28): service 'media.camera' died
I/ServiceManager( 28): service 'media.audio_policy' died
I/BootReceiver( 65): Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
D/dalvikvm( 360): GC_FOR_ALLOC freed 62K, 3% free 6407K/6599K, paused 124ms
String SrcPath="http://akamedia2.lsops.net/live/smil:cnbc_en.smil/playlist.m3u8";
myVideoView = new VideoView(this);
myVideoView.setVideoURI(Uri.parse(SrcPath));
setContentView(myVideoView);
myVideoView.setMediaController(new MediaController(this));
myVideoView.requestFocus();
Remove this line.
myVideoView.requestFocus();
According to some threads, you should use httplive:// scheme for version 2.3 and 3.0 and the http:// scheme for 3.0+: How to play m3u8 on Android?
It worked on my 2.3 device but I'm not sure if it wold work on an emulator. Moreover, I made it work using the m3u8 test URI ( http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8 ) of apple. I can't still make it work using the my own URI.
User of my Android app says that it's crashing, without the force close dialog - the Activity just disappears and homescreen is shown. He sent this error log, what does it mean?
I/DEBUG ( 1337): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1337): Build fingerprint: 'verizon/inc/inc/inc:2.1-update1/ERE27/161494:user/release-keys'
I/DEBUG ( 1337): pid: 13046, tid: 13059 >>> cz.fhejl.pubtran <<<
I/DEBUG ( 1337): signal 11 (SIGSEGV), fault addr 0000000b
I/DEBUG ( 1337): r0 00000003 r1 000000ab r2 00000008 r3 00000002
I/DEBUG ( 1337): r4 46d29d3e r5 43057f08 r6 4730cca8 r7 00000846
I/DEBUG ( 1337): r8 ad0100c0 r9 00000008 10 45052698 fp 003722a0
I/DEBUG ( 1337): ip 00000046 sp 4730cc68 lr ad014bb8 pc ad01125c cpsr 20000010
I/DEBUG ( 1337): #00 pc 0001125c /system/lib/libdvm.so
I/DEBUG ( 1337): #01 pc 0001ac10 /system/lib/libdvm.so
I/DEBUG ( 1337): #02 pc 0001a0c4 /system/lib/libdvm.so
I/DEBUG ( 1337): #03 pc 00050fe0 /system/lib/libdvm.so
I/DEBUG ( 1337): #04 pc 00051012 /system/lib/libdvm.so
I/DEBUG ( 1337): #05 pc 00045598 /system/lib/libdvm.so
I/DEBUG ( 1337): #06 pc 00010010 /system/lib/libc.so
I/DEBUG ( 1337): #07 pc 0000fae4 /system/lib/libc.so
I/DEBUG ( 1337):
I/DEBUG ( 1337): code around pc:
I/DEBUG ( 1337): ad01124c e7950102 e7951103 e3500000 0a000f66
I/DEBUG ( 1337): ad01125c e5903008 e0800101 e1510003 2a000f49
I/DEBUG ( 1337): ad01126c e1f470b4 e5902010 e207c0ff e7852109
I/DEBUG ( 1337):
I/DEBUG ( 1337): code around lr:
I/DEBUG ( 1337): ad014ba8 112fff10 ea000003 e1a00004 fa01340e
I/DEBUG ( 1337): ad014bb8 e3500000 112fff10 e5054008 e24f800c
I/DEBUG ( 1337): ad014bc8 e2488c4b e1d470b0 e5960038 e3500000
I/DEBUG ( 1337):
I/DEBUG ( 1337): stack:
I/DEBUG ( 1337): 4730cc28 000003a0
I/DEBUG ( 1337): 4730cc2c 4513aca8 /dev/ashmem/mspace/dalvik-heap/2 (deleted)
I/DEBUG ( 1337): 4730cc30 00000018
I/DEBUG ( 1337): 4730cc34 ad01859c /system/lib/libdvm.so
I/DEBUG ( 1337): 4730cc38 40036740 /dev/ashmem/mspace/dalvik-heap/zygote/0 (deleted)
I/DEBUG ( 1337): 4730cc3c 43057f08
I/DEBUG ( 1337): 4730cc40 ad08b368 /system/lib/libdvm.so
I/DEBUG ( 1337): 4730cc44 00000322
I/DEBUG ( 1337): 4730cc48 ad0100c0 /system/lib/libdvm.so
I/DEBUG ( 1337): 4730cc4c 46d29c32 /data/dalvik-cache/data#app#cz.fhejl.pubtran.apk#classes.dex
I/DEBUG ( 1337): 4730cc50 45052698 /dev/ashmem/mspace/dalvik-heap/2 (deleted)
I/DEBUG ( 1337): 4730cc54 ad046099 /system/lib/libdvm.so
I/DEBUG ( 1337): 4730cc58 46d29c32 /data/dalvik-cache/data#app#cz.fhejl.pubtran.apk#classes.dex
I/DEBUG ( 1337): 4730cc5c 46d29d38 /data/dalvik-cache/data#app#cz.fhejl.pubtran.apk#classes.dex
I/DEBUG ( 1337): 4730cc60 df002777
I/DEBUG ( 1337): 4730cc64 e3a070ad
I/DEBUG ( 1337): #00 4730cc68 00000000
I/DEBUG ( 1337): 4730cc6c 4730cca8
I/DEBUG ( 1337): 4730cc70 00015fc8 [heap]
I/DEBUG ( 1337): 4730cc74 ad01aba8 /system/lib/libdvm.so
I/DEBUG ( 1337): 4730cc78 43057fe4
I/DEBUG ( 1337): 4730cc7c ad08ddc8 /system/lib/libdvm.so
I/DEBUG ( 1337): 4730cc80 4730ced8
I/DEBUG ( 1337): 4730cc84 429ee550 /data/dalvik-cache/system#framework#framework.jar#classes.dex
I/DEBUG ( 1337): 4730cc88 003722a0 [heap]
I/DEBUG ( 1337): 4730cc8c ad01ac14 /system/lib/libdvm.so
I/DEBUG ( 1337): #01 4730cc90 003722a0 [heap]
I/DEBUG ( 1337): 4730cc94 4730cca8
I/DEBUG ( 1337): 4730cc98 ad01aba8 /system/lib/libdvm.so
I/DEBUG ( 1337): 4730cc9c ad01a0c8 /system/lib/libdvm.so
This is log output, after the moment it crashes. My app doesn't use NDK, it uses Android Library Project and I'm loading some classes via Class.forName(...).
It's crashing inside the Dalvik VM. I'm not able to decode the stack trace (private verizon build). A fault address of 0000000b doesn't sound like a null pointer dereference... maybe a data structure inside the VM got corrupted?
Has this been run on a variety of devices and only this one has a problem? Do you know if other people with the same device have this issue? I'm wondering if something got corrupted, and uninstall/reinstall of your app would help.