SIP : After sending data on socket, program crashes
In responce to invite Ack
After estaiblishing SIP connection, socket connect etc.
when client try to send "Ready" through sockets, program internally crashes.
On debugging...pointer passes properly this function.
void CSocketsWrite::IssueWriteL(HBufC8* aData)
if (!IsActive() && (iMessageArray->Count() > 0) )
and goes internal
and crashes internally with some 7C90...(in disassembly) and never reaches RunL().
What could be reason ?
FOR REFERENCE : I'm following chip-flip/ war-ship.
you are making asynchronous call. Are you sure that the buffer is valid for all the necessary time? The most likely cause of problems is that you delete the buffer immediatelly after calling this method.