Ubuntu 18.04, C++, gcc-10, protoc 3.13

my project is going to be released normally. but it is dyed in the debug.
I found the moment of the error - this is the next function:
https://pastebin.com/zRt7iv8u

gdb output:
https://pastebin.com/XEjNybyM

I am a bit confused because everything works fine in the release version. 
At the same time, if I don't create byteSize variable and use 
response_ptr->ByteSizeLong() method everywhere, the error occurs earlier - 
at execution of 
header_ptr->set_length(byteSize);

There is no multithreading.

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/2890c7f2-c673-4980-8e8d-46d9c4c903c9n%40googlegroups.com.

Reply via email to