tensorflow 2.0.0 crashes with protobuf 3.10.1 on macOS #35573
Closed
Description
Using MacPorts with the latest up-to-date versions (tensorflow 2.0.0, protobuf 3.10.1),
python3 -c 'import tensorflow'
[libprotobuf ERROR google/protobuf/descriptor_database.cc:394] Invalid file descriptor data passed to EncodedDescriptorDatabase::Add().
[libprotobuf FATAL google/protobuf/descriptor.cc:1359] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):
libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):
Abort trap: 6
This is reported and closed in tensorflow/tensorboard#2985, but the issue persists.
A workaround is pip-3.7 install protobuf==3.8
, but this doesn't work with system-level, up-to-date library installs like with MacPorts. Also see: https://trac.macports.org/ticket/59826
Is this an issue with TF, or with protobuf?