We are embedding julia in C++. The first few calls to the function are completed successfully, but after a few times the following error comes up.
while loading no file, in expression starting on line 389
jl_subtype_le at /home/centos/buildbot/slave/package_tarball32/build/src/jltypes.c:2746
jl_f_isa at /home/centos/buildbot/slave/package_tarball32/build/src/builtins.c:396
isvarargtype at ./essentials.jl:63 [inlined]
Type at ./inference.jl:122
unknown function (ip: 0xf0c501f6)
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball32/build/src/julia_internal.h:211 [inlined]
jl_apply_generic at /home/centos/buildbot/slave/package_tarball32/build/src/gf.c:1950
typeinf_edge at ./inference.jl:1577
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball32/build/src/julia_internal.h:211 [inlined]
jl_apply_generic at /home/centos/buildbot/slave/package_tarball32/build/src/gf.c:1950
typeinf_ext at ./inference.jl:1621
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball32/build/src/julia_internal.h:211 [inlined]
jl_apply_generic at /home/centos/buildbot/slave/package_tarball32/build/src/gf.c:1950
jl_apply at /home/centos/buildbot/slave/package_tarball32/build/src/julia.h:1388 [inlined]
jl_type_infer at /home/centos/buildbot/slave/package_tarball32/build/src/gf.c:213
jl_compile_for_dispatch at /home/centos/buildbot/slave/package_tarball32/build/src/gf.c:1298
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball32/build/src/julia_internal.h:206 [inlined]
jl_apply_generic at /home/centos/buildbot/slave/package_tarball32/build/src/gf.c:1950
jl_apply at /home/centos/buildbot/slave/package_tarball32/build/src/julia.h:1388 [inlined]
jl_call3 at /home/centos/buildbot/slave/package_tarball32/build/src/jlapi.c:196
unknown function (ip: 0x8059bb6)
unknown function (ip: 0x805024f)
unknown function (ip: 0x805383e)
unknown function (ip: 0x805bd1c)
unknown function (ip: 0xf73dd37c)
start_thread at /build/eglibc-0jBZkF/eglibc-2.19/nptl/pthread_create.c:312
unknown function (ip: 0xf723b3ed)
Allocations: 75763006 (Pool: 75761422; Big: 1584); GC: 27
Segmentation fault (core dumped)