protect jl_ function against SIGSEGV