Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525560 - www-client/chromium-40.0.2188.2 breaks with system protobuf
Summary: www-client/chromium-40.0.2188.2 breaks with system protobuf
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on: 537988
Blocks: 591552
  Show dependency tree
 
Reported: 2014-10-16 12:13 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2022-01-22 05:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2014-10-16 12:13:17 UTC
This is only when using system protobuf, the version to be checked in to portage will be using bundled protobuf because of this. The bug is here to document what was breaking and to remind about fixing it.

The crash happens at startup, also with a clean profile.

[libprotobuf ERROR google/protobuf/descriptor_database.cc:57] File already exists in database: metadata.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:954] CHECK failed: generated_database_->Add(encoded_file_descriptor, size): 
terminate called after throwing an instance of 'google::protobuf::FatalException'
  what():  CHECK failed: generated_database_->Add(encoded_file_descriptor, size): 

Program received signal SIGABRT, Aborted.
0x00007fffeec7c485 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007fffeec7c485 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007fffeec7d908 in __GI_abort () at abort.c:89
#2  0x00007fffef55e7d5 in __gnu_cxx::__verbose_terminate_handler () at /var/tmp/portage/sys-devel/gcc-4.8.3/work/gcc-4.8.3/libstdc++-v3/libsupc++/vterminate.cc:95
#3  0x00007fffef55c906 in __cxxabiv1::__terminate (handler=<optimized out>) at /var/tmp/portage/sys-devel/gcc-4.8.3/work/gcc-4.8.3/libstdc++-v3/libsupc++/eh_terminate.cc:38
#4  0x00007fffef55c933 in std::terminate () at /var/tmp/portage/sys-devel/gcc-4.8.3/work/gcc-4.8.3/libstdc++-v3/libsupc++/eh_terminate.cc:48
#5  0x00007fffef55cb52 in __cxxabiv1::__cxa_throw (obj=0x1a314cd4a8a0, tinfo=0x7ffff5722f40 <typeinfo for google::protobuf::FatalException>, 
    dest=0x7ffff5467610 <google::protobuf::FatalException::~FatalException()>) at /var/tmp/portage/sys-devel/gcc-4.8.3/work/gcc-4.8.3/libstdc++-v3/libsupc++/eh_throw.cc:87
#6  0x00007ffff5467f98 in google::protobuf::internal::LogMessage::Finish (this=0x7fffffffe1f0) at google/protobuf/stubs/common.cc:195
#7  0x00007ffff5467fc8 in google::protobuf::internal::LogFinisher::operator= (this=this@entry=0x7fffffffe1ef, other=...) at google/protobuf/stubs/common.cc:203
#8  0x00007ffff548217a in google::protobuf::DescriptorPool::InternalAddGeneratedFile (encoded_file_descriptor=encoded_file_descriptor@entry=0x55555a1c90f0, 
    size=size@entry=171) at google/protobuf/descriptor.cc:954
#9  0x0000555558f2d58f in safe_browsing::protobuf_AddDesc_metadata_2eproto () at gen/protoc_out/chrome/browser/safe_browsing/metadata.pb.cc:87
#10 0x0000555559dc83ed in __libc_csu_init (argc=argc@entry=1, argv=argv@entry=0x7fffffffe358, envp=0x7fffffffe368) at elf-init.c:88
#11 0x00007fffeec68aa5 in __libc_start_main (main=0x555555fbe2c0 <main(int, char const**)>, argc=1, argv=0x7fffffffe358, init=0x555559dc8390 <__libc_csu_init>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe348) at libc-start.c:244
#12 0x0000555555fbece9 in _start ()

This is with dev-libs/protobuf-2.5.0-r1
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2015-03-25 10:14:16 UTC
Once all reverse dependencies work with dev-libs/protobuf-2.6, we should be able to use it.
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2015-06-01 11:46:08 UTC
Actually I can still repro the problem with dev-libs/protobuf-2.6.1-r3 :-/
Comment 3 Aric Belsito 2016-04-21 17:40:51 UTC
As of the update to 3.0.0_beta2 is this bug still valid?