[Interest] Qt 5.5.1 QWebEngineView crash in debug mode

ynon perek ynonperek at gmail.com
Wed Dec 2 18:23:37 CET 2015


Hi All,

I recently upgraded to the new QWebEngineView with Qt 5.5.1 on a Mac 64bit.
When running with devtools (setting QTWEBENGINE_REMOTE_DEBUGGING
environment variable to a numeric value), the application crash on exit.

Is this a known bug? Any workarounds ?

This is the code I use:
#include <QtCore>
#include <QtGui>

#include <QtWebEngineWidgets>

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    QWebEngineView view;
    view.load(QUrl("http://qt-project.org/"));
    view.show();

    return app.exec();
}

And the crash report is:
Process:               hasher [48086]
Path:                  /Users/USER/*/hasher
Identifier:            hasher
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        bash [45731]
Responsible:           Terminal [2081]
User ID:               501

Date/Time:             2015-12-02 19:20:15.155 +0200
OS Version:            Mac OS X 10.10.5 (14F1021)
Report Version:        11
Anonymous UUID:        A67D2AD0-AD47-E07D-9C2F-5EDCC89B2300

Sleep/Wake UUID:       76AFD526-ED04-4068-ADAE-82686C2A5789

Time Awake Since Boot: 170000 seconds
Time Since Wake:       1300 seconds

Crashed Thread:        0  CrBrowserMain  Dispatch queue:
com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
-->
    __TEXT                 0000000108c7c000-0000000108c85000 [   36K]
r-x/rwx SM=COW  /Users/USER/*

Thread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread
0   org.qt-project.Qt.QtWebEngineCore 0x000000010b3a2bcf
base::ThreadTaskRunnerHandle::Get() + 111
1   org.qt-project.Qt.QtWebEngineCore 0x000000010b3a3860
base::internal::PostTaskAndReplyImpl::PostTaskAndReply(tracked_objects::Location
const&, base::Callback<void ()> const&, base::Callback<void ()> const&) + 96
2   org.qt-project.Qt.QtWebEngineCore 0x000000010b3a2a90
base::TaskRunner::PostTaskAndReply(tracked_objects::Location const&,
base::Callback<void ()> const&, base::Callback<void ()> const&) + 32
3   org.qt-project.Qt.QtWebEngineCore 0x000000010bf746ca
content::BrowserThread::PostTaskAndReply(content::BrowserThread::ID,
tracked_objects::Location const&, base::Callback<void ()> const&,
base::Callback<void ()> const&) + 58
4   org.qt-project.Qt.QtWebEngineCore 0x000000010bf83c6b
content::DevToolsHttpHandlerImpl::Stop() + 267
5   org.qt-project.Qt.QtWebEngineCore 0x000000010aac10e1
QtWebEngineCore::DevToolsHttpHandlerDelegateQt::~DevToolsHttpHandlerDelegateQt()
+ 33
6   org.qt-project.Qt.QtWebEngineCore 0x000000010aae2fb8
WebEngineContext::~WebEngineContext() + 24
7   org.qt-project.Qt.QtWebEngineCore 0x000000010aae3162 (anonymous
namespace)::destroyContext() + 146
8   org.qt-project.QtCore         0x000000010991d18a
qt_call_post_routines() + 42
9   org.qt-project.QtWidgets       0x000000010a38ed55
QApplication::~QApplication() + 37
10  hasher                         0x0000000108c81a6b main + 187
11  hasher                         0x0000000108c819a4 start + 52

Thanks,
  Ynon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151202/53a36089/attachment.html>


More information about the Interest mailing list