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:
gdb output:
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.