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

application crash on macOS10.13.6 when using qtwebengine

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P1: Critical
    • None
    • 5.9, 5.11.1
    • WebEngine
    • None
    • macOS10.13.6
    • macOS

    Description

      我在我的代码中使用了QWebEngineView,放在QDialog中显示网页,之前一直运行良好,但是当*更新MacOS到10.13.6版本*时发现在部分机型上出现闪退的情况,尤其是当使用鼠标快速调整窗口大小的时候,闪退几率很高。

      我原本使用的环境是 PyQt5.9,用Pyinstaller3.3.1打包,后来尝试更新到PyQt5.11发现问题依旧。

      于是我尝试下载了Qt creator,用brew安装qt5.11,并找到了(windows的版本中)qt5.11提供的qt-demo项目contentmainipulation进行了编译,发现同样有闪退问题存在。

      崩溃日志及机型信息请参考 链接

      ======================================================

      English version:

      hello, I write a demo of dialog, use QWebEngineView to show a web page, then use pyinstaller to make *.exe and *.dmg. It works before, but when I upgraded my mac os to 10.13.6, it will crash if I resize the dialog quickly. 
       
      I can find an error message: segmentation fault 11, but I have no idea.
       
      my environment: PyQt5.9, pyinstaller 3.3.1, I try PyQt5.11, and py2app, the problem still occurs.
       
      and I find some friends help me test, some of our mac is fine, and some crash, especially a virtual machine.
       
      So I try the Qt5.11, and build a release of the qt-demo project "contentmainipulation"(c++version, not pyqt) on my mac, and it still crashes on macos10.13.6. 
       
      crash report and log, please see this link
       
      Thanks a lot!
       

      the header of the log is :

      //代码占位符
      Process: AirtestIDE [26617]
      Path: /Applications/AirtestIDE.app/Contents/MacOS/AirtestIDE
      Identifier: org.qt-project.Qt.QtWebEngineCore
      Version: 0.1.5 (0.1.5)
      Code Type: X86-64 (Native)
      Parent Process: ??? [1]
      Responsible: AirtestIDE [26617]
      User ID: 501
      
      Date/Time: 2018-08-03 15:35:13.697 +0800
      OS Version: Mac OS X 10.13.6 (17G65)
      Report Version: 12
      Anonymous UUID: A3797357-A89E-5135-42BD-DEF05BDB155F
      
      Sleep/Wake UUID: 5623F353-C173-4114-AAC5-62027D3587C8
      
      Time Awake Since Boot: 150000 seconds
      Time Since Wake: 370 seconds
      
      System Integrity Protection: enabled
      
      Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
      
      Exception Type: EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes: EXC_I386_GPFLT
      Exception Note: EXC_CORPSE_NOTIFY
      
      Termination Signal: Segmentation fault: 11
      Termination Reason: Namespace SIGNAL, Code 0xb
      Terminating Process: exc handler [0]
      
      
      

       

      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
            yimelia qi zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes