I’m attempting to use PackageCompiler.jl to produce a
.so containing Julia functions that can be called directly from C (after some julia initialization in the C code), as suggested by @kristoffer.carlsson in this github comment, but I’m getting a segfault and would like to investigate further. However,
gdb isn’t very helpful here:
Thread 1 "test" received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) backtrace #0 0x0000000000000000 in ?? () #1 0x00007fffeba755fd in myotherfunc () from ./jpkg.so #2 0x000055555555533d in main () at test.c:47
I’m assuming that this is because debugging symbols are disabled in the sysimage produced by
create_sysimage. Is there any way to enable them?