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

QtPDF example crashes when opening some PDF-files via QPdfDocument::load(QIODevice *device).

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.9.1
    • Other
    • None
    • Qt 5.9, QtPDF, Windows 7, Linux Ubuntu 16.04 LTS, Mac OSX El Capitan.

    Description

      QtPDF example crashes when opening some PDF-files via QPdfDocument::load(QIODevice *device). To replicate it, please apply this patch: crash.diff

      Also, it should be opened this pdf file: LEGO Classic 10703.pdf

      This crash does not happen if this file is opened via QPdfDocument::load(const QString &fileName).

       

      Attachments

        1. crash.diff
          0.8 kB
        2. LEGO Classic 10703.pdf
          8.23 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            tiamatenko Korobov Sergiy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes