Random segmentation faults when using the Julia client
When using the Julia client, I am getting segmentation faults at random function calls. After a restart, the same function usually works.
b = get_property(a, 1)
[2021-08-30 14:35:21.561494] [0x00007f3632eef740] [info] Enter int caosdb_entity_entity_get_properties_size(caosdb_entity_entity *entity, int *out)
[2021-08-30 14:35:21.561712] [0x00007f3632eef740] [info] Enter int caosdb_entity_entity_get_property(caosdb_entity_entity *entity, caosdb_entity_property *out, int index)
signal (11): Segmentation fault
in expression starting at REPL[3]:1
_ZNKSt4lessIiEclERKiS2_ at /home/alex/.local/lib/libccaosdb.so (unknown line)
_ZNKSt8_Rb_treeIiSt4pairIKiN6caosdb6entity8PropertyEESt10_Select1stIS5_ESt4lessIiESaIS5_EE14_M_lower_boundEPKSt13_Rb_tree_nodeIS5_EPKSt18_Rb_tree_node_baseRS1_ at /home/alex/.local/lib/libccaosdb.so (unknown line)
_ZNKSt8_Rb_treeIiSt4pairIKiN6caosdb6entity8PropertyEESt10_Select1stIS5_ESt4lessIiESaIS5_EE4findERS1_ at /home/alex/.local/lib/libccaosdb.so (unknown line)
_ZNKSt3mapIiN6caosdb6entity8PropertyESt4lessIiESaISt4pairIKiS2_EEE5countERS6_ at /home/alex/.local/lib/libccaosdb.so (unknown line)
_ZNK6caosdb6entity23RepeatedPtrFieldWrapperINS0_8PropertyENS0_8v1alpha18PropertyEE10mutable_atEi at /home/alex/.local/lib/libccaosdb.so (unknown line)
caosdb_entity_entity_get_property at /home/alex/.local/lib/libccaosdb.so (unknown line)
get_property at /home/alex/caosdb-julialib/src/Entity.jl:1245
get_property at /home/alex/caosdb-julialib/src/Entity.jl:1269
unknown function (ip: 0x7f360c314f96)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2237 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2419
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1703 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:115
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:204
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:155 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:562
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:670
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:877
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:825
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:929
eval at ./boot.jl:360 [inlined]
eval_user_input at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:139
repl_backend_loop at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:200
start_repl_backend at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:185
#run_repl#42 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:317
run_repl at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:305
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2237 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2419
#874 at ./client.jl:387
jfptr_YY.874_23032.clone_1 at /home/alex/julia-1.6.2/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2237 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2419
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1703 [inlined]
jl_f__call_latest at /buildworker/worker/package_linux64/build/src/builtins.c:714
#invokelatest#2 at ./essentials.jl:708 [inlined]
invokelatest at ./essentials.jl:706 [inlined]
run_main_repl at ./client.jl:372
exec_options at ./client.jl:302
_start at ./client.jl:485
jfptr__start_34281.clone_1 at /home/alex/julia-1.6.2/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2237 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2419
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1703 [inlined]
true_main at /buildworker/worker/package_linux64/build/src/jlapi.c:560
repl_entrypoint at /buildworker/worker/package_linux64/build/src/jlapi.c:702
main at julia (unknown line)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x4007d8)
Allocations: 2216373 (Pool: 2215463; Big: 910); GC: 2
Segmentation fault (core dumped)```