-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault on make_context #32
Comments
Hm I've never seen this. Other people have used V8 on arch just fine. Could it be that arch has recently updated it's compilers but has not yet rebuilt the libv8 package yet in aur? |
I did compile V8 myself from source, so this shouldn't be a compiler issue. My collegue @JanMarvin also tried to use the package on Archlinux and got a segfault:
|
That's very strange. Can you test if |
Good point - d8 segfaults too. So this is a problem with
|
Do you have multilple versions of |
No, just 3.14.5
|
Hmm well then something is wrong with the library :/ Perhaps it doensn't work well with the latest compilers. Try building from: https://github.com/v8-314 |
I'm closing this issue because it is not a problem in the R bindings but in your build of libv8. You'll have to talk to the AUR maintainer or v8 developers to figure out what's going on.... |
Just for reference: v8 needs a patch to compile with gcc 6 (thanks to @JanMarvin for finding the patch!). I attached a working PKGBUILD using the code form https://github.com/v8-314
|
For the full list of patches see also:
|
@sjewo aur/v8-3.14 installs and also R package v8 but it results in segfault errors. Do you currently have a working v8 build? |
Can someone try to report this upstream to the arch maintainers? |
I'm currently building the patch from @sjewo and if its works I will foward it to the AUR maintainer. Edit: Works and I will report this tomorrow :) |
hm, works for installing
|
You can also try building this one: https://github.com/v8-314/v8 |
I have an arch linux PKGBUILD based on the debian package lying around that appears to be working. I'll mail you a copy @pat-s |
@JanMarvin I would also be interested since I also have the same issue @pat-s has: v8-3.14 and the R package seems to work but I can't load |
Are you also on arch Linux? |
I uploaded a fixed version for the "v8-3.14" AUR package as the original maintainer orphaned it. Thanks to @JanMarvin for the source! |
I solve this problem by this |
Hi! I run into a segfault while initializing with 'v8()'.
I'm using Archlinux, R 3.3.2 with Intel MKL and V8 3.14.5.7-2. I tested this on a second system with Archlinux, R 3.3.2-2 (Package from Archlinux) and V8 3.14 and V8 3.15 from AUR and get the same results.
I attached debug output from lldb. Any idea how to fix this?
Thanks a lot!
The text was updated successfully, but these errors were encountered: