Segmentation fault protection: Difference between revisions

m
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 interpreterusedcompiler runtime used to run Julia:
<lang>julia> unsafe_load(convert(Ptr{Int}, C_NULL))
 
4,107

edits