Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12.0 Alpha
-
None
-
macOS Mojave 10.14; 2018 MBP
-
-
bd77b42ba970c27b33f525ba7614557a405f345b
Description
Open the Markdown editor example, and try scrolling the rendered content on the right side of the widget. (In my case, I tried scrolling quickly using my MBP's trackpad.) The application crashes. It seems to reproduce most consistently if I try to scroll beyond the page region; e.g. scrolling too high or low.
Here's a log of all the console output I saw (including stack trace + some GLES warnings)
09:06:15: Starting /Users/kevin/Qt/Examples/Qt-5.12.0/webenginewidgets/build-markdowneditor-Desktop_Qt_5_12_0_clang_64bit-Debug/markdowneditor.app/Contents/MacOS/markdowneditor... [99728:775:0928/090615.532668:ERROR:validation_errors.cc(87)] Invalid message: VALIDATION_ERROR_MESSAGE_HEADER_UNKNOWN_METHOD [99727:51459:0928/090615.537637:WARNING:mac_util.mm(425)] Assuming Darwin 18 is macOS 10.14 [99727:51459:0928/090615.891956:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.892126:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.938340:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.938391:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.938416:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.938440:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.938463:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.938495:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.938520:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.938547:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.938573:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.938603:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.938628:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.938722:ERROR:gles2_cmd_decoder.cc(18028)] CreateAndConsumeTextureCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.955511:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.955634:ERROR:gles2_cmd_decoder.cc(18028)] CreateAndConsumeTextureCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.955911:ERROR:gles2_cmd_decoder.cc(18028)] CreateAndConsumeTextureCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.956400:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.956804:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.957240:ERROR:gles2_cmd_decoder.cc(17994)] glProduceTextureDirectCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.971361:ERROR:gles2_cmd_decoder.cc(18028)] CreateAndConsumeTextureCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.975513:ERROR:gles2_cmd_decoder.cc(18028)] CreateAndConsumeTextureCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.976070:ERROR:gles2_cmd_decoder.cc(18028)] CreateAndConsumeTextureCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.976439:ERROR:gles2_cmd_decoder.cc(18028)] CreateAndConsumeTextureCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.981679:ERROR:gles2_cmd_decoder.cc(18028)] CreateAndConsumeTextureCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.982376:ERROR:gles2_cmd_decoder.cc(18028)] CreateAndConsumeTextureCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.985882:ERROR:gles2_cmd_decoder.cc(18028)] CreateAndConsumeTextureCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. [99727:51459:0928/090615.986160:ERROR:gles2_cmd_decoder.cc(18028)] CreateAndConsumeTextureCHROMIUM was passed a mailbox that was not generated by GenMailboxCHROMIUM. ASSERT failure in Q_UNREACHABLE(): "Q_UNREACHABLE was reached", file /Users/qt/work/qt/qtwebengine/src/core/web_event_factory.cpp, line 1440 Received signal 6 0 QtWebEngineCore_debug 0x00000001129aef0e base::debug::StackTrace::StackTrace(unsigned long) + 174 1 QtWebEngineCore_debug 0x00000001129aef6d base::debug::StackTrace::StackTrace(unsigned long) + 29 2 QtWebEngineCore_debug 0x00000001129ad97c base::debug::StackTrace::StackTrace() + 28 3 QtWebEngineCore_debug 0x00000001129aecff base::debug::(anonymous namespace)::StackDumpSignalHandler(int, __siginfo*, void*) + 1439 4 libsystem_platform.dylib 0x00007fff64d83b3d _sigtramp + 29 5 QtCore_debug 0x00000001076e5008 GCC_except_table6 + 71124 6 libsystem_c.dylib 0x00007fff64c421c9 abort + 127 7 QtCore_debug 0x0000000107005598 qt_message_fatal(QtMsgType, QMessageLogContext const&, QString const&) + 24 8 QtCore_debug 0x00000001070079ae QMessageLogger::fatal(char const*, ...) const + 446 9 QtCore_debug 0x0000000106ffbf9a qt_assert_x(char const*, char const*, char const*, int) + 89 10 QtWebEngineCore_debug 0x000000010c48266d toBlinkPhase(Qt::ScrollPhase) + 141 11 QtWebEngineCore_debug 0x000000010c482806 WebEventFactory::toWebWheelEvent(QWheelEvent*, double) + 374 12 QtWebEngineCore_debug 0x000000010c3fe340 QtWebEngineCore::RenderWidgetHostViewQt::handleWheelEvent(QWheelEvent*) + 224 13 QtWebEngineCore_debug 0x000000010c3fd0b1 QtWebEngineCore::RenderWidgetHostViewQt::forwardEvent(QEvent*) + 865 14 QtWebEngineCore_debug 0x000000010c3ffc3f non-virtual thunk to QtWebEngineCore::RenderWidgetHostViewQt::forwardEvent(QEvent*) + 47 15 QtWebEngineWidgets_debug 0x000000010497fa4f QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::event(QEvent*) + 751 16 QtWidgets_debug 0x00000001051e5aff QApplicationPrivate::notify_helper(QObject*, QEvent*) + 431 17 QtWidgets_debug 0x00000001051e8d16 QApplication::notify(QObject*, QEvent*) + 5862 18 QtCore_debug 0x00000001072f8d45 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 277 19 QtCore_debug 0x00000001072f8eb2 QCoreApplication::forwardEvent(QObject*, QEvent*, QEvent*) + 98 20 QtWidgets_debug 0x0000000105271c05 QWidgetWindow::handleWheelEvent(QWheelEvent*) + 757 21 QtWidgets_debug 0x000000010526fb6e QWidgetWindow::event(QEvent*) + 670 22 QtWidgets_debug 0x00000001051e5aff QApplicationPrivate::notify_helper(QObject*, QEvent*) + 431 23 QtWidgets_debug 0x00000001051e7d4c QApplication::notify(QObject*, QEvent*) + 1820 24 QtCore_debug 0x00000001072f8d45 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 277 25 QtCore_debug 0x00000001072f992c QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) + 60 26 QtGui_debug 0x0000000105b0ded4 QGuiApplicationPrivate::processWheelEvent(QWindowSystemInterfacePrivate::WheelEvent*) + 660 27 QtGui_debug 0x0000000105b0ca4c QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 684 28 QtGui_debug 0x0000000105aead14 QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 196 29 libqcocoa_debug.dylib 0x000000010aeb24d1 QCocoaEventDispatcherPrivate::processPostedEvents() + 321 30 libqcocoa_debug.dylib 0x000000010aeb32bf QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 79 31 CoreFoundation 0x00007fff37b1e405 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 32 CoreFoundation 0x00007fff37b1e3ab __CFRunLoopDoSource0 + 108 33 CoreFoundation 0x00007fff37b01e51 __CFRunLoopDoSources0 + 195 34 CoreFoundation 0x00007fff37b013fa __CFRunLoopRun + 1219 35 CoreFoundation 0x00007fff37b00ce4 CFRunLoopRunSpecific + 463 36 HIToolbox 0x00007fff36d9a895 RunCurrentEventLoopInMode + 293 37 HIToolbox 0x00007fff36d9a4d4 ReceiveNextEventCommon + 371 38 HIToolbox 0x00007fff36d9a348 _BlockUntilNextEventMatchingListInModeWithFilter + 64 39 AppKit 0x00007fff3505795b _DPSNextEvent + 997 40 AppKit 0x00007fff350566fa -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362 41 AppKit 0x00007fff3505075d -[NSApplication run] + 699 42 libqcocoa_debug.dylib 0x000000010aeb10d0 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1184 43 QtCore_debug 0x00000001072f2fbb QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 107 44 QtCore_debug 0x00000001072f31cb QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 507 45 QtCore_debug 0x00000001072f965c QCoreApplication::exec() + 380 46 QtGui_debug 0x0000000105b0c4f6 QGuiApplication::exec() + 22 47 QtWidgets_debug 0x00000001051e74c9 QApplication::exec() + 9 48 markdowneditor 0x0000000104933a83 main + 99 49 libdyld.dylib 0x00007fff64b9a085 start + 1 [end of stack trace] 09:06:21: The program has unexpectedly finished. 09:06:21: The process was ended forcefully. 09:06:22: /Users/kevin/Qt/Examples/Qt-5.12.0/webenginewidgets/build-markdowneditor-Desktop_Qt_5_12_0_clang_64bit-Debug/markdowneditor.app/Contents/MacOS/markdowneditor crashed.
I was not able to reproduce the crash with Qt 5.11.2, but in that configuration, the example has separate issues (it displays with white text on a white background; similar to https://bugreports.qt.io/browse/QTBUG-70714)