Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Importing tensorflow after import pytorch crashes inside tensorflow::port::TestCPUFeature #13615
TF version: 07bf1d3
Looks like PyTorch is exporting some pthread symbols via RTLD_GLOBAL. We don't use RTLD_GLOBAL anymore, but we're still exposed to those symbols.
Other than defensively using RTLD_DEEPBIND in pywrap_tensorflow.py (which does fix the crash for me, but would also break people who use LD_PRELOAD), I guess we just need to avoid using that symbol.
referenced this issue
Nov 22, 2017
Hi @soumith !
I believe I am having similar issues. I'm not sure if I should open a new issue or continue here, please let me know!
My system is:
I get SIGABRT when running my TensorFlow program if I import
How to reproduce the problem:
Here's the backtrace: