[Interest] No network reply received in WinRT after calling QNetworkAccessManager::post

Oliver Wolff oliver.wolff at theqtcompany.com
Tue May 12 12:15:02 CEST 2015


Hi,


On 5/12/2015 11:05, Rogerio Nicolau wrote:
> Hi
>
> I'm using Qt 5.4.1 and have an App which runs fine on all the other
> platforms except on winrt where after a QNetworkAccessManager::post, the
> QNetworkAccessManager::finished signal never gets triggered. The post is
> just an http message and I can see that the server receives and responds
> to the post.
> So the call to post is working fine but no timeout is triggered and the
> finished signal is never emitted so the app just sits and waits for the
> reply.
>
> The only clue that I can see are some error messages in the debug output
> indicating exceptions being thrown by the windows libraries:
>
> First-chance exception at 0x00007FF9A3578B9C (KernelBase.dll) in
> app.exe: 0x40080202: WinRT transform error (parameters:
> 0x000000008000000B, 0x0000000080070490, 0x0000000000000014,
> 0x0000001CD208EF00)
>
> If I enable breaking on exceptions I can trace these back to this
> method/line
> QEventDispatcherWinRTPrivate::fetchCoreDispatcher()
> {
> ...
> hr = view2->get_Dispatcher(&coreDispatcher);
> ...
> }
> where coreDispatcher is a ComPtr object.
>
> I get a couple of these exceptions before the call to post and then at
> least one after, so there may be other things that have been affected.
>
> Any suggestions on what might be wrong?

that sounds like https://bugreports.qt.io/browse/QTBUG-43837. I am still 
trying to work around the issue we are having with threading in this 
case on WinRT. I hope to be able to come up with a fix soon.

BR,
Olli

>
> Thanks.
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list