Details
Description
When using QWebEngine to open a PDF file, the application crashes in a debug build with the following error:
[2392:19364:0925/081102.094:ERROR:extension_function_dispatcher.cc(486)] Permission denied for metricsPrivate.recordValue
[2392:16644:0925/081102.143:FATAL:feature_list.cc(354)] Check failed: CheckFeatureIdentity(feature). RendererAppContainer
Everything seems to work fine in a release build (the PDF is properly displayed).
This can be reproduced with the "Qt-5.15.1\webenginewidgets\simplebrowser" example project:
- Compile / execute the example in debug configuration
- Within the "Qt Simple Browser" example application, use "File -> Open File..." to open any local PDF file
- The application apparently tries to load the file but crashes within seconds
- This works fine when doing the same in release configuration