File already exists in database: schema.proto

  • change the kafka adapter in DS6.3 to generate libnvds_kafka_proto.so dynamic library.
  • got the Error
[libprotobuf ERROR google/protobuf/descriptor_database.cc:58] File already exists in database: schema.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:1358] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):
terminate called after throwing an instance of 'google::protobuf::FatalException'
  what():  CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):
Aborted (core dumped)
  • my env
Software part of jetson-stats 4.2.4 - (c) 2024, Raffaello Bonghi
Model: Jetson AGX Orin Developer Kit - Jetpack 5.1.2 [L4T 35.4.1]
NV Power Mode[0]: MAXN
Serial Number: [XXX Show with: jetson_release -s XXX]
Hardware:
 - P-Number: p3701-0005
 - Module: NVIDIA Jetson AGX Orin (64GB ram)
Platform:
 - Distribution: Ubuntu 20.04 focal
 - Release: 5.10.120-tegra
jtop:
 - Version: 4.2.4
 - Service: Active
Libraries:
 - CUDA: 11.4.315
 - cuDNN: 8.6.0.166
 - TensorRT: 5.1.2
 - VPI: 2.3.9
 - Vulkan: 1.3.204
 - OpenCV: 4.6.0 - with CUDA: YES
  • I try to fix the bug follow some link. But I cant to fix the bug.
    the links
https://blog.csdn.net/sepnineth/article/details/106529302
https://stackoverflow.com/questions/37051635/several-shared-object-using-same-proto-leading-the-the-error-file-already-exist
https://groups.google.com/g/protobuf/c/RZRCnOywdSk/m/s5QvifLCBgAJ?pli=1
  • please give some guide! thks!

using the steps in readme, I am not able to reproduce this issue In DS6.4. can you use libprotoc 3.19.4?

I am now using proto 3.6.1. I will try the protobuf 3.19.4 in DS6.3

(base) orin@orin-root:~/workspace$ protoc --version
libprotoc 3.6.1

Sorry for the late reply, Is this still an DeepStream issue to support? Thanks!

thanks, the bug is fixed.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.