c++ - Some questions about protobuf -
we building rtb(real time bidding) platform. using nginx http server, bidder writen in lua, google protocol buffer serializing data , zlog logs. after test runs, got 3 error messages in nginx error log:
"[libprotobuf error, google/protobuf/wire_format.cc:1053] string field contains invalid utf-8 data when parsing protocol buffer. use 'bytes' type if intend send raw bytes." went check source code of protocol buffer, , found check controlled macro(-dndebug: means not debug mode?, according comment). , -dndebug disables google_protobuf_utf8_validation(i think?). so, enabled macro(-dndebug) in configuration. however, after testing, still got same error message. , then, changed "string" type "bytes" typr in xxx.proto. after testing, same error message showed.
worker process 53574 exited on signal 11(core dumped),then process died.
lua entry thread aborted: runtime error:/home/bilin/rtb/src/lua/shared/log.lua:34: 'short' not callable"
hope can solving problems. thank you.
Comments
Post a Comment