You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we are getting segmentation fault signal and the backtrace from gdb says:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 3144.0xd88]
0x0000000000461084 in websocketpp::processor::hybi13websocketpp::config::asio::consume(unsigned char*, unsigned long long, std::error_code&) ()
Hi, we are getting segmentation fault signal and the backtrace from gdb says:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 3144.0xd88]
0x0000000000461084 in websocketpp::processor::hybi13websocketpp::config::asio::consume(unsigned char*, unsigned long long, std::error_code&) ()
Here is our code:
void WebServer::OnRead(ConnectionWebsocket* connection, websocketpp::connection_hdl hdl, websocketpp::serverwebsocketpp::config::asio::message_ptr msg){
try{
memcpy(connection->inBuff, msg->get_payload().c_str(), inMsgLength);
// std::cout << "Msg Received: "<< connection->inBuff << std::endl;
actionResolver->solveMessage(connection, this->mutexWorld);
}catch(...){
std::cout << "Excepcion en OnRead"<< std::endl;
}
}
We have no idea what that consume function does, but please any help???
The text was updated successfully, but these errors were encountered: