Skip to content
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

Node segmentation fault importing Julia module #27

Open
visionscaper opened this issue Apr 11, 2016 · 1 comment
Open

Node segmentation fault importing Julia module #27

visionscaper opened this issue Apr 11, 2016 · 1 comment

Comments

@visionscaper
Copy link

Hello,

Node exits with a segmentation fault (11) when I evaluate the following:

var julia = require('node-julia');
julia.eval('push!(LOAD_PATH, "<PATH TO MY MODULE JL FILE>")')
julia.import("MyModule")

The segmentation fault does not occur at push!(LOAD_PATH, ...) but when importing MyModule.
I've not yet tried to pinpoint the exact moment of the segmentation fault yet.

Any ideas on how to proceed and/or resolve this?

Thanks,

-- Freddy Snijder

PS : this occurs with node 0.12.7 and 4.4.2

@visionscaper
Copy link
Author

*Update *

I tracked down the issue to using the ImageView module.

This minimal module makes node crash:

module TestNode
    using ImageView
end 

Luckily, in combination with node I don't need to use the ImageView module in my module.
However, It might still be interesting to investigate why using the ImageView module makes node crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant