Issue 2405 in v8: crash on android2.2

14 views
Skip to first unread message

codesite...@google.com

unread,
Nov 12, 2012, 7:33:16 AM11/12/12
to v8-...@googlegroups.com
Status: New
Owner: ----

New issue 2405 by flywings...@gmail.com: crash on android2.2
http://code.google.com/p/v8/issues/detail?id=2405

crash on android2.2 os s5830 and dump log is
v8::internal::Isolate::EnsureDefaultIsolate()
libgcc2.c:0



codesite...@google.com

unread,
Nov 12, 2012, 7:41:57 AM11/12/12
to v8-...@googlegroups.com

Comment #1 on issue 2405 by flywings...@gmail.com: crash on android2.2
http://code.google.com/p/v8/issues/detail?id=2405

and crash log is

I/DEBUG ( 7015): *** *** *** *** *** *** *** *** *** *** *** *** *** ***
*** ***
I/DEBUG ( 7015): Build
fingerprint: 'Samsung/GT-S5830/GT-S5830/GT-S5830:2.2.1/FROYO/ZSKA6:user/release-keys'
I/DEBUG ( 7015): pid: 10205, tid: 10205 >>> com.example.testv8 <<<
I/DEBUG ( 7015): signal 4 (SIGILL), fault addr 81a2180c
I/DEBUG ( 7015): r0 001cb8d8 r1 00000000 r2 00000000 r3 00000890
I/DEBUG ( 7015): r4 0013fec8 r5 81ce289c r6 81ce6e20 r7 00000d4c
I/DEBUG ( 7015): r8 00001464 r9 0000cde0 10 001cb8d8 fp 00000000
I/DEBUG ( 7015): ip 001cb8d0 sp beeb3118 lr 81a21808 pc 81a2180c
cpsr 20000010
I/DEBUG ( 7015): d0 0000005842b00000 d1 3ff0000042b00000
I/DEBUG ( 7015): d2 bfd3441350baf6de d3 c1493000c1323800
I/DEBUG ( 7015): d4 4900000040dcb000 d5 000000000006e580
I/DEBUG ( 7015): d6 4515b00000000800 d7 40800000c48fc000
I/DEBUG ( 7015): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 7015): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 7015): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 7015): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 7015): scr 80000012
I/DEBUG ( 7015):
I/DEBUG ( 7015): #00 pc 0022180c
/data/data/com.example.testv8/lib/libtest.so
I/DEBUG ( 7015): #01 lr 81a21808
/data/data/com.example.testv8/lib/libtest.so
I/DEBUG ( 7015):
I/DEBUG ( 7015): code around pc:
I/DEBUG ( 7015): 81a217ec e59f304c e7953003 e5830000 e3a00004
I/DEBUG ( 7015): 81a217fc eb071b9f e1a0a000 ebfff563 e59f3034
I/DEBUG ( 7015): 81a2180c e3070368 e7953003 e583a000 eb071b98
I/DEBUG ( 7015): 81a2181c e1a0a000 ebfffe88 e586a000 eaffffd3
I/DEBUG ( 7015): 81a2182c 002c114c 00000608 00000d4c 00001464
I/DEBUG ( 7015):
I/DEBUG ( 7015): code around lr:
I/DEBUG ( 7015): 81a217e8 eb061bff e59f304c e7953003 e5830000
I/DEBUG ( 7015): 81a217f8 e3a00004 eb071b9f e1a0a000 ebfff563
I/DEBUG ( 7015): 81a21808 e59f3034 e3070368 e7953003 e583a000
I/DEBUG ( 7015): 81a21818 eb071b98 e1a0a000 ebfffe88 e586a000
I/DEBUG ( 7015): 81a21828 eaffffd3 002c114c 00000608 00000d4c
I/DEBUG ( 7015):
I/DEBUG ( 7015): stack:
I/DEBUG ( 7015): beeb30d8 00000000
I/DEBUG ( 7015): beeb30dc beeb310c [stack]
I/DEBUG ( 7015): beeb30e0 00000000
I/DEBUG ( 7015): beeb30e4 0000cde0 [heap]
I/DEBUG ( 7015): beeb30e8 4410ec40
I/DEBUG ( 7015): beeb30ec 81ce289c
/data/data/com.example.testv8/lib/libtest.so
I/DEBUG ( 7015): beeb30f0 00000004
I/DEBUG ( 7015): beeb30f4 81ce6e20
I/DEBUG ( 7015): beeb30f8 00000d4c
I/DEBUG ( 7015): beeb30fc afd0cd75 /system/lib/libc.so
I/DEBUG ( 7015): beeb3100 81ce289c
/data/data/com.example.testv8/lib/libtest.so
I/DEBUG ( 7015): beeb3104 81be14d3
/data/data/com.example.testv8/lib/libtest.so
I/DEBUG ( 7015): beeb3108 0013fec8 [heap]
I/DEBUG ( 7015): beeb310c 81ce289c
/data/data/com.example.testv8/lib/libtest.so
I/DEBUG ( 7015): beeb3110 df002777
I/DEBUG ( 7015): beeb3114 e3a070ad
I/DEBUG ( 7015): #00 beeb3118 81cce00c
/data/data/com.example.testv8/lib/libtest.so
I/DEBUG ( 7015): beeb311c 00000008
I/DEBUG ( 7015): beeb3120 00000004
I/DEBUG ( 7015): beeb3124 00000000
I/DEBUG ( 7015): beeb3128 80b17280 /system/lib/libdvm.so
I/DEBUG ( 7015): beeb312c 0000cde0 [heap]
I/DEBUG ( 7015): beeb3130 4410ec40
I/DEBUG ( 7015): beeb3134 b0001169 /system/bin/linker
I/DEBUG ( 7015): beeb3138 b0010b18
I/DEBUG ( 7015): beeb313c 0000272e
I/DEBUG ( 7015): beeb3140 b0010b24
I/DEBUG ( 7015): beeb3144 b000122b /system/bin/linker
I/DEBUG ( 7015): beeb3148 b0016fec
I/DEBUG ( 7015): beeb314c afb00000 /system/lib/libm.so
I/DEBUG ( 7015): beeb3150 0000001d
I/DEBUG ( 7015): beeb3154 b0010a34
I/DEBUG ( 7015): beeb3158 b0010a34
I/DEBUG ( 7015): beeb315c 0000272e


