@glaringlee
Yes. The program will execute when I removed libtorch from the CMakelists.
I tested on libtorch version on cu102 1.8.0.dev20201207 + boost version 1.67 and on cpu 1.8.0.dev20201221 + boost version 1.72.
The segmentation fault happens on here and the error message is
“Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79b6b10 in boost::filesystem::path::m_append_separator_if_needed() () from /usr/lib/libboost_filesystem.so.1.72.0”
I can’t post Arrow errors here because there are too many (500+). But when I removed the “torch/torch.h”, it can compile successfully.
Similar issues also happen on RocksDB. See comments in this file. Did I make any mistake?
Or this issue may be caused by “GLIBCXX_USE_CXX11_ABI” flag.