I'm posting cause mostly need some help debugging a copy of 2.24b Sources that seems to crash after a few hours.
Last time it crashed gave some error about "memory could not be read... 0x0000000C" and I debugged it...here's information I could get...
It toke me this function in XSocket.cpp
Here's some information that I could get too...int XSocket::iSendMsg(char * cData, DWORD dwSize, char cKey)
{
WORD * wp;
int i, iRet;
if (dwSize > m_dwBufferSize) return DEF_XSOCKEVENT_MSGSIZETOOLARGE; // Here's where the debug redirct me to
if (m_cType != DEF_XSOCK_NORMALSOCK) return DEF_XSOCKEVENT_SOCKETMISMATCH;
if (m_cType == NULL) return DEF_XSOCKEVENT_NOTINITIALIZED;
m_pSndBuffer[0] = cKey;
wp = (WORD *)(m_pSndBuffer + 1);
*wp = dwSize + 3;
memcpy((char *)(m_pSndBuffer + 3), cData, dwSize);
if (cKey != NULL) {//Encryption
for (i = 0; i < dwSize; i++) {
m_pSndBuffer[3+i] += (i ^ cKey);
m_pSndBuffer[3+i] = m_pSndBuffer[3+i] ^ (cKey ^ (dwSize - i));
}
}
iRet = _iSend(m_pSndBuffer, dwSize + 3, TRUE);
if (iRet < 0) return iRet;
else return (iRet - 3);
}
Here's the HGserver.exe - <a href='http://hb-celestial.be/HGServer.rar' target='_blank'>Download</a>cData 0x0012ee68
-48
cKey 0 ''
dwSize 16
i 1
iRet 1240656
this 0x00000004
__vfptr CXX0030: Error: expression cannot be evaluated
mWSAErr CXX0030: Error: expression cannot be evaluated
m_bIsAvailable CXX0030: Error: expression cannot be evaluated
m_cType CXX0030: Error: expression cannot be evaluated
m_pRcvBuffer CXX0030: Error: expression cannot be evaluated
m_pSndBuffer CXX0030: Error: expression cannot be evaluated
m_dwBufferSize CXX0030: Error: expression cannot be evaluated
m_Sock CXX0030: Error: expression cannot be evaluated
m_cStatus CXX0030: Error: expression cannot be evaluated
m_dwReadSize CXX0030: Error: expression cannot be evaluated
m_dwTotlaReadSize CXX0030: Error: expression cannot be evaluated
m_pAddr 0x00000030 ""
[1] CXX0030: Error: expression cannot be evaluated
[2] CXX0030: Error: expression cannot be evaluated
[3] CXX0030: Error: expression cannot be evaluated
[4] CXX0030: Error: expression cannot be evaluated
[5] CXX0030: Error: expression cannot be evaluated
[6] CXX0030: Error: expression cannot be evaluated
[7] CXX0030: Error: expression cannot be evaluated
[8] CXX0030: Error: expression cannot be evaluated
[9] CXX0030: Error: expression cannot be evaluated
[10] CXX0030: Error: expression cannot be evaluated
[11] CXX0030: Error: expression cannot be evaluated
[12] CXX0030: Error: expression cannot be evaluated
[13] CXX0030: Error: expression cannot be evaluated
[14] CXX0030: Error: expression cannot be evaluated
[15] CXX0030: Error: expression cannot be evaluated
[16] CXX0030: Error: expression cannot be evaluated
[17] CXX0030: Error: expression cannot be evaluated
[18] CXX0030: Error: expression cannot be evaluated
[19] CXX0030: Error: expression cannot be evaluated
[20] CXX0030: Error: expression cannot be evaluated
[21] CXX0030: Error: expression cannot be evaluated
[22] CXX0030: Error: expression cannot be evaluated
[23] CXX0030: Error: expression cannot be evaluated
[24] CXX0030: Error: expression cannot be evaluated
[25] CXX0030: Error: expression cannot be evaluated
[26] CXX0030: Error: expression cannot be evaluated
[27] CXX0030: Error: expression cannot be evaluated
[28] CXX0030: Error: expression cannot be evaluated
[29] CXX0030: Error: expression cannot be evaluated
m_iPortNum CXX0030: Error: expression cannot be evaluated
m_pUnsentDataList 0x00000054
[1] CXX0030: Error: expression cannot be evaluated
[2] CXX0030: Error: expression cannot be evaluated
[3] CXX0030: Error: expression cannot be evaluated
[4] CXX0030: Error: expression cannot be evaluated
[5] CXX0030: Error: expression cannot be evaluated
[6] CXX0030: Error: expression cannot be evaluated
[7] CXX0030: Error: expression cannot be evaluated
[8] CXX0030: Error: expression cannot be evaluated
[9] CXX0030: Error: expression cannot be evaluated
[10] CXX0030: Error: expression cannot be evaluated
[11] CXX0030: Error: expression cannot be evaluated
[12] CXX0030: Error: expression cannot be evaluated
[13] CXX0030: Error: expression cannot be evaluated
[14] CXX0030: Error: expression cannot be evaluated
[15] CXX0030: Error: expression cannot be evaluated
[16] CXX0030: Error: expression cannot be evaluated
[17] CXX0030: Error: expression cannot be evaluated
[18] CXX0030: Error: expression cannot be evaluated
[19] CXX0030: Error: expression cannot be evaluated
[20] CXX0030: Error: expression cannot be evaluated
[21] CXX0030: Error: expression cannot be evaluated
[22] CXX0030: Error: expression cannot be evaluated
[23] CXX0030: Error: expression cannot be evaluated
[24] CXX0030: Error: expression cannot be evaluated
[25] CXX0030: Error: expression cannot be evaluated
[26] CXX0030: Error: expression cannot be evaluated
[27] CXX0030: Error: expression cannot be evaluated
[28] CXX0030: Error: expression cannot be evaluated
[29] CXX0030: Error: expression cannot be evaluated
And keep going till [299]
m_iUnsentDataSize 0x00000504
m_sHead CXX0030: Error: expression cannot be evaluated
m_sTail CXX0030: Error: expression cannot be evaluated
m_uiMsg CXX0030: Error: expression cannot be evaluated
m_hWnd CXX0017: Error: symbol "" not found
m_iBlockLimit CXX0030: Error: expression cannot be evaluated
wp 0x00000000
CXX0030: Error: expression cannot be evaluated
Here's the HGServer.opt - <a href='http://hb-celestial.be/HGserver.opt' target='_blank'>Download</a>
Any help will be appreciated...since I'm a bit loss here.