codesite...@google.com

unread,
Nov 12, 2012, 7:51:29 AM11/12/12
to v8-...@googlegroups.com
Updates:
Status: PendingFurtherInfo

Comment #2 on issue 2405 by jkum...@chromium.org: crash on android2.2
http://code.google.com/p/v8/issues/detail?id=2405

Just like Android 2.2, the version of V8 built into it is way too old to
still be supported (even if we did find and fix an issue in there, who
would ship an update to phones out there?).

However, "/data/data/com.example.testv8/lib/libtest.so" sounds like you're
playing around with a self-compiled program. In that case, what makes you
think the problem is in upstream V8? Which version are you even using?
Which compiler? And what's your code doing? I would not be surprised if
recent V8 versions did not work correctly on Froyo -- that's a completely
untested combination.

More generally speaking, when you're developing C++ programs and
encountering crashes, you should learn how to use a debugger to figure out
what's going on.

codesite...@google.com

unread,
Nov 12, 2012, 7:58:40 AM11/12/12
to v8-...@googlegroups.com

Comment #3 on issue 2405 by flywings...@gmail.com: crash on android2.2
http://code.google.com/p/v8/issues/detail?id=2405

version is : 3.15.1 i use ndkr7 to compile it, i crash on
system.loadlibray() function,

Reply all
Reply to author
Forward
0 new messages