chromium 36 exit itselt with segfault
Kris Moore
kris at pcbsd.org
Mon Aug 18 15:56:41 UTC 2014
On 08/17/2014 17:21, René Ladan wrote:
>
> 2014-08-17 23:11 GMT+02:00 Kris Moore <kris at pcbsd.org
> <mailto:kris at pcbsd.org>>:
>
>
> I see the same thing here on 10.0-RELEASE. If I remove the old
> ~/.config/chromium directory, it will start up, but it seg faults
> immediately again when I try to "Sign into chromium". Even if I select
> to let me pick which options to sync, it still segfaults immediately
> upon signing in.
>
> Hmm, what happens if you apply the attached patch and rebuild?
> This requires a full rebuild because third_party/protobuf needs to be
> "undeleted", you might want to save work/.ccache if it's there.
>
> This patch is against the github version at
> https://github.com/gliaskos/freebsd-chromium
>
> Rene
>
I just tried compiling with the version in github that has this patch,
and ran into this error:
In file included from
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.cc:5:
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:884:50:
error: no member named 'GetEmptyString' in namespace
'google::protobuf::internal'; did you mean 'kEmptyString'?
if (pattern_ != &::google::protobuf::internal::GetEmptyString()) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
kEmptyString
/usr/local/include/google/protobuf/generated_message_util.h:63:47: note:
'kEmptyString' declared here
LIBPROTOBUF_EXPORT extern const ::std::string kEmptyString;
^
In file included from
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.cc:5:
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:884:20:
error: type 'const ::std::string' (aka 'const basic_string<char,
char_traits<char>, allocator<char> >') does not provide a call operator
if (pattern_ != &::google::protobuf::internal::GetEmptyString()) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:894:50:
error: no member named 'GetEmptyString' in namespace
'google::protobuf::internal'; did you mean 'kEmptyString'?
if (pattern_ == &::google::protobuf::internal::GetEmptyString()) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
kEmptyString
/usr/local/include/google/protobuf/generated_message_util.h:63:47: note:
'kEmptyString' declared here
LIBPROTOBUF_EXPORT extern const ::std::string kEmptyString;
^
In file included from
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.cc:5:
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:894:20:
error: type 'const ::std::string' (aka 'const basic_string<char,
char_traits<char>, allocator<char> >') does not provide a call operator
if (pattern_ == &::google::protobuf::internal::GetEmptyString()) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:901:50:
error: no member named 'GetEmptyString' in namespace
'google::protobuf::internal'; did you mean 'kEmptyString'?
if (pattern_ == &::google::protobuf::internal::GetEmptyString()) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
kEmptyString
/usr/local/include/google/protobuf/generated_message_util.h:63:47: note:
'kEmptyString' declared here
LIBPROTOBUF_EXPORT extern const ::std::string kEmptyString;
^
In file included from
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.cc:5:
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:901:20:
error: type 'const ::std::string' (aka 'const basic_string<char,
char_traits<char>, allocator<char> >') does not provide a call operator
if (pattern_ == &::google::protobuf::internal::GetEmptyString()) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:908:50:
error: no member named 'GetEmptyString' in namespace
'google::protobuf::internal'; did you mean 'kEmptyString'?
if (pattern_ == &::google::protobuf::internal::GetEmptyString()) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
kEmptyString
/usr/local/include/google/protobuf/generated_message_util.h:63:47: note:
'kEmptyString' declared here
LIBPROTOBUF_EXPORT extern const ::std::string kEmptyString;
^
In file included from
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.cc:5:
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:908:20:
error: type 'const ::std::string' (aka 'const basic_string<char,
char_traits<char>, allocator<char> >') does not provide a call operator
if (pattern_ == &::google::protobuf::internal::GetEmptyString()) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:915:50:
error: no member named 'GetEmptyString' in namespace
'google::protobuf::internal'; did you mean 'kEmptyString'?
if (pattern_ == &::google::protobuf::internal::GetEmptyString()) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
kEmptyString
/usr/local/include/google/protobuf/generated_message_util.h:63:47: note:
'kEmptyString' declared here
LIBPROTOBUF_EXPORT extern const ::std::string kEmptyString;
^
In file included from
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.cc:5:
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:915:20:
error: type 'const ::std::string' (aka 'const basic_string<char,
char_traits<char>, allocator<char> >') does not provide a call operator
if (pattern_ == &::google::protobuf::internal::GetEmptyString()) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:922:50:
error: no member named 'GetEmptyString' in namespace
'google::protobuf::internal'; did you mean 'kEmptyString'?
if (pattern_ == &::google::protobuf::internal::GetEmptyString()) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
kEmptyString
/usr/local/include/google/protobuf/generated_message_util.h:63:47: note:
'kEmptyString' declared here
LIBPROTOBUF_EXPORT extern const ::std::string kEmptyString;
^
In file included from
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.cc:5:
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:922:20:
error: type 'const ::std::string' (aka 'const basic_string<char,
char_traits<char>, allocator<char> >') does not provide a call operator
if (pattern_ == &::google::protobuf::internal::GetEmptyString()) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:926:75:
error: no member named 'GetEmptyString' in namespace
'google::protobuf::internal'; did you mean 'kEmptyString'?
pattern_ = const_cast<
::std::string*>(&::google::protobuf::internal::GetEmptyString());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
kEmptyString
/usr/local/include/google/protobuf/generated_message_util.h:63:47: note:
'kEmptyString' declared here
LIBPROTOBUF_EXPORT extern const ::std::string kEmptyString;
^
In file included from
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.cc:5:
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:926:45:
error: type 'const ::std::string' (aka 'const basic_string<char,
char_traits<char>, allocator<char> >') does not provide a call operator
pattern_ = const_cast<
::std::string*>(&::google::protobuf::internal::GetEmptyString());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:931:50:
error: no member named 'GetEmptyString' in namespace
'google::protobuf::internal'; did you mean 'kEmptyString'?
if (pattern_ != &::google::protobuf::internal::GetEmptyString()) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
kEmptyString
/usr/local/include/google/protobuf/generated_message_util.h:63:47: note:
'kEmptyString' declared here
LIBPROTOBUF_EXPORT extern const ::std::string kEmptyString;
^
In file included from
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.cc:5:
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:931:20:
error: type 'const ::std::string' (aka 'const basic_string<char,
char_traits<char>, allocator<char> >') does not provide a call operator
if (pattern_ != &::google::protobuf::internal::GetEmptyString()) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:939:75:
error: no member named 'GetEmptyString' in namespace
'google::protobuf::internal'; did you mean 'kEmptyString'?
pattern_ = const_cast<
::std::string*>(&::google::protobuf::internal::GetEmptyString());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
kEmptyString
/usr/local/include/google/protobuf/generated_message_util.h:63:47: note:
'kEmptyString' declared here
LIBPROTOBUF_EXPORT extern const ::std::string kEmptyString;
^
In file included from
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.cc:5:
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:939:45:
error: type 'const ::std::string' (aka 'const basic_string<char,
char_traits<char>, allocator<char> >') does not provide a call operator
pattern_ = const_cast<
::std::string*>(&::google::protobuf::internal::GetEmptyString());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:954:49:
error: no member named 'GetEmptyString' in namespace
'google::protobuf::internal'; did you mean 'kEmptyString'?
if (format_ != &::google::protobuf::internal::GetEmptyString()) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
kEmptyString
/usr/local/include/google/protobuf/generated_message_util.h:63:47: note:
'kEmptyString' declared here
LIBPROTOBUF_EXPORT extern const ::std::string kEmptyString;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1230/13863] CXX
obj/chrome/gen/protoc_out/chrome/common/safe_browsing/safe_browsing_proto.csd.pb.o
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/www/chromium
*** Error code 1
--
Kris Moore
PC-BSD Software
iXsystems
More information about the freebsd-chromium
mailing list