Details
Description
When instantiating a pure QWebEngineView and clicking on a link which opens a new window, e.g., the Facebook link on the bootom of qt.io, the application crashes.
Start of backtrace
#0 0xffffffff in QWebEnginePagePrivate::adoptNewWindow(QtWebEngineCore::WebContentsAdapter*, QtWebEngineCore::WebContentsAdapterClient::WindowOpenDisposition, bool, QRect const&) (this=0x8162970, newWebContents=newWebContents@entry=0xa66d6b0, disposition=disposition@entry=QtWebEngineCore::WebContentsAdapterClient::NewPopupDisposition, userGesture=userGesture@entry=true, initialGeometry=...) at /home/user/devel/qt5/qtwebengine/src/webenginewidgets/api/qwebenginepage.cpp:240 #1 0xffffffff in QtWebEngineCore::WebContentsDelegateQt::createWindow(content::WebContents*, WindowOpenDisposition, gfx::Rect const&, bool) (this=this@entry=0x81b68c8, new_contents=new_contents@entry=0x97e52b8, disposition=disposition@entry=NEW_POPUP, initial_pos=..., user_gesture=user_gesture@entry=true) at /home/user/devel/qt5/qtwebengine/src/core/web_contents_delegate_qt.cpp:347
This happens with a pretty new custom build. The qtwebengine version is cd1697f022063dafc59fb512b4a469fbe38729cc.
This can be reproduced for example with the test application from QTBUG-48969.