Comment #1 on issue 240 by [email protected]: API test RegExpInterruption  
fails in debug mode on ARM
http://code.google.com/p/v8/issues/detail?id=240

I believe this is a symptom of a more obscure bug (probably GC related) on  
ARM,
and not just on the experimental branch.

I can reproduce a crash consistently using the following setup:

Compile d8_g for the ARM simulator from bleeding edge (scons d8 mode=debug
simulator=arm). I did it using GCC 4.0.3.

Run: d8_g --expose-gc -p loop.txt -p gc.txt
with the following files in the directory:

gc.txt: containst the line "gc.js"
gc.js: contains the line "for(var i = 0; i < 1000000; i++) gc();".
loop.txt: contains the line "loop.js"
loop.js: contains the following:
--- start ---
var x = ["x"];
function f(i) {
   x[i] = x[i-1] + "x";
}
for (var i = 1; i < 2500; i++) {
   f(i);
}
print(x.join("").length);
--- end ---
(I.e., just some slow, long running computation that can be preempted):

Running the above line gives SIGSEGV consistently.
It happens while visiting the stack frame of a sleeping thread, just as the  
crash of
RegExpInterrupt.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to