locked
GetOutputStreamAsync

    Question

  • Hi,

    I getting an Unhandled exception when call GetOutputStreamAsync

    Windows.Networking.Connectivity.dll!6c773dd0()  Unknown
    [Frames below may be incorrect and/or missing, no symbols loaded for
    Windows.Networking.Connectivity.dll]
    Windows.Networking.dll!6b3aea68()       Unknown
    Windows.Networking.dll!6b3a856f()       Unknown
    Windows.Networking.dll!6b3accc4()       Unknown
    Windows.Networking.dll!6b3abfd0()       Unknown
    Windows.Networking.dll!6b3ab93d()       Unknown
    ice34d.dll!Windows::Networking::Sockets::IDatagramSocket::GetOutputStreamAsync(Windows::Networking::HostName
    ^ __param0, Platform::String ^ __param1)        C++

    Any ideas what could be causing that?

    Regards,

    Jose

    Monday, June 11, 2012 8:05 PM

Answers

  • After some testing with a simple test case i found this woks as expected,

    Looking again over my code seems that was a problem with a second thread concurrently deleting the arguments passed to GetOuputStreamAsync, the second thread reassign that arguments when it receive a message.

    • Marked as answer by pepone.onrez Wednesday, June 13, 2012 9:22 AM
    Tuesday, June 12, 2012 11:25 PM

All replies

  • No ideas from that callstack. Can you repro this problem? If so, please paste the relevant source here. If it is intermittent you can save a dump file, compress it and email it to me for review, davidLam at Microsoft dot com.

    Thanks!


    David Lamb

    Tuesday, June 12, 2012 7:45 PM
    Moderator
  • After some testing with a simple test case i found this woks as expected,

    Looking again over my code seems that was a problem with a second thread concurrently deleting the arguments passed to GetOuputStreamAsync, the second thread reassign that arguments when it receive a message.

    • Marked as answer by pepone.onrez Wednesday, June 13, 2012 9:22 AM
    Tuesday, June 12, 2012 11:25 PM