[Quickfix-developers] QF (acceptor) crash
Brought to you by:
orenmnero
From: Alexey Z. <ale...@in...> - 2005-01-19 19:53:41
|
Hello All, =20 I=92ve got a crash (unhandled exception) in a server application. Here is the scenario: =20 I added a non required field (tag 50) to logon message and sent it by mistake without value: 8=3DFIX.4.29=3D9635=3DA34=3D149=3DXXXX50=3D52=3D20050119-19:37:3=85.. =20 And I=92ve got a crash in the server =96 m_sessionID is not valid. =20 =20 void Session::generateReject( const Message& message, int err, int field ) { QF_STACK_PUSH(Session::generateReject) =20 if ( !m_state.receivedLogon() ) throw std::logic_error( "Tried to send a reject while not logged on" ); =20 /***/// here is the crash std::string beginString =3D m_sessionID.getBeginString(); =20 =20 =20 Regards, Alexey. |