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();
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 am creating new android app using cordova. My app was crashed on Galaxy S3 device. If i click link button on home page, it will crashed. Here i added the issue details. How to solve this issue. Please guide me.
I am using cordova version is 3.6.4.
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/d2tmo/d2tmo:4.3/JSS15J/T999UVUENC2:user/release-keys'
Revision: '16'
pid: 18307, tid: 18320, name: WebViewCoreThre >>> com.rcs.rcs <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
Abort message: '### ABORTING: heap corruption detected by tmalloc_large'
r0 00000027 r1 00000000 r2 00000008 r3 deadbaad
r4 00000000 r5 5e8c0754 r6 5f752340 r7 5f752340
r8 417dc000 r9 00000001 sl 000020ef fp 5e8c0c84
ip 00000001 sp 5e8c0750 lr 400e4497 pc 400e19b8 cpsr 60000030
d0 524f424120404040 d1 6568203a474e4954
d2 7572726f63207061 d3 6564206e6f697470
d4 4061db6db7281fda d5 000002d044870000
d6 4434000044340000 d7 4499c000000004ce
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000000000000 d17 0000000000000000
d18 bf847ae147ae147b d19 0000000500000009
d20 0000000100000001 d21 0000000000000000
d22 42ea000042ea0000 d23 41500000441c8000
d24 0000381f0000381f d25 00003aed00003b86
d26 3a3b38383a3b3d39 d27 262928282a2b2c26
d28 1b1d19191b1a1b16 d29 ffffffffffffffff
d30 00008800ffff4d00 d31 e92d4000ffff1d80
scr 60000013
backtrace:
#00 pc 0001e9b8 /system/lib/libc.so
#01 pc 0001c914 /system/lib/libc.so (abort+4)
#02 pc 00012495 /system/lib/libc.so
#03 pc 0000ebb9 /system/lib/libc.so
#04 pc 0000fa87 /system/lib/libc.so (dlmalloc+606)
#05 pc 0000dc53 /system/lib/libc.so (malloc+10)
#06 pc 0000091b /system/lib/libstdc++.so (operator new(unsigned int)+2)
#07 pc 00291b79 /system/lib/libwebcore.so
#08 pc 00291c41 /system/lib/libwebcore.so
#09 pc 00291c79 /system/lib/libwebcore.so
#10 pc 00020b4c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#11 pc 000516ab /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#12 pc 00029fe0 /system/lib/libdvm.so
#13 pc 0002e9a4 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#14 pc 0006382d /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+292)
#15 pc 00063857 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
#16 pc 000585bb /system/lib/libdvm.so
#17 pc 0000cc60 /system/lib/libc.so (__thread_entry+72)
#18 pc 0000cddc /system/lib/libc.so (pthread_create+208)
code around pc:
400e1998 461ce00b 2b006823 e026d1fb b12468e4
400e19a8 21014a18 6011447a 4b1247a0 24002027
400e19b8 f7fc7018 2106edcc e832f7fe 5180f04f
400e19c8 a9029104 94022006 9403460a ebcef7fd
400e19d8 46224629 f7fd2002 f7fcebda 2106edb8
400e19e8 e81ef7fe f7fc2001 6960ea64 d1dc2800
400e19f8 bf00e7d4 deadbaad 00029660 ffffff9c
400e1a08 0002c904 0002c8e8 2400b510 aa04b088
400e1a18 46699002 94014620 94039400 eb1cf7fd
400e1a28 db0642a0 b1139b07 1c419806 98069106
400e1a38 4620e000 bd10b008 4b1eb40e b082b5f0
400e1a48 447b491d f107af00 585e021c f8522101
400e1a58 68354b04 f852607d 31015b04 d1fa2d00
400e1a68 320e008a 0507f022 0220f107 0d05ebad
400e1a78 f107603a 46690224 9400466d 4c04f852
400e1a88 f8453204 2c004f04 f8dfd1f8 f853c030
code around lr:
400e4474 4a0e4b0d e92d447b 260041f0 4680589c
400e4484 686768a5 f9b5e007 2b00300c 4628dd02
400e4494 430647c0 3f013554 6824d5f5 d1ef2c00
400e44a4 e8bd4630 bf0081f0 00026b5c ffffffc4
400e44b4 43f0e92d fb01461e 4b16f502 4916460f
400e44c4 447bb087 aa014614 20019001 95029203
400e44d4 90049505 681a585b b1124698 f0094630
400e44e4 4630fd4a f7ffa903 4681fe9c 0000f8d8
400e44f4 4630b110 fd4cf009 0f00f1b9 9c05d005
400e4504 1b284639 ec4ef017 46204604 e8bdb007
400e4514 bf0083f0 00026b0e ffffff60 46036842
400e4524 60411e51 da012900 bbbcf000 f8126802
400e4534 601a0b01 00004770 4a104b0f b570447b
400e4544 589b4604 461e6819 f009b109 6860fd14
400e4554 60651e45 da042d00 f0004620 4605fba3
400e4564 6822e003 5b01f812 68336022 4620b113
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
A couple days ago I installed the Android SDK on my work laptop. I created an AVD for 4.0.3. I ran it with proxy information on the command line. When it started up I ran the browser app and it successfully displayed the Google home page. I then clicked in the URL field of the browser app and entered a public host name that's associated with a web site, and pressed Enter on my PC keyboard. The result is that the browser app just exited back to the home screen. I tried a couple of different hostnames (www.cnn.com was one of them), with the same result.
What am I missing?
The logcat output that I get right about when I press Enter on the new URL is the following:
I/ActivityThread( 485): Pub com.android.quicksearchbox.google:com.android.quicksearchbox.google.GoogleSuggestionProvider
I/ActivityThread( 485): Pub com.android.quicksearchbox.shortcuts: com.android.quicksearchbox.ShortcutsProvider
D/dalvikvm( 444): GC_CONCURRENT freed 243K, 4% free 10706K/11079K, paused 5ms+5ms
D/dalvikvm( 132): GC_CONCURRENT freed 374K, 30% free 9903K/14023K, paused 5ms+14ms
F/libc ( 444): Fatal signal 11 (SIGSEGV) at 0x0000001c (code=1)
I/DEBUG ( 34): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 34): Build fingerprint: 'generic/sdk/generic:4.0.4/MR1/302030:eng/test-keys'
I/DEBUG ( 34): pid: 444, tid: 468 >>> com.android.browser <<<
I/DEBUG ( 34): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000001c
I/DEBUG ( 34): r0 00000000 r1 4a19845c r2 00000000 r3 003d3ba8
I/DEBUG ( 34): r4 002fdac0 r5 00000000 r6 4a198480 r7 ffffffff
I/DEBUG ( 34): r8 00000001 r9 00000001 10 00192110 fp 4a198c04
I/DEBUG ( 34): ip 48696d20 sp 4a198428 lr 482e66df pc 482e55d2 cpsr 60000030
I/DEBUG ( 34): d0 00000000cf000000 d1 0000000000000000
I/DEBUG ( 34): d2 3ff0000000000000 d3 0000000000000000
I/DEBUG ( 34): d4 01e1338000000000 d5 4129f23400000000
I/DEBUG ( 34): d6 0000000000000000 d7 0000000000000000
I/DEBUG ( 34): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 34): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 34): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 34): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 34): scr 60000013
I/DEBUG ( 34):
I/DEBUG ( 34): #00 pc 003865d2 /system/lib/libwebcore.so
I/DEBUG ( 34): #01 pc 003876da /system/lib/libwebcore.so
I/DEBUG ( 34): #02 pc 00387aa6 /system/lib/libwebcore.so
I/DEBUG ( 34): #03 pc 00172072 /system/lib/libwebcore.so
I/DEBUG ( 34): #04 pc 00161898 /system/lib/libwebcore.so
I/DEBUG ( 34): #05 pc 00165dc2 /system/lib/libwebcore.so
I/DEBUG ( 34): #06 pc 0016b6ba /system/lib/libwebcore.so
I/DEBUG ( 34): #07 pc 0016ef24 /system/lib/libwebcore.so
I/DEBUG ( 34): #08 pc 0016ede0 /system/lib/libwebcore.so
I/DEBUG ( 34): #09 pc 0016191c /system/lib/libwebcore.so
I/DEBUG ( 34): #10 pc 00164e30 /system/lib/libwebcore.so
I/DEBUG ( 34): #11 pc 00166fa2 /system/lib/libwebcore.so
I/DEBUG ( 34): #12 pc 001670ae /system/lib/libwebcore.so
I/DEBUG ( 34): #13 pc 0016cea6 /system/lib/libwebcore.so
I/DEBUG ( 34): #14 pc 0016d35a /system/lib/libwebcore.so
I/DEBUG ( 34): #15 pc 0026c0f2 /system/lib/libwebcore.so
I/DEBUG ( 34): #16 pc 0016d7f8 /system/lib/libwebcore.so
I/DEBUG ( 34): #17 pc 00167250 /system/lib/libwebcore.so
I/DEBUG ( 34): #18 pc 0016740a /system/lib/libwebcore.so
I/DEBUG ( 34): #19 pc 00167496 /system/lib/libwebcore.so
I/DEBUG ( 34): #20 pc 001674c2 /system/lib/libwebcore.so
I/DEBUG ( 34): #21 pc 0027bafe /system/lib/libwebcore.so
I/DEBUG ( 34): #22 pc 0001ec30 /system/lib/libdvm.so (dvmPlatformInvoke)
I/DEBUG ( 34): #23 pc 000590ce /system/lib/libdvm.so (_Z16dvmCallJNIMethodPKjP6JValuePK6MethodP6Thread)
I/DEBUG ( 34): #24 pc 0004cbe8 /system/lib/libdvm.so (_Z21dvmCheckCallJNIMethodPKjP6JValuePK6MethodP6Thread)
I/DEBUG ( 34): #25 pc 00030a4c /system/lib/libdvm.so
I/DEBUG ( 34): #26 pc 000341fc /system/lib/libdvm.so (_Z12dvmInterpretP6ThreadPK6MethodP6JValue)
I/DEBUG ( 34): #27 pc 0006ca8e /system/lib/libdvm.so (_Z14dvmCallMethodVP6ThreadPK6MethodP6ObjectbP6JValueSt9__va_list)
I/DEBUG ( 34): #28 pc 0006cab0 /system/lib/libdvm.so (_Z13dvmCallMethodP6ThreadPK6MethodP6ObjectP6JValuez)
I/DEBUG ( 34): #29 pc 0005fbd0 /system/lib/libdvm.so
I/DEBUG ( 34): #30 pc 00012e48 /system/lib/libc.so (__thread_entry)
I/DEBUG ( 34): #31 pc 00012998 /system/lib/libc.so (pthread_create)
I/DEBUG ( 34):
I/DEBUG ( 34): code around pc:
I/DEBUG ( 34): 482e55b0 ff1af59b 1d38e003 f617a909 9809fb11 ......8.........
I/DEBUG ( 34): 482e55c0 ff06f59b e8bdb00b bf008ff0 680bb507 ...............h
I/DEBUG ( 34): 482e55d0 61c32200 600a680b f841a902 f7ff3d04 .".a.h.`..A..=..
I/DEBUG ( 34): 482e55e0 9801ff43 fef4f59b bf00bd0e 4604b510 C..............F
I/DEBUG ( 34): 482e55f0 b1286840 30b0f890 4621b913 fa48f000 #h(....0..!F..H.
I/DEBUG ( 34):
I/DEBUG ( 34): code around lr:
I/DEBUG ( 34): 482e66bc 682380ac 685a4620 e0d44790 30bcf8d4 ..#h FZh.G.....0
I/DEBUG ( 34): 482e66cc a90ab153 f8416d60 f8c43d04 f7fe20bc S...`mA..=... ..
I/DEBUG ( 34): 482e66dc 9809ff77 fe76f59a 6d606be5 d1014285 w.....v..k`m.B..
I/DEBUG ( 34): 482e66ec e0022500 f5db4628 6d63ff4b 2200a90a .%..(F..K.cm..."
I/DEBUG ( 34): 482e66fc f8414620 65623d0c fb86f7ff f5e99807 FA..=be........
I/DEBUG ( 34):
I/DEBUG ( 34): stack:
I/DEBUG ( 34): 4a1983e8 00000005
I/DEBUG ( 34): 4a1983ec 001eb800 [heap]
I/DEBUG ( 34): 4a1983f0 48287dad /system/lib/libwebcore.so
I/DEBUG ( 34): 4a1983f4 0044edf0 [heap]
I/DEBUG ( 34): 4a1983f8 0048b9f0 [heap]
I/DEBUG ( 34): 4a1983fc 002c07a8 [heap]
I/DEBUG ( 34): 4a198400 002fdd20 [heap]
I/DEBUG ( 34): 4a198404 48082143 /system/lib/libwebcore.so
I/DEBUG ( 34): 4a198408 00000005
I/DEBUG ( 34): 4a19840c 48081ebd /system/lib/libwebcore.so
I/DEBUG ( 34): 4a198410 0048b9f0 [heap]
I/DEBUG ( 34): 4a198414 48287dad /system/lib/libwebcore.so
I/DEBUG ( 34): 4a198418 0044edf0 [heap]
I/DEBUG ( 34): 4a19841c 00000000
I/DEBUG ( 34): 4a198420 df0027ad
I/DEBUG ( 34): 4a198424 00000000
I/DEBUG ( 34): #00 4a198428 00000000
I/DEBUG ( 34): 4a19842c 4a19845c
I/DEBUG ( 34): 4a198430 00000000
I/DEBUG ( 34): 4a198434 482e66df /system/lib/libwebcore.so
I/DEBUG ( 34): #01 4a198438 00000001
I/DEBUG ( 34): 4a19843c 00000000
I/DEBUG ( 34): 4a198440 48287ea9 /system/lib/libwebcore.so
I/DEBUG ( 34): 4a198444 00000000
I/DEBUG ( 34): 4a198448 00000001
I/DEBUG ( 34): 4a19844c 482e5771 /system/lib/libwebcore.so
I/DEBUG ( 34): 4a198450 00000001
I/DEBUG ( 34): 4a198454 00000000
I/DEBUG ( 34): 4a198458 002fdac0 [heap]
I/DEBUG ( 34): 4a19845c 003d3ba8 [heap]
I/DEBUG ( 34): 4a198460 4a198480
I/DEBUG ( 34): 4a198464 002fdac0 [heap]
I/DEBUG ( 34): 4a198468 00000000
I/DEBUG ( 34): 4a19846c 4a198480
I/DEBUG ( 34): 4a198470 002b01a0 [heap]
I/DEBUG ( 34): 4a198474 482e6aab /system/lib/libwebcore.so
D/Zygote ( 37): Process 444 terminated by signal (11)
I/ActivityManager( 80): Process com.android.browser (pid 444) has died.
I/WindowManager( 80): WIN DEATH: Window{4158a718 com.android.browser/com.android.browser.BrowserActivity paused=false}
W/NetworkManagementSocketTagger( 80): setKernelCountSet(10002, 0) failed with errno -2
W/ActivityManager( 80): Force removing ActivityRecord{41402f88 com.android.browser/.BrowserActivity}: app died, no saved state
W/NetworkManagementSocketTagger( 80): setKernelCountSet(10013, 1) failed with errno -2
I/BootReceiver( 80): Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_TOMBSTONE)
D/dalvikvm( 80): GC_FOR_ALLOC freed 237K, 6% free 12091K/12743K, paused 104ms
D/dalvikvm( 80): GC_FOR_ALLOC freed 873K, 12% free 11461K/12999K, paused 107ms
I/Process ( 80): Sending signal. PID: 175 SIG: 3
I/dalvikvm( 175): threadid=3: reacting to signal 3
I/dalvikvm( 175): Wrote stack traces to '/data/anr/traces.txt'
W/InputManagerService( 80): Got RemoteException sending setActive(false) notification to pid 444 uid 10002
D/dalvikvm( 80): GC_CONCURRENT freed 318K, 11% free 11688K/12999K, paused 6ms+14ms
W/GoogleSearch( 485): Error
W/GoogleSearch( 485): java.net.SocketTimeoutException
W/GoogleSearch( 485): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:491)
You say that you "ran it with proxy information on the command line". I would recommend you to run the emulator normally without setting the proxy through command line.
e.g.
emulator -avd avdname -partition-size 1024
Later, after successful boot up of Android, go to Menu->Settings->Wireless & Networks->More->Mobile Networks->Access Point Names
Default configuration is "TelKila" on the emulator. Click on that and set the proxy, port etc here.
Now try to surf the internet and do share the result with us.
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.