Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor tobias_stoeger's Avatar
    Join Date
    Sep 2004
    Posts
    90
    Hi all,
    after investigating a lot of time, I'm sure it has to be a bug. ;-)

    The problem is that RHostResolver::Close() hangs the application thread, if calling...

    //called in CSocketEngine:oCancel()
    iResolver.Cancel();
    iResolver.Close(); //Hangs the app

    ...after we had sent an async request...

    User::LeaveIfError(iResolver.Open(iSocketServ, KAfInet, KProtocolInetUdp));
    iResolver.GetByName(iServerName, iNameEntry, iStatus);
    SetActive();

    ...and before the system has prompted with the IAP-SelectionDialog.

    The above Close() does not hang, if it was called after the IAP-SelectionDialog has popped up.

    I'm sure that our code works well.
    The same code works fine on OS7.0s/S60,OS8.1a/S60 and OS7.0/UiQ, even if
    for OS7.0/UiQ the RHostResolver::Cancel() does not cancel the async progress of showing the IAP-SelectionDialog.

    I'm not sure, if the problem is only related to RHostResolver, maybe it also happens if working IP based and with RSocket.

    It is only reproducible on device and not in emulator.

    Please help. Any comments are welcome.
    Thank you very much.
    --
    Tobias
    www.OutBank.de

  2. #2
    Regular Contributor tobias_stoeger's Avatar
    Join Date
    Sep 2004
    Posts
    90
    ...the same error happens on RSocket. :-(

    After an outstanding request on RSocket has been canceled
    before the IAP-SelectionDialog gets visible, the
    RSocket::Close() hangs.
    --
    Tobias
    www.OutBank.de

Similar Threads

  1. [OS7.0s v2.0 S80] RHostResolver / Cancel / Close / Hangs / Firmware / V5.22(01)
    By tobias_stoeger in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-12-01, 11:43

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