Hi, I’m debugging an issue for JuliaCall segfault with julia 1.6 on macOS, which embeds julia in R: https://github.com/Non-Contradiction/JuliaCall/issues/164
The issue can be simplified to the following code in R:
which causes the following segfault in plain R IDE (RStudio just crashes and does not give any message):
*** caught segfault *** address 0xfffffffffffffff8, cause 'memory not mapped' Traceback: 1: .C("jl_init__threading") Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace ERROR: Selection:
The same code runs fine with julia 1.5
doesn’t give any error.
This segfault seems to happen only on macOS but not Windows and Linux. Any clue what causes the segfault? Thanks!