Details
Description
Steps to reproduce.
1. Define QTWEBENGINE_REMOTE_DEBUGGING=10000 environment variable
2. Start WebEngine tab browser example
3. It crashes on exit
Here's the Mac's crash report log.
Process: Browser [65407] Path: /Users/USER/*/Browser.app/Contents/MacOS/Browser Identifier: com.trolltech.DemoBrowser Version: ??? Code Type: X86-64 (Native) Parent Process: Qt Creator [59101] Responsible: Qt Creator [59101] User ID: 501 Date/Time: 2016-02-01 13:27:56.914 +0900 OS Version: Mac OS X 10.10.5 (14F1605) Report Version: 11 Anonymous UUID: 1746640B-0BFB-44F3-8EAE-E0CDD21CA111 Sleep/Wake UUID: D9A905F6-7B1A-4E75-8C61-AAC4979BE29E Time Awake Since Boot: 170000 seconds Time Since Wake: 12000 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 000000010c078000-000000010c1e2000 [ 1448K] r-x/rwx SM=COW /Users/USER/*/Browser.app/Contents/MacOS/Browser Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread 0 org.qt-project.Qt.QtWebEngineCore 0x000000010ea85daf base::ThreadTaskRunnerHandle::Get() + 111 (ref_counted.h:282) 1 org.qt-project.Qt.QtWebEngineCore 0x000000010ea86a50 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(tracked_objects::Location const&, base::Callback<void ()> const&, base::Callback<void ()> const&) + 96 (post_task_and_reply_impl.cc:27) 2 org.qt-project.Qt.QtWebEngineCore 0x000000010ea85c70 base::TaskRunner::PostTaskAndReply(tracked_objects::Location const&, base::Callback<void ()> const&, base::Callback<void ()> const&) + 32 (task_runner.cc:52) 3 org.qt-project.Qt.QtWebEngineCore 0x000000010f671b8a content::BrowserThread::PostTaskAndReply(content::BrowserThread::ID, tracked_objects::Location const&, base::Callback<void ()> const&, base::Callback<void ()> const&) + 58 (browser_thread_impl.cc:479) 4 org.qt-project.Qt.QtWebEngineCore 0x000000010f6812d8 content::DevToolsHttpHandlerImpl::Stop() + 264 (callback_forward.h:11) 5 org.qt-project.Qt.QtWebEngineCore 0x000000010e18f6c1 QtWebEngineCore::DevToolsHttpHandlerDelegateQt::~DevToolsHttpHandlerDelegateQt() + 33 (qstring.h:1053) 6 org.qt-project.Qt.QtWebEngineCore 0x000000010e1b1108 WebEngineContext::~WebEngineContext() + 24 (qshareddata.h:156) 7 org.qt-project.Qt.QtWebEngineCore 0x000000010e1b12b2 (anonymous namespace)::destroyContext() + 146 (ref_counted.h:137) 8 org.qt-project.QtCore 0x000000010d00be0a qt_call_post_routines() + 42 9 org.qt-project.QtWidgets 0x000000010da602c5 QApplication::~QApplication() + 37 10 com.trolltech.DemoBrowser 0x000000010c08b34d BrowserApplication::~BrowserApplication() + 461 (browserapplication.cpp:192) 11 com.trolltech.DemoBrowser 0x000000010c08b3f5 BrowserApplication::~BrowserApplication() + 21 (browserapplication.cpp:192) 12 com.trolltech.DemoBrowser 0x000000010c0dce2f main + 191 (main.cpp:55) 13 com.trolltech.DemoBrowser 0x000000010c07d094 start + 52