program linked to protobuf crashes before main
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
protobuf (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This simple test crashes on a system that I installed Ubuntu Server 20.04 daily build on yesterday:
echo "syntax = \"proto2\";" >| test.pbc
echo "message TestMsg" >> test.pbc
echo "{" >> test.pbc
echo " required double f1 = 1;" >> test.pbc
echo "}" >> test.pbc
echo "int main() {return 0;}" >| test.cc
protoc --cpp_out=. ./test.pbc
g++ -c -o test.pbc.pb.o test.pbc.pb.cc
g++ -c -o test.o test.cc
g++ -o test test.o test.pbc.pb.o -lprotobuf
./test
terminate called after throwing an instance of 'std::system_error'
what(): Unknown error -1
Aborted (core dumped)
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: protobuf-compiler 3.6.1.3-2ubuntu1
ProcVersionSign
Uname: Linux 5.3.0-24-generic x86_64
ApportVersion: 2.20.11-0ubuntu15
Architecture: amd64
Date: Sat Dec 28 19:10:20 2019
InstallationDate: Installed on 2019-12-27 (1 days ago)
InstallationMedia: Ubuntu-Server 20.04 LTS "Focal Fossa" - Alpha amd64 (20191227)
SourcePackage: protobuf
UpgradeStatus: No upgrade log present (probably fresh install)
This is still crashing on an up to date 20.04 build. This is a show stopper for me using 20.04.