Details
Description
QWebEngineView crashes on random web pages and shows blank screen
To reproduce download attached example, run it, enter url, and press Load.
In Qt 5.12.10 all pages work perfectly
In Qt 5.12.11 some pages just show blank screen and writes in console that render process was terminated.
If you load https://bugreports.qt.io/ and press some link "Browse Projects" or "Search for Issues" it will crash with this log:
render process terminated QWebEnginePage::CrashedTerminationStatus 11
If you load this https://www.youtube.com/watch?v=E9SE_jdLVDg it will crash with this log:
# # Fatal error in , line 0 # RepresentationChangerError: node #860:SpeculativeNumberMultiply of kRepWord32 (( | Range(-2147483647, 2147483647))) cannot be changed to kRepWord32 # # # #FailureMessage Object: 0x700015d55c900 QtWebEngineCore 0x000000010f85547c shape_detection::TextDetectionImplMac::Detect(SkBitmap const&, base::OnceCallback<void (std::__1::vector<mojo::StructPtr<shape_detection::mojom::TextDetectionResult>, std::__1::allocator<mojo::StructPtr<shape_detection::mojom::TextDetectionResult> > >)>) + 9773292 1 QtWebEngineCore 0x0000000111337feb ui::CATransactionCoordinator::SynchronizeImpl() + 9111819 2 QtWebEngineCore 0x000000011131b355 ui::CATransactionCoordinator::SynchronizeImpl() + 8993909 3 QtWebEngineCore 0x000000010e56c7c9 QtWebEngineCore::FilePickerController::qt_metacall(QMetaObject::Call, int, void**) + 15223097 4 QtWebEngineCore 0x000000010e56e1e4 QtWebEngineCore::FilePickerController::qt_metacall(QMetaObject::Call, int, void**) + 15229780 5 QtWebEngineCore 0x000000010e56c37f QtWebEngineCore::FilePickerController::qt_metacall(QMetaObject::Call, int, void**) + 15221999 6 QtWebEngineCore 0x000000010e5bb951 QtWebEngineCore::FilePickerController::qt_metacall(QMetaObject::Call, int, void**) + 15547073 7 QtWebEngineCore 0x000000010e5b9a69 QtWebEngineCore::FilePickerController::qt_metacall(QMetaObject::Call, int, void**) + 15539161 8 QtWebEngineCore 0x000000010e5b8125 QtWebEngineCore::FilePickerController::qt_metacall(QMetaObject::Call, int, void**) + 15532693 9 QtWebEngineCore 0x000000010e588a43 QtWebEngineCore::FilePickerController::qt_metacall(QMetaObject::Call, int, void**) + 15338419 10 QtWebEngineCore 0x000000010e5883eb QtWebEngineCore::FilePickerController::qt_metacall(QMetaObject::Call, int, void**) + 15336795 11 QtWebEngineCore 0x000000010e549ab6 QtWebEngineCore::FilePickerController::qt_metacall(QMetaObject::Call, int, void**) + 15080486 12 QtWebEngineCore 0x000000010e546404 QtWebEngineCore::FilePickerController::qt_metacall(QMetaObject::Call, int, void**) + 15066484 13 QtWebEngineCore 0x000000010e5462a0 QtWebEngineCore::FilePickerController::qt_metacall(QMetaObject::Call, int, void**) + 15066128 14 QtWebEngineCore 0x000000010e3e63de QtWebEngineCore::FilePickerController::qt_metacall(QMetaObject::Call, int, void**) + 13624654 15 QtWebEngineCore 0x000000010e3e1e81 QtWebEngineCore::FilePickerController::qt_metacall(QMetaObject::Call, int, void**) + 13606897 16 QtWebEngineCore 0x000000010e3e411a QtWebEngineCore::FilePickerController::qt_metacall(QMetaObject::Call, int, void**) + 13615754 17 QtWebEngineCore 0x000000010f7828f2 shape_detection::TextDetectionImplMac::Detect(SkBitmap const&, base::OnceCallback<void (std::__1::vector<mojo::StructPtr<shape_detection::mojom::TextDetectionResult>, std::__1::allocator<mojo::StructPtr<shape_detection::mojom::TextDetectionResult> > >)>) + 8910178 18 QtWebEngineCore 0x000000010f81949a shape_detection::TextDetectionImplMac::Detect(SkBitmap const&, base::OnceCallback<void (std::__1::vector<mojo::StructPtr<shape_detection::mojom::TextDetectionResult>, std::__1::allocator<mojo::StructPtr<shape_detection::mojom::TextDetectionResult> > >)>) + 9527562 19 QtWebEngineCore 0x000000010f865e33 shape_detection::TextDetectionImplMac::Detect(SkBitmap const&, base::OnceCallback<void (std::__1::vector<mojo::StructPtr<shape_detection::mojom::TextDetectionResult>, std::__1::allocator<mojo::StructPtr<shape_detection::mojom::TextDetectionResult> > >)>) + 9841315 20 QtWebEngineCore 0x000000010f818b2d shape_detection::TextDetectionImplMac::Detect(SkBitmap const&, base::OnceCallback<void (std::__1::vector<mojo::StructPtr<shape_detection::mojom::TextDetectionResult>, std::__1::allocator<mojo::StructPtr<shape_detection::mojom::TextDetectionResult> > >)>) + 9525149 21 QtWebEngineCore 0x000000010f80f9cb shape_detection::TextDetectionImplMac::Detect(SkBitmap const&, base::OnceCallback<void (std::__1::vector<mojo::StructPtr<shape_detection::mojom::TextDetectionResult>, std::__1::allocator<mojo::StructPtr<shape_detection::mojom::TextDetectionResult> > >)>) + 9487931 22 QtWebEngineCore 0x000000010f80f7e4 shape_detection::TextDetectionImplMac::Detect(SkBitmap const&, base::OnceCallback<void (std::__1::vector<mojo::StructPtr<shape_detection::mojom::TextDetectionResult>, std::__1::allocator<mojo::StructPtr<shape_detection::mojom::TextDetectionResult> > >)>) + 9487444 23 QtWebEngineCore 0x000000010f866c77 shape_detection::TextDetectionImplMac::Detect(SkBitmap const&, base::OnceCallback<void (std::__1::vector<mojo::StructPtr<shape_detection::mojom::TextDetectionResult>, std::__1::allocator<mojo::StructPtr<shape_detection::mojom::TextDetectionResult> > >)>) + 9844967 24 libsystem_pthread.dylib 0x00007fff6c0b3109 _pthread_start + 148 25 libsystem_pthread.dylib 0x00007fff6c0aeb8b thread_start + 15 render process terminated QWebEnginePage::CrashedTerminationStatus 4