Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor saurbh_g's Avatar
    Join Date
    Nov 2004
    Location
    Mumbai - India
    Posts
    155
    hi friends

    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(aData)
    iMessageArray->AppendL(aData);

    if (!IsActive() && (iMessageArray->Count() > 0) )
    {
    iSocket.Write(*iMessageArray->At(0), iStatus);
    SetActive();
    }
    else
    {
    }
    }

    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.


    Suraab

  2. #2
    Super Contributor sopta007's Avatar
    Join Date
    Apr 2003
    Location
    Czech Republic
    Posts
    915
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved