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: Unresolved
    • P1: Critical
    • None
    • 6.4.0 Beta1
    • PDF
    • None
    • macOS

    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. importTrace.txt
          5 kB
          Jeffrey Brendecke
        2. letterPicaGrid.pdf
          375 kB
          Jeffrey Brendecke
        3. pdfpageimage.qml
          0.4 kB
          Jeffrey Brendecke
        4. segfault.txt
          24 kB
          Jeffrey Brendecke

        Activity

          People

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

            Dates

              Created:
              Updated: