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

Using PdfPageImage instead of Image on PDF file results in EXC_BAD_ACCESS (SIGSEGV)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5.5, 6.6.2, 6.7.0 Beta2, 6.8.0 FF
    • 6.4.0 Beta1, 6.5.0
    • PDF
    • None
    • All
    • b60c00f4a (dev), 2180ce890 (6.7), 6ba530da2 (6.6), 913f49b81 (6.5)

    Description

      The attached qml file run from the command line using the qml tool results in a segfault if the PdfPageImage type is used to load the file but not when Image is used to load the file.

      See attached: pdfpageimage.qml

      In the file: Qt/6.4.0/Src/qtwebengine/src/pdfquick/PdfPageView.qml, it states "In case you want to make changes in your own version of this component, you can copy the QML, which is installed into the QtQuick/Pdf/qml module directory, and modify it as needed.", so I am assuming PdfPageImage, which is used in that file, is intended for general use although it is not appearing in the DevSnap documentation.

      Attachments

        1. working.qml
          0.4 kB
        2. segfault.txt
          24 kB
        3. pdfpageimage.qml
          0.4 kB
        4. letterPicaGrid.pdf
          375 kB
        5. importTrace.txt
          5 kB

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              jbrend Jeffrey Brendecke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: