Status: New
Owner: ----
New issue 2704 by [email protected]: cctest crashed on armv6
http://code.google.com/p/v8/issues/detail?id=2704
I got a crash on android devices while running cctest. Here is what I do:
1. compile the v8 code (v3.19.0, v3.18.5, v3.17.12) with command: make
android_arm.release -j9 armv7=false
2. push cctest to android phone
3. run cctest with command: ./cctest test-hasing, then I got a crash report.
Here is what cctest print:
#
# Fatal error in ../test/cctest/test-hashing.cc, line 184
# CHECK(runtime_hash == codegen_hash) failed
#
[1] Bus error ./cctest test-hashing
Cpu info(qualcomm msm 7227):
Processor : ARMv6-compatible processor rev 5 (v6l)
BogoMIPS : 245.61
Features : swp half thumb fastmult vfp edsp java
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant : 0x1
CPU part : 0xb36
CPU revision : 5
Hardware : GT-S5670 Board
Revision : 0003
Serial : 3634eebd75b800ec
When I use the debug version, I got:
[1] Illegal instruction ./cctest test-hashing
here is stack info:
Program received signal SIGILL, Illegal instruction.
0x58953e20 in ?? ()
(gdb) bt
#0 0x58953e20 in ?? ()
#1 0x0019b810 in check (string=...) at ../test/cctest/test-hashing.cc:181
#2 0x0019bd14 in check_twochars (a=9 '\t', b=224 '\340')
at ../test/cctest/test-hashing.cc:226
#3 0x0019be4c in TestStringHash () at ../test/cctest/test-hashing.cc:245
#4 0x0004d39c in CcTest::Run (this=0x13f8944) at ../test/cctest/cctest.h:79
#5 0x0004dbb4 in main (argc=2, argv=0xbedfdcc4)
at ../test/cctest/cctest.cc:141
(gdb) x/20i 0x58953e20-20
0x58953e0c: ; <UNDEFINED> instruction: 0xffffffff
0x58953e10: cdple 14, 10, cr11, cr13, cr15, {7}
0x58953e14: cdple 14, 10, cr11, cr13, cr15, {7}
0x58953e18: cdple 14, 10, cr11, cr13, cr15, {7}
0x58953e1c: cdple 14, 10, cr11, cr13, cr15, {7}
=> 0x58953e20: push {r10} ; (str r10, [sp, #-4]!)
0x58953e24: ldr r10, [pc, #68] ; 0x58953e70
0x58953e28: mov r0, #0
0x58953e2c: mov r12, #9
0x58953e30: ldr r0, [r10, #140] ; 0x8c
0x58953e34: add r0, r12, r0, lsr #1
0x58953e38: add r0, r0, r0, lsl #10
0x58953e3c: eor r0, r0, r0, lsr #6
0x58953e40: mov r12, #224 ; 0xe0
0x58953e44: add r0, r0, r12
0x58953e48: add r0, r0, r0, lsl #10
0x58953e4c: eor r0, r0, r0, lsr #6
0x58953e50: add r0, r0, r0, lsl #3
0x58953e54: eor r0, r0, r0, lsr #11
0x58953e58: add r0, r0, r0, lsl #15
(gdb) info register
r0 0x4b347211 1261728273
r1 0xbedfdbc0 3202341824
r2 0x3 3
r3 0x58953e20 1486175776
r4 0x13e98e0 20879584
r5 0xffff7750 4294932304
r6 0xafd41524 2949911844
r7 0xbedfdcd0 3202342096
r8 0x0 0
r9 0x0 0
r10 0x0 0
r11 0xbedfdbcc 3202341836
r12 0x40000000 1073741824
sp 0xbedf52e8 0xbedf52e8
lr 0x19b810 1685520
pc 0x58953e20 0x58953e20
cpsr 0x40000010 1073741840
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.