Date: Mon, 18 Aug 2014 11:56:19 -0400 From: Kris Moore <kris@pcbsd.org> To: =?windows-1252?Q?Ren=E9_Ladan?= <rene@freebsd.org> Cc: chromium-list freebsd <freebsd-chromium@freebsd.org> Subject: Re: chromium 36 exit itselt with segfault Message-ID: <53F22223.1010602@pcbsd.org> In-Reply-To: <CADL2u4gLAjPRSWFcL0hDhNK1cx7hv7MmHTn2MEt7=4JPBO5ecg@mail.gmail.com> References: <fbd302f8c855c898df95da4c6042e8e8@openmailbox.org> <53F11A72.60508@pcbsd.org> <CADL2u4gLAjPRSWFcL0hDhNK1cx7hv7MmHTn2MEt7=4JPBO5ecg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/17/2014 17:21, René Ladan wrote: > > 2014-08-17 23:11 GMT+02:00 Kris Moore <kris@pcbsd.org > <mailto:kris@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53F22223.1010602>