Segmentation fault protection: Difference between revisions
m
→{{header|Julia}}
Line 48:
=={{header|Julia}}==
Most commonly, segfaults in Julia are indications of a problem in a called C library. However, the functions in Julia prefixed with
unsafe_, such as unsafe_load(), can be used to reference a null pointer as in C, and can thus cause a segfault in the LLVM
<lang>julia> unsafe_load(convert(Ptr{Int}, C_NULL))
|