Public bug reported:

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
ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10
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)

** Affects: protobuf (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal uec-images

** Description changed:

  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
+ 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
+   what():  Unknown error -1
  Aborted (core dumped)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: protobuf-compiler 3.6.1.3-2ubuntu1
  ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10
  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)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to protobuf in Ubuntu.
https://bugs.launchpad.net/bugs/1857769

Title:
  program linked to protobuf crashes before main

Status in protobuf package in Ubuntu:
  New

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
  ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/protobuf/+bug/1857769/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to