[Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

Rainer Wiesenfarth rainer_wiesenfarth at trimble.com
Tue Feb 4 18:17:29 CET 2020


On Tue, Feb 4, 2020 at 5:18 PM Mårten Nordheim <marten.nordheim at qt.io>
wrote:

> It’s likely related to the new network connection monitor inside
> QNetworkAccessManager, which uses COM.
>
> Although that by itself shouldn’t cause any issues and there’s other uses
> of COM inside Qt as well. But perhaps you didn’t indirectly use it so you
> didn’t get a conflict earlier.
>
> [...]
>

This sounds familiar. We ran into a similar issue with QFileDialog crashing
due to the wrong COM threading model being active.

I do not recall the details, but searching for "CLR Thread Attribute" (a
linking parameter) may give you some useful information.

Cheers, Rainer

-- 
Software Engineer | Trimble Imaging Division
Rotebühlstraße 81 | 70178 Stuttgart | Germany
Office +49 711 22881 0 | Fax +49 711 22881 11
http://www.trimble.com/imaging/ | http://www.inpho.de/

Trimble Germany GmbH, Am Prime Parc 11, 65479 Raunheim
Eingetragen beim Amtsgericht Darmstadt unter HRB 83893,
Geschäftsführer: Rob Reeder, Jürgen Kesper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200204/625da1c2/attachment.html>


More information about the Interest mailing list