Skip to content

Galactic + Protobuf typesupport: Runtime crash "File already exists in database" #12

Open
@sebastian-freitag

Description

@sebastian-freitag

ROS2 Galactic
Ubuntu 20.04
rmw_ecal master
rosidl_typesupport_protobuf master
ecal v5.10.0-alpha-10-g221e5b7e (11.03.2022)

$ protoc --version
libprotoc 3.17.1

When I run simple examples, I see something like this and the process ends:

[INFO] [talker]: process started with pid [2977830]
[talker] [libprotobuf ERROR google/protobuf/descriptor_database.cc:641] File already exists in database: builtin_interfaces/msg/Duration.proto
[talker] [libprotobuf FATAL google/protobuf/descriptor.cc:1371] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): 
[talker] terminate called after throwing an instance of 'google::protobuf::FatalException'
[talker]   what():  CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions