Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76372

Qt WebEngine Crash on new MacBook Devices (15-inch, 2018 and newer)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • 5.11, 5.12.0, 5.12.2, 5.12.3
    • WebEngine
    •  Mac OS X 10.14.4 from 2018 mac book devices

    Description

      When we run our application on new MacBook devices it crashes as soon as it starts rendering web pages (even simple web pages like www.google.com results).

      The same application perfectly runs on older MacBook devices with same OS Version.

      It does not seems to be a problem of OS version, more it is related to HW accelerator (expecially related the graphic one). Using a different HW but same OS version we have not problems.

      We compile the project using QT creator running on a PC with XCode10 installed

      We have no crash using QT 5.9.8 but the system using this release on that MacBook is really slow.

       

      Please find the crash logs at the end of this email.

       

       

      Process:                                                           MyBrowser [22829]

      Path:                                                   /Applications/MyBrowser.app/Contents/MacOS/MyBrowser

      Identifier:                                                           Blu5.MyBrowser

      Version:                                                             0

      Code Type:                                                       X86-64 (Native)

      Parent Process:                                               ??? [1]

      Responsible:                                                    MyBrowser [22829]

      User ID:                                                             501

       

      Date/Time:                                                       2019-04-01 15:23:38.622 +0200

      OS Version:                                                       Mac OS X 10.14.4 (18E226)

      Report Version:                               12

      Bridge OS Version:                         3.4 (16P4507)

      Anonymous UUID:                          D38CFDA0-2349-E46E-508C-88D28DB1E022

       

      Sleep/Wake UUID:                         61CF7853-C844-4CFC-80C2-1E6DA4768F56

       

      Time Awake Since Boot:               200000 seconds

      Time Since Wake:                           17000 seconds

       

      System Integrity Protection:       enabled

       

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

       

      Exception Type:                               EXC_BAD_ACCESS (SIGSEGV)

      Exception Codes:                            KERN_INVALID_ADDRESS at 0x0000000000000008

      Exception Note:                              EXC_CORPSE_NOTIFY

       

      Termination Signal:                        Segmentation fault: 11

      Termination Reason:                     Namespace SIGNAL, Code 0xb

      Terminating Process:                     exc handler [22829]

       

      VM Regions Near 0x8:

      --> 

          __TEXT                 00000001090d3000-00000001096d4000 [ 6148K] r-x/rwx SM=COW  /Applications/MyBrowser.app/Contents/MacOS/MyBrowser

       

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

      0   com.apple.AMDMTLBronzeDriver     0x00007fff3d3eacfa amdMtlBronze_FillInUBMSurfaceInfo(_UBM_SURFINFO*, BronzeMtlTexture const*, unsigned int, unsigned int, unsigned int, bool) + 128

      1   com.apple.AMDMTLBronzeDriver     0x00007fff3d3eb32f amdMtlBronze_VI_FillInUBMSurfaceInfo(_UBM_SURFINFO*, BronzeMtlTexture const*, unsigned int, unsigned int, unsigned int, bool) + 44

      2   com.apple.AMDMTLBronzeDriver     0x00007fff3d3cfe4d -[BronzeMtlBlitCmdEncoder copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:] + 834

      3   com.apple.AppKit                                                    0x00007fff4669d858 -[NSCGLSurface flushRect:] + 3529

      4   com.apple.AppKit                                                    0x00007fff4669c9f4 NSCGLSurfaceFlush + 214

      5   GLEngine                                                                   0x00007fff52205a4a glSwap_Exec + 186

      6   com.apple.opengl                                                   0x00007fff521e774f CGLFlushDrawable + 59

      7   com.apple.AppKit                                                    0x00007fff45ff6478 -[NSOpenGLContext flushBuffer] + 27

      8   libqcocoa.dylib                                                         0x0000000113dff178 0x113dac000 + 340344

      9   org.qt-project.QtGui                                               0x0000000110fce60c QOpenGLContext::swapBuffers(QSurface*) + 412

      10  org.qt-project.QtGui                              0x0000000111237dbd QPlatformBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, bool) + 4125

      11  org.qt-project.QtWidgets                                    0x00000001109c9a23 0x1109b1000 + 100899

      12  org.qt-project.QtWidgets                                    0x00000001109c9d5c 0x1109b1000 + 101724

      13  org.qt-project.QtWidgets                                    0x00000001109cebb6 0x1109b1000 + 121782

      14  org.qt-project.QtWidgets                                    0x00000001109fdaad QWidget::event(QEvent*) + 1645

      15  org.qt-project.QtWidgets                                    0x0000000110b0eaf5 QMainWindow::event(QEvent*) + 277

      16  org.qt-project.QtWidgets                                    0x00000001109c18ed QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269

      17  org.qt-project.QtWidgets                                    0x00000001109c2cf2 QApplication::notify(QObject*, QEvent*) + 594

      18  org.qt-project.QtCore                           0x0000000111cafef4 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212

      19  org.qt-project.QtCore                           0x0000000111cb112e QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 878

      20  libqcocoa.dylib                                                        0x0000000113ddc9c9 0x113dac000 + 199113

      21  libqcocoa.dylib                                                        0x0000000113ddd130 0x113dac000 + 201008

      22  com.apple.CoreFoundation                                0x00007fff485d05e3 _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ + 17

      23  com.apple.CoreFoundation                                0x00007fff485d0589 __CFRunLoopDoSource0 + 108

      24  com.apple.CoreFoundation                                0x00007fff485b3f3b __CFRunLoopDoSources0 + 195

      25  com.apple.CoreFoundation                                0x00007fff485b3505 __CFRunLoopRun + 1189

      26  com.apple.CoreFoundation                                0x00007fff485b2e0e CFRunLoopRunSpecific + 455

      27  com.apple.HIToolbox                            0x00007fff4789f9db RunCurrentEventLoopInMode + 292

      28  com.apple.HIToolbox                            0x00007fff4789f715 ReceiveNextEventCommon + 603

      29  com.apple.HIToolbox                            0x00007fff4789f4a6 _BlockUntilNextEventMatchingListInModeWithFilter + 64

      30  com.apple.AppKit                                   0x00007fff45c39ffb _DPSNextEvent + 965

      31  com.apple.AppKit                                   0x00007fff45c38d93 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361

      32  com.apple.AppKit                                   0x00007fff45c32eb0 -[NSApplication run] + 699

      33  libqcocoa.dylib                                                        0x0000000113ddc0ab 0x113dac000 + 196779

      34  org.qt-project.QtCore                           0x0000000111cab55f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431

      35  org.qt-project.QtCore                           0x0000000111cb0502 QCoreApplication::exec() + 130

      36  Blu5.MyBrowser                                    0x00000001090db672 main + 322

      37  libdyld.dylib                                                             0x00007fff74a273d5 start + 1

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            empenzes Emmanuel Penzes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes