ibmruntimes / v8-zos

The official mirror of the V8 git repository
https://chromium.googlesource.com/v8/v8.git
Other
1 stars 1 forks source link

PPC/s390(native/sim): testcase regress-662904.js failing #15

Closed jbajwa closed 8 years ago

jbajwa commented 8 years ago

The testcase was added today as part of CL https://codereview.chromium.org/2476423003

>out/Release/d8 --test --random-seed=663156552 --nohard-abort --nodead-code-elimination --nofold-constants --allow-natives-syntax test/mjsunit/mjsunit.js test/mjsunit/regress/regress-662904.js

[couldn't find pc offset for node=57]
[method: foo]
[source:
function foo(a) {\x0a  var sum = 0;\x0a  var a = [0, "a"];\x0a  for (var i in a) {\x0a    sum += a[i];\x0a  }\x0a  return sum;\x0a}
]
Stacktrace (fefefefe-fefefeff) 0x37e634230499 0x37e63422f419:
==== JS stack trace =========================================

==== Details ================================================

==== Key         ============================================

=====================

Received signal 6

==== C stack trace ===============================

 [0x000000418d8f]
 [0x7f6386472100]
 [0x7f63860d65f7]
 [0x7f63860d7ce8]
 [0x00000041957f]
 [0x0000007036a3]
 [0x0000005f0718]
 [0x0000005f1cab]
 [0x0000005ef88a]
 [0x000000923732]
 [0x000000922788]
 [0x000000926cee]
 [0x0000009271ed]
 [0x00000062ddb0]
 [0x00000062dac5]
 [0x000000428372]
 [0x00000040765e]
 [0x00000040dc39]
 [0x00000040f985]
 [0x000000413543]
 [0x7f63860c2b15]
 [0x000000407055]
[end of stack trace]
Aborted (core dumped)
john-yan commented 8 years ago

After investigation, I found that the issue was due to missing 1915762cc8caea42727daebfe738bfcdca8ac859 for ppc/s390.

jbajwa commented 8 years ago

Thanks @john-yan, not sure how this port missed out. Will port it now.

jbajwa commented 8 years ago

https://codereview.chromium.org/2502503002/ this applies to 5.5 as well, will back port this tomorrow.

jbajwa commented 8 years ago

back ported to 5.5 https://codereview.chromium.org/2500803002/