jetma / jav8

Automatically exported from code.google.com/p/jav8
0 stars 0 forks source link

various segfaults with compiled new V8 on linux and mac #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I downloaded and built V8 engine (with -fPIC -O1 -fno-strict-aliasing as this 
was proven to be useful when I did other JNI projects)
I built jav8 with that engine I had to modify the build.xml slightly because of 
filename mismatches

What is the expected output? What do you see instead?
I expected the tests to run and succeed.
I got JVM crashes sometimes 4-5 stack deep in the native V8 code (segfaults 
mostly). If i recompiled with different compilers (clang, g++) or with 
different flags it crashed at different places. I can show you stacktraces and 
crashreports but I guess something just changes inside V8 and jav8 is compiling 
against an older one.

What version of the product are you using? On what operating system?
I used the trunk of jav8 and V8. I built it on mac (maverick) and ubuntu. Both 
are x64 bit systems.

Please provide any additional information below.
Can you please tell me what is the V8 version compatible with the current jav8 
code?

I had to recompile jav8 because the prebuilt package is not handling 
typedarrays in javascript. I would be happy to provide prebuilt packages to Mac 
and Linux if I will be able to figure it out.

Original issue reported on code.google.com by gym...@gmail.com on 15 Jun 2014 at 4:09