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

Browser demo makes WebEngine crash after macdeployqt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.4.0 Beta
    • WebEngine
    • None
    • Mac OS 10.7

    Description

      I compiled the Browser demo (webenginewidgets) with Qt 5.4 Beta with Clang on Mac OS 10.7. When I run it from Qt Creator, everything is ok. I wanted a bundle so I changed the following :

      macx: CONFIG += app_bundle
      

      Running the bundle from Qt Creator is not a problem, but when running macdeployqt on the bundle,

      /Users/john/Qt5.4.0/5.4/clang_64/bin/macdeployqt ./browser.app -verbose=0;
      

      The application run but when the page start loading, it crash with the following callstack.

      Process:         Browser [978]
      Path:            /Users/USER/*/Browser.app/Contents/MacOS/Browser
      Identifier:      com.trolltech.DemoBrowser
      Version:         ??? (???)
      Code Type:       X86-64 (Native)
      Parent Process:  launchd [147]
      
      Date/Time:       2014-10-20 09:45:57.323 +0200
      OS Version:      Mac OS X 10.7.5 (11G63)
      Report Version:  9
      
      Interval Since Last Report:          549621 sec
      Crashes Since Last Report:           140
      Per-App Interval Since Last Report:  4165 sec
      Per-App Crashes Since Last Report:   16
      Anonymous UUID:                      F140B5C2-52F8-4578-B198-9A19494A2B83
      
      Crashed Thread:  0  Dispatch queue: com.apple.main-thread
      
      Exception Type:  EXC_CRASH (SIGABRT)
      Exception Codes: 0x0000000000000000, 0x0000000000000000
      
      Application Specific Information:
      objc[978]: garbage collection is OFF
      abort() called
      
      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   libsystem_kernel.dylib        	0x00007fff8a827ce2 __pthread_kill + 10
      1   libsystem_c.dylib             	0x00007fff8feaa7d2 pthread_kill + 95
      2   libsystem_c.dylib             	0x00007fff8fe9ba7a abort + 143
      3   QtCore                        	0x0000000102b55b79 0x102b34000 + 138105
      4   QtCore                        	0x0000000102b575cf QMessageLogger::fatal(char const*, ...) const + 239
      5   QtWebEngineCore               	0x0000000103ced89b 0x103cc0000 + 186523
      6   QtWebEngineCore               	0x0000000103cec163 0x103cc0000 + 180579
      7   QtWebEngineCore               	0x0000000103cebc13 0x103cc0000 + 179219
      8   QtWebEngineCore               	0x0000000103ce559c WebContentsAdapter::WebContentsAdapter(content::WebContents*) + 44
      9   QtWebEngineWidgets            	0x0000000102239a1e 0x102233000 + 27166
      10  QtWebEngineWidgets            	0x000000010223ab1e QWebEnginePage::QWebEnginePage(QObject*) + 46
      11  com.trolltech.DemoBrowser     	0x00000001020fea14 WebPage::WebPage(QObject*) + 20
      12  com.trolltech.DemoBrowser     	0x00000001020fedf5 WebView::WebView(QWidget*) + 101
      13  com.trolltech.DemoBrowser     	0x00000001020f86d6 TabWidget::newTab(bool) + 182
      14  com.trolltech.DemoBrowser     	0x00000001020f8354 TabWidget::webView(int) const + 84
      15  ???                           	0x00007fa4384537c0 0 + 140343295424448
      

      Attachments

        Issue Links

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

          Activity

            People

              mibrunin Michael Bruning
              johnlamericain Jonathan Courtois
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes