https://bugs.kde.org/show_bug.cgi?id=464734

            Bug ID: 464734
           Summary: Regression in libqt5widgets5, QPixmap segfaults when
                    loading TIFF files
    Classification: KDE Neon
           Product: neon
           Version: unspecified
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Packages User Edition
          Assignee: neon-b...@kde.org
          Reporter: abe.kde.b...@zerty.xyz
                CC: j...@jriddell.org, neon-b...@kde.org, sit...@kde.org
  Target Milestone: ---

Created attachment 155556
  --> https://bugs.kde.org/attachment.cgi?id=155556&action=edit
Minimal 5-lines script which reproduces the crash

Upgrading libqt5widgets5:amd64 from
version 5.15.8+p22.04+tunstable+git20230113.0101-0 to
version 5.15.8+p22.04+tunstable+git20230119.0043-0
results in a regression in the QPixmap widget.

The QPixmap widget now segfaults when loading TIFF files.
It still works fine for other file types (JPEG, PNG, GIF, BMP).

STEPS TO REPRODUCE

The following minimal 5-lines Python script crashes with a TIFF
file argument (it needs Python3 and PyQt5 installed):

    import sys
    from PyQt5.QtGui import QPixmap
    from PyQt5.QtWidgets import QApplication
    app = QApplication(sys.argv)
    pixmap = QPixmap(sys.argv[1])

Example command-line:

$ python3 broken_qpixmap.py
/usr/share/xml/docbook/stylesheet/docbook-xsl/images/tip.tif
Segmentation fault

The same script runs fine with an old Qt version.

A frequently used, more complete program using QPixmap was
working fine right before the upgrade, and now crashes.

SOFTWARE/OS VERSIONS

KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 5.15.0-58-generic (64-bit)
Running on X11

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to