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

[Crash] WebEngine Print Me example app crashes when changing the page orientation

    XMLWordPrintable

Details

    • All
    • 367e6ff0b (dev), 3ff5f601b (6.7), e27855c29 (6.6), fbf0f46fa (tqtc/lts-6.5)

    Description

      MacOS 14.3.1

      Qt Creator 12.0.2

      Qt 6.7.0-beta3

       

      Steps to reproduce:

      1. Open and run https://doc.qt.io/qt-6/qtwebengine-webenginewidgets-printme-example.html 
      2. Click Print Now button
      3. Change the page orientation from portrait to landscape and from landscape to portrait.

      Expected: The orientation is changed.

      Actual: The app crashes.

      Reproducibility:  100% ** 

      Crashed Thread:        0  CrBrowserMain  Dispatch queue: com.apple.main-threadException Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       KERN_PROTECTION_FAILURE at 0x00007ff7afeadff8
      Exception Codes:       0x0000000000000002, 0x00007ff7afeadff8Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
      Terminating Process:   exc handler [15586]VM Region Info: 0x7ff7afeadff8 is in 0x7ff7ac6ae000-0x7ff7afeae000;  bytes after start: 58720248  bytes before end: 7
            REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
            MALLOC_SMALL             7fdc60800000-7fdc61000000 [ 8192K] rw-/rwx SM=PRV  
            GAP OF 0x1b4b6ae000 BYTES
      --->  STACK GUARD              7ff7ac6ae000-7ff7afeae000 [ 56.0M] ---/rwx SM=NUL  ... for thread 0
            Stack                    7ff7afeae000-7ff7b06ae000 [ 8192K] rw-/rwx SM=SHM  thread 0Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
      0   QtPrintSupport                           0x10f89eba4 non-virtual thunk to QPreviewPaintEngine::property(QPrintEngine::PrintEnginePropertyKey) const + 4
      1   QtPrintSupport                           0x10f89ebba QPreviewPaintEngine::property(QPrintEngine::PrintEnginePropertyKey) const + 17 (qpaintengine_preview.cpp:168) [inlined]
      2   QtPrintSupport     

       

      Attachments

        Issue Links

          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
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes