Comment #6 on issue 1075 by [email protected]: ARM: Some deserialization tests fails
http://code.google.com/p/v8/issues/detail?id=1075

Turned out gdb is causing trouble. Adding prints to the test

DEPENDENT_TEST(DeserializeFromSecondSerializationAndRunScript2,
               SerializeTwice) {
  if (!Snapshot::IsEnabled()) {
    v8::HandleScope scope;
    PrintF("XXX\n");
    Deserialize();
    PrintF("YYY\n");

    v8::Persistent<v8::Context> env = v8::Context::New();
    PrintF("ZZZ\n");
    env->Enter();

    const char* c_source = "\"1234\".length";
    v8::Local<v8::String> source = v8::String::New(c_source);
    v8::Local<v8::Script> script = v8::Script::Compile(source);
    CHECK_EQ(4, script->Run()->Int32Value());
  }
}

will print XXX and YYY but not ZZZ when the test crashes. The gdb SIGILL above happens before even XXX is printed.

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

Reply via email to