[LG Optimus 2x] pastime1971:
debugging on android

does anyone know how to debug libwebcore.so ?

the source is cpp, but i don't know which one yet.

F/libc (11681): Fatal signal 11 ([B]SIGSEGV[/B]) at 0xbbadbeef (code=1)
I/DEBUG (11631): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG (11631): Build fingerprint: 'lge/lge_star/p990_EUR-xx:2.3.4/GRJ22/lgp990-V20l.422C563E:user/release-keys'
I/DEBUG (11631): pid: 11681, tid: 11681 >>> com.android.browser <<<
I/DEBUG (11631): signal 11 ([B]SIGSEGV[/B]), code 1 ([B]SEGV_MAPERR[/B]), fault addr bbadbeef
I/DEBUG (11631): r0 00000000 r1 00000000 r2 bbadbeef r3 00000505
I/DEBUG (11631): r4 001ac0f8 r5 3f800000 r6 0000001a r7 beaf0f10
I/DEBUG (11631): r8 00000de1 r9 00002601 10 998e70ac fp 41d3f0c8
I/DEBUG (11631): ip 400534c4 sp beaf0e98 lr 4f3ffef3 pc 4f3ffef6 cpsr 600f0030
I/DEBUG (11631): d0 3f8000000000812f d1 000000003f800000
I/DEBUG (11631): d2 00000000ba83126f d3 0000000000000000
I/DEBUG (11631): d4 bee5f36d00000000 d5 0000000000000000
I/DEBUG (11631): d6 7f7fffff00000000 d7 0000812fff7fffff
I/DEBUG (11631): d8 439ccccd439ccccd d9 3fdf58d100000000
I/DEBUG (11631): d10 4095d20000000000 d11 3ff3333333333333
I/DEBUG (11631): d12 0000000000000000 d13 0000000000000000
I/DEBUG (11631): d14 0000000000000000 d15 0000000000000000
I/DEBUG (11631): scr 60000017
I/DEBUG (11631):
I/DEBUG (11631): #00 pc 00415ef6 /system/lib/libwebcore.so
I/DEBUG (11631): #01 pc 00415f0a /system/lib/libwebcore.so
I/DEBUG (11631): #02 pc 003aa734 /system/lib/libwebcore.so
I/DEBUG (11631): #03 pc 00414cb4 /system/lib/libwebcore.so
I/DEBUG (11631): #04 pc 003abd10 /system/lib/libwebcore.so
I/DEBUG (11631):
I/DEBUG (11631): code around pc:
I/DEBUG (11631): 4f3ffed4 bf00bd70 0017cb59 0017cb60 0017cb70 p...Y...`...p...
I/DEBUG (11631): 4f3ffee4 5305f240 4298b510 f50fd105 4a02fe8f @..S...B.......J
I/DEBUG (11631): 4f3ffef4 60102000 bd104780 bbadbeef f50fb510 . .`.G..........
I/DEBUG (11631): 4f3fff04 2300eb2e f7ffe004 f50fffeb 2301eb28 ...#........(..#
I/DEBUG (11631): 4f3fff14 d1f82800 bd104618 4603b570 54e1f640 .(...F..p..F@..T
I/DEBUG (11631):
I/DEBUG (11631): code around lr:
I/DEBUG (11631): 4f3ffed0 2000e000 bf00bd70 0017cb59 0017cb60 ... p...Y...`...
I/DEBUG (11631): 4f3ffee0 0017cb70 5305f240 4298b510 f50fd105 p...@..S...B....
I/DEBUG (11631): 4f3ffef0 4a02fe8f 60102000 bd104780 bbadbeef ...J. .`.G......
I/DEBUG (11631): 4f3fff00 f50fb510 2300eb2e f7ffe004 f50fffeb .......#........
I/DEBUG (11631): 4f3fff10 2301eb28 d1f82800 bd104618 4603b570 (..#.(...F..p..F
I/DEBUG (11631):
I/DEBUG (11631): memory map around addr bbadbeef:
I/DEBUG (11631): b000a000-b0015000
I/DEBUG (11631): (no map for address)
I/DEBUG (11631): beadd000-beaf2000 [stack]
I/DEBUG (11631):
I/DEBUG (11631): stack:
I/DEBUG (11631): beaf0e58 41d3f0c8 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG (11631): beaf0e5c 00b1a5f8 [heap]
I/DEBUG (11631): beaf0e60 00b1a570 [heap]
I/DEBUG (11631): beaf0e64 51e29709 /system/lib/egl/libEGL_tegra.so
I/DEBUG (11631): beaf0e68 00b1a62c [heap]
I/DEBUG (11631): beaf0e6c 00b1a644 [heap]
I/DEBUG (11631): beaf0e70 00000000
I/DEBUG (11631): beaf0e74 00000000
I/DEBUG (11631): beaf0e78 00000000
I/DEBUG (11631): beaf0e7c 439ccccd /dev/ashmem/dalvik-heap (deleted)
I/DEBUG (11631): beaf0e80 439ccccd /dev/ashmem/dalvik-heap (deleted)
I/DEBUG (11631): beaf0e84 001ac0f8 [heap]
I/DEBUG (11631): beaf0e88 3f800000
I/DEBUG (11631): beaf0e8c 0000001a
I/DEBUG (11631): beaf0e90 df0027ad
I/DEBUG (11631): beaf0e94 00000000
I/DEBUG (11631): #00 beaf0e98 001ac0f8 [heap]
I/DEBUG (11631): beaf0e9c 4f3fff0f /system/lib/libwebcore.so
I/DEBUG (11631): #01 beaf0ea0 001ac0f8 [heap]
I/DEBUG (11631): beaf0ea4 4f394739 /system/lib/libwebcore.so

edit: SEGV_MAPERR is segmentation fault which happens during malloc

edit: maybe it is trying to allocate impossible amount of memory ?