3

我的应用程序有问题,但是在禁用所有内容几个小时后,我发现标准示例 FancyBrowser 应用程序(基于 webengine)也有同样的问题。

它在 QtWebEngineCore 深处的某个地方造成了一些断点(不幸的是,在 5.5.1 中,他们忘记放置符号 QtWebEngineCored.dll.pdb)。然后应用程序就退出了。

此外,在出现此异常后,出现了一些 debug.log 文件:

  [1121 / 22 1113:FATAL : resource_scheduler.cc(784)] Check failed : client_map_.empty().
  Backtrace :
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182F75D06 + 47210422]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182E243DD + 45827725]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x00000001806CD0FC + 4576172]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x000000018041B27C + 1750316]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x000000018041A95E + 1747982]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x000000018044643F + 1926895]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000180446245 + 1926389]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000180425820 + 1792720]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000180427791 + 1800769]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000180423FCA + 1786490]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000180427161 + 1799185]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x00000001802EFE5D + 524557]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182FA9D52 + 47423490]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182E417C2 + 45947506]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182E3EE11 + 45936833]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182E3F564 + 45938708]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182FAE69C + 47442252]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182FB02C0 + 47449456]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182FB0215 + 47449285]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182E41513 + 45946819]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182E8AF2B + 46248411]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182E41395 + 45946437]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182EBD30D + 46454205]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x00000001803553E6 + 939670]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x000000018035696C + 945180]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182EBDF9F + 46457423]
  QtWebEngineCore::URLRequestCustomJobDelegate::qt_static_metacall[0x0000000182EDB67D + 46577965]
  BaseThreadInitThunk[0x0000000076FC652D + 13]
  RtlUserThreadStart[0x00000000771FC541 + 33]

它只出现在 5.5.1 中(5.4.x 从未见过)。只是好奇,有什么我可以做的吗?

4

2 回答 2

0

当您在退出程序时不删除 QWebEngineView 时,就会发生这种情况。请参阅https://bugreports.qt.io/browse/QTBUG-50160上的讨论,尽管更简单的解决方案是在堆栈上创建 QWebEngineView。

于 2017-04-09T13:49:12.577 回答
0

可能是调试端口的原因,您可以删除调试端口参数并尝试一下

于 2016-08-15T14:57:03.720 回答