multicore-locks / litl

LiTL: Library for Transparent Lock Interposition
MIT License
75 stars 21 forks source link

segmentation fault #9

Closed kelark closed 1 year ago

kelark commented 1 year ago

When I try to run a few tests in the sample directory in upscaledb with a litl script, I get a segment error, but I have no problem running the leveldb db_bench benchmark. How do I fix this problem? Please note that I did not make any code changes while testing.

Errors are as follows: node1:~/lym/upscaledb$ /home/hpc/litl_ori/litl/libmcs_spinlock.sh ./samples/db1 /home/hpc/litl_ori/litl/libmcs_spinlock.sh: line 33: 151635 Segmentation fault (core dumped)LD_PRELOAD=$LD_PRELOAD:$BASE/lib/libmcs_spinlock.so "$@"