node-julia
node-julia copied to clipboard
Node segmentation fault importing Julia module
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
*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